D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0080_2 structure (d3d12umddi.h)
The D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0080_2 structure provides support details for the passed input configurations. Use D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0083_0 for full video encoding feature support for Windows 11 (WDDM 3.0).
Syntax
typedef struct D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0080_2 {
UINT NodeIndex;
D3D12DDI_VIDEO_ENCODER_CODEC_0080 Codec;
D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 TargetProfile;
D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 TargetLevel;
DXGI_FORMAT InputFormat;
D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_0080_2 CodecConfiguration;
D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_0080_2 RateControl;
D3D12DDI_VIDEO_ENCODER_INTRA_REFRESH_MODE_0080 IntraRefresh;
D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080 SubregionFrameEncoding;
UINT ResolutionsListCount;
const D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 *pResolutionList;
D3D12DDI_VIDEO_ENCODER_VALIDATION_FLAGS_0080 ValidationFlags;
D3D12DDI_VIDEO_ENCODER_SUPPORT_FLAGS_0080 SupportFlags;
D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 SuggestedProfile;
D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 SuggestedLevel;
D3D12DDI_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS_0080_2 *pResolutionDependentSupport;
} D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0080_2;
Members
NodeIndex
[in] In a multi-adapter operation, NodeIndex indicates which physical adapter of the device that the operation applies to.
Codec
[in] A D3D12DDI_VIDEO_ENCODER_CODEC_0080 value that specifies the encode codec to use.
TargetProfile
[in] A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure that specifies the requested profile configuration.
TargetLevel
[in] A D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 structure that specifies the requested level setting.
InputFormat
[in] A DXGI_FORMAT value that specifies the input format of the input frames.
CodecConfiguration
[in] A D3D12DDI_VIDEO_ENCODER_CODEC_CONFIGURATION_0080_2 structure that specifies the requested configuration for the selected codec. The codec-specific structure within this structure should match the codec type specified by Codec.
RateControl
[in] A D3D12DDI_VIDEO_ENCODER_RATE_CONTROL_0080_2 structure that specifies the requested rate control configuration.
IntraRefresh
[in] A D3D12DDI_VIDEO_ENCODER_INTRA_REFRESH_MODE_0080 value that specifies the requested intra refresh mode.
SubregionFrameEncoding
[in] A D3D12DDI_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE_0080 value that specifies the requested subregion partitioning mode.
ResolutionsListCount
[in] Indicates the number of resolutions in the list that pResolutionList points to.
pResolutionList
[in] Pointer to an array of D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structures that specifies the list of resolutions requested to be supported.
ValidationFlags
[out] A D3D12DDI_VIDEO_ENCODER_VALIDATION_FLAGS_0080 value that provides more details if the cap query returns with theD3D12DDI_VIDEO_ENCODER_SUPPORT_FLAG_0080_GENERAL_SUPPORT_OK bit not set.
SupportFlags
[out] A D3D12DDI_VIDEO_ENCODER_SUPPORT_FLAGS_0080 value that specifies the support details for the requested configuration.
SuggestedProfile
[out] A D3D12DDI_VIDEO_ENCODER_PROFILE_DESC_0080_2 structure in which the driver returns the matching profile for the requested configuration.
SuggestedLevel
[out] A D3D12DDI_VIDEO_ENCODER_LEVEL_SETTING_0080_2 structure in which the driver returns the matching level for the requested configuration for each resolution present in pResolutionList.
pResolutionDependentSupport
[out] Pointer to a list of D3D12DDI_VIDEO_ENCODER_RESOLUTION_SUPPORT_LIMITS_0080_2 structures in which the driver returns the resolution-dependent support limits.
Remarks
Use D3D12DDICAPS_VIDEO_ENCODER_SUPPORT_DATA_0083_0 for full video encoding feature support for Windows 11 (WDDM 3.0).
Requirements
Requirement | Value |
---|---|
Header | d3d12umddi.h |