D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL structure (d3d12video.h)
Provides data for calls to ID3D12VideoDevice::CheckFeatureSupport when the feature specified is D3D12_FEATURE_VIDEO_ENCODER_PROFILE_LEVEL. Retrieves a value indicating if the specified profile is supported for video encoding.
Syntax
typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL {
UINT NodeIndex;
D3D12_VIDEO_ENCODER_CODEC Codec;
D3D12_VIDEO_ENCODER_PROFILE_DESC Profile;
BOOL IsSupported;
D3D12_VIDEO_ENCODER_LEVEL_SETTING MinSupportedLevel;
D3D12_VIDEO_ENCODER_LEVEL_SETTING MaxSupportedLevel;
} D3D12_FEATURE_DATA_VIDEO_ENCODER_PROFILE_LEVEL;
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.
Codec
A member of the D3D12_VIDEO_ENCODER_CODEC enumeration specifying the codec for which the supported profile level is being queried.
Profile
A D3D12_VIDEO_ENCODER_PROFILE_DESC structure specifying the profile for which support is being queried.
IsSupported
Receives a boolean value indicating if the specified profile is supported for the specified codec.
MinSupportedLevel
Output field that receives the minimum supported level for the selected codec and profile if supported.
MaxSupportedLevel
Output field that receives the maximum supported level for the selected codec and profile if supported.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | d3d12video.h |