This structure is specified in the pNext chain of VkVideoDecodeInfoKHR::pSetupReferenceSlot, if not NULL, and the pNext chain of the elements of VkVideoDecodeInfoKHR::pReferenceSlots to specify the codec-specific reference picture information for an H.264 decode operation.
pStdReferenceInfo→flags.top_field_flag nor pStdReferenceInfo→flags.bottom_field_flag is set, then the picture is added as a frame reference to the list of active reference pictures.pStdReferenceInfo→flags.top_field_flag is set, then the picture is added as a top field reference to the list of active reference pictures.pStdReferenceInfo→flags.bottom_field_flag is set, then the picture is added as a bottom field reference to the list of active reference pictures.slotIndex member of the corresponding element of VkVideoDecodeInfoKHR::pReferenceSlots.pStdReferenceInfo.When both the top and bottom field of an interlaced frame currently associated with a DPB slot is intended to be used as an active reference picture and both fields are stored in the same image subregion (which is the case when using VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_KHR which stores the two fields at even and odd scanlines of the same image subregion), both references have to be provided through a single VkVideoReferenceSlotInfoKHR structure that has both flags.top_field_flag and flags.bottom_field_flag set in the StdVideoDecodeH264ReferenceInfo structure pointed to by the pStdReferenceInfo member of the VkVideoDecodeH264DpbSlotInfoKHR structure included in the corresponding VkVideoReferenceSlotInfoKHR structure’s pNext chain. However, this approach can only be used when both fields are stored in the same image subregion. If that is not the case (e.g. when using VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_KHR which requires separate codedOffset values for the two fields and also allows storing the two fields of a frame in separate image layers or entirely separate images), then a separate VkVideoReferenceSlotInfoKHR structure needs to be provided for referencing the two fields, each only setting one of flags.top_field_flag or flags.bottom_field_flag, and providing the appropriate video picture resource information in VkVideoReferenceSlotInfoKHR::pPictureResource.
pStdReferenceInfo→flags.top_field_flag nor pStdReferenceInfo→flags.bottom_field_flag is set, then the picture represents a frame.pStdReferenceInfo→flags.top_field_flag is set, then the picture represents a field, specifically, the top field of the frame.pStdReferenceInfo→flags.bottom_field_flag is set, then the picture represents a field, specifically, the bottom field of the frame.VkVideoDecodeInfoKHR::pSetupReferenceSlot→slotIndex.pStdReferenceInfo.flags.top_field_flag is used to indicate whether the reference is used as top field reference;flags.bottom_field_flag is used to indicate whether the reference is used as bottom field reference;flags.used_for_long_term_reference is used to indicate whether the picture is marked as “used for long-term reference” as defined in section 8.2.5.1 of the ITU-T H.264 Specification;flags.is_non_existing is used to indicate whether the picture is marked as “non-existing” as defined in section 8.2.5.2 of the ITU-T H.264 Specification;sType must be STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHRpStdReferenceInfo must be a valid pointer to a valid StdVideoDecodeH264ReferenceInfo value
struct VkVideoDecodeH264DpbSlotInfoKHR {
VkStructureType sType;
void const * pNext;
StdVideoDecodeH264ReferenceInfo const * pStdReferenceInfo;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkVideoDecodeH264DpbSlotInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSTDREFERENCEINFO
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoDecodeH264DpbSlotInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR | |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoDecodeH264DpbSlotInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkVideoDecodeH264DpbSlotInfoKHR | |
| public static VkVideoDecodeH264DpbSlotInfoKHR | create(long address)
Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoDecodeH264DpbSlotInfoKHR | |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | |
| public static VkVideoDecodeH264DpbSlotInfoKHR | |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoDecodeH264DpbSlotInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static StdVideoDecodeH264ReferenceInfo | |
| public static void | npStdReferenceInfo(long struct, StdVideoDecodeH264ReferenceInfo value)
Unsafe version of |
| public static int | |
| public static void | |
| public long | |
| public VkVideoDecodeH264DpbSlotInfoKHR | |
| public StdVideoDecodeH264ReferenceInfo | pStdReferenceInfo()
a pointer to a |
| public VkVideoDecodeH264DpbSlotInfoKHR | pStdReferenceInfo(StdVideoDecodeH264ReferenceInfo value)
Sets the address of the specified |
| public VkVideoDecodeH264DpbSlotInfoKHR | set(int sType, long pNext, StdVideoDecodeH264ReferenceInfo pStdReferenceInfo)
Initializes this struct with the specified values. |
| public VkVideoDecodeH264DpbSlotInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVideoDecodeH264DpbSlotInfoKHR | |
| public VkVideoDecodeH264DpbSlotInfoKHR | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PSTDREFERENCEINFO | back to summary |
|---|---|
| public static final int PSTDREFERENCEINFO The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkVideoDecodeH264DpbSlotInfoKHR | back to summary |
|---|---|
| protected VkVideoDecodeH264DpbSlotInfoKHR(long address, ByteBuffer container) | |
| VkVideoDecodeH264DpbSlotInfoKHR | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkVideoDecodeH264DpbSlotInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkVideoDecodeH264DpbSlotInfoKHR. Returns a new
| |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npStdReferenceInfo | back to summary |
|---|---|
| public static StdVideoDecodeH264ReferenceInfo npStdReferenceInfo(long struct) Unsafe version of | |
| npStdReferenceInfo | back to summary |
|---|---|
| public static void npStdReferenceInfo(long struct, StdVideoDecodeH264ReferenceInfo value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR pNext(long value) Sets the specified value to the | |
| pStdReferenceInfo | back to summary |
|---|---|
| public StdVideoDecodeH264ReferenceInfo pStdReferenceInfo() a pointer to a
| |
| pStdReferenceInfo | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR pStdReferenceInfo(StdVideoDecodeH264ReferenceInfo value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR set(int sType, long pNext, StdVideoDecodeH264ReferenceInfo pStdReferenceInfo) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR set(VkVideoDecodeH264DpbSlotInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkVideoDecodeH264DpbSlotInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkVideoDecodeH264DpbSlotInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkVideoDecodeH264DpbSlotInfoKHR | |
| public long | |
| public VkVideoDecodeH264DpbSlotInfoKHR. | |
| public StdVideoDecodeH264ReferenceInfo | Returns: aStdVideoDecodeH264ReferenceInfo view of the struct pointed to by the VkVideoDecodeH264DpbSlotInfoKHR#pStdReferenceInfo field.
|
| public VkVideoDecodeH264DpbSlotInfoKHR. | pStdReferenceInfo(StdVideoDecodeH264ReferenceInfo value)
Sets the address of the specified |
| protected VkVideoDecodeH264DpbSlotInfoKHR. | |
| public int | |
| public VkVideoDecodeH264DpbSlotInfoKHR. | |
| public VkVideoDecodeH264DpbSlotInfoKHR. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkVideoDecodeH264DpbSlotInfoKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkVideoDecodeH264DpbSlotInfoKHR getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR. Sets the specified value to the | |
| pStdReferenceInfo | back to summary |
|---|---|
public StdVideoDecodeH264ReferenceInfo pStdReferenceInfo()
| |
| pStdReferenceInfo | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkVideoDecodeH264DpbSlotInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkVideoDecodeH264DpbSlotInfoKHR. Sets the | |