Package org.freedesktop.gstreamer.video
Class VideoMetaTransform
java.lang.Object
org.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
ConstructorsConstructorDescriptionAllocate 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 MemoryLayoutThe memory layout of the native struct.Read the value of the fieldin_info.Read the value of the fieldout_info.static QuarkGet theGQuarkfor the "gst-video-scale" metadata transform operation.voidwriteInInfo(VideoInfo inInfo) Write a value in the fieldin_info.voidwriteOutInfo(VideoInfo outInfo) Write a value in the fieldout_info.Methods inherited from class org.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 fieldinInfooutInfo- 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 theGQuarkfor the "gst-video-scale" metadata transform operation.- Returns:
- a
GQuark
-