VkVideoEncodeAV1DpbSlotInfoKHR
The VkVideoEncodeAV1DpbSlotInfoKHR structure is defined as:
typedef struct VkVideoEncodeAV1DpbSlotInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoEncodeAV1ReferenceInfo* pStdReferenceInfo;
} VkVideoEncodeAV1DpbSlotInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.pStdReferenceInfo
is a pointer to aStdVideoEncodeAV1ReferenceInfo
structure specifying AV1 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 AV1 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 AV1 Encode Picture Data Access section.
- The reference picture is associated with the DPB slot index
specified in the
slotIndex
member 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 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 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 StdVideoEncodeAV1ReferenceInfo
structure pointed to
by pStdReferenceInfo
are interpreted as follows:
flags.reserved
andreserved1
are used only for padding purposes and are otherwise ignored;flags.disable_frame_end_update_cdf
is interpreted as defined in section 6.8.2 of the AV1 Specification;flags.segmentation_enabled
is interpreted as defined in section 6.8.13 of the AV1 Specification;RefFrameId
is interpreted as the element of theRefFrameId
array defined in section 6.8.2 of the AV1 Specification corresponding to the reference frame;frame_type
is interpreted as defined in section 6.8.2 of the AV1 Specification;OrderHint
is interpreted as defined in section 6.8.2 of the AV1 Specification;pExtensionHeader
isNULL
or a pointer to aStdVideoEncodeAV1ExtensionHeader
structure whosetemporal_id
andspatial_id
members specify the temporal and spatial layer ID of the reference frame, respectively.
Valid Usage (Implicit)
VUID-VkVideoEncodeAV1DpbSlotInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_DPB_SLOT_INFO_KHR
VUID-VkVideoEncodeAV1DpbSlotInfoKHR-pStdReferenceInfo-parameter
pStdReferenceInfo
must be a valid pointer to a valid StdVideoEncodeAV1ReferenceInfo
value