public enum ChuangVideoPixelFormat extends java.lang.Enum<ChuangVideoPixelFormat>
枚举常量和说明 |
---|
BGRA
BGRA格式
|
GL_EXTERNAL_OES
openGl oes 纹理
|
GL_TEXTURE_2D
openGl texture2D 纹理
|
I420
I420格式
|
NV12
NV12格式
|
NV21
NV21格式
|
限定符和类型 | 方法和说明 |
---|---|
static ChuangVideoPixelFormat |
getVideoPixelFormat(int value) |
int |
value() |
static ChuangVideoPixelFormat |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ChuangVideoPixelFormat[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ChuangVideoPixelFormat GL_TEXTURE_2D
public static final ChuangVideoPixelFormat GL_EXTERNAL_OES
public static final ChuangVideoPixelFormat I420
public static final ChuangVideoPixelFormat BGRA
public static final ChuangVideoPixelFormat NV12
public static final ChuangVideoPixelFormat NV21
public static ChuangVideoPixelFormat[] values()
for (ChuangVideoPixelFormat c : ChuangVideoPixelFormat.values()) System.out.println(c);
public static ChuangVideoPixelFormat valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int value()
public static ChuangVideoPixelFormat getVideoPixelFormat(int value)