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.
Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_DECODE_CONVERSION_SUPPORT. Retrieves the list of supported profiles. Check if a colorspace conversion, format conversion, and scale are supported.
Syntax
typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT {
  UINT                                        NodeIndex;
  D3D12_VIDEO_DECODE_CONFIGURATION            Configuration;
  D3D12_VIDEO_SAMPLE                          DecodeSample;
  D3D12_VIDEO_FORMAT                          OutputFormat;
  DXGI_RATIONAL                               FrameRate;
  UINT                                        BitRate;
  D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS SupportFlags;
  D3D12_VIDEO_SCALE_SUPPORT                   ScaleSupport;
} D3D12_FEATURE_DATA_VIDEO_DECODE_CONVERSION_SUPPORT;
Members
NodeIndex
For single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit may be set.
Configuration
A D3D12_VIDEO_DECODE_CONFIGURATION structure describing the decode configuration.
DecodeSample
A D3D12_VIDEO_SAMPLE structure representing the source decoded as sample description.
OutputFormat
A D3D12_VIDEO_FORMAT structure containing the output sample 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
A combination of values from the D3D12_VIDEO_DECODE_CONVERSION_SUPPORT_FLAGS indicating the support for the specified conversion.
ScaleSupport
A D3D12_VIDEO_SCALE_SUPPORT structure representing the output size range for decode conversion.
Remarks
If the colorspace and format conversion is supported, ScaleFlags will have the D3D12_VIDEO_SCALE_SUPPORT_FLAGS set. Callers should check the D3D12_VIDEO_SIZE_RANGE field to determine if the requested scale is supported.
Requirements
| Requirement | Value | 
|---|---|
| Header | d3d12video.h |