xine-lib: xine-lib-1.2.13/src/video_dec/libmpeg2/cpu_state.c File Reference

xine-lib 1.2.13-20230125hg15249

Functions | Variables
cpu_state.c File Reference
`#include "config.h"`
`#include <stdlib.h>`
`#include <inttypes.h>`
`#include "mpeg2_internal.h"`
`#include <xine/xineutils.h>`
`#include "xine_mmx.h"`

## Functions
void | mpeg2_cpu_state_init (uint32_t mm_accel)

## Variables
void(* | mpeg2_cpu_state_save )(cpu_state_t *state) = NULL
void(* | mpeg2_cpu_state_restore )(cpu_state_t *state) = NULL

## Function Documentation

## ◆ mpeg2_cpu_state_init()

void mpeg2_cpu_state_init | ( | uint32_t | mm_accel | ) |

References MM_ACCEL_PPC_ALTIVEC, MM_ACCEL_X86_MMX, mpeg2_cpu_state_restore, and mpeg2_cpu_state_save.

Referenced by mpeg2_accel(), and mpeg2_init().

## Variable Documentation

## ◆ mpeg2_cpu_state_restore

void(* mpeg2_cpu_state_restore) (cpu_state_t *state) | ( | cpu_state_t * | state | ) | = NULL

Referenced by mpeg2_cpu_state_init(), mpeg2_cpu_state_init(), mpeg2_slice(), mpeg2_slice(), and mpeg2_xvmc_slice().

## ◆ mpeg2_cpu_state_save

void(* mpeg2_cpu_state_save) (cpu_state_t *state) | ( | cpu_state_t * | state | ) | = NULL

Referenced by mpeg2_cpu_state_init(), mpeg2_cpu_state_init(), mpeg2_slice(), mpeg2_slice(), and mpeg2_xvmc_slice().