public enum DeepARImageFormat extends java.lang.Enum<DeepARImageFormat>
receiveFrame
method of DeepAR to tell DeepAR how to interpret the frame.| Enum Constant and Description |
|---|
YUV_420_888
YUV 420 888 image format.
|
YUV_NV21
YUV NV21 image format.
|
| Modifier and Type | Field and Description |
|---|---|
int |
intValue
DeepAR image format.
|
| Modifier and Type | Method and Description |
|---|---|
static DeepARImageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeepARImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeepARImageFormat YUV_NV21
public static final DeepARImageFormat YUV_420_888
public static DeepARImageFormat[] values()
for (DeepARImageFormat c : DeepARImageFormat.values()) System.out.println(c);
public static DeepARImageFormat 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 null