C Specification
When calling vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
with pVideoProfile->videoCodecOperation
specified as
VK_VIDEO_CODEC_OPERATION_ENCODE_H265_BIT_EXT
, the
VkVideoEncodeH265QualityLevelPropertiesEXT structure can be included
in the pNext
chain of the VkVideoEncodeQualityLevelPropertiesKHR
structure to retrieve additional video encode quality level properties
specific to H.265 encoding.
The VkVideoEncodeH265QualityLevelPropertiesEXT structure is defined as:
// Provided by VK_EXT_video_encode_h265
typedef struct VkVideoEncodeH265QualityLevelPropertiesEXT {
VkStructureType sType;
void* pNext;
VkVideoEncodeH265RateControlFlagsEXT preferredRateControlFlags;
uint32_t preferredGopFrameCount;
uint32_t preferredIdrPeriod;
uint32_t preferredConsecutiveBFrameCount;
uint32_t preferredSubLayerCount;
VkVideoEncodeH265QpEXT preferredConstantQp;
uint32_t preferredMaxL0ReferenceCount;
uint32_t preferredMaxL1ReferenceCount;
} VkVideoEncodeH265QualityLevelPropertiesEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
preferredRateControlFlags
is a bitmask of VkVideoEncodeH265RateControlFlagBitsEXT values indicating the preferred flags to use for VkVideoEncodeH265RateControlInfoEXT::flags
. -
preferredGopFrameCount
indicates the preferred value to use for VkVideoEncodeH265RateControlInfoEXT::gopFrameCount
. -
preferredIdrPeriod
indicates the preferred value to use for VkVideoEncodeH265RateControlInfoEXT::idrPeriod
. -
preferredConsecutiveBFrameCount
indicates the preferred value to use for VkVideoEncodeH265RateControlInfoEXT::consecutiveBFrameCount
. -
preferredSubLayerCount
indicates the preferred value to use for VkVideoEncodeH265RateControlInfoEXT::subLayerCount
. -
preferredConstantQp
indicates the preferred values to use for VkVideoEncodeH265NaluSliceSegmentInfoEXT::constantQp
for each picture type when using rate control modeVK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR
. -
preferredMaxL0ReferenceCount
indicates the preferred maximum number of reference pictures to use in the reference list L0. -
preferredMaxL1ReferenceCount
indicates the preferred maximum number of reference pictures to use in the reference list L1.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.