21 #ifndef AVCODEC_XVMC_H
22 #define AVCODEC_XVMC_H
30 #include <X11/extensions/XvMC.h>
43 #define AV_XVMC_ID 0x1DC711C0
int filled_mv_blocks_num
Number of new macroblock descriptions in the mv_blocks array (after start_mv_blocks_num) that are fil...
int allocated_data_blocks
Number of blocks that can be stored at once in the data_blocks array.
int allocated_mv_blocks
Number of macroblock descriptions that can be stored in the mv_blocks array.
unsigned int flags
XVMC_SECOND_FIELD - 1st or 2nd field in the sequence.
Macro definitions for various function/variable attributes.
Libavcodec version macros.
int next_free_data_block_num
Number of the next free data block; one data block consists of 64 short values in the data_blocks arr...
unsigned int picture_structure
top/bottom field or frame
Libavcodec external API header.
int xvmc_id
The field contains the special constant value AV_XVMC_ID.
XvMCMacroBlock * mv_blocks
Pointer to the macroblock description array allocated by XvMCCreateMacroBlocks() and freed by XvMCDes...
int unsigned_intra
In MoCo mode it indicates that intra macroblocks are assumed to be in unsigned format; same as the XV...
#define attribute_deprecated
short * data_blocks
Pointer to the block array allocated by XvMCCreateBlocks().
XvMCSurface * p_past_surface
Set by the decoder before calling ff_draw_horiz_band(), needed by the XvMCRenderSurface function...
int start_mv_blocks_num
Number of macroblock descriptions in the mv_blocks array that have already been passed to the hardwar...
int idct
Indicate that the hardware would interpret data_blocks as IDCT coefficients and perform IDCT on them...
XvMCSurface * p_surface
Pointer to the surface allocated by XvMCCreateSurface().
XvMCSurface * p_future_surface
Pointer to the surface used as future reference.