FFmpeg
4.0
|
This structure is used to provides the necessary configurations and data to the Direct3D11 FFmpeg HWAccel implementation. More...
#include <libavcodec/d3d11va.h>
Data Fields | |
ID3D11VideoDecoder * | decoder |
D3D11 decoder object. More... | |
ID3D11VideoContext * | video_context |
D3D11 VideoContext. More... | |
D3D11_VIDEO_DECODER_CONFIG * | cfg |
D3D11 configuration used to create the decoder. More... | |
unsigned | surface_count |
The number of surface in the surface array. More... | |
ID3D11VideoDecoderOutputView ** | 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... | |
HANDLE | context_mutex |
Mutex to access video_context. More... | |
This structure is used to provides the necessary configurations and data to the Direct3D11 FFmpeg HWAccel implementation.
The application must make it available as AVCodecContext.hwaccel_context.
Use av_d3d11va_alloc_context() exclusively to allocate an AVD3D11VAContext.
ID3D11VideoDecoder* AVD3D11VAContext::decoder |
D3D11 decoder object.
Definition at line 63 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().
ID3D11VideoContext* AVD3D11VAContext::video_context |
D3D11_VIDEO_DECODER_CONFIG* AVD3D11VAContext::cfg |
D3D11 configuration used to create the decoder.
Definition at line 73 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().
unsigned AVD3D11VAContext::surface_count |
The number of surface in the surface array.
Definition at line 78 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().
ID3D11VideoDecoderOutputView** AVD3D11VAContext::surface |
The array of Direct3D surfaces used to create the decoder.
Definition at line 83 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().
uint64_t AVD3D11VAContext::workaround |
A bit field configuring the workarounds needed for using the decoder.
Definition at line 88 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().
unsigned AVD3D11VAContext::report_id |
HANDLE AVD3D11VAContext::context_mutex |
Mutex to access video_context.
Definition at line 98 of file d3d11va.h.
Referenced by ff_dxva2_decode_init().