Package com.alivc.live.pusher
Enum AlivcImageFormat
- java.lang.Object
-
- java.lang.Enum<AlivcImageFormat>
-
- com.alivc.live.pusher.AlivcImageFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcImageFormat>
public enum AlivcImageFormat extends java.lang.Enum<AlivcImageFormat>
Created by pengshuang on 09/02/2018.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlivcImageFormat()
static AlivcImageFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcImageFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE_FORMAT_UNKNOW
public static final AlivcImageFormat IMAGE_FORMAT_UNKNOW
-
IMAGE_FORMAT_BGR
public static final AlivcImageFormat IMAGE_FORMAT_BGR
-
IMAGE_FORMAT_RGB
public static final AlivcImageFormat IMAGE_FORMAT_RGB
-
IMAGE_FORMAT_ARGB
public static final AlivcImageFormat IMAGE_FORMAT_ARGB
-
IMAGE_FORMAT_BGRA
public static final AlivcImageFormat IMAGE_FORMAT_BGRA
-
IMAGE_FORMAT_RGBA
public static final AlivcImageFormat IMAGE_FORMAT_RGBA
-
IMAGE_FORMAT_YUV420P
public static final AlivcImageFormat IMAGE_FORMAT_YUV420P
-
IMAGE_FORMAT_YUVYV12
public static final AlivcImageFormat IMAGE_FORMAT_YUVYV12
-
IMAGE_FORMAT_YUVNV21
public static final AlivcImageFormat IMAGE_FORMAT_YUVNV21
-
IMAGE_FORMAT_YUVNV12
public static final AlivcImageFormat IMAGE_FORMAT_YUVNV12
-
IMAGE_FORMAT_YUVJ420P
public static final AlivcImageFormat IMAGE_FORMAT_YUVJ420P
-
IMAGE_FORMAT_YUVJ420SP
public static final AlivcImageFormat IMAGE_FORMAT_YUVJ420SP
-
IMAGE_FORMAT_YUVJ444P
public static final AlivcImageFormat IMAGE_FORMAT_YUVJ444P
-
IMAGE_FORMAT_YUV444P
public static final AlivcImageFormat IMAGE_FORMAT_YUV444P
-
IMAGE_FORMAT_EGL_IMG
public static final AlivcImageFormat IMAGE_FORMAT_EGL_IMG
-
IMAGE_FORMAT_TEXTURE_2D
public static final AlivcImageFormat IMAGE_FORMAT_TEXTURE_2D
-
IMAGE_FORMAT_TEXTURE_OES
public static final AlivcImageFormat IMAGE_FORMAT_TEXTURE_OES
-
-
Method Detail
-
values
public static AlivcImageFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlivcImageFormat c : AlivcImageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcImageFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getAlivcImageFormat
public int getAlivcImageFormat()
-
-