
public static enum Rational.Rounding extends Enum<Rational.Rounding>
| Enum Constant and Description |
|---|
ROUND_DOWN
Round toward -infinity.
|
ROUND_INF
Round away from zero.
|
ROUND_NEAR_INF
Round to nearest and halfway cases away from zero.
|
ROUND_PASS_MINMAX
Flag to pass INT64_MIN/MAX through instead of rescaling, this avoids special cases for AV_NOPTS_VALUE
|
ROUND_UP
Round toward +infinity.
|
ROUND_ZERO
Round toward zero.
|
| Modifier and Type | Method and Description |
|---|---|
static Rational.Rounding |
swigToEnum(int swigValue) |
int |
swigValue() |
static Rational.Rounding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rational.Rounding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rational.Rounding ROUND_ZERO
public static final Rational.Rounding ROUND_INF
public static final Rational.Rounding ROUND_DOWN
public static final Rational.Rounding ROUND_UP
public static final Rational.Rounding ROUND_NEAR_INF
public static final Rational.Rounding ROUND_PASS_MINMAX
public static Rational.Rounding[] values()
for (Rational.Rounding c : Rational.Rounding.values()) System.out.println(c);
public static Rational.Rounding 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 swigValue()
public static Rational.Rounding swigToEnum(int swigValue)
Copyright © 2018 Humble Software. All rights reserved.