VkVideoEncodeH265DpbSlotInfoKHR
The VkVideoEncodeH265DpbSlotInfoKHR structure is defined as:
typedef struct VkVideoEncodeH265DpbSlotInfoKHR {
VkStructureType sType;
const void* pNext;
const StdVideoEncodeH265ReferenceInfo* pStdReferenceInfo;
} VkVideoEncodeH265DpbSlotInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.pStdReferenceInfo
is a pointer to aStdVideoEncodeH265ReferenceInfo
structure specifying H.265 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.265
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.265 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
H.265 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.265 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.265 reference information provided in
pStdReferenceInfo
.
Std Reference Information
The members of the StdVideoEncodeH265ReferenceInfo
structure pointed to
by pStdReferenceInfo
are interpreted as follows:
flags.reserved
is used only for padding purposes and is otherwise ignored;flags.used_for_long_term_reference
is used to indicate whether the picture is marked asused for long-term reference
as defined in section 8.3.2 of the ITU-T H.265 Specification;flags.unused_for_reference
is used to indicate whether the picture is marked asunused for reference
as defined in section 8.3.2 of the ITU-T H.265 Specification;pic_type
as defined in section 7.4.3.5 of the ITU-T H.265 Specification;PicOrderCntVal
as defined in section 8.3.1 of the ITU-T H.265 Specification;TemporalId
as defined in section 7.4.2.2 of the ITU-T H.265 Specification.
Valid Usage (Implicit)
VUID-VkVideoEncodeH265DpbSlotInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR
VUID-VkVideoEncodeH265DpbSlotInfoKHR-pStdReferenceInfo-parameter
pStdReferenceInfo
must be a valid pointer to a valid StdVideoEncodeH265ReferenceInfo
value