D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264 structure (d3d12video.h)

Represents picture control support settings for H.264 video encoding.

Syntax

typedef struct D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264 {
  UINT MaxL0ReferencesForP;
  UINT MaxL0ReferencesForB;
  UINT MaxL1ReferencesForB;
  UINT MaxLongTermReferences;
  UINT MaxDPBCapacity;
} D3D12_VIDEO_ENCODER_CODEC_PICTURE_CONTROL_SUPPORT_H264;

Members

MaxL0ReferencesForP

The maximum value allowed in the slice headers for (num_ref_idx_l0_active_minus1 +1) when encoding P frames. This is equivalent to the maximum size of an L0 for a P frame supported.

MaxL0ReferencesForB

The maximum value allowed in the slice headers for (num_ref_idx_l0_active_minus1 +1) when encoding B frames. This is equivalent to the maximum size of an L0 for a B frame supported.

MaxL1ReferencesForB

The maximum value allowed in the slice headers for (num_ref_idx_l1_active_minus1 +1) when encoding B frames. This is equivalent to the maximum size of an L1 for a B frame supported.

MaxLongTermReferences

The maximum number of references used in a frame that can be marked as long term reference.

MaxDPBCapacity

The maximum number of unique pictures that can be used from the DPB the caller manages (number of unique indices in L0 union L1) for a given EncodeFrame command on the underlying hardware.

Requirements

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