Package uk.co.caprica.vlcj.player
Enum DeinterlaceMode
- java.lang.Object
-
- java.lang.Enum<DeinterlaceMode>
-
- uk.co.caprica.vlcj.player.DeinterlaceMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DeinterlaceMode>
public enum DeinterlaceMode extends Enum<DeinterlaceMode>
Enumeration of deinterlace modes.These are defined in "modules/video_filter/deinterlace.c".
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeinterlaceMode
deinterlaceMode(String stringValue)
String
mode()
Get the native mode value.static DeinterlaceMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeinterlaceMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISCARD
public static final DeinterlaceMode DISCARD
-
BLEND
public static final DeinterlaceMode BLEND
-
MEAN
public static final DeinterlaceMode MEAN
-
BOB
public static final DeinterlaceMode BOB
-
LINEAR
public static final DeinterlaceMode LINEAR
-
X
public static final DeinterlaceMode X
-
YADIF
public static final DeinterlaceMode YADIF
-
YADIF2X
public static final DeinterlaceMode YADIF2X
-
PHOSPHOR
public static final DeinterlaceMode PHOSPHOR
-
IVTC
public static final DeinterlaceMode IVTC
-
-
Method Detail
-
values
public static DeinterlaceMode[] 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 (DeinterlaceMode c : DeinterlaceMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeinterlaceMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
deinterlaceMode
public static DeinterlaceMode deinterlaceMode(String stringValue)
-
mode
public final String mode()
Get the native mode value.- Returns:
- mode value
-
-