Package org.freedesktop.gstreamer.video
Class VideoTimeCodeConfig
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoTimeCodeConfig
- All Implemented Interfaces:
Proxy
Supported frame rates: 30000/1001, 60000/1001 (both with and without drop
frame), and integer frame rates e.g. 25/1, 30/1, 50/1, 60/1.
The configuration of the time code.
-
Constructor Summary
ConstructorDescriptionAllocate a new VideoTimeCodeConfig.VideoTimeCodeConfig
(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam) Allocate a new VideoTimeCodeConfig with the fields set to the provided values.VideoTimeCodeConfig
(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam, Arena arena) Allocate a new VideoTimeCodeConfig with the fields set to the provided values.VideoTimeCodeConfig
(Arena arena) Allocate a new VideoTimeCodeConfig.VideoTimeCodeConfig
(MemorySegment address) Create a VideoTimeCodeConfig proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.Read the value of the fieldflags
.int
readFpsD()
Read the value of the fieldfps_d
.int
readFpsN()
Read the value of the fieldfps_n
.Read the value of the fieldlatest_daily_jam
.void
writeFlags
(Set<VideoTimeCodeFlags> flags) Write a value in the fieldflags
.void
writeFpsD
(int fpsD) Write a value in the fieldfps_d
.void
writeFpsN
(int fpsN) Write a value in the fieldfps_n
.void
writeLatestDailyJam
(DateTime latestDailyJam) Write a value in the fieldlatest_daily_jam
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoTimeCodeConfig
Create a VideoTimeCodeConfig proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoTimeCodeConfig
Allocate a new VideoTimeCodeConfig.- Parameters:
arena
- to control the memory allocation scope
-
VideoTimeCodeConfig
public VideoTimeCodeConfig()Allocate a new VideoTimeCodeConfig. The memory is allocated withArena.ofAuto()
. -
VideoTimeCodeConfig
public VideoTimeCodeConfig(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam, Arena arena) Allocate a new VideoTimeCodeConfig with the fields set to the provided values.- Parameters:
fpsN
- value for the fieldfpsN
fpsD
- value for the fieldfpsD
flags
- value for the fieldflags
latestDailyJam
- value for the fieldlatestDailyJam
arena
- to control the memory allocation scope
-
VideoTimeCodeConfig
public VideoTimeCodeConfig(int fpsN, int fpsD, Set<VideoTimeCodeFlags> flags, DateTime latestDailyJam) Allocate a new VideoTimeCodeConfig with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
fpsN
- value for the fieldfpsN
fpsD
- value for the fieldfpsD
flags
- value for the fieldflags
latestDailyJam
- value for the fieldlatestDailyJam
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readFpsN
public int readFpsN()Read the value of the fieldfps_n
.- Returns:
- The value of the field
fps_n
-
writeFpsN
public void writeFpsN(int fpsN) Write a value in the fieldfps_n
.- Parameters:
fpsN
- The new value for the fieldfps_n
-
readFpsD
public int readFpsD()Read the value of the fieldfps_d
.- Returns:
- The value of the field
fps_d
-
writeFpsD
public void writeFpsD(int fpsD) Write a value in the fieldfps_d
.- Parameters:
fpsD
- The new value for the fieldfps_d
-
readFlags
Read the value of the fieldflags
.- Returns:
- The value of the field
flags
-
writeFlags
Write a value in the fieldflags
.- Parameters:
flags
- The new value for the fieldflags
-
readLatestDailyJam
Read the value of the fieldlatest_daily_jam
.- Returns:
- The value of the field
latest_daily_jam
-
writeLatestDailyJam
Write a value in the fieldlatest_daily_jam
.- Parameters:
latestDailyJam
- The new value for the fieldlatest_daily_jam
-