Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264MvcElement.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<StdVideoDecodeH264MvcElement,StdVideoDecodeH264MvcElement.Buffer>
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264MvcElement.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<StdVideoDecodeH264MvcElement>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- StdVideoDecodeH264MvcElement
public static class StdVideoDecodeH264MvcElement.Buffer extends org.lwjgl.system.StructBuffer<StdVideoDecodeH264MvcElement,StdVideoDecodeH264MvcElement.Buffer> implements org.lwjgl.system.NativeResource
An array ofStdVideoDecodeH264MvcElementstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StdVideoDecodeH264MvcElementFlagsflags()StdVideoDecodeH264MvcElement.Bufferflags(java.util.function.Consumer<StdVideoDecodeH264MvcElementFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoDecodeH264MvcElement.Bufferflags(StdVideoDecodeH264MvcElementFlags value)Copies the specifiedStdVideoDecodeH264MvcElementFlagsto theflagsfield.shortnumOfAnchorRefsInL0()StdVideoDecodeH264MvcElement.BuffernumOfAnchorRefsInL0(short value)Sets the specified value to thenumOfAnchorRefsInL0field.shortnumOfAnchorRefsInL1()StdVideoDecodeH264MvcElement.BuffernumOfAnchorRefsInL1(short value)Sets the specified value to thenumOfAnchorRefsInL1field.shortnumOfNonAnchorRefsInL0()StdVideoDecodeH264MvcElement.BuffernumOfNonAnchorRefsInL0(short value)Sets the specified value to thenumOfNonAnchorRefsInL0field.shortnumOfNonAnchorRefsInL1()StdVideoDecodeH264MvcElement.BuffernumOfNonAnchorRefsInL1(short value)Sets the specified value to thenumOfNonAnchorRefsInL1field.shortpriorityId()StdVideoDecodeH264MvcElement.BufferpriorityId(short value)Sets the specified value to theStdVideoDecodeH264MvcElement.priorityId()field.shorttemporalId()StdVideoDecodeH264MvcElement.BuffertemporalId(short value)Sets the specified value to theStdVideoDecodeH264MvcElement.temporalId()field.shortviewId()StdVideoDecodeH264MvcElement.BufferviewId(short value)Sets the specified value to theviewIdfield.java.nio.ShortBufferviewIdOfAnchorRefsInL0()shortviewIdOfAnchorRefsInL0(int index)StdVideoDecodeH264MvcElement.BufferviewIdOfAnchorRefsInL0(int index, short value)Sets the specified value at the specified index of theviewIdOfAnchorRefsInL0field.StdVideoDecodeH264MvcElement.BufferviewIdOfAnchorRefsInL0(java.nio.ShortBuffer value)Copies the specifiedShortBufferto theviewIdOfAnchorRefsInL0field.java.nio.ShortBufferviewIdOfAnchorRefsInL1()shortviewIdOfAnchorRefsInL1(int index)StdVideoDecodeH264MvcElement.BufferviewIdOfAnchorRefsInL1(int index, short value)Sets the specified value at the specified index of theviewIdOfAnchorRefsInL1field.StdVideoDecodeH264MvcElement.BufferviewIdOfAnchorRefsInL1(java.nio.ShortBuffer value)Copies the specifiedShortBufferto theviewIdOfAnchorRefsInL1field.java.nio.ShortBufferviewIdOfNonAnchorRefsInL0()shortviewIdOfNonAnchorRefsInL0(int index)StdVideoDecodeH264MvcElement.BufferviewIdOfNonAnchorRefsInL0(int index, short value)Sets the specified value at the specified index of theviewIdOfNonAnchorRefsInL0field.StdVideoDecodeH264MvcElement.BufferviewIdOfNonAnchorRefsInL0(java.nio.ShortBuffer value)Copies the specifiedShortBufferto theviewIdOfNonAnchorRefsInL0field.java.nio.ShortBufferviewIdOfNonAnchorRefsInL1()shortviewIdOfNonAnchorRefsInL1(int index)StdVideoDecodeH264MvcElement.BufferviewIdOfNonAnchorRefsInL1(int index, short value)Sets the specified value at the specified index of theviewIdOfNonAnchorRefsInL1field.StdVideoDecodeH264MvcElement.BufferviewIdOfNonAnchorRefsInL1(java.nio.ShortBuffer value)Copies the specifiedShortBufferto theviewIdOfNonAnchorRefsInL1field.shortviewOrderIndex()StdVideoDecodeH264MvcElement.BufferviewOrderIndex(short value)Sets the specified value to theviewOrderIndexfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newStdVideoDecodeH264MvcElement.Bufferinstance backed by the specified container. 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 byStdVideoDecodeH264MvcElement.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
flags
public StdVideoDecodeH264MvcElementFlags flags()
- Returns:
- a
StdVideoDecodeH264MvcElementFlagsview of theflagsfield.
-
viewOrderIndex
public short viewOrderIndex()
- Returns:
- the value of the
viewOrderIndexfield.
-
viewId
public short viewId()
- Returns:
- the value of the
viewIdfield.
-
temporalId
public short temporalId()
- Returns:
- the value of the
StdVideoDecodeH264MvcElement.temporalId()field.
-
priorityId
public short priorityId()
- Returns:
- the value of the
StdVideoDecodeH264MvcElement.priorityId()field.
-
numOfAnchorRefsInL0
public short numOfAnchorRefsInL0()
- Returns:
- the value of the
numOfAnchorRefsInL0field.
-
viewIdOfAnchorRefsInL0
public java.nio.ShortBuffer viewIdOfAnchorRefsInL0()
- Returns:
- a
ShortBufferview of theviewIdOfAnchorRefsInL0field.
-
viewIdOfAnchorRefsInL0
public short viewIdOfAnchorRefsInL0(int index)
- Returns:
- the value at the specified index of the
viewIdOfAnchorRefsInL0field.
-
numOfAnchorRefsInL1
public short numOfAnchorRefsInL1()
- Returns:
- the value of the
numOfAnchorRefsInL1field.
-
viewIdOfAnchorRefsInL1
public java.nio.ShortBuffer viewIdOfAnchorRefsInL1()
- Returns:
- a
ShortBufferview of theviewIdOfAnchorRefsInL1field.
-
viewIdOfAnchorRefsInL1
public short viewIdOfAnchorRefsInL1(int index)
- Returns:
- the value at the specified index of the
viewIdOfAnchorRefsInL1field.
-
numOfNonAnchorRefsInL0
public short numOfNonAnchorRefsInL0()
- Returns:
- the value of the
numOfNonAnchorRefsInL0field.
-
viewIdOfNonAnchorRefsInL0
public java.nio.ShortBuffer viewIdOfNonAnchorRefsInL0()
- Returns:
- a
ShortBufferview of theviewIdOfNonAnchorRefsInL0field.
-
viewIdOfNonAnchorRefsInL0
public short viewIdOfNonAnchorRefsInL0(int index)
- Returns:
- the value at the specified index of the
viewIdOfNonAnchorRefsInL0field.
-
numOfNonAnchorRefsInL1
public short numOfNonAnchorRefsInL1()
- Returns:
- the value of the
numOfNonAnchorRefsInL1field.
-
viewIdOfNonAnchorRefsInL1
public java.nio.ShortBuffer viewIdOfNonAnchorRefsInL1()
- Returns:
- a
ShortBufferview of theviewIdOfNonAnchorRefsInL1field.
-
viewIdOfNonAnchorRefsInL1
public short viewIdOfNonAnchorRefsInL1(int index)
- Returns:
- the value at the specified index of the
viewIdOfNonAnchorRefsInL1field.
-
flags
public StdVideoDecodeH264MvcElement.Buffer flags(StdVideoDecodeH264MvcElementFlags value)
Copies the specifiedStdVideoDecodeH264MvcElementFlagsto theflagsfield.
-
flags
public StdVideoDecodeH264MvcElement.Buffer flags(java.util.function.Consumer<StdVideoDecodeH264MvcElementFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
viewOrderIndex
public StdVideoDecodeH264MvcElement.Buffer viewOrderIndex(short value)
Sets the specified value to theviewOrderIndexfield.
-
viewId
public StdVideoDecodeH264MvcElement.Buffer viewId(short value)
Sets the specified value to theviewIdfield.
-
temporalId
public StdVideoDecodeH264MvcElement.Buffer temporalId(short value)
Sets the specified value to theStdVideoDecodeH264MvcElement.temporalId()field.
-
priorityId
public StdVideoDecodeH264MvcElement.Buffer priorityId(short value)
Sets the specified value to theStdVideoDecodeH264MvcElement.priorityId()field.
-
numOfAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer numOfAnchorRefsInL0(short value)
Sets the specified value to thenumOfAnchorRefsInL0field.
-
viewIdOfAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer viewIdOfAnchorRefsInL0(java.nio.ShortBuffer value)
Copies the specifiedShortBufferto theviewIdOfAnchorRefsInL0field.
-
viewIdOfAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer viewIdOfAnchorRefsInL0(int index, short value)
Sets the specified value at the specified index of theviewIdOfAnchorRefsInL0field.
-
numOfAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer numOfAnchorRefsInL1(short value)
Sets the specified value to thenumOfAnchorRefsInL1field.
-
viewIdOfAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer viewIdOfAnchorRefsInL1(java.nio.ShortBuffer value)
Copies the specifiedShortBufferto theviewIdOfAnchorRefsInL1field.
-
viewIdOfAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer viewIdOfAnchorRefsInL1(int index, short value)
Sets the specified value at the specified index of theviewIdOfAnchorRefsInL1field.
-
numOfNonAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer numOfNonAnchorRefsInL0(short value)
Sets the specified value to thenumOfNonAnchorRefsInL0field.
-
viewIdOfNonAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer viewIdOfNonAnchorRefsInL0(java.nio.ShortBuffer value)
Copies the specifiedShortBufferto theviewIdOfNonAnchorRefsInL0field.
-
viewIdOfNonAnchorRefsInL0
public StdVideoDecodeH264MvcElement.Buffer viewIdOfNonAnchorRefsInL0(int index, short value)
Sets the specified value at the specified index of theviewIdOfNonAnchorRefsInL0field.
-
numOfNonAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer numOfNonAnchorRefsInL1(short value)
Sets the specified value to thenumOfNonAnchorRefsInL1field.
-
viewIdOfNonAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer viewIdOfNonAnchorRefsInL1(java.nio.ShortBuffer value)
Copies the specifiedShortBufferto theviewIdOfNonAnchorRefsInL1field.
-
viewIdOfNonAnchorRefsInL1
public StdVideoDecodeH264MvcElement.Buffer viewIdOfNonAnchorRefsInL1(int index, short value)
Sets the specified value at the specified index of theviewIdOfNonAnchorRefsInL1field.
-
-