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.
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.
Syntax
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;
Members
NodeIndex
In multi-adapter operation, the NodeIndex indicates which physical adapter of the device this operation applies to.
Configuration
The decode profile and bitstream encryption. See D3D12DDI_VIDEO_DECODE_CONFIGURATION.
DecodeSample
The source decoded as sample description. See D3D12DDI_VIDEO_SAMPLE_DESCRIPTION.
OutputFormat
The output sample description. See D3D12DDI_VIDEO_FORMAT_DESCRIPTION.
FrameRate
The frame rate of the video content. This is used by the driver to determine whether the video can be decoded in real-time.
BitRate
The 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.
SupportFlags
Supported flags. See D3D12DDI_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS.
ScaleSupport
Indicates the supported output size range for decode conversion. See D3D12DDI_VIDEO_SCALE_SUPPORT.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h |