Class VideoAFDMeta

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

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

Active Format Description (AFD)

For details, see Table 6.14 Active Format in:

ATSC Digital Television Standard: Part 4 – MPEG-2 Video System Characteristics

https://www.atsc.org/wp-content/uploads/2015/03/a_53-Part-4-2009.pdf

and Active Format Description in Complete list of AFD codes

https://en.wikipedia.org/wiki/Active_Format_DescriptionComplete_list_of_AFD_codes

and SMPTE ST2016-1

Since:
1.18
  • Constructor Details

    • VideoAFDMeta

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

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

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

      public VideoAFDMeta(Meta meta, byte field, VideoAFDSpec spec, VideoAFDValue afd, Arena arena)
      Allocate a new VideoAFDMeta with the fields set to the provided values.
      Parameters:
      meta - value for the field meta
      field - value for the field field
      spec - value for the field spec
      afd - value for the field afd
      arena - to control the memory allocation scope
    • VideoAFDMeta

      public VideoAFDMeta(Meta meta, byte field, VideoAFDSpec spec, VideoAFDValue afd)
      Allocate a new VideoAFDMeta with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      meta - value for the field meta
      field - value for the field field
      spec - value for the field spec
      afd - value for the field afd
  • 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
    • readField

      public byte readField()
      Read the value of the field field.
      Returns:
      The value of the field field
    • writeField

      public void writeField(byte field)
      Write a value in the field field.
      Parameters:
      field - The new value for the field field
    • readSpec

      public VideoAFDSpec readSpec()
      Read the value of the field spec.
      Returns:
      The value of the field spec
    • writeSpec

      public void writeSpec(VideoAFDSpec spec)
      Write a value in the field spec.
      Parameters:
      spec - The new value for the field spec
    • readAfd

      public VideoAFDValue readAfd()
      Read the value of the field afd.
      Returns:
      The value of the field afd
    • writeAfd

      public void writeAfd(VideoAFDValue afd)
      Write a value in the field afd.
      Parameters:
      afd - The new value for the field afd
    • getInfo

      public static MetaInfo getInfo()