XvMC
[Hardware Accelerators bridge]


Data Structures

struct  xvmc_pix_fmt

Files

file  xvmc.h
 Public libavcodec XvMC header.

Defines

#define AV_XVMC_ID   0x1DC711C0
 special value to ensure that regular pixel routines haven't corrupted the struct the number is 1337 speak for the letters IDCT MCo (motion compensation)

Variables

XvMCSurface * xvmc_pix_fmt::p_past_surface
 Set by the decoder before calling ff_draw_horiz_band(), needed by the XvMCRenderSurface function.
XvMCSurface * xvmc_pix_fmt::p_future_surface
 Pointer to the surface used as future reference
  • application - unchanged
  • libavcodec - set.

unsigned int xvmc_pix_fmt::picture_structure
 top/bottom field or frame
  • application - unchanged
  • libavcodec - set

unsigned int xvmc_pix_fmt::flags
 XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
  • application - unchanged
  • libavcodec - set.

int xvmc_pix_fmt::start_mv_blocks_num
 Number of macroblock descriptions in the mv_blocks array that have already been passed to the hardware.
int xvmc_pix_fmt::filled_mv_blocks_num
 Number of new macroblock descriptions in the mv_blocks array (after start_mv_blocks_num) that are filled by libavcodec and have to be passed to the hardware.
int xvmc_pix_fmt::next_free_data_block_num
 Number of the next free data block; one data block consists of 64 short values in the data_blocks array.

Define Documentation

#define AV_XVMC_ID   0x1DC711C0

special value to ensure that regular pixel routines haven't corrupted the struct the number is 1337 speak for the letters IDCT MCo (motion compensation)

Definition at line 41 of file xvmc.h.

Referenced by ff_xvmc_decode_mb(), ff_xvmc_field_start(), and ff_xvmc_init_block().


Variable Documentation

Number of new macroblock descriptions in the mv_blocks array (after start_mv_blocks_num) that are filled by libavcodec and have to be passed to the hardware.

Definition at line 148 of file xvmc.h.

Referenced by ff_xvmc_decode_mb(), ff_xvmc_field_end(), and ff_xvmc_field_start().

unsigned int xvmc_pix_fmt::flags [inherited]

XVMC_SECOND_FIELD - 1st or 2nd field in the sequence

  • application - unchanged
  • libavcodec - set.

Definition at line 129 of file xvmc.h.

Referenced by ff_xvmc_field_start().

Number of the next free data block; one data block consists of 64 short values in the data_blocks array.

All blocks before this one have already been claimed by placing their position into the corresponding block description structure field, that are part of the mv_blocks array.

  • application - zeroes it on get_buffer(). A successful ff_draw_horiz_band() may zero it together with start_mb_blocks_num.
  • libavcodec - each decoded macroblock increases it by the number of coded blocks it contains.

Definition at line 161 of file xvmc.h.

Referenced by ff_xvmc_decode_mb(), ff_xvmc_field_start(), and ff_xvmc_init_block().

XvMCSurface* xvmc_pix_fmt::p_future_surface [inherited]

Pointer to the surface used as future reference

  • application - unchanged
  • libavcodec - set.

Definition at line 117 of file xvmc.h.

Referenced by ff_xvmc_field_start().

XvMCSurface* xvmc_pix_fmt::p_past_surface [inherited]

Set by the decoder before calling ff_draw_horiz_band(), needed by the XvMCRenderSurface function.

Pointer to the surface used as past reference

  • application - unchanged
  • libavcodec - set

Definition at line 111 of file xvmc.h.

Referenced by ff_xvmc_field_start().

unsigned int xvmc_pix_fmt::picture_structure [inherited]

top/bottom field or frame

  • application - unchanged
  • libavcodec - set

Definition at line 123 of file xvmc.h.

Referenced by ff_xvmc_field_start().

Number of macroblock descriptions in the mv_blocks array that have already been passed to the hardware.

Definition at line 139 of file xvmc.h.

Referenced by ff_xvmc_decode_mb(), and ff_xvmc_field_start().


Generated on Fri Oct 26 02:50:13 2012 for FFmpeg by  doxygen 1.5.8