Class StdVideoDecodeH264MvcElement

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class StdVideoDecodeH264MvcElement
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource

    Layout

    
     struct StdVideoDecodeH264MvcElement {
         StdVideoDecodeH264MvcElementFlags flags;
         uint16_t viewOrderIndex;
         uint16_t viewId;
         uint16_t temporalId();
         uint16_t priorityId();
         uint16_t numOfAnchorRefsInL0;
         uint16_t viewIdOfAnchorRefsInL0[STD_VIDEO_DECODE_H264_MVC_REF_LIST_SIZE];
         uint16_t numOfAnchorRefsInL1;
         uint16_t viewIdOfAnchorRefsInL1[STD_VIDEO_DECODE_H264_MVC_REF_LIST_SIZE];
         uint16_t numOfNonAnchorRefsInL0;
         uint16_t viewIdOfNonAnchorRefsInL0[STD_VIDEO_DECODE_H264_MVC_REF_LIST_SIZE];
         uint16_t numOfNonAnchorRefsInL1;
         uint16_t viewIdOfNonAnchorRefsInL1[STD_VIDEO_DECODE_H264_MVC_REF_LIST_SIZE];
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • FLAGS, VIEWORDERINDEX, VIEWID, TEMPORALID, PRIORITYID, NUMOFANCHORREFSINL0, VIEWIDOFANCHORREFSINL0, NUMOFANCHORREFSINL1, VIEWIDOFANCHORREFSINL1, NUMOFNONANCHORREFSINL0, VIEWIDOFNONANCHORREFSINL0, NUMOFNONANCHORREFSINL1, VIEWIDOFNONANCHORREFSINL1

        The struct member offsets.
    • Constructor Detail

      • StdVideoDecodeH264MvcElement

        public StdVideoDecodeH264MvcElement​(java.nio.ByteBuffer container)
        Creates a StdVideoDecodeH264MvcElement instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • viewOrderIndex

        public short viewOrderIndex()
        Returns:
        the value of the viewOrderIndex field.
      • viewId

        public short viewId()
        Returns:
        the value of the viewId field.
      • temporalId, priorityId

        public short temporalId()
        
        public short priorityId()
        
        move out?
      • numOfAnchorRefsInL0

        public short numOfAnchorRefsInL0()
        Returns:
        the value of the numOfAnchorRefsInL0 field.
      • viewIdOfAnchorRefsInL0

        public java.nio.ShortBuffer viewIdOfAnchorRefsInL0()
        Returns:
        a ShortBuffer view of the viewIdOfAnchorRefsInL0 field.
      • viewIdOfAnchorRefsInL0

        public short viewIdOfAnchorRefsInL0​(int index)
        Returns:
        the value at the specified index of the viewIdOfAnchorRefsInL0 field.
      • numOfAnchorRefsInL1

        public short numOfAnchorRefsInL1()
        Returns:
        the value of the numOfAnchorRefsInL1 field.
      • viewIdOfAnchorRefsInL1

        public java.nio.ShortBuffer viewIdOfAnchorRefsInL1()
        Returns:
        a ShortBuffer view of the viewIdOfAnchorRefsInL1 field.
      • viewIdOfAnchorRefsInL1

        public short viewIdOfAnchorRefsInL1​(int index)
        Returns:
        the value at the specified index of the viewIdOfAnchorRefsInL1 field.
      • numOfNonAnchorRefsInL0

        public short numOfNonAnchorRefsInL0()
        Returns:
        the value of the numOfNonAnchorRefsInL0 field.
      • viewIdOfNonAnchorRefsInL0

        public java.nio.ShortBuffer viewIdOfNonAnchorRefsInL0()
        Returns:
        a ShortBuffer view of the viewIdOfNonAnchorRefsInL0 field.
      • viewIdOfNonAnchorRefsInL0

        public short viewIdOfNonAnchorRefsInL0​(int index)
        Returns:
        the value at the specified index of the viewIdOfNonAnchorRefsInL0 field.
      • numOfNonAnchorRefsInL1

        public short numOfNonAnchorRefsInL1()
        Returns:
        the value of the numOfNonAnchorRefsInL1 field.
      • viewIdOfNonAnchorRefsInL1

        public java.nio.ShortBuffer viewIdOfNonAnchorRefsInL1()
        Returns:
        a ShortBuffer view of the viewIdOfNonAnchorRefsInL1 field.
      • viewIdOfNonAnchorRefsInL1

        public short viewIdOfNonAnchorRefsInL1​(int index)
        Returns:
        the value at the specified index of the viewIdOfNonAnchorRefsInL1 field.
      • viewOrderIndex

        public StdVideoDecodeH264MvcElement viewOrderIndex​(short value)
        Sets the specified value to the viewOrderIndex field.
      • numOfAnchorRefsInL0

        public StdVideoDecodeH264MvcElement numOfAnchorRefsInL0​(short value)
        Sets the specified value to the numOfAnchorRefsInL0 field.
      • viewIdOfAnchorRefsInL0

        public StdVideoDecodeH264MvcElement viewIdOfAnchorRefsInL0​(java.nio.ShortBuffer value)
        Copies the specified ShortBuffer to the viewIdOfAnchorRefsInL0 field.
      • viewIdOfAnchorRefsInL0

        public StdVideoDecodeH264MvcElement viewIdOfAnchorRefsInL0​(int index,
                                                                   short value)
        Sets the specified value at the specified index of the viewIdOfAnchorRefsInL0 field.
      • numOfAnchorRefsInL1

        public StdVideoDecodeH264MvcElement numOfAnchorRefsInL1​(short value)
        Sets the specified value to the numOfAnchorRefsInL1 field.
      • viewIdOfAnchorRefsInL1

        public StdVideoDecodeH264MvcElement viewIdOfAnchorRefsInL1​(java.nio.ShortBuffer value)
        Copies the specified ShortBuffer to the viewIdOfAnchorRefsInL1 field.
      • viewIdOfAnchorRefsInL1

        public StdVideoDecodeH264MvcElement viewIdOfAnchorRefsInL1​(int index,
                                                                   short value)
        Sets the specified value at the specified index of the viewIdOfAnchorRefsInL1 field.
      • numOfNonAnchorRefsInL0

        public StdVideoDecodeH264MvcElement numOfNonAnchorRefsInL0​(short value)
        Sets the specified value to the numOfNonAnchorRefsInL0 field.
      • viewIdOfNonAnchorRefsInL0

        public StdVideoDecodeH264MvcElement viewIdOfNonAnchorRefsInL0​(java.nio.ShortBuffer value)
        Copies the specified ShortBuffer to the viewIdOfNonAnchorRefsInL0 field.
      • viewIdOfNonAnchorRefsInL0

        public StdVideoDecodeH264MvcElement viewIdOfNonAnchorRefsInL0​(int index,
                                                                      short value)
        Sets the specified value at the specified index of the viewIdOfNonAnchorRefsInL0 field.
      • numOfNonAnchorRefsInL1

        public StdVideoDecodeH264MvcElement numOfNonAnchorRefsInL1​(short value)
        Sets the specified value to the numOfNonAnchorRefsInL1 field.
      • viewIdOfNonAnchorRefsInL1

        public StdVideoDecodeH264MvcElement viewIdOfNonAnchorRefsInL1​(java.nio.ShortBuffer value)
        Copies the specified ShortBuffer to the viewIdOfNonAnchorRefsInL1 field.
      • viewIdOfNonAnchorRefsInL1

        public StdVideoDecodeH264MvcElement viewIdOfNonAnchorRefsInL1​(int index,
                                                                      short value)
        Sets the specified value at the specified index of the viewIdOfNonAnchorRefsInL1 field.
      • set

        public StdVideoDecodeH264MvcElement set​(StdVideoDecodeH264MvcElementFlags flags,
                                                short viewOrderIndex,
                                                short viewId,
                                                short temporalId,
                                                short priorityId,
                                                short numOfAnchorRefsInL0,
                                                java.nio.ShortBuffer viewIdOfAnchorRefsInL0,
                                                short numOfAnchorRefsInL1,
                                                java.nio.ShortBuffer viewIdOfAnchorRefsInL1,
                                                short numOfNonAnchorRefsInL0,
                                                java.nio.ShortBuffer viewIdOfNonAnchorRefsInL0,
                                                short numOfNonAnchorRefsInL1,
                                                java.nio.ShortBuffer viewIdOfNonAnchorRefsInL1)
        Initializes this struct with the specified values.
      • malloc

        public static StdVideoDecodeH264MvcElement malloc()
        Returns a new StdVideoDecodeH264MvcElement instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static StdVideoDecodeH264MvcElement calloc()
        Returns a new StdVideoDecodeH264MvcElement instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static StdVideoDecodeH264MvcElement create()
        Returns a new StdVideoDecodeH264MvcElement instance allocated with BufferUtils.
      • create

        public static StdVideoDecodeH264MvcElement create​(long address)
        Returns a new StdVideoDecodeH264MvcElement instance for the specified memory address.
      • malloc

        public static StdVideoDecodeH264MvcElement malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoDecodeH264MvcElement instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static StdVideoDecodeH264MvcElement calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoDecodeH264MvcElement instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • nviewOrderIndex

        public static short nviewOrderIndex​(long struct)
        Unsafe version of viewOrderIndex().
      • nviewId

        public static short nviewId​(long struct)
        Unsafe version of viewId().
      • ntemporalId

        public static short ntemporalId​(long struct)
        Unsafe version of temporalId().
      • npriorityId

        public static short npriorityId​(long struct)
        Unsafe version of priorityId().
      • nnumOfAnchorRefsInL0

        public static short nnumOfAnchorRefsInL0​(long struct)
        Unsafe version of numOfAnchorRefsInL0().
      • nviewIdOfAnchorRefsInL0

        public static java.nio.ShortBuffer nviewIdOfAnchorRefsInL0​(long struct)
        Unsafe version of viewIdOfAnchorRefsInL0().
      • nviewIdOfAnchorRefsInL0

        public static short nviewIdOfAnchorRefsInL0​(long struct,
                                                    int index)
        Unsafe version of viewIdOfAnchorRefsInL0.
      • nnumOfAnchorRefsInL1

        public static short nnumOfAnchorRefsInL1​(long struct)
        Unsafe version of numOfAnchorRefsInL1().
      • nviewIdOfAnchorRefsInL1

        public static java.nio.ShortBuffer nviewIdOfAnchorRefsInL1​(long struct)
        Unsafe version of viewIdOfAnchorRefsInL1().
      • nviewIdOfAnchorRefsInL1

        public static short nviewIdOfAnchorRefsInL1​(long struct,
                                                    int index)
        Unsafe version of viewIdOfAnchorRefsInL1.
      • nnumOfNonAnchorRefsInL0

        public static short nnumOfNonAnchorRefsInL0​(long struct)
        Unsafe version of numOfNonAnchorRefsInL0().
      • nviewIdOfNonAnchorRefsInL0

        public static java.nio.ShortBuffer nviewIdOfNonAnchorRefsInL0​(long struct)
        Unsafe version of viewIdOfNonAnchorRefsInL0().
      • nviewIdOfNonAnchorRefsInL0

        public static short nviewIdOfNonAnchorRefsInL0​(long struct,
                                                       int index)
        Unsafe version of viewIdOfNonAnchorRefsInL0.
      • nnumOfNonAnchorRefsInL1

        public static short nnumOfNonAnchorRefsInL1​(long struct)
        Unsafe version of numOfNonAnchorRefsInL1().
      • nviewIdOfNonAnchorRefsInL1

        public static java.nio.ShortBuffer nviewIdOfNonAnchorRefsInL1​(long struct)
        Unsafe version of viewIdOfNonAnchorRefsInL1().
      • nviewIdOfNonAnchorRefsInL1

        public static short nviewIdOfNonAnchorRefsInL1​(long struct,
                                                       int index)
        Unsafe version of viewIdOfNonAnchorRefsInL1.
      • nviewOrderIndex

        public static void nviewOrderIndex​(long struct,
                                           short value)
        Unsafe version of viewOrderIndex.
      • nviewId

        public static void nviewId​(long struct,
                                   short value)
        Unsafe version of viewId.
      • ntemporalId

        public static void ntemporalId​(long struct,
                                       short value)
        Unsafe version of temporalId.
      • npriorityId

        public static void npriorityId​(long struct,
                                       short value)
        Unsafe version of priorityId.
      • nnumOfAnchorRefsInL0

        public static void nnumOfAnchorRefsInL0​(long struct,
                                                short value)
        Unsafe version of numOfAnchorRefsInL0.
      • nviewIdOfAnchorRefsInL0

        public static void nviewIdOfAnchorRefsInL0​(long struct,
                                                   java.nio.ShortBuffer value)
        Unsafe version of viewIdOfAnchorRefsInL0.
      • nviewIdOfAnchorRefsInL0

        public static void nviewIdOfAnchorRefsInL0​(long struct,
                                                   int index,
                                                   short value)
        Unsafe version of viewIdOfAnchorRefsInL0.
      • nnumOfAnchorRefsInL1

        public static void nnumOfAnchorRefsInL1​(long struct,
                                                short value)
        Unsafe version of numOfAnchorRefsInL1.
      • nviewIdOfAnchorRefsInL1

        public static void nviewIdOfAnchorRefsInL1​(long struct,
                                                   java.nio.ShortBuffer value)
        Unsafe version of viewIdOfAnchorRefsInL1.
      • nviewIdOfAnchorRefsInL1

        public static void nviewIdOfAnchorRefsInL1​(long struct,
                                                   int index,
                                                   short value)
        Unsafe version of viewIdOfAnchorRefsInL1.
      • nnumOfNonAnchorRefsInL0

        public static void nnumOfNonAnchorRefsInL0​(long struct,
                                                   short value)
        Unsafe version of numOfNonAnchorRefsInL0.
      • nviewIdOfNonAnchorRefsInL0

        public static void nviewIdOfNonAnchorRefsInL0​(long struct,
                                                      java.nio.ShortBuffer value)
        Unsafe version of viewIdOfNonAnchorRefsInL0.
      • nviewIdOfNonAnchorRefsInL0

        public static void nviewIdOfNonAnchorRefsInL0​(long struct,
                                                      int index,
                                                      short value)
        Unsafe version of viewIdOfNonAnchorRefsInL0.
      • nnumOfNonAnchorRefsInL1

        public static void nnumOfNonAnchorRefsInL1​(long struct,
                                                   short value)
        Unsafe version of numOfNonAnchorRefsInL1.
      • nviewIdOfNonAnchorRefsInL1

        public static void nviewIdOfNonAnchorRefsInL1​(long struct,
                                                      java.nio.ShortBuffer value)
        Unsafe version of viewIdOfNonAnchorRefsInL1.
      • nviewIdOfNonAnchorRefsInL1

        public static void nviewIdOfNonAnchorRefsInL1​(long struct,
                                                      int index,
                                                      short value)
        Unsafe version of viewIdOfNonAnchorRefsInL1.