// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_DATA_0032 {
UINT NodeIndex;
D3D12DDI_VIDEO_DECODE_CONFIGURATION_0020 Configuration;
D3D12DDI_VIDEO_SAMPLE_DESCRIPTION_0020 DecodeSample;
D3D12DDI_VIDEO_FORMAT_DESCRIPTION_0020 OutputFormat;
DXGI_RATIONAL FrameRate;
UINT BitRate;
D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS_0020 SupportFlags;
D3D12DDI_VIDEO_SCALE_SUPPORT_0032 ScaleSupport;
} D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_DATA_0032;
View the official Windows Driver Kit DDI referenceNo description available.
Structure used to check if a color space conversion, format conversion, and scale are supported, and whether it is required for real-time reasons or reference buffer format.
NodeIndexIn multi-adapter operation, the NodeIndex indicates which physical adapter of the device this operation applies to.
ConfigurationThe decode profile and bitstream encryption. See D3D12DDI_VIDEO_DECODE_CONFIGURATION.
DecodeSampleThe source decoded as sample description. See D3D12DDI_VIDEO_SAMPLE_DESCRIPTION.
OutputFormatThe output sample description. See D3D12DDI_VIDEO_FORMAT_DESCRIPTION.
FrameRateThe frame rate of the video content. This is used by the driver to determine whether the video can be decoded in real-time.
BitRateThe average bits per second data compression rate for the compressed video stream. This is used by the driver to determine whether the video can be decoded in real-time.
SupportFlagsSupported flags. See D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS.
ScaleSupportIndicates the supported output size range for decode conversion. See D3D12DDI_VIDEO_SCALE_SUPPORT.
The check is made through pfnGetCaps with the D3D12DDICAPS_TYPE set to a value of D3D12DDICAPS_TYPE_VIDEO_DECODE_CONVERSION_SUPPORT.
If the color space and format conversion is reported, SupportedFlags will have D3D12DDI_VIDEO_DECODE_SUPPORT_FLAGS_SUPPORTED set. Callers should check ScaleSupport to understand if the scale is supported.
D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS