Class StdVideoDecodeH264Mvc

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

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

    Layout

    
     struct StdVideoDecodeH264Mvc {
         uint32_t viewId0;
         uint32_t mvcElementCount;
         StdVideoDecodeH264MvcElement * pMvcElements;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • VIEWID0, MVCELEMENTCOUNT, PMVCELEMENTS

        The struct member offsets.
    • Constructor Detail

      • StdVideoDecodeH264Mvc

        public StdVideoDecodeH264Mvc​(java.nio.ByteBuffer container)
        Creates a StdVideoDecodeH264Mvc 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
      • viewId0

        public int viewId0()
        Returns:
        the value of the viewId0 field.
      • mvcElementCount

        public int mvcElementCount()
        Returns:
        the value of the mvcElementCount field.
      • viewId0

        public StdVideoDecodeH264Mvc viewId0​(int value)
        Sets the specified value to the viewId0 field.
      • mvcElementCount

        public StdVideoDecodeH264Mvc mvcElementCount​(int value)
        Sets the specified value to the mvcElementCount field.
      • malloc

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

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

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

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

        @Nullable
        public static StdVideoDecodeH264Mvc createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

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

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

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

        public static StdVideoDecodeH264Mvc.Buffer calloc​(int capacity,
                                                          org.lwjgl.system.MemoryStack stack)
        Returns a new StdVideoDecodeH264Mvc.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nviewId0

        public static int nviewId0​(long struct)
        Unsafe version of viewId0().
      • nmvcElementCount

        public static int nmvcElementCount​(long struct)
        Unsafe version of mvcElementCount().
      • nviewId0

        public static void nviewId0​(long struct,
                                    int value)
        Unsafe version of viewId0.
      • nmvcElementCount

        public static void nmvcElementCount​(long struct,
                                            int value)
        Unsafe version of mvcElementCount.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate