FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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...
 

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.

Definition at line 57 of file d3d11va.h.

Field Documentation

ID3D11VideoDecoder* AVD3D11VAContext::decoder

D3D11 decoder object.

Definition at line 61 of file d3d11va.h.

ID3D11VideoContext* AVD3D11VAContext::video_context

D3D11 VideoContext.

Definition at line 66 of file d3d11va.h.

D3D11_VIDEO_DECODER_CONFIG* AVD3D11VAContext::cfg

D3D11 configuration used to create the decoder.

Definition at line 71 of file d3d11va.h.

unsigned AVD3D11VAContext::surface_count

The number of surface in the surface array.

Definition at line 76 of file d3d11va.h.

ID3D11VideoDecoderOutputView** AVD3D11VAContext::surface

The array of Direct3D surfaces used to create the decoder.

Definition at line 81 of file d3d11va.h.

uint64_t AVD3D11VAContext::workaround

A bit field configuring the workarounds needed for using the decoder.

Definition at line 86 of file d3d11va.h.

unsigned AVD3D11VAContext::report_id

Private to the FFmpeg AVHWAccel implementation.

Definition at line 91 of file d3d11va.h.


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