Enum ColorSpace
- java.lang.Object
-
- java.lang.Enum<ColorSpace>
-
- software.amazon.awssdk.services.mediaconvert.model.ColorSpace
-
- All Implemented Interfaces:
Serializable,Comparable<ColorSpace>
@Generated("software.amazon.awssdk:codegen") public enum ColorSpace extends Enum<ColorSpace>
If your input video has accurate color space metadata, or if you don't know about color space: Keep the default value, Follow. MediaConvert will automatically detect your input color space. If your input video has metadata indicating the wrong color space, or has missing metadata: Specify the accurate color space here. If your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't present in your video stream, or if that metadata is present but not accurate: Choose Force HDR 10. Specify correct values in the input HDR 10 metadata settings. For more information about HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr. When you specify an input 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 FOLLOWHDR10HLG_2020P3_D65_HDRP3_D65_SDRP3_DCIREC_601REC_709UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColorSpacefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ColorSpace>knownValues()StringtoString()static ColorSpacevalueOf(String name)Returns the enum constant of this type with the specified name.static ColorSpace[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOLLOW
public static final ColorSpace FOLLOW
-
REC_601
public static final ColorSpace REC_601
-
REC_709
public static final ColorSpace REC_709
-
HDR10
public static final ColorSpace HDR10
-
HLG_2020
public static final ColorSpace HLG_2020
-
P3_DCI
public static final ColorSpace P3_DCI
-
P3_D65_SDR
public static final ColorSpace P3_D65_SDR
-
P3_D65_HDR
public static final ColorSpace P3_D65_HDR
-
UNKNOWN_TO_SDK_VERSION
public static final ColorSpace UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ColorSpace[] 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 (ColorSpace c : ColorSpace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColorSpace 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<ColorSpace>
-
fromValue
public static ColorSpace 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:
- ColorSpace corresponding to the value
-
knownValues
public static Set<ColorSpace> 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 knownColorSpaces
-
-