D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_DATA_0080_2 structure (d3d12umddi.h)
The D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_DATA_0080_2 structure is used to return the list of supported resolutions based on codec, profile, and level.
Syntax
typedef struct D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_DATA_0080_2 {
UINT NodeIndex;
D3D12DDI_VIDEO_ENCODER_CODEC_0080 Codec;
UINT ResolutionRatiosCount;
BOOL IsSupported;
D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 MinResolutionSupported;
D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 MaxResolutionSupported;
UINT ResolutionWidthMultipleRequirement;
UINT ResolutionHeightMultipleRequirement;
D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC_0080 *pResolutionRatios;
} D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_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 codec to check support for.
ResolutionRatiosCount
[in] The number of resolution ratios to retrieve. This value must match D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT_DATA_0080_2.ResolutionRatiosCount.
IsSupported
[out] Indicates whether the adapter supports the current query inputs.
MinResolutionSupported
[out] A D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structure in which to return the minimum supported resolution.
MaxResolutionSupported
[out] A D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC_0080 structure in which to return the maximum supported resolution.
ResolutionWidthMultipleRequirement
[out] The resolution width must be divisible by this value.
ResolutionHeightMultipleRequirement
[out] The resolution height must be divisible by this value.
pResolutionRatios
[out] Pointer to a list of ResolutionRatiosCount caller-allocated D3D12DDI_VIDEO_ENCODER_PICTURE_RESOLUTION_RATIO_DESC_0080 structures in which to return the supported resolution ratios as irreducible fractions.
Remarks
The D3D runtime calls PFND3D12DDI_VIDEO_GETCAPS with D3D12DDICAPS_TYPE_VIDEO_0080_ENCODER_OUTPUT_RESOLUTION specified as the capability type.
See D3D12 video encoding for general information.
Requirements
Requirement | Value |
---|---|
Minimum supported client | windows 11 (WDDM 3.0) |
Header | d3d12umddi.h |