D3D12DDI_VIDEO_ENCODE_REFERENCE_FRAMES_0080 structure (d3d12umddi.h)

The D3D12DDI_VIDEO_ENCODE_REFERENCE_FRAMES_0080 structure encapsulates the reconstructed reference images for the encoding operation.

Syntax

typedef struct D3D12DDI_VIDEO_ENCODE_REFERENCE_FRAMES_0080 {
  UINT               NumTexture2Ds;
  D3D12DDI_HRESOURCE *hDrvTexture2Ds;
  UINT               *pSubresources;
} D3D12DDI_VIDEO_ENCODE_REFERENCE_FRAMES_0080;

Members

NumTexture2Ds

Number of textures in the array.

hDrvTexture2Ds

Pointer to the array of textures.

pSubresources

Pointer to an array of sub-resource indices for the reference textures in hDrvTexture2Ds. A value of NULL indicates that sub-resource 0 should be assumed for each resource. With texture arrays within a single resource, the sub-resource indices point to the array index of the first resource plane. With an array of textures in individual resources, the sub-resource index is typically zero.

Remarks

See D3D12 video encoding for general information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3d12umddi.h

See also

D3D12DDI_VIDEO_ENCODER_PICTURE_CONTROL_DESC_0082_0