C Specification
The structure VkVideoEncodeH264VclFrameInfoEXT representing a frame encode operation is defined as:
// Provided by VK_EXT_video_encode_h264
typedef struct VkVideoEncodeH264VclFrameInfoEXT {
VkStructureType sType;
const void* pNext;
uint8_t refDefaultFinalList0EntryCount;
const VkVideoEncodeH264DpbSlotInfoEXT* pRefDefaultFinalList0Entries;
uint8_t refDefaultFinalList1EntryCount;
const VkVideoEncodeH264DpbSlotInfoEXT* pRefDefaultFinalList1Entries;
uint32_t naluSliceEntryCount;
const VkVideoEncodeH264NaluSliceEXT* pNaluSliceEntries;
const VkVideoEncodeH264DpbSlotInfoEXT* pCurrentPictureInfo;
} VkVideoEncodeH264VclFrameInfoEXT;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
refDefaultFinalList0EntryCount
is the default number of reference List0 entries for all slices of this frame. Each slice may override this by providing its own List0 entries. -
pRefDefaultFinalList0Entries
is an array of VkVideoEncodeH264DpbSlotInfoEXT providing info for each reference List0 entry. The entries provided must be ordered after all reference List0 modification operations are applied (i.e. final list order). The entires provided must not reflect decoded picture marking operations in this frame that are applicable to references; the impact of such operations must be reflected in future frame encode cmds. The slot index in each entry must match one of the slot indexes provided inpReferenceSlots
of VkVideoEncodeInfoKHR structure to which this structure is chained to. -
refDefaultFinalList1EntryCount
is the default number of reference List1 entries for all slices of this frame. Each slice may override this by providing its own List1 entries. -
pRefDefaultFinalList1Entries
is an array of VkVideoEncodeH264DpbSlotInfoEXT providing info for each reference List1 entry. The entries provided must be ordered after all reference List1 modification operations are applied (i.e. final list order). The entires provided must not reflect decoded picture marking operations in this frame that are applicable to references; the impact of such operations must be reflected in future frame encode cmds. The slot index in each entry must match one of the slot indexes provided inpReferenceSlots
of VkVideoEncodeInfoKHR structure to which this structure is chained to. -
naluSliceEntryCount
is the number of NALUs in this frame. -
pNaluSliceEntries
is an array ofnaluCount
VkVideoEncodeH264Nalu* structs that make up the frame. This is an ordered sequence; the NALUs are generated consecutively in the bitstream buffer (provided inbitstreamBuffer
in VkVideoBeginCodingInfoKHR) in the same order as in this array. -
pCurrentPictureInfo
is the VkVideoEncodeH264DpbSlotInfoEXT info for the reconstructed picture for this frame. Info provided must reflect decoded picture marking operations in this frame that are applicable to this frame. The slot index in pCurrentPictureInfo must match the slot index provided inpSetupReferenceSlot
of VkVideoEncodeInfoKHR structure to which this structure is chained to.
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.