Class VideoCropMeta

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

@Generated("org.javagi.JavaGI") public class VideoCropMeta extends ProxyInstance
Extra buffer metadata describing image cropping.
  • Constructor Details

    • VideoCropMeta

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

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

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

      public VideoCropMeta(Meta meta, int x, int y, int width, int height, Arena arena)
      Allocate a new VideoCropMeta with the fields set to the provided values.
      Parameters:
      meta - value for the field meta
      x - value for the field x
      y - value for the field y
      width - value for the field width
      height - value for the field height
      arena - to control the memory allocation scope
    • VideoCropMeta

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

    • getMemoryLayout

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

      public @Nullable Meta readMeta()
      Read the value of the field meta.
      Returns:
      The value of the field meta
    • writeMeta

      public void writeMeta(@Nullable Meta meta)
      Write a value in the field meta.
      Parameters:
      meta - The new value for the field meta
    • readX

      public int readX()
      Read the value of the field x.
      Returns:
      The value of the field x
    • writeX

      public void writeX(int x)
      Write a value in the field x.
      Parameters:
      x - The new value for the field x
    • readY

      public int readY()
      Read the value of the field y.
      Returns:
      The value of the field y
    • writeY

      public void writeY(int y)
      Write a value in the field y.
      Parameters:
      y - The new value for the field y
    • 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
    • getInfo

      public static MetaInfo getInfo()