Class StdVideoEncodeAV1ExtensionHeader.Buffer

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

public static class StdVideoEncodeAV1ExtensionHeader.Buffer extends StructBuffer<StdVideoEncodeAV1ExtensionHeader,StdVideoEncodeAV1ExtensionHeader.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

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

    • temporal_id

      public byte temporal_id()
      Returns:
      the value of the temporal_id field.
    • spatial_id

      public byte spatial_id()
      Returns:
      the value of the spatial_id field.
    • temporal_id

      public StdVideoEncodeAV1ExtensionHeader.Buffer temporal_id(byte value)
      Sets the specified value to the temporal_id field.
    • spatial_id

      public StdVideoEncodeAV1ExtensionHeader.Buffer spatial_id(byte value)
      Sets the specified value to the spatial_id field.