Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_ERRORNo error. | 
| D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_CODEC_PICTURE_CONTROL_NOT_SUPPORTEDSpecified codec picture control not supported. | 
| D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_SUBREGION_LAYOUT_CONFIGURATION_NOT_SUPPORTEDSpecified subregion layout subregion not supported. | 
| D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_REFERENCE_PICTURESInvalid reference pictures provided. | 
| D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTEDReconfiguration request is unsupported. | 
| D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCEInvalid metadata buffer source. | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows Build 22000 | 
| Minimum supported server | Windows Build 22000 | 
| Header | d3d12video.h |