Miam-Player  0.8.0
A nice music player
dxva_context Struct Reference

#include <dxva2.h>

Public Attributes

IDirectXVideoDecoder * decoder
 
const DXVA2_ConfigPictureDecode * cfg
 
unsigned surface_count
 
LPDIRECT3DSURFACE9 * surface
 
uint64_t workaround
 
unsigned report_id
 

Detailed Description

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

The application must make it available as AVCodecContext.hwaccel_context.

Member Data Documentation

◆ cfg

const DXVA2_ConfigPictureDecode* dxva_context::cfg

DXVA2 configuration used to create the decoder

◆ decoder

IDirectXVideoDecoder* dxva_context::decoder

DXVA2 decoder object

◆ report_id

unsigned dxva_context::report_id

Private to the FFmpeg AVHWAccel implementation

◆ surface

LPDIRECT3DSURFACE9* dxva_context::surface

The array of Direct3D surfaces used to create the decoder

◆ surface_count

unsigned dxva_context::surface_count

The number of surface in the surface array

◆ workaround

uint64_t dxva_context::workaround

A bit field configuring the workarounds needed for using the decoder


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