Class MetaTransformCopy

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.MetaTransformCopy
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class MetaTransformCopy extends ProxyInstance
Extra data passed to a "gst-copy" transform GstMetaTransformFunction.
  • Constructor Details

    • MetaTransformCopy

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

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

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

      public MetaTransformCopy(boolean region, long offset, long size, Arena arena)
      Allocate a new MetaTransformCopy with the fields set to the provided values.
      Parameters:
      region - value for the field region
      offset - value for the field offset
      size - value for the field size
      arena - to control the memory allocation scope
    • MetaTransformCopy

      public MetaTransformCopy(boolean region, long offset, long size)
      Allocate a new MetaTransformCopy with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      region - value for the field region
      offset - value for the field offset
      size - value for the field size
  • Method Details

    • getMemoryLayout

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

      public boolean readRegion()
      Read the value of the field region.
      Returns:
      The value of the field region
    • writeRegion

      public void writeRegion(boolean region)
      Write a value in the field region.
      Parameters:
      region - The new value for the field region
    • readOffset

      public long readOffset()
      Read the value of the field offset.
      Returns:
      The value of the field offset
    • writeOffset

      public void writeOffset(long offset)
      Write a value in the field offset.
      Parameters:
      offset - The new value for the field offset
    • readSize

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

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