Package org.freedesktop.gstreamer.video
Class VideoAFDMeta
java.lang.Object
io.github.jwharm.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
-
Constructor Summary
ConstructorDescriptionAllocate 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 MetaInfo
getInfo()
static MemoryLayout
The memory layout of the native struct.readAfd()
Read the value of the fieldafd
.byte
Read the value of the fieldfield
.readMeta()
Read the value of the fieldmeta
.readSpec()
Read the value of the fieldspec
.void
writeAfd
(VideoAFDValue afd) Write a value in the fieldafd
.void
writeField
(byte field) Write a value in the fieldfield
.void
Write a value in the fieldmeta
.void
writeSpec
(VideoAFDSpec spec) Write a value in the fieldspec
.Methods inherited from class io.github.jwharm.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 fieldmeta
field
- value for the fieldfield
spec
- value for the fieldspec
afd
- value for the fieldafd
arena
- 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 fieldmeta
field
- value for the fieldfield
spec
- value for the fieldspec
afd
- value for the fieldafd
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readMeta
-
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
-