D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA structure (d3d12video.h)

Represents the picture level control elements for the associated EncodeFrame command for multiple codecs.

Syntax

typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA {
  UINT  DataSize;
  union {
    D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264 *pH264PicData;
    D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC *pHEVCPicData;
    D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA  *pAV1PicData;
  };
} D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA;

Members

DataSize

The data size of the provided picture level control structure.

pH264PicData

A pointer to a D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264 representing the picture level control elements for H.264 encoding.

pHEVCPicData

A pointer to a D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC representing the picture level control elements for H.264 encoding.

pAV1PicData

Remarks

Slice-level picture reference lists reordering is unsupported.

Weighted inter-prediction is unsupported.

Requirements

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