Miam-Player  0.8.0
A nice music player
AVD3D11VAContext Struct Reference

#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
 

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.

Member Data Documentation

◆ cfg

D3D11_VIDEO_DECODER_CONFIG* AVD3D11VAContext::cfg

D3D11 configuration used to create the decoder

◆ context_mutex

HANDLE AVD3D11VAContext::context_mutex

Mutex to access video_context

◆ decoder

ID3D11VideoDecoder* AVD3D11VAContext::decoder

D3D11 decoder object

◆ report_id

unsigned AVD3D11VAContext::report_id

Private to the FFmpeg AVHWAccel implementation

◆ surface

ID3D11VideoDecoderOutputView** AVD3D11VAContext::surface

The array of Direct3D surfaces used to create the decoder

◆ surface_count

unsigned AVD3D11VAContext::surface_count

The number of surface in the surface array

◆ video_context

ID3D11VideoContext* AVD3D11VAContext::video_context

D3D11 VideoContext

◆ workaround

uint64_t AVD3D11VAContext::workaround

A bit field configuring the workarounds needed for using the decoder


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