Package org.freedesktop.gstreamer.video
Class VideoTimeCodeConfig
java.lang.Object
org.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.
- Since:
- 1.10
-
Constructor Summary
ConstructorsConstructorDescriptionAllocate 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 MemoryLayoutThe memory layout of the native struct.Read the value of the fieldflags.intreadFpsD()Read the value of the fieldfps_d.intreadFpsN()Read the value of the fieldfps_n.Read the value of the fieldlatest_daily_jam.voidwriteFlags(Set<VideoTimeCodeFlags> flags) Write a value in the fieldflags.voidwriteFpsD(int fpsD) Write a value in the fieldfps_d.voidwriteFpsN(int fpsN) Write a value in the fieldfps_n.voidwriteLatestDailyJam(DateTime latestDailyJam) Write a value in the fieldlatest_daily_jam.Methods inherited from class org.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 fieldfpsNfpsD- value for the fieldfpsDflags- value for the fieldflagslatestDailyJam- value for the fieldlatestDailyJamarena- 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 fieldfpsNfpsD- value for the fieldfpsDflags- value for the fieldflagslatestDailyJam- 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
-