xine-lib: xine-lib-1.2.13/src/video_dec/libmpeg2new/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 "../include/mpeg2.h"`
`#include "../include/attributes.h"`
`#include "mpeg2_internal.h"`

## Functions
void | mpeg2_cpu_state_init (uint32_t 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 | accel | ) |

References MPEG2_ACCEL_PPC_ALTIVEC, MPEG2_ACCEL_X86_MMX, mpeg2_cpu_state_restore, and mpeg2_cpu_state_save.

## Variable Documentation

## ◆ mpeg2_cpu_state_restore

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

## ◆ mpeg2_cpu_state_save

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