// d3d12umddi.h
typedef struct D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT_DATA_0080_2 {
UINT NodeIndex;
D3D12DDI_VIDEO_ENCODER_CODEC_0080 Codec;
UINT ResolutionRatiosCount;
} D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT_DATA_0080_2;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDICAPS_VIDEO_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT_DATA_0080_2 structure is used to retrieve the number of supported resolution ratios based on the specified codec, profile, and level.
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[out] The number of resolution ratios supported for this configuration.
The D3D runtime calls PFND3D12DDI_VIDEO_GETCAPS with D3D12DDICAPS_TYPE_VIDEO_0080_ENCODER_OUTPUT_RESOLUTION_RATIOS_COUNT specified as the capability type.
See D3D12 video encoding for general information.
D3D12DDIARG_VIDEO_GETCAPS_0020