Class VkVideoDecodeH265PictureInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoDecodeH265PictureInfoKHR>
org.lwjgl.vulkan.VkVideoDecodeH265PictureInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkVideoDecodeH265PictureInfoKHR extends org.lwjgl.system.Struct<VkVideoDecodeH265PictureInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifies H.265 picture information when decoding a frame.
Description

This structure is specified in the pNext chain of the VkVideoDecodeInfoKHR structure passed to CmdDecodeVideoKHR to specify the codec-specific picture information for an H.265 decode operation.

Decode Output Picture Information
Std Picture Information
  • reserved is used only for padding purposes and is otherwise ignored;
  • flags.IrapPicFlag as defined in section 3.73 of the ITU-T H.265 Specification;
  • flags.IdrPicFlag as defined in section 3.67 of the ITU-T H.265 Specification;
  • flags.IsReference as defined in section 3.132 of the ITU-T H.265 Specification;
  • sps_video_parameter_set_id, pps_seq_parameter_set_id, and pps_pic_parameter_set_id are used to identify the active parameter sets, as described below;
  • PicOrderCntVal as defined in section 8.3.1 of the ITU-T H.265 Specification;
  • NumBitsForSTRefPicSetInSlice is the number of bits used in st_ref_pic_set when short_term_ref_pic_set_sps_flag is 0, or 0 otherwise, as defined in sections 7.4.7 and 7.4.8 of the ITU-T H.265 Specification;
  • NumDeltaPocsOfRefRpsIdx is the value of NumDeltaPocs[RefRpsIdx] when short_term_ref_pic_set_sps_flag is 1, or 0 otherwise, as defined in sections 7.4.7 and 7.4.8 of the ITU-T H.265 Specification;
  • RefPicSetStCurrBefore, RefPicSetStCurrAfter, and RefPicSetLtCurr are interpreted as defined in section 8.3.2 of the ITU-T H.265 Specification where each element of these arrays either identifies an active reference picture using its DPB slot index or contains the value STD_VIDEO_H265_NO_REFERENCE_PICTURE to indicate “no reference picture”;
  • all other members are interpreted as defined in section 8.3.2 of the ITU-T H.265 Specification.

Reference picture setup is controlled by the value of StdVideoDecodeH265PictureInfo::flags.IsReference. If it is set and a reconstructed picture is specified, then the latter is used as the target of picture reconstruction to activate the corresponding DPB slot. If StdVideoDecodeH265PictureInfo::flags.IsReference is not set, but a reconstructed picture is specified, then the corresponding picture reference associated with the DPB slot is invalidated, as described in the DPB Slot States section.

Active Parameter Sets
  • The active VPS is the VPS identified by the key specified in StdVideoDecodeH265PictureInfo::sps_video_parameter_set_id.
  • The active SPS is the SPS identified by the key specified by the pair constructed from StdVideoDecodeH265PictureInfo::sps_video_parameter_set_id and StdVideoDecodeH265PictureInfo::pps_seq_parameter_set_id.
  • The active PPS is the PPS identified by the key specified by the triplet constructed from StdVideoDecodeH265PictureInfo::sps_video_parameter_set_id, StdVideoDecodeH265PictureInfo::pps_seq_parameter_set_id, and StdVideoDecodeH265PictureInfo::pps_pic_parameter_set_id.
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_KHR
  • pStdPictureInfo must be a valid pointer to a valid StdVideoDecodeH265PictureInfo value
  • pSliceSegmentOffsets must be a valid pointer to an array of sliceSegmentCount uint32_t values
  • sliceSegmentCount must be greater than 0

Layout


 struct VkVideoDecodeH265PictureInfoKHR {
     VkStructureType sType();
     void const * pNext();
     StdVideoDecodeH265PictureInfo const * pStdPictureInfo();
     uint32_t sliceSegmentCount();
     uint32_t const * pSliceSegmentOffsets();
 }