|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ImageFormat>
de.desy.acop.video.displayer.ImageFormat
public enum ImageFormat
Image format enumeration
| Enum Constant Summary | |
|---|---|
IMAGE_FORMAT_BAYER
Bayer pattern |
|
IMAGE_FORMAT_BMP
Windows BMP file |
|
IMAGE_FORMAT_GRAY
Grayscale format |
|
IMAGE_FORMAT_HUFFYUV
HuffYUV (compressed grayscale) |
|
IMAGE_FORMAT_JPEG
JPEG file |
|
IMAGE_FORMAT_RGB
RGB (24bpp r-g-b) format |
|
IMAGE_FORMAT_RGB15
RGB (16bpp 0-5r-5g-5b) format |
|
IMAGE_FORMAT_RGB16
RGB (16bpp 5r-6g-5b)) format |
|
IMAGE_FORMAT_RGBA
RGB (32bpp a-r-g-b) format |
|
IMAGE_FORMAT_TIFF
TIFF file |
|
IMAGE_FORMAT_YUV411
YUV411 format |
|
IMAGE_FORMAT_YUV422
YUV422 format |
|
IMAGE_FORMAT_YUV444
YUV444 format |
|
| Method Summary | |
|---|---|
boolean |
equals(int id)
|
int |
getId()
Returns integer representation of the TINE image format |
boolean |
isSupported()
Returns true if format is supported. |
static ImageFormat |
valueOf(int id)
|
static ImageFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ImageFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ImageFormat IMAGE_FORMAT_GRAY
public static final ImageFormat IMAGE_FORMAT_RGB
public static final ImageFormat IMAGE_FORMAT_RGBA
public static final ImageFormat IMAGE_FORMAT_RGB15
public static final ImageFormat IMAGE_FORMAT_RGB16
public static final ImageFormat IMAGE_FORMAT_JPEG
public static final ImageFormat IMAGE_FORMAT_TIFF
public static final ImageFormat IMAGE_FORMAT_YUV411
public static final ImageFormat IMAGE_FORMAT_YUV422
public static final ImageFormat IMAGE_FORMAT_YUV444
public static final ImageFormat IMAGE_FORMAT_HUFFYUV
public static final ImageFormat IMAGE_FORMAT_BMP
public static final ImageFormat IMAGE_FORMAT_BAYER
| Method Detail |
|---|
public static ImageFormat[] values()
for (ImageFormat c : ImageFormat.values()) System.out.println(c);
public static ImageFormat 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 name
java.lang.NullPointerException - if the argument is nullpublic int getId()
public boolean isSupported()
public boolean equals(int id)
public static ImageFormat valueOf(int id)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||