Package org.freedesktop.gstreamer.video
Class VideoMasteringDisplayInfoCoordinates
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoMasteringDisplayInfoCoordinates
- All Implemented Interfaces:
Proxy
@Generated("io.github.jwharm.JavaGI")
public class VideoMasteringDisplayInfoCoordinates
extends ProxyInstance
Used to represent display_primaries and white_point of
GstVideoMasteringDisplayInfo
struct. See GstVideoMasteringDisplayInfo
-
Constructor Summary
ConstructorDescriptionAllocate a new VideoMasteringDisplayInfoCoordinates.VideoMasteringDisplayInfoCoordinates
(short x, short y) Allocate a new VideoMasteringDisplayInfoCoordinates with the fields set to the provided values.VideoMasteringDisplayInfoCoordinates
(short x, short y, Arena arena) Allocate a new VideoMasteringDisplayInfoCoordinates with the fields set to the provided values.Allocate a new VideoMasteringDisplayInfoCoordinates.Create a VideoMasteringDisplayInfoCoordinates proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.short
readX()
Read the value of the fieldx
.short
readY()
Read the value of the fieldy
.void
writeX
(short x) Write a value in the fieldx
.void
writeY
(short y) Write a value in the fieldy
.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoMasteringDisplayInfoCoordinates
Create a VideoMasteringDisplayInfoCoordinates proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
VideoMasteringDisplayInfoCoordinates
Allocate a new VideoMasteringDisplayInfoCoordinates.- Parameters:
arena
- to control the memory allocation scope
-
VideoMasteringDisplayInfoCoordinates
public VideoMasteringDisplayInfoCoordinates()Allocate a new VideoMasteringDisplayInfoCoordinates. The memory is allocated withArena.ofAuto()
. -
VideoMasteringDisplayInfoCoordinates
Allocate a new VideoMasteringDisplayInfoCoordinates with the fields set to the provided values.- Parameters:
x
- value for the fieldx
y
- value for the fieldy
arena
- to control the memory allocation scope
-
VideoMasteringDisplayInfoCoordinates
public VideoMasteringDisplayInfoCoordinates(short x, short y) Allocate a new VideoMasteringDisplayInfoCoordinates with the fields set to the provided values. The memory is allocated withArena.ofAuto()
.- Parameters:
x
- value for the fieldx
y
- value for the fieldy
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readX
public short readX()Read the value of the fieldx
.- Returns:
- The value of the field
x
-
writeX
public void writeX(short x) Write a value in the fieldx
.- Parameters:
x
- The new value for the fieldx
-
readY
public short readY()Read the value of the fieldy
.- Returns:
- The value of the field
y
-
writeY
public void writeY(short y) Write a value in the fieldy
.- Parameters:
y
- The new value for the fieldy
-