Package org.freedesktop.gstreamer.video
Class VideoAFDMeta
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoAFDMeta
- All Implemented Interfaces:
Proxy
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 Summary
ConstructorsConstructorDescriptionAllocate a new VideoAFDMeta.VideoAFDMeta(Arena arena) Allocate a new VideoAFDMeta.VideoAFDMeta(MemorySegment address) Create a VideoAFDMeta proxy instance for the provided memory address.VideoAFDMeta(Meta meta, byte field, VideoAFDSpec spec, VideoAFDValue afd) Allocate a new VideoAFDMeta with the fields set to the provided values.VideoAFDMeta(Meta meta, byte field, VideoAFDSpec spec, VideoAFDValue afd, Arena arena) Allocate a new VideoAFDMeta with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaInfogetInfo()static MemoryLayoutThe memory layout of the native struct.readAfd()Read the value of the fieldafd.byteRead the value of the fieldfield.@Nullable MetareadMeta()Read the value of the fieldmeta.readSpec()Read the value of the fieldspec.voidwriteAfd(VideoAFDValue afd) Write a value in the fieldafd.voidwriteField(byte field) Write a value in the fieldfield.voidWrite a value in the fieldmeta.voidwriteSpec(VideoAFDSpec spec) Write a value in the fieldspec.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoAFDMeta
Create a VideoAFDMeta proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
VideoAFDMeta
Allocate a new VideoAFDMeta.- Parameters:
arena- to control the memory allocation scope
-
VideoAFDMeta
public VideoAFDMeta()Allocate a new VideoAFDMeta. The memory is allocated withArena.ofAuto(). -
VideoAFDMeta
Allocate a new VideoAFDMeta with the fields set to the provided values.- Parameters:
meta- value for the fieldmetafield- value for the fieldfieldspec- value for the fieldspecafd- value for the fieldafdarena- to control the memory allocation scope
-
VideoAFDMeta
Allocate a new VideoAFDMeta with the fields set to the provided values. The memory is allocated withArena.ofAuto().- Parameters:
meta- value for the fieldmetafield- value for the fieldfieldspec- value for the fieldspecafd- value for the fieldafd
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readMeta
Read the value of the fieldmeta.- Returns:
- The value of the field
meta
-
writeMeta
Write a value in the fieldmeta.- Parameters:
meta- The new value for the fieldmeta
-
readField
public byte readField()Read the value of the fieldfield.- Returns:
- The value of the field
field
-
writeField
public void writeField(byte field) Write a value in the fieldfield.- Parameters:
field- The new value for the fieldfield
-
readSpec
Read the value of the fieldspec.- Returns:
- The value of the field
spec
-
writeSpec
Write a value in the fieldspec.- Parameters:
spec- The new value for the fieldspec
-
readAfd
-
writeAfd
Write a value in the fieldafd.- Parameters:
afd- The new value for the fieldafd
-
getInfo
-