Class StdVideoAV1Segmentation.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<StdVideoAV1Segmentation>, NativeResource, Pointer
Enclosing class:
StdVideoAV1Segmentation

public static class StdVideoAV1Segmentation.Buffer extends StructBuffer<StdVideoAV1Segmentation,StdVideoAV1Segmentation.Buffer> implements NativeResource
An array of StdVideoAV1Segmentation structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new StdVideoAV1Segmentation.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 StdVideoAV1Segmentation.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 Details

    • FeatureEnabled

      public ByteBuffer FeatureEnabled()
      Returns:
      a ByteBuffer view of the FeatureEnabled field.
    • FeatureEnabled

      public byte FeatureEnabled(int index)
      Returns:
      the value at the specified index of the FeatureEnabled field.
    • FeatureData

      public ShortBuffer FeatureData()
      Returns:
      a ShortBuffer view of the FeatureData field.
    • FeatureData

      public short FeatureData(int index)
      Returns:
      the value at the specified index of the FeatureData field.
    • FeatureEnabled

      public StdVideoAV1Segmentation.Buffer FeatureEnabled(ByteBuffer value)
      Copies the specified ByteBuffer to the FeatureEnabled field.
    • FeatureEnabled

      public StdVideoAV1Segmentation.Buffer FeatureEnabled(int index, byte value)
      Sets the specified value at the specified index of the FeatureEnabled field.
    • FeatureData

      public StdVideoAV1Segmentation.Buffer FeatureData(ShortBuffer value)
      Copies the specified ShortBuffer to the FeatureData field.
    • FeatureData

      public StdVideoAV1Segmentation.Buffer FeatureData(int index, short value)
      Sets the specified value at the specified index of the FeatureData field.