public final class CLImageFormat extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CLImageFormat.ChannelOrder
Specifies the number of channels and the channel layout i.e.
|
static class |
CLImageFormat.ChannelType
Describes the size of the channel data type.
|
Constructor and Description |
---|
CLImageFormat(CLImageFormat.ChannelOrder order,
CLImageFormat.ChannelType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CLImageFormatImpl |
getFormatImpl()
Returns the struct accessor for the cl_image_format struct.
|
CLImageFormat.ChannelType |
getImageChannelDataType() |
CLImageFormat.ChannelOrder |
getImageChannelOrder() |
int |
hashCode() |
CLImageFormat |
setImageChannelDataType(CLImageFormat.ChannelType type) |
CLImageFormat |
setImageChannelOrder(CLImageFormat.ChannelOrder order) |
String |
toString() |
public CLImageFormat(CLImageFormat.ChannelOrder order, CLImageFormat.ChannelType type)
public CLImageFormat setImageChannelOrder(CLImageFormat.ChannelOrder order)
public CLImageFormat setImageChannelDataType(CLImageFormat.ChannelType type)
public CLImageFormat.ChannelOrder getImageChannelOrder()
public CLImageFormat.ChannelType getImageChannelDataType()
public CLImageFormatImpl getFormatImpl()