Class VideoTimeCodeConfig

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

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

Supported frame rates: 30000/1001, 60000/1001 (both with and without drop frame), and integer frame rates e.g. 25/1, 30/1, 50/1, 60/1.

The configuration of the time code.

Since:
1.10
  • Constructor Details

    • VideoTimeCodeConfig

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

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

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

      public VideoTimeCodeConfig(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam, Arena arena)
      Allocate a new VideoTimeCodeConfig with the fields set to the provided values.
      Parameters:
      fpsN - value for the field fpsN
      fpsD - value for the field fpsD
      flags - value for the field flags
      latestDailyJam - value for the field latestDailyJam
      arena - to control the memory allocation scope
    • VideoTimeCodeConfig

      public VideoTimeCodeConfig(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam)
      Allocate a new VideoTimeCodeConfig with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      fpsN - value for the field fpsN
      fpsD - value for the field fpsD
      flags - value for the field flags
      latestDailyJam - value for the field latestDailyJam
  • Method Details

    • getMemoryLayout

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

      public int readFpsN()
      Read the value of the field fps_n.
      Returns:
      The value of the field fps_n
    • writeFpsN

      public void writeFpsN(int fpsN)
      Write a value in the field fps_n.
      Parameters:
      fpsN - The new value for the field fps_n
    • readFpsD

      public int readFpsD()
      Read the value of the field fps_d.
      Returns:
      The value of the field fps_d
    • writeFpsD

      public void writeFpsD(int fpsD)
      Write a value in the field fps_d.
      Parameters:
      fpsD - The new value for the field fps_d
    • readFlags

      public Set<VideoTimeCodeFlags> readFlags()
      Read the value of the field flags.
      Returns:
      The value of the field flags
    • writeFlags

      public void writeFlags(Set<VideoTimeCodeFlags> flags)
      Write a value in the field flags.
      Parameters:
      flags - The new value for the field flags
    • readLatestDailyJam

      public DateTime readLatestDailyJam()
      Read the value of the field latest_daily_jam.
      Returns:
      The value of the field latest_daily_jam
    • writeLatestDailyJam

      public void writeLatestDailyJam(DateTime latestDailyJam)
      Write a value in the field latest_daily_jam.
      Parameters:
      latestDailyJam - The new value for the field latest_daily_jam