Package org.freedesktop.gstreamer.video
Class VideoMetaTransform
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoMetaTransform
- All Implemented Interfaces:
Proxy
Extra data passed to a video transform
GstMetaTransformFunction
such as:
"gst-video-scale".-
Constructor Summary
ConstructorDescriptionAllocate a new VideoMetaTransform.VideoMetaTransform
(Arena arena) Allocate a new VideoMetaTransform.VideoMetaTransform
(MemorySegment address) Create a VideoMetaTransform proxy instance for the provided memory address.VideoMetaTransform
(VideoInfo inInfo, VideoInfo outInfo) Allocate a new VideoMetaTransform with the fields set to the provided values.VideoMetaTransform
(VideoInfo inInfo, VideoInfo outInfo, Arena arena) Allocate a new VideoMetaTransform with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.Read the value of the fieldin_info
.Read the value of the fieldout_info
.static Quark
Get theGQuark
for the "gst-video-scale" metadata transform operation.void
writeInInfo
(VideoInfo inInfo) Write a value in the fieldin_info
.void
writeOutInfo
(VideoInfo outInfo) Write a value in the fieldout_info
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoMetaTransform
Create a VideoMetaTransform proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoMetaTransform
Allocate a new VideoMetaTransform.- Parameters:
arena
- to control the memory allocation scope
-
VideoMetaTransform
public VideoMetaTransform()Allocate a new VideoMetaTransform. The memory is allocated withArena.ofAuto()
. -
VideoMetaTransform
-
VideoMetaTransform
Allocate a new VideoMetaTransform with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
inInfo
- value for the fieldinInfo
outInfo
- value for the fieldoutInfo
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readInInfo
Read the value of the fieldin_info
.- Returns:
- The value of the field
in_info
-
writeInInfo
Write a value in the fieldin_info
.- Parameters:
inInfo
- The new value for the fieldin_info
-
readOutInfo
Read the value of the fieldout_info
.- Returns:
- The value of the field
out_info
-
writeOutInfo
Write a value in the fieldout_info
.- Parameters:
outInfo
- The new value for the fieldout_info
-
scaleGetQuark
Get theGQuark
for the "gst-video-scale" metadata transform operation.- Returns:
- a
GQuark
-