D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS structure (d3d12video.h)
Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_DECODE_FORMAT. Retrieves the list of supported formats.
Syntax
typedef struct D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS {
UINT NodeIndex;
D3D12_VIDEO_DECODE_CONFIGURATION Configuration;
UINT FormatCount;
DXGI_FORMAT *pOutputFormats;
} D3D12_FEATURE_DATA_VIDEO_DECODE_FORMATS;
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 for the list of formats.
FormatCount
The number of formats to retrieve. This number must match the value returned from a call ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_DECODE_FORMAT_COUNT.
pOutputFormats
A list of DXGI_FORMAT structures representing the supported formats.
Requirements
Requirement | Value |
---|---|
Header | d3d12video.h |