Structures
VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR
Structure describing additional video encode feedback features that can be supported by an implementation
The VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR structure is
defined as:
typedef struct VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 videoEncodeFeedback2;
} VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR;
pub struct PhysicalDeviceVideoEncodeFeedback2FeaturesKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
video_encode_feedback2: vk::Bool32,
}
This structure describes the following features:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.- FEATURES VIDEOENCODEFEEDBACK2
videoEncodeFeedback2specifies that the implementation supports per picture partition feedback and the following additional video encode feedback flags, as reported in VkVideoEncodeFeedback2CapabilitiesKHR and/or VkVideoEncodeCapabilitiesKHR::supportedEncodeFeedbackFlags, respectively:VK_VIDEO_ENCODE_FEEDBACK_AVERAGE_QUANTIZATION_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_MIN_QUANTIZATION_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_MAX_QUANTIZATION_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_INTRA_PIXELS_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_INTER_PIXELS_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_SKIPPED_PIXELS_BIT_KHR.VK_VIDEO_ENCODE_FEEDBACK_PICTURE_PARTITION_COUNT_BIT_KHR.Support forvideoEncodeFeedback2does not indicate that all video encode profiles support per picture partition feedback and the new video encode feedback flags. Support for individual video encode profiles is subject to video-profile-specific capabilities.
If the VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_FEEDBACK_2_FEATURES_KHR