FFmpeg
Data Structures
hwcontext_d3d11va.h File Reference
#include <d3d11.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  AVD3D11VADeviceContext
 This struct is allocated as AVHWDeviceContext.hwctx. More...
 
struct  AVD3D11FrameDescriptor
 D3D11 frame descriptor for pool allocation. More...
 
struct  AVD3D11VAFramesContext
 This struct is allocated as AVHWFramesContext.hwctx. More...
 

Detailed Description

An API-specific header for AV_HWDEVICE_TYPE_D3D11VA.

The default pool implementation will be fixed-size if initial_pool_size is set (and allocate elements from an array texture). Otherwise it will allocate individual textures. Be aware that decoding requires a single array texture.

Using sw_format==AV_PIX_FMT_YUV420P has special semantics, and maps to DXGI_FORMAT_420_OPAQUE. av_hwframe_transfer_data() is not supported for this format. Refer to MSDN for details.

av_hwdevice_ctx_create() for this device type supports a key named "debug" for the AVDictionary entry. If this is set to any value, the device creation code will try to load various supported D3D debugging layers.

Definition in file hwcontext_d3d11va.h.