Enum H265Complexity
- java.lang.Object
-
- java.lang.Enum<H265Complexity>
-
- com.pulumi.azurenative.media.enums.H265Complexity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<H265Complexity>
public enum H265Complexity extends java.lang.Enum<H265Complexity>
Tells the encoder how to choose its encoding settings. Quality will provide for a higher compression ratio but at a higher cost and longer compute time. Speed will produce a relatively larger file but is faster and more economical. The default value is Balanced.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Balanced
Tells the encoder to use settings that achieve a balance between speed and quality.Quality
Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time.Speed
Tells the encoder to use settings that are optimized for faster encoding.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
java.lang.String
toString()
static H265Complexity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static H265Complexity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Speed
public static final H265Complexity Speed
Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to decrease encoding time.
-
Balanced
public static final H265Complexity Balanced
Tells the encoder to use settings that achieve a balance between speed and quality.
-
Quality
public static final H265Complexity Quality
Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time.
-
-
Method Detail
-
values
public static H265Complexity[] 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 (H265Complexity c : H265Complexity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static H265Complexity valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<H265Complexity>
-
-