public enum FilterType extends Enum<FilterType>
| Enum Constant and Description |
|---|
FILTER_AGGRESSIVE
Aggressive strategy: select one of the above filters trying each of the
filters (every 8 rows)
|
FILTER_AVERAGE
AVERAGE filter
|
FILTER_CYCLIC
Uses all fiters, one for lines, cyciclally.
|
FILTER_DEFAULT
Default strategy: select one of the above filters depending on global
image parameters
|
FILTER_NONE
No filter.
|
FILTER_PAETH
PAETH predictor
|
FILTER_SUB
SUB filter (uses same row)
|
FILTER_UNKNOWN
Not specified, placeholder for unknown or NA filters.
|
FILTER_UP
UP filter (uses previous row)
|
FILTER_VERYAGGRESSIVE
Very aggressive strategy: select one of the above filters trying each of
the filters (for every row!)
|
| Modifier and Type | Field and Description |
|---|---|
int |
val |
| Modifier and Type | Method and Description |
|---|---|
static FilterType[] |
getAllStandard()
Returns all "standard" filters
|
static FilterType[] |
getAllStandardAndMainStrategies()
Returns all "standard" filters
|
static FilterType |
getByVal(int i) |
static boolean |
isValidStandard(int i)
only considers standard
|
static FilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterType FILTER_NONE
public static final FilterType FILTER_SUB
public static final FilterType FILTER_UP
public static final FilterType FILTER_AVERAGE
public static final FilterType FILTER_PAETH
public static final FilterType FILTER_DEFAULT
public static final FilterType FILTER_AGGRESSIVE
public static final FilterType FILTER_VERYAGGRESSIVE
public static final FilterType FILTER_CYCLIC
public static final FilterType FILTER_UNKNOWN
public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType 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 static FilterType getByVal(int i)
public static boolean isValidStandard(int i)
public static FilterType[] getAllStandard()
public static FilterType[] getAllStandardAndMainStrategies()
Copyright © 2013. All rights reserved.