Structures
VkVideoEncodeH264SessionCreateInfoKHR
Structure specifies H.264 encode session parameters
The VkVideoEncodeH264SessionCreateInfoKHR structure is defined as:
typedef struct VkVideoEncodeH264SessionCreateInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkBool32 useMaxLevelIdc;
    StdVideoH264LevelIdc maxLevelIdc;
} VkVideoEncodeH264SessionCreateInfoKHR;
- sTypeis a VkStructureType value identifying this structure.
- pNextis- NULLor a pointer to a structure extending this structure.
- useMaxLevelIdcindicates whether the value of- maxLevelIdcshould be used by the implementation. When it is- VK_FALSE, the implementation ignores the value of- maxLevelIdcand uses the value of VkVideoEncodeH264CapabilitiesKHR::- maxLevelIdc, as reported by vkGetPhysicalDeviceVideoCapabilitiesKHR for the video profile.
- maxLevelIdcis a- StdVideoH264LevelIdcvalue specifying the upper bound on the H.264 level for the video bitstreams produced by the created video session, where enum constant- STD_VIDEO_H264_LEVEL_IDC_<major>_<minor>identifies H.264 level- <major>.<minor>as defined in section A.3 of the ITU-T H.264 Specification.
Valid Usage (Implicit)
VUID-VkVideoEncodeH264SessionCreateInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR