public enum SampleFormat extends Enum<SampleFormat>
| Enum Constant and Description |
|---|
DBL
double
|
DBLP
double, planar
|
FLT
float
|
FLTP
float, planar
|
NONE |
S16
signed 16 bits
|
S16P
signed 16 bits, planar
|
S32
signed 32 bits
|
S32P
signed 32 bits, planar
|
U8
unsigned 8 bits
|
U8P
unsigned 8 bits, planar
|
| Modifier and Type | Method and Description |
|---|---|
static SampleFormat |
byId(int id) |
int |
value() |
static SampleFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleFormat NONE
public static final SampleFormat U8
public static final SampleFormat S16
public static final SampleFormat S32
public static final SampleFormat FLT
public static final SampleFormat DBL
public static final SampleFormat U8P
public static final SampleFormat S16P
public static final SampleFormat S32P
public static final SampleFormat FLTP
public static final SampleFormat DBLP
public static SampleFormat[] values()
for (SampleFormat c : SampleFormat.values()) System.out.println(c);
public static SampleFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final int value()
public static SampleFormat byId(int id)
Copyright © 2013. All Rights Reserved.