FFmpeg
|
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. More... | |
const DXVA2_ConfigPictureDecode * | cfg |
DXVA2 configuration used to create the decoder. More... | |
unsigned | surface_count |
The number of surface in the surface array. More... | |
LPDIRECT3DSURFACE9 * | surface |
The array of Direct3D surfaces used to create the decoder. More... | |
uint64_t | workaround |
A bit field configuring the workarounds needed for using the decoder. More... | |
unsigned | report_id |
Private to the FFmpeg AVHWAccel implementation. More... | |
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.
IDirectXVideoDecoder* dxva_context::decoder |
const DXVA2_ConfigPictureDecode* dxva_context::cfg |
DXVA2 configuration used to create the decoder.
Definition at line 66 of file dxva2.h.
Referenced by ff_dxva2_decode_init().
unsigned dxva_context::surface_count |
The number of surface in the surface array.
Definition at line 71 of file dxva2.h.
Referenced by ff_dxva2_decode_init().
LPDIRECT3DSURFACE9* dxva_context::surface |
The array of Direct3D surfaces used to create the decoder.
Definition at line 76 of file dxva2.h.
Referenced by ff_dxva2_decode_init(), and ff_dxva2_get_surface_index().
uint64_t dxva_context::workaround |
A bit field configuring the workarounds needed for using the decoder.
Definition at line 81 of file dxva2.h.
Referenced by ff_dxva2_decode_init().
unsigned dxva_context::report_id |