Package org.freedesktop.gstreamer.video
Class VideoTimeCodeMeta
java.lang.Object
org.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.
- Since:
- 1.10
-
Constructor Summary
ConstructorsConstructorDescriptionAllocate 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 MetaInfogetInfo()static MemoryLayoutThe memory layout of the native struct.@Nullable MetareadMeta()Read the value of the fieldmeta.@Nullable VideoTimeCodereadTc()Read the value of the fieldtc.voidWrite a value in the fieldmeta.voidwriteTc(@Nullable VideoTimeCode tc) Write a value in the fieldtc.Methods inherited from class org.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 fieldmetatc- value for the fieldtcarena- 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 fieldmetatc- value for the fieldtc
-
-
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
-
readTc
Read the value of the fieldtc.- Returns:
- The value of the field
tc
-
writeTc
Write a value in the fieldtc.- Parameters:
tc- The new value for the fieldtc
-
getInfo
-