Package org.freedesktop.gstreamer.video
Class VideoCropMeta
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoCropMeta
-
Constructor Summary
ConstructorDescriptionAllocate a new VideoCropMeta.VideoCropMeta
(Arena arena) Allocate a new VideoCropMeta.VideoCropMeta
(MemorySegment address) Create a VideoCropMeta proxy instance for the provided memory address.VideoCropMeta
(Meta meta, int x, int y, int width, int height) Allocate a new VideoCropMeta with the fields set to the provided values.VideoCropMeta
(Meta meta, int x, int y, int width, int height, Arena arena) Allocate a new VideoCropMeta with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MetaInfo
getInfo()
static MemoryLayout
The memory layout of the native struct.int
Read the value of the fieldheight
.readMeta()
Read the value of the fieldmeta
.int
Read the value of the fieldwidth
.int
readX()
Read the value of the fieldx
.int
readY()
Read the value of the fieldy
.void
writeHeight
(int height) Write a value in the fieldheight
.void
Write a value in the fieldmeta
.void
writeWidth
(int width) Write a value in the fieldwidth
.void
writeX
(int x) Write a value in the fieldx
.void
writeY
(int y) Write a value in the fieldy
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoCropMeta
Create a VideoCropMeta proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoCropMeta
Allocate a new VideoCropMeta.- Parameters:
arena
- to control the memory allocation scope
-
VideoCropMeta
public VideoCropMeta()Allocate a new VideoCropMeta. The memory is allocated withArena.ofAuto()
. -
VideoCropMeta
Allocate a new VideoCropMeta with the fields set to the provided values.- Parameters:
meta
- value for the fieldmeta
x
- value for the fieldx
y
- value for the fieldy
width
- value for the fieldwidth
height
- value for the fieldheight
arena
- to control the memory allocation scope
-
VideoCropMeta
Allocate a new VideoCropMeta with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
meta
- value for the fieldmeta
x
- value for the fieldx
y
- value for the fieldy
width
- value for the fieldwidth
height
- value for the fieldheight
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readMeta
-
writeMeta
Write a value in the fieldmeta
.- Parameters:
meta
- The new value for the fieldmeta
-
readX
public int readX()Read the value of the fieldx
.- Returns:
- The value of the field
x
-
writeX
public void writeX(int x) Write a value in the fieldx
.- Parameters:
x
- The new value for the fieldx
-
readY
public int readY()Read the value of the fieldy
.- Returns:
- The value of the field
y
-
writeY
public void writeY(int y) Write a value in the fieldy
.- Parameters:
y
- The new value for the fieldy
-
readWidth
public int readWidth()Read the value of the fieldwidth
.- Returns:
- The value of the field
width
-
writeWidth
public void writeWidth(int width) Write a value in the fieldwidth
.- Parameters:
width
- The new value for the fieldwidth
-
readHeight
public int readHeight()Read the value of the fieldheight
.- Returns:
- The value of the field
height
-
writeHeight
public void writeHeight(int height) Write a value in the fieldheight
.- Parameters:
height
- The new value for the fieldheight
-
getInfo
-