Package org.freedesktop.gstreamer.video
Class VideoTimeCodeMeta
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoTimeCodeMeta
- All Implemented Interfaces:
Proxy
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.
-
Constructor Summary
ConstructorDescriptionAllocate a new VideoTimeCodeMeta.VideoTimeCodeMeta
(Arena arena) Allocate a new VideoTimeCodeMeta.VideoTimeCodeMeta
(MemorySegment address) Create a VideoTimeCodeMeta proxy instance for the provided memory address.VideoTimeCodeMeta
(Meta meta, VideoTimeCode tc) Allocate a new VideoTimeCodeMeta with the fields set to the provided values.VideoTimeCodeMeta
(Meta meta, VideoTimeCode tc, Arena arena) Allocate a new VideoTimeCodeMeta with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaInfo
getInfo()
static MemoryLayout
The memory layout of the native struct.readMeta()
Read the value of the fieldmeta
.readTc()
Read the value of the fieldtc
.void
Write a value in the fieldmeta
.void
writeTc
(VideoTimeCode tc) Write a value in the fieldtc
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoTimeCodeMeta
Create a VideoTimeCodeMeta proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoTimeCodeMeta
Allocate a new VideoTimeCodeMeta.- Parameters:
arena
- to control the memory allocation scope
-
VideoTimeCodeMeta
public VideoTimeCodeMeta()Allocate a new VideoTimeCodeMeta. The memory is allocated withArena.ofAuto()
. -
VideoTimeCodeMeta
Allocate a new VideoTimeCodeMeta with the fields set to the provided values.- Parameters:
meta
- value for the fieldmeta
tc
- value for the fieldtc
arena
- to control the memory allocation scope
-
VideoTimeCodeMeta
Allocate a new VideoTimeCodeMeta with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
meta
- value for the fieldmeta
tc
- value for the fieldtc
-
-
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
-
readTc
-
writeTc
Write a value in the fieldtc
.- Parameters:
tc
- The new value for the fieldtc
-
getInfo
-