Enum SampleRangeConversion
- java.lang.Object
-
- java.lang.Enum<SampleRangeConversion>
-
- software.amazon.awssdk.services.mediaconvert.model.SampleRangeConversion
-
- All Implemented Interfaces:
Serializable,Comparable<SampleRangeConversion>
@Generated("software.amazon.awssdk:codegen") public enum SampleRangeConversion extends Enum<SampleRangeConversion>
Specify how MediaConvert limits the color sample range for this output. To create a limited range output from a full range input: Choose Limited range squeeze. For full range inputs, MediaConvert performs a linear offset to color samples equally across all pixels and frames. Color samples in 10-bit outputs are limited to 64 through 940, and 8-bit outputs are limited to 16 through 235. Note: For limited range inputs, values for color samples are passed through to your output unchanged. MediaConvert does not limit the sample range. To correct pixels in your input that are out of range or out of gamut: Choose Limited range clip. Use for broadcast applications. MediaConvert conforms any pixels outside of the values that you specify under Minimum YUV and Maximum YUV to limited range bounds. MediaConvert also corrects any YUV values that, when converted to RGB, would be outside the bounds you specify under Minimum RGB tolerance and Maximum RGB tolerance. With either limited range conversion, MediaConvert writes the sample range metadata in the output.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIMITED_RANGE_CLIPLIMITED_RANGE_SQUEEZENONEUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SampleRangeConversionfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<SampleRangeConversion>knownValues()StringtoString()static SampleRangeConversionvalueOf(String name)Returns the enum constant of this type with the specified name.static SampleRangeConversion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIMITED_RANGE_SQUEEZE
public static final SampleRangeConversion LIMITED_RANGE_SQUEEZE
-
NONE
public static final SampleRangeConversion NONE
-
LIMITED_RANGE_CLIP
public static final SampleRangeConversion LIMITED_RANGE_CLIP
-
UNKNOWN_TO_SDK_VERSION
public static final SampleRangeConversion UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static SampleRangeConversion[] 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 (SampleRangeConversion c : SampleRangeConversion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SampleRangeConversion 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<SampleRangeConversion>
-
fromValue
public static SampleRangeConversion fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- SampleRangeConversion corresponding to the value
-
knownValues
public static Set<SampleRangeConversion> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownSampleRangeConversions
-
-