![]() |
Miam-Player
0.8.0
A nice music player
|
#include <d3d11va.h>
Public Attributes | |
ID3D11VideoDecoder * | decoder |
ID3D11VideoContext * | video_context |
D3D11_VIDEO_DECODER_CONFIG * | cfg |
unsigned | surface_count |
ID3D11VideoDecoderOutputView ** | surface |
uint64_t | workaround |
unsigned | report_id |
HANDLE | context_mutex |
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.
D3D11_VIDEO_DECODER_CONFIG* AVD3D11VAContext::cfg |
D3D11 configuration used to create the decoder
HANDLE AVD3D11VAContext::context_mutex |
Mutex to access video_context
ID3D11VideoDecoder* AVD3D11VAContext::decoder |
D3D11 decoder object
unsigned AVD3D11VAContext::report_id |
Private to the FFmpeg AVHWAccel implementation
ID3D11VideoDecoderOutputView** AVD3D11VAContext::surface |
The array of Direct3D surfaces used to create the decoder
unsigned AVD3D11VAContext::surface_count |
The number of surface in the surface array
ID3D11VideoContext* AVD3D11VAContext::video_context |
D3D11 VideoContext
uint64_t AVD3D11VAContext::workaround |
A bit field configuring the workarounds needed for using the decoder