xine-lib: xine-lib-1.2.13/src/xine-engine/accel_xvmc.h File Reference

xine-lib 1.2.13-20230125hg15249

Data Structures | Macros | Typedefs
accel_xvmc.h File Reference

Go to the source code of this file.

## Data Structures
struct | xine_macroblock_s
struct | xine_vld_frame_s
struct | xine_xvmc_s
struct | xine_xxmc_s

## Macros
#define | XVMC_DATA(frame_gen) ((frame_gen) ? (xine_xvmc_t *)(frame_gen)->accel_data : (xine_xvmc_t *)0)
#define | XVMC_FRAME(frame_gen) ((frame_gen) ? (xvmc_frame_t *)XVMC_DATA(frame_gen)->vo_frame : (xvmc_frame_t *)0)
#define | XXMC_DATA(frame_gen) ((frame_gen) ? (xine_xxmc_t *)(frame_gen)->accel_data : (xine_xxmc_t *)0)
#define | XXMC_FRAME(frame_gen) ((frame_gen) ? (xxmc_frame_t *)XXMC_DATA(frame_gen)->xvmc.vo_frame : (xxmc_frame_t *)0)
#define | XINE_XVMC_MPEG_1 0x00000001
#define | XINE_XVMC_MPEG_2 0x00000002
#define | XINE_XVMC_MPEG_4 0x00000004
#define | XINE_XVMC_ACCEL_MOCOMP 0x00000001
#define | XINE_XVMC_ACCEL_IDCT 0x00000002
#define | XINE_XVMC_ACCEL_VLD 0x00000004
#define | XINE_VO_MOTION_ACCEL 1
#define | XINE_VO_IDCT_ACCEL 2
#define | XINE_VO_SIGNED_INTRA 4
#define | XINE_MC_FIELD 1
#define | XINE_MC_FRAME 2
#define | XINE_MC_16X8 2
#define | XINE_MC_DMV 3
#define | XINE_PICT_I_TYPE 1
#define | XINE_PICT_P_TYPE 2
#define | XINE_PICT_B_TYPE 3
#define | XINE_PICT_D_TYPE 4
#define | XINE_MACROBLOCK_INTRA 1
#define | XINE_MACROBLOCK_PATTERN 2
#define | XINE_MACROBLOCK_MOTION_BACKWARD 4
#define | XINE_MACROBLOCK_MOTION_FORWARD 8
#define | XINE_MACROBLOCK_QUANT 16
#define | XINE_MACROBLOCK_DCT_TYPE_INTERLACED 32

## Typedefs
typedef struct xine_macroblock_s | xine_macroblocks_t
typedef struct xine_vld_frame_s | xine_vld_frame_t
typedef struct xine_xvmc_s | xine_xvmc_t
typedef struct xine_xxmc_s | xine_xxmc_t

## Macro Definition Documentation

## ◆ XINE_MACROBLOCK_DCT_TYPE_INTERLACED

#define XINE_MACROBLOCK_DCT_TYPE_INTERLACED 32

## ◆ XINE_MACROBLOCK_INTRA

#define XINE_MACROBLOCK_INTRA 1

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MACROBLOCK_MOTION_BACKWARD

#define XINE_MACROBLOCK_MOTION_BACKWARD 4

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MACROBLOCK_MOTION_FORWARD

#define XINE_MACROBLOCK_MOTION_FORWARD 8

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MACROBLOCK_PATTERN

#define XINE_MACROBLOCK_PATTERN 2

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MACROBLOCK_QUANT

#define XINE_MACROBLOCK_QUANT 16

## ◆ XINE_MC_16X8

#define XINE_MC_16X8 2

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MC_DMV

#define XINE_MC_DMV 3

Referenced by xxmc_xvmc_proc_macro_block().

## ◆ XINE_MC_FIELD

#define XINE_MC_FIELD 1

Referenced by mpeg2_xvmc_slice(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_MC_FRAME

#define XINE_MC_FRAME 2

Referenced by mpeg2_xvmc_slice(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_PICT_B_TYPE

#define XINE_PICT_B_TYPE 3

Referenced by libmpeg2_accel_slice(), parse_chunk(), xxmc_lock_and_validate_surfaces(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_PICT_D_TYPE

#define XINE_PICT_D_TYPE 4

Referenced by parse_chunk(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_PICT_I_TYPE

#define XINE_PICT_I_TYPE 1

Referenced by parse_chunk(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_PICT_P_TYPE

#define XINE_PICT_P_TYPE 2

Referenced by libmpeg2_accel_slice(), parse_chunk(), xxmc_lock_and_validate_surfaces(), and xxmc_xvmc_proc_macro_block().

## ◆ XINE_VO_IDCT_ACCEL

#define XINE_VO_IDCT_ACCEL 2

Referenced by xxmc_frame_updates().

## ◆ XINE_VO_MOTION_ACCEL

#define XINE_VO_MOTION_ACCEL 1

Referenced by xxmc_frame_updates().

## ◆ XINE_VO_SIGNED_INTRA

#define XINE_VO_SIGNED_INTRA 4

Referenced by xxmc_frame_updates().

## ◆ XINE_XVMC_ACCEL_IDCT

#define XINE_XVMC_ACCEL_IDCT 0x00000002

Referenced by checkXvMCCap(), libmpeg2_accel_discontinuity(), libmpeg2_accel_frame_completion(), libmpeg2_accel_new_frame(), libmpeg2_accel_slice(), xxmc_dispose_context(), xxmc_frame_updates(), and xxmc_xvmc_update_context().

## ◆ XINE_XVMC_ACCEL_MOCOMP

#define XINE_XVMC_ACCEL_MOCOMP 0x00000001

Referenced by checkXvMCCap(), libmpeg2_accel_discontinuity(), libmpeg2_accel_frame_completion(), libmpeg2_accel_new_frame(), libmpeg2_accel_slice(), xxmc_dispose_context(), xxmc_frame_updates(), and xxmc_xvmc_update_context().

## ◆ XINE_XVMC_ACCEL_VLD

#define XINE_XVMC_ACCEL_VLD 0x00000004

Referenced by checkXvMCCap(), libmpeg2_accel_discontinuity(), libmpeg2_accel_frame_completion(), libmpeg2_accel_new_frame(), libmpeg2_accel_slice(), and xxmc_duplicate_frame_data().

## ◆ XINE_XVMC_MPEG_1

#define XINE_XVMC_MPEG_1 0x00000001

Referenced by checkXvMCCap(), and libmpeg2_accel_new_frame().

## ◆ XINE_XVMC_MPEG_2

#define XINE_XVMC_MPEG_2 0x00000002

Referenced by checkXvMCCap(), and libmpeg2_accel_new_frame().

## ◆ XINE_XVMC_MPEG_4

#define XINE_XVMC_MPEG_4 0x00000004

Referenced by checkXvMCCap().

## ◆ XVMC_DATA

#define XVMC_DATA | ( |  | frame_gen | ) | ((frame_gen) ? (xine_xvmc_t *)(frame_gen)->accel_data : (xine_xvmc_t *)0)

## ◆ XVMC_FRAME

#define XVMC_FRAME | ( |  | frame_gen | ) | ((frame_gen) ? (xvmc_frame_t *)XVMC_DATA(frame_gen)->vo_frame : (xvmc_frame_t *)0)

## ◆ XXMC_DATA

#define XXMC_DATA | ( |  | frame_gen | ) | ((frame_gen) ? (xine_xxmc_t *)(frame_gen)->accel_data : (xine_xxmc_t *)0)

## ◆ XXMC_FRAME

#define XXMC_FRAME | ( |  | frame_gen | ) | ((frame_gen) ? (xxmc_frame_t *)XXMC_DATA(frame_gen)->xvmc.vo_frame : (xxmc_frame_t *)0)

Referenced by xvmc_flush(), xvmc_render_macro_blocks(), xxmc_do_update_frame(), and xxmc_lock_and_validate_surfaces().

## Typedef Documentation

## ◆ xine_macroblocks_t

typedef struct xine_macroblock_s xine_macroblocks_t

## ◆ xine_vld_frame_t

typedef struct xine_vld_frame_s xine_vld_frame_t

## ◆ xine_xvmc_t

typedef struct xine_xvmc_s xine_xvmc_t

## ◆ xine_xxmc_t

typedef struct xine_xxmc_s xine_xxmc_t