C Specification
The VkVideoEncodeH264DpbSlotInfoKHR structure is defined as:
// Provided by VK_KHR_video_encode_h264
typedef struct VkVideoEncodeH264DpbSlotInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoEncodeH264ReferenceInfo* pStdReferenceInfo;
} VkVideoEncodeH264DpbSlotInfoKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
pStdReferenceInfois a pointer to aStdVideoEncodeH264ReferenceInfostructure specifying H.264 reference information.
Description
This structure is specified in the pNext chain of
VkVideoEncodeInfoKHR::pSetupReferenceSlot, if not NULL, and
the pNext chain of the elements of
VkVideoEncodeInfoKHR::pReferenceSlots to specify the
codec-specific reference picture information for an H.264
encode operation.
- Active Reference Picture Information
-
When this structure is specified in the
pNextchain of the elements of VkVideoEncodeInfoKHR::pReferenceSlots, one element is added to the list of active reference pictures used by the video encode operation for each element of VkVideoEncodeInfoKHR::pReferenceSlotsas follows:-
The image subregion used is determined according to the H.264 Encode Picture Data Access section.
-
The reference picture is associated with the DPB slot index specified in the
slotIndexmember of the corresponding element of VkVideoEncodeInfoKHR::pReferenceSlots. -
The reference picture is associated with the H.264 reference information provided in
pStdReferenceInfo.
-
- Reconstructed Picture Information
-
When this structure is specified in the
pNextchain of VkVideoEncodeInfoKHR::pSetupReferenceSlot, the information related to the reconstructed picture is defined as follows:-
The image subregion used is determined according to the H.264 Encode Picture Data Access section.
-
If reference picture setup is requested, then the reconstructed picture is used to activate the DPB slot with the index specified in VkVideoEncodeInfoKHR::
pSetupReferenceSlot->slotIndex. -
The reconstructed picture is associated with the H.264 reference information provided in
pStdReferenceInfo.
-
- Std Reference Information
-
The members of the
StdVideoEncodeH264ReferenceInfostructure pointed to bypStdReferenceInfoare interpreted as follows:-
flags.reservedis used only for padding purposes and is otherwise ignored; -
flags.used_for_long_term_referenceis used to indicate whether the picture is marked as “used for long-term reference” as defined in section 8.2.5.1 of the ITU-T H.264 Specification; -
primary_pic_typeas defined in section 7.4.2 of the ITU-T H.264 Specification; -
long_term_pic_numandlong_term_frame_idxas defined in section 7.4.3 of the ITU-T H.264 Specification; -
temporal_idas defined in section G.7.4.1.1 of the ITU-T H.264 Specification; -
all other members are interpreted as defined in section 8.2 of the ITU-T H.264 Specification.
-
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.