
commonMain.aws.sdk.kotlin.services.mediaconvert.model.ProresChromaSampling.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* This setting applies only to ProRes 4444 and ProRes 4444 XQ outputs that you create from inputs that use 4:4:4 chroma sampling. Set Preserve 4:4:4 sampling to allow outputs to also use 4:4:4 chroma sampling. You must specify a value for this setting when your output codec profile supports 4:4:4 chroma sampling. Related Settings: For Apple ProRes outputs with 4:4:4 chroma sampling: Choose Preserve 4:4:4 sampling. Use when your input has 4:4:4 chroma sampling and your output codec Profile is Apple ProRes 4444 or 4444 XQ. Note that when you choose Preserve 4:4:4 sampling, you cannot include any of the following Preprocessors: Dolby Vision, HDR10+, or Noise reducer.
*/
public sealed class ProresChromaSampling {
public abstract val value: kotlin.String
public object Preserve444Sampling : aws.sdk.kotlin.services.mediaconvert.model.ProresChromaSampling() {
override val value: kotlin.String = "PRESERVE_444_SAMPLING"
override fun toString(): kotlin.String = "Preserve444Sampling"
}
public object SubsampleTo422 : aws.sdk.kotlin.services.mediaconvert.model.ProresChromaSampling() {
override val value: kotlin.String = "SUBSAMPLE_TO_422"
override fun toString(): kotlin.String = "SubsampleTo422"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.ProresChromaSampling() {
override fun toString(): kotlin.String = "SdkUnknown($value)"
}
public companion object {
/**
* Convert a raw value to one of the sealed variants or [SdkUnknown]
*/
public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.mediaconvert.model.ProresChromaSampling = when (value) {
"PRESERVE_444_SAMPLING" -> Preserve444Sampling
"SUBSAMPLE_TO_422" -> SubsampleTo422
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Preserve444Sampling,
SubsampleTo422,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy