Class SpvcMslSamplerYcbcrConversion.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new SpvcMslSamplerYcbcrConversion.Buffer instance 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 by SpvcMslSamplerYcbcrConversion.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

      • planes

        public int planes()
        Returns:
        the value of the planes field.
      • resolution

        public int resolution()
        Returns:
        the value of the resolution field.
      • chroma_filter

        public int chroma_filter()
        Returns:
        the value of the chroma_filter field.
      • x_chroma_offset

        public int x_chroma_offset()
        Returns:
        the value of the x_chroma_offset field.
      • y_chroma_offset

        public int y_chroma_offset()
        Returns:
        the value of the y_chroma_offset field.
      • swizzle

        public java.nio.IntBuffer swizzle()
        Returns:
        a IntBuffer view of the swizzle field.
      • swizzle

        public int swizzle​(int index)
        Returns:
        the value at the specified index of the swizzle field.
      • ycbcr_model

        public int ycbcr_model()
        Returns:
        the value of the ycbcr_model field.
      • ycbcr_range

        public int ycbcr_range()
        Returns:
        the value of the ycbcr_range field.
      • bpc

        public int bpc()
        Returns:
        the value of the bpc field.