Enum ColorSpaceConversion
- java.lang.Object
-
- java.lang.Enum<ColorSpaceConversion>
-
- software.amazon.awssdk.services.mediaconvert.model.ColorSpaceConversion
-
- All Implemented Interfaces:
Serializable,Comparable<ColorSpaceConversion>
@Generated("software.amazon.awssdk:codegen") public enum ColorSpaceConversion extends Enum<ColorSpaceConversion>
Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses tone mapping to approximate the outcome of manually regrading from HDR to SDR. When you specify an output color space, MediaConvert uses the following color space metadata, which includes color primaries, transfer characteristics, and matrix coefficients: * HDR 10: BT.2020, PQ, BT.2020 non-constant * HLG 2020: BT.2020, HLG, BT.2020 non-constant * P3DCI (Theater): DCIP3, SMPTE 428M, BT.709 * P3D65 (SDR): Display P3, sRGB, BT.709 * P3D65 (HDR): Display P3, PQ, BT.709
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FORCE_601FORCE_709FORCE_HDR10FORCE_HLG_2020FORCE_P3_D65_HDRFORCE_P3_D65_SDRFORCE_P3_DCINONEUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColorSpaceConversionfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ColorSpaceConversion>knownValues()StringtoString()static ColorSpaceConversionvalueOf(String name)Returns the enum constant of this type with the specified name.static ColorSpaceConversion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ColorSpaceConversion NONE
-
FORCE_601
public static final ColorSpaceConversion FORCE_601
-
FORCE_709
public static final ColorSpaceConversion FORCE_709
-
FORCE_HDR10
public static final ColorSpaceConversion FORCE_HDR10
-
FORCE_HLG_2020
public static final ColorSpaceConversion FORCE_HLG_2020
-
FORCE_P3_DCI
public static final ColorSpaceConversion FORCE_P3_DCI
-
FORCE_P3_D65_SDR
public static final ColorSpaceConversion FORCE_P3_D65_SDR
-
FORCE_P3_D65_HDR
public static final ColorSpaceConversion FORCE_P3_D65_HDR
-
UNKNOWN_TO_SDK_VERSION
public static final ColorSpaceConversion UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ColorSpaceConversion[] 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 (ColorSpaceConversion c : ColorSpaceConversion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColorSpaceConversion 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<ColorSpaceConversion>
-
fromValue
public static ColorSpaceConversion 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:
- ColorSpaceConversion corresponding to the value
-
knownValues
public static Set<ColorSpaceConversion> 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 knownColorSpaceConversions
-
-