VkVideoEncodeH264DpbSlotInfoKHR
The VkVideoEncodeH264DpbSlotInfoKHR structure is defined as:
typedef struct VkVideoEncodeH264DpbSlotInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoEncodeH264ReferenceInfo* pStdReferenceInfo;
} VkVideoEncodeH264DpbSlotInfoKHR;
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.
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 pNext chain 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::pReferenceSlots as 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 pNext chain 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 StdVideoEncodeH264ReferenceInfo structure pointed to
by pStdReferenceInfo are 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 asused for long-term referenceas 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.
Valid Usage (Implicit)
VUID-VkVideoEncodeH264DpbSlotInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR
VUID-VkVideoEncodeH264DpbSlotInfoKHR-pStdReferenceInfo-parameter
pStdReferenceInfo must be a valid pointer to a valid StdVideoEncodeH264ReferenceInfo value