C Specification
The VkVideoEncodeAV1DpbSlotInfoKHR structure is defined as:
// Provided by VK_KHR_video_encode_av1
typedef struct VkVideoEncodeAV1DpbSlotInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoEncodeAV1ReferenceInfo* pStdReferenceInfo;
} VkVideoEncodeAV1DpbSlotInfoKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
pStdReferenceInfois a pointer to aStdVideoEncodeAV1ReferenceInfostructure specifying AV1 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 AV1 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 AV1 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 AV1 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 AV1 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 AV1 reference information provided in
pStdReferenceInfo.
-
- Std Reference Information
-
The members of the
StdVideoEncodeAV1ReferenceInfostructure pointed to bypStdReferenceInfoare interpreted as follows:-
flags.reservedandreserved1are used only for padding purposes and are otherwise ignored; -
flags.disable_frame_end_update_cdfis interpreted as defined in section 6.8.2 of the AV1 Specification; -
flags.segmentation_enabledis interpreted as defined in section 6.8.13 of the AV1 Specification; -
RefFrameIdis interpreted as the element of theRefFrameIdarray defined in section 6.8.2 of the AV1 Specification corresponding to the reference frame; -
frame_typeis interpreted as defined in section 6.8.2 of the AV1 Specification; -
OrderHintis interpreted as defined in section 6.8.2 of the AV1 Specification; -
pExtensionHeaderisNULLor a pointer to aStdVideoEncodeAV1ExtensionHeaderstructure whosetemporal_idandspatial_idmembers specify the temporal and spatial layer ID of the reference frame, respectively.
-
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.