FFmpeg
Data Structures | Enumerations
hwcontext_d3d12va.h File Reference
#include <stdint.h>
#include <initguid.h>
#include <d3d12.h>
#include <d3d12sdklayers.h>
#include <d3d12video.h>

Go to the source code of this file.

Data Structures

struct  AVD3D12VADeviceContext
 This struct is allocated as AVHWDeviceContext.hwctx. More...
 
struct  AVD3D12VASyncContext
 This struct is used to sync d3d12 execution. More...
 
struct  AVD3D12VAFrame
 D3D12VA frame descriptor for pool allocation. More...
 
struct  AVD3D12VAFramesContext
 This struct is allocated as AVHWFramesContext.hwctx. More...
 

Enumerations

enum  AVD3D12VAFrameFlags { AV_D3D12VA_FRAME_FLAG_NONE = 0, AV_D3D12VA_FRAME_FLAG_TEXTURE_ARRAY = (1 << 1) }
 Define the behaviours of frame allocation. More...
 

Detailed Description

An API-specific header for AV_HWDEVICE_TYPE_D3D12VA.

AVHWFramesContext.pool must contain AVBufferRefs whose data pointer points to an AVD3D12VAFrame struct.

Definition in file hwcontext_d3d12va.h.

Enumeration Type Documentation

◆ AVD3D12VAFrameFlags

Define the behaviours of frame allocation.

Enumerator
AV_D3D12VA_FRAME_FLAG_NONE 
AV_D3D12VA_FRAME_FLAG_TEXTURE_ARRAY 

Indicates that frame data should be allocated using a texture array resource.

Definition at line 125 of file hwcontext_d3d12va.h.