dxva_context Struct Reference
[DXVA2]

This structure is used to provides the necessary configurations and data to the DXVA2 FFmpeg HWAccel implementation. More...

#include <dxva2.h>


Data Fields

IDirectXVideoDecoder * decoder
 DXVA2 decoder object.
const DXVA2_ConfigPictureDecode * cfg
 DXVA2 configuration used to create the decoder.
unsigned surface_count
 The number of surface in the surface array.
LPDIRECT3DSURFACE9 * surface
 The array of Direct3D surfaces used to create the decoder.
uint64_t workaround
 A bit field configuring the workarounds needed for using the decoder.
unsigned report_id
 Private to the FFmpeg AVHWAccel implementation.


Detailed Description

This structure is used to provides the necessary configurations and data to the DXVA2 FFmpeg HWAccel implementation.

The application must make it available as AVCodecContext.hwaccel_context.

Definition at line 52 of file dxva2.h.


Field Documentation

const DXVA2_ConfigPictureDecode* dxva_context::cfg

DXVA2 configuration used to create the decoder.

Definition at line 61 of file dxva2.h.

Referenced by fill_picture_parameters(), is_slice_short(), and start_frame().

IDirectXVideoDecoder* dxva_context::decoder

DXVA2 decoder object.

Definition at line 56 of file dxva2.h.

Referenced by commit_bitstream_and_slice_buffer(), ff_dxva2_commit_buffer(), ff_dxva2_common_end_frame(), and start_frame().

Private to the FFmpeg AVHWAccel implementation.

Definition at line 81 of file dxva2.h.

Referenced by fill_picture_parameters().

LPDIRECT3DSURFACE9* dxva_context::surface

The array of Direct3D surfaces used to create the decoder.

Definition at line 71 of file dxva2.h.

Referenced by ff_dxva2_get_surface_index().

The number of surface in the surface array.

Definition at line 66 of file dxva2.h.

Referenced by ff_dxva2_get_surface_index(), and start_frame().

A bit field configuring the workarounds needed for using the decoder.

Definition at line 76 of file dxva2.h.

Referenced by fill_picture_parameters(), and fill_scaling_lists().


The documentation for this struct was generated from the following file:

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