public static enum CLImageFormat.ChannelType extends Enum<CLImageFormat.ChannelType>
Enum Constant and Description |
---|
FLOAT
Each channel component is a single precision floating-point value.
|
HALF_FLOAT
Each channel component is a 16-bit half-float value.
|
SIGNED_INT16
Each channel component is an unnormalized signed 16-bit integer value.
|
SIGNED_INT32
Each channel component is an unnormalized signed 32-bit integer value.
|
SIGNED_INT8
Each channel component is an unnormalized signed 8-bit integer value.
|
SNORM_INT16
Each channel component is a normalized signed 16-bit integer value.
|
SNORM_INT8
Each channel component is a normalized signed 8-bit integer value.
|
UNORM_INT_101010
Represents a normalized x-10-10-10 4-channel xRGB image.
|
UNORM_INT16
Each channel component is a normalized unsigned 16-bit integer value.
|
UNORM_INT8
Each channel component is a normalized unsigned 8-bit integer value.
|
UNORM_SHORT_555
Represents a normalized x-5-5-5 4-channel xRGB image.
|
UNORM_SHORT_565
Represents a normalized 5-6-5 3-channel RGB image.
|
UNSIGNED_INT16
Each channel component is an unnormalized unsigned 16-bit integer value.
|
UNSIGNED_INT32
Each channel component is an unnormalized unsigned 32-bit integer value.
|
UNSIGNED_INT8
Each channel component is an unnormalized unsigned 8-bit integer value.
|
Modifier and Type | Field and Description |
---|---|
int |
TYPE
Value of wrapped OpenCL flag.
|
Modifier and Type | Method and Description |
---|---|
static CLImageFormat.ChannelType |
valueOf(int channelFlag) |
static CLImageFormat.ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLImageFormat.ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLImageFormat.ChannelType SNORM_INT8
public static final CLImageFormat.ChannelType SNORM_INT16
public static final CLImageFormat.ChannelType UNORM_INT8
public static final CLImageFormat.ChannelType UNORM_INT16
public static final CLImageFormat.ChannelType UNORM_SHORT_565
CLImageFormat.ChannelOrder.RGB
.public static final CLImageFormat.ChannelType UNORM_SHORT_555
CLImageFormat.ChannelOrder.RGB
.public static final CLImageFormat.ChannelType UNORM_INT_101010
CLImageFormat.ChannelOrder.RGB
.public static final CLImageFormat.ChannelType SIGNED_INT8
public static final CLImageFormat.ChannelType SIGNED_INT16
public static final CLImageFormat.ChannelType SIGNED_INT32
public static final CLImageFormat.ChannelType UNSIGNED_INT8
public static final CLImageFormat.ChannelType UNSIGNED_INT16
public static final CLImageFormat.ChannelType UNSIGNED_INT32
public static final CLImageFormat.ChannelType HALF_FLOAT
public static final CLImageFormat.ChannelType FLOAT
public static CLImageFormat.ChannelType[] values()
for (CLImageFormat.ChannelType c : CLImageFormat.ChannelType.values()) System.out.println(c);
public static CLImageFormat.ChannelType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static CLImageFormat.ChannelType valueOf(int channelFlag)