D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS enumeration (d3d12video.h)

Specifies errors encountered during the ID3D12VideoEncodeCommandList2::EncodeFrame operation.

Syntax

typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS {
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_NO_ERROR,
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_CODEC_PICTURE_CONTROL_NOT_SUPPORTED,
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_SUBREGION_LAYOUT_CONFIGURATION_NOT_SUPPORTED,
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_REFERENCE_PICTURES,
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED,
  D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE
} ;

Constants

 
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_NO_ERROR
No error.
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_CODEC_PICTURE_CONTROL_NOT_SUPPORTED
Specified codec picture control not supported.
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_SUBREGION_LAYOUT_CONFIGURATION_NOT_SUPPORTED
Specified subregion layout subregion not supported.
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_REFERENCE_PICTURES
Invalid reference pictures provided.
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED
Reconfiguration request is unsupported.
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE
Invalid metadata buffer source.

Requirements

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