|
FFmpeg
|
This structure is used to provides the necessary configurations and data to the Direct3D11 FFmpeg HWAccel implementation. More...
#include <d3d11va.h>
Public Attributes | |
| ID3D11VideoDecoder * | decoder |
| D3D11 decoder object. | |
| ID3D11VideoContext * | video_context |
| D3D11 VideoContext. | |
| D3D11_VIDEO_DECODER_CONFIG * | cfg |
| D3D11 configuration used to create the decoder. | |
| unsigned | surface_count |
| The number of surface in the surface array. | |
| ID3D11VideoDecoderOutputView ** | 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. | |
| HANDLE | context_mutex |
| Mutex to access video_context. | |
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.
1.8.12