Package org.freedesktop.gstreamer.video
Class VideoMasteringDisplayInfoCoordinates
java.lang.Object
org.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- Since:
- 1.18
-
Constructor Summary
ConstructorsConstructorDescriptionAllocate 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 MemoryLayoutThe memory layout of the native struct.shortreadX()Read the value of the fieldx.shortreadY()Read the value of the fieldy.voidwriteX(short x) Write a value in the fieldx.voidwriteY(short y) Write a value in the fieldy.Methods inherited from class org.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 fieldxy- value for the fieldyarena- 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 fieldxy- 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
-