public enum PixelFormat extends java.lang.Enum<PixelFormat>
| Enum Constant and Description |
|---|
BGR_24_BITS
24 bits BGR.
|
BGRA
32 bits BGRA.
|
GRAYSCALE_16_BITS
16-bits grayscale.
|
GRAYSCALE_8_BITS
8-bits grayscale.
|
GRAYSCALE_FLOAT
Floating point grayscale.
|
I420
I420 (YUV packed format).
|
NV12
NV12 (YUV semi-planar format).
|
RGB_24_BITS
24 bits RGB.
|
RGBA
32 bits RGBA.
|
UNDEFINED
Undefined.
|
YUY2
YUY2 (YUV packed format).
|
YV12
YV12 (YUV packed format).
|
| Modifier and Type | Method and Description |
|---|---|
static PixelFormat |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static PixelFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelFormat UNDEFINED
public static final PixelFormat GRAYSCALE_8_BITS
public static final PixelFormat GRAYSCALE_16_BITS
public static final PixelFormat GRAYSCALE_FLOAT
public static final PixelFormat BGR_24_BITS
public static final PixelFormat RGB_24_BITS
public static final PixelFormat BGRA
public static final PixelFormat RGBA
public static final PixelFormat NV12
public static final PixelFormat I420
public static final PixelFormat YUY2
public static final PixelFormat YV12
public static PixelFormat[] values()
for (PixelFormat c : PixelFormat.values()) System.out.println(c);
public static PixelFormat 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 getValue()
public static PixelFormat fromValue(int value)
value - The int value.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document