Class VideoMetaTransform

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

@Generated("org.javagi.JavaGI") public class VideoMetaTransform extends ProxyInstance
Extra data passed to a video transform GstMetaTransformFunction such as: "gst-video-scale".
  • Constructor Details

    • VideoMetaTransform

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

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

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

      public VideoMetaTransform(VideoInfo inInfo, VideoInfo outInfo, Arena arena)
      Allocate a new VideoMetaTransform with the fields set to the provided values.
      Parameters:
      inInfo - value for the field inInfo
      outInfo - value for the field outInfo
      arena - to control the memory allocation scope
    • VideoMetaTransform

      public VideoMetaTransform(VideoInfo inInfo, VideoInfo outInfo)
      Allocate a new VideoMetaTransform with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      inInfo - value for the field inInfo
      outInfo - value for the field outInfo
  • Method Details

    • getMemoryLayout

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

      public VideoInfo readInInfo()
      Read the value of the field in_info.
      Returns:
      The value of the field in_info
    • writeInInfo

      public void writeInInfo(VideoInfo inInfo)
      Write a value in the field in_info.
      Parameters:
      inInfo - The new value for the field in_info
    • readOutInfo

      public VideoInfo readOutInfo()
      Read the value of the field out_info.
      Returns:
      The value of the field out_info
    • writeOutInfo

      public void writeOutInfo(VideoInfo outInfo)
      Write a value in the field out_info.
      Parameters:
      outInfo - The new value for the field out_info
    • scaleGetQuark

      public static Quark scaleGetQuark()
      Get the GQuark for the "gst-video-scale" metadata transform operation.
      Returns:
      a GQuark