DESY ACOP Beans Home

de.desy.acop.video.displayer
Enum ImageFlag

java.lang.Object
  extended by java.lang.Enum<ImageFlag>
      extended by de.desy.acop.video.displayer.ImageFlag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImageFlag>

public enum ImageFlag
extends java.lang.Enum<ImageFlag>

Image flag enumeration

Author:
mdavid

Enum Constant Summary
HORIZONTAL_FLIP_180
          If set, image was flipped around horizontal axis on its way
IMAGE_LOSSLESS
          If set, original image data (first digital image data) can be restored out of the appended image bits
LITTLE_ENDIAN_BYTE_ORDER
          if set, appended video data is ordered little endian (on video format types where this is applicable)
VERTICAL_FLIP_180
          If set, image was flipped around vertical axis on its way
 
Method Summary
 int getId()
           
static java.lang.String toString(int flags)
          Decodes flags integer into human readable string format
static ImageFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ImageFlag[] 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

LITTLE_ENDIAN_BYTE_ORDER

public static final ImageFlag LITTLE_ENDIAN_BYTE_ORDER
if set, appended video data is ordered little endian (on video format types where this is applicable)


IMAGE_LOSSLESS

public static final ImageFlag IMAGE_LOSSLESS
If set, original image data (first digital image data) can be restored out of the appended image bits


HORIZONTAL_FLIP_180

public static final ImageFlag HORIZONTAL_FLIP_180
If set, image was flipped around horizontal axis on its way


VERTICAL_FLIP_180

public static final ImageFlag VERTICAL_FLIP_180
If set, image was flipped around vertical axis on its way

Method Detail

values

public static ImageFlag[] 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 (ImageFlag c : ImageFlag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImageFlag 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 name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

toString

public static java.lang.String toString(int flags)
Decodes flags integer into human readable string format

Parameters:
flags -
Returns:
string representation of the passed aFlags (frameHeader.imageFlags)


Copyright © 2010. All Rights Reserved.