Structures
VkVideoEncodeQuantizationMapInfoKHR
Structure specifying quantization map information to use for video encode operations
The VkVideoEncodeQuantizationMapInfoKHR structure can be included in
the pNext chain of the VkVideoEncodeInfoKHR structure passed to
the vkCmdEncodeVideoKHR command to specify the quantization map used
by the issued video encode operations.
The VkVideoEncodeQuantizationMapInfoKHR structure is defined as:
typedef struct VkVideoEncodeQuantizationMapInfoKHR {
VkStructureType sType;
const void* pNext;
VkImageView quantizationMap;
VkExtent2D quantizationMapExtent;
} VkVideoEncodeQuantizationMapInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.quantizationMapspecifies the image view to use as the quantization map.quantizationMapExtentspecifies the extent of the image subregion ofquantizationMapto use as the quantization map starting at offset (0,0).
Valid Usage
VUID-VkVideoEncodeQuantizationMapInfoKHR-quantizationMapExtent-10352
quantizationMapExtent.width must be less than or equal to the
width of quantizationMap
VUID-VkVideoEncodeQuantizationMapInfoKHR-quantizationMapExtent-10353
quantizationMapExtent.height must be less than or equal to the
height of quantizationMap
Valid Usage (Implicit)
VUID-VkVideoEncodeQuantizationMapInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_INFO_KHR
VUID-VkVideoEncodeQuantizationMapInfoKHR-quantizationMap-parameter
If quantizationMap is not VK_NULL_HANDLE, quantizationMap must be a valid VkImageView handle