FFmpeg
Data Fields
AVD3D11VAContext Struct Reference

This structure is used to provides the necessary configurations and data to the Direct3D11 FFmpeg HWAccel implementation. More...

#include <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...
 

Detailed Description

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.

Definition at line 59 of file d3d11va.h.

Field Documentation

◆ decoder

ID3D11VideoDecoder* AVD3D11VAContext::decoder

D3D11 decoder object.

Definition at line 63 of file d3d11va.h.

Referenced by ff_dxva2_decode_init().

◆ video_context

ID3D11VideoContext* AVD3D11VAContext::video_context

D3D11 VideoContext.

Definition at line 68 of file d3d11va.h.

Referenced by ff_dxva2_decode_init().

◆ cfg

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().

◆ surface_count

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().

◆ surface

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().

◆ workaround

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().

◆ report_id

unsigned AVD3D11VAContext::report_id

Private to the FFmpeg AVHWAccel implementation.

Definition at line 93 of file d3d11va.h.

◆ context_mutex

HANDLE AVD3D11VAContext::context_mutex

Mutex to access video_context.

Definition at line 98 of file d3d11va.h.

Referenced by ff_dxva2_decode_init().


The documentation for this struct was generated from the following file: