Class VideoTileInfo

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoTileInfo
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class VideoTileInfo extends ProxyInstance
Description of a tile. This structure allow to describe arbitrary tile dimensions and sizes.
Since:
1.22
  • Constructor Details

    • VideoTileInfo

      public VideoTileInfo(MemorySegment address)
      Create a VideoTileInfo proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • VideoTileInfo

      public VideoTileInfo(Arena arena)
      Allocate a new VideoTileInfo.
      Parameters:
      arena - to control the memory allocation scope
    • VideoTileInfo

      public VideoTileInfo()
      Allocate a new VideoTileInfo. The memory is allocated with Arena.ofAuto().
    • VideoTileInfo

      public VideoTileInfo(int width, int height, int stride, int size, Arena arena)
      Allocate a new VideoTileInfo with the fields set to the provided values.
      Parameters:
      width - value for the field width
      height - value for the field height
      stride - value for the field stride
      size - value for the field size
      arena - to control the memory allocation scope
    • VideoTileInfo

      public VideoTileInfo(int width, int height, int stride, int size)
      Allocate a new VideoTileInfo with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      width - value for the field width
      height - value for the field height
      stride - value for the field stride
      size - value for the field size
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readWidth

      public int readWidth()
      Read the value of the field width.
      Returns:
      The value of the field width
    • writeWidth

      public void writeWidth(int width)
      Write a value in the field width.
      Parameters:
      width - The new value for the field width
    • readHeight

      public int readHeight()
      Read the value of the field height.
      Returns:
      The value of the field height
    • writeHeight

      public void writeHeight(int height)
      Write a value in the field height.
      Parameters:
      height - The new value for the field height
    • readStride

      public int readStride()
      Read the value of the field stride.
      Returns:
      The value of the field stride
    • writeStride

      public void writeStride(int stride)
      Write a value in the field stride.
      Parameters:
      stride - The new value for the field stride
    • readSize

      public int readSize()
      Read the value of the field size.
      Returns:
      The value of the field size
    • writeSize

      public void writeSize(int size)
      Write a value in the field size.
      Parameters:
      size - The new value for the field size