java.lang.Object
au.notzed.zcl.CLImageFormat
public class CLImageFormat
extends java.lang.Object
Holder for cl_image_format equivalent.
panama notes
To maintain compatability with the previous api this remains as a simple pojo and marshalling is done as required.This also means it doesn't have to deal with allocation and deallocation and so on.
-
Field Summary
Fields Modifier and Type Field Description int
channelDataType
int
channelOrder
static CLImageFormat
INTENSITY_FLOAT
static CLImageFormat
INTENSITY_UNORM_INT8
static CLImageFormat
R_FLOAT
static CLImageFormat
R_HALF_FLOAT
static CLImageFormat
R_UNORM_INT8
static CLImageFormat
R_UNSIGNED_INT8
static CLImageFormat
RG_FLOAT
static CLImageFormat
RG_UNORM_INT8
static CLImageFormat
RGBA_FLOAT
static CLImageFormat
RGBA_UNORM_INT8
-
Constructor Summary
Constructors Constructor Description CLImageFormat(int channelOrder, int channelDataType)
CLImageFormat(CLChannelOrder order, CLChannelType type)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
CLChannelType
getChannelDataType()
CLChannelOrder
getChannelOrder()
int
hashCode()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
channelOrder
public final int channelOrder -
channelDataType
public final int channelDataType -
INTENSITY_FLOAT
-
INTENSITY_UNORM_INT8
-
R_UNSIGNED_INT8
-
R_UNORM_INT8
-
R_FLOAT
-
R_HALF_FLOAT
-
RG_FLOAT
-
RGBA_FLOAT
-
RG_UNORM_INT8
-
RGBA_UNORM_INT8
-
-
Constructor Details
-
CLImageFormat
-
CLImageFormat
public CLImageFormat(int channelOrder, int channelDataType)
-
-
Method Details
-
getChannelOrder
-
getChannelDataType
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-