Class VideoTimeCodeMeta

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

@Generated("org.javagi.JavaGI") public class VideoTimeCodeMeta extends ProxyInstance

Extra buffer metadata describing the GstVideoTimeCode of the frame.

Each frame is assumed to have its own timecode, i.e. they are not automatically incremented/interpolated.

Since:
1.10
  • Constructor Details

    • VideoTimeCodeMeta

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

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

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

      public VideoTimeCodeMeta(Meta meta, VideoTimeCode tc, Arena arena)
      Allocate a new VideoTimeCodeMeta with the fields set to the provided values.
      Parameters:
      meta - value for the field meta
      tc - value for the field tc
      arena - to control the memory allocation scope
    • VideoTimeCodeMeta

      public VideoTimeCodeMeta(Meta meta, VideoTimeCode tc)
      Allocate a new VideoTimeCodeMeta with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      meta - value for the field meta
      tc - value for the field tc
  • 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
    • readTc

      public @Nullable VideoTimeCode readTc()
      Read the value of the field tc.
      Returns:
      The value of the field tc
    • writeTc

      public void writeTc(@Nullable VideoTimeCode tc)
      Write a value in the field tc.
      Parameters:
      tc - The new value for the field tc
    • getInfo

      public static MetaInfo getInfo()