public enum ColorSubsampling extends Enum<ColorSubsampling>
Enum Constant and Description |
---|
YBR_XXX_420 |
YBR_XXX_422 |
Modifier and Type | Method and Description |
---|---|
abstract int |
frameLength(int w,
int h) |
abstract int |
indexOfBR(int x,
int y,
int w) |
abstract int |
indexOfY(int x,
int y,
int w) |
static ColorSubsampling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorSubsampling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorSubsampling YBR_XXX_422
public static final ColorSubsampling YBR_XXX_420
public static ColorSubsampling[] values()
for (ColorSubsampling c : ColorSubsampling.values()) System.out.println(c);
public static ColorSubsampling 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 abstract int frameLength(int w, int h)
public abstract int indexOfY(int x, int y, int w)
public abstract int indexOfBR(int x, int y, int w)
Copyright © 2017 dcm4che.org. All rights reserved.