public enum DeepARPixelFormat extends java.lang.Enum<DeepARPixelFormat>
frameAvailable
callback method.Enum Constant and Description |
---|
ABGR_8888
ABGR (8-bit per channel) pixel format.
|
ARGB_8888
ARGB (8-bit per channel) pixel format.
|
BGRA_8888
BGRA (8-bit per channel) pixel format.
|
RGBA_8888
RGBA (8-bit per channel) pixel format.
|
Modifier and Type | Method and Description |
---|---|
static DeepARPixelFormat |
fromString(java.lang.String formatName)
Gets DeepAR pixel format from string.
|
int |
getIntValue()
Gets DeepAR pixel format.
|
static DeepARPixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeepARPixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeepARPixelFormat RGBA_8888
public static final DeepARPixelFormat BGRA_8888
public static final DeepARPixelFormat ARGB_8888
public static final DeepARPixelFormat ABGR_8888
public static DeepARPixelFormat[] values()
for (DeepARPixelFormat c : DeepARPixelFormat.values()) System.out.println(c);
public static DeepARPixelFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static DeepARPixelFormat fromString(java.lang.String formatName)
formatName
- DeepAR pixel format string.