D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS enumeration (d3d12video.h)

Specifies video encoder picture control flags.

Syntax

typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS {
  D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE,
  D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE
} ;

Constants

 
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE
None.
D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE
The associated frame will be used as a reference frame in future encode commands. Indicates that the reconstructed picture along with the bitstream should be output for the host to place it in future calls in the reconstructed pictures reference list.

Note that there might be limitations for some frame types to be marked as references. Check feature support before setting this value.

Remarks

Values from this enumeration are used by D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC.

If this flag is not set, the D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTURE.pReconstructedPicture can be nullptr in the associated call to ID3D12VideoEncodeCommandList2::EncodeFrame.

Requirements

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