D3D12_VIDEO_ENCODE_REFERENCE_FRAMES structure (d3d12video.h)

Represents the reconstructed reference images for an encoding operation.

Syntax

typedef struct D3D12_VIDEO_ENCODE_REFERENCE_FRAMES {
  UINT           NumTexture2Ds;
  ID3D12Resource **ppTexture2Ds;
  UINT           *pSubresources;
} D3D12_VIDEO_ENCODE_REFERENCE_FRAMES;

Members

NumTexture2Ds

The number of textures in the ppTexture2Ds array.

ppTexture2Ds

An array of ID3D12Resource textures containing the reference images.

pSubresources

An array of subresource indices for the reference textures specified in ppTexture2Ds. NULL indicates that subresource 0 should be assumed for each resource. With texture arrays within a single resource, the subresource indices point to the array index of the first resource plane. With an array of textures in individual resources, the subresource index is typically zero.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header d3d12video.h