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. | |
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. | |
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 |
DXVA2 decoder object.
Definition at line 61 of file dxva2.h.
Referenced by commit_bitstream_and_slice_buffer(), dxva2_create_decoder(), dxva2_h264_start_frame(), dxva2_mpeg2_start_frame(), dxva2_vc1_start_frame(), ff_dxva2_commit_buffer(), and ff_dxva2_common_end_frame().
const DXVA2_ConfigPictureDecode* dxva_context::cfg |
DXVA2 configuration used to create the decoder.
Definition at line 66 of file dxva2.h.
Referenced by dxva2_create_decoder(), dxva2_h264_start_frame(), dxva2_mpeg2_start_frame(), dxva2_vc1_start_frame(), fill_picture_parameters(), and is_slice_short().
unsigned dxva_context::surface_count |
The number of surface in the surface array.
Definition at line 71 of file dxva2.h.
Referenced by dxva2_create_decoder(), dxva2_h264_start_frame(), dxva2_mpeg2_start_frame(), dxva2_vc1_start_frame(), and ff_dxva2_get_surface_index().
LPDIRECT3DSURFACE9* dxva_context::surface |
The array of Direct3D surfaces used to create the decoder.
Definition at line 76 of file dxva2.h.
Referenced by dxva2_create_decoder(), 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 dxva2_create_decoder(), fill_picture_parameters(), fill_scaling_lists(), and fill_slice_long().
unsigned dxva_context::report_id |
Private to the FFmpeg AVHWAccel implementation.
Definition at line 86 of file dxva2.h.
Referenced by fill_picture_parameters().