
commonMain.aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Keep the default value, Auto, for this setting to have MediaConvert automatically apply the best types of quantization for your video content. When you want to apply your quantization settings manually, you must set H264AdaptiveQuantization to a value other than Auto. Use this setting to specify the strength of any adaptive quantization filters that you enable. If you don't want MediaConvert to do any adaptive quantization in this transcode, set Adaptive quantization to Off. Related settings: The value that you choose here applies to the following settings: H264FlickerAdaptiveQuantization, H264SpatialAdaptiveQuantization, and H264TemporalAdaptiveQuantization.
*/
public sealed class H264AdaptiveQuantization {
public abstract val value: kotlin.String
public object Auto : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "AUTO"
override fun toString(): kotlin.String = "Auto"
}
public object High : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "HIGH"
override fun toString(): kotlin.String = "High"
}
public object Higher : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "HIGHER"
override fun toString(): kotlin.String = "Higher"
}
public object Low : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "LOW"
override fun toString(): kotlin.String = "Low"
}
public object Max : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "MAX"
override fun toString(): kotlin.String = "Max"
}
public object Medium : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "MEDIUM"
override fun toString(): kotlin.String = "Medium"
}
public object Off : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
override val value: kotlin.String = "OFF"
override fun toString(): kotlin.String = "Off"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H264AdaptiveQuantization() {
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.H264AdaptiveQuantization = when (value) {
"AUTO" -> Auto
"HIGH" -> High
"HIGHER" -> Higher
"LOW" -> Low
"MAX" -> Max
"MEDIUM" -> Medium
"OFF" -> Off
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Auto,
High,
Higher,
Low,
Max,
Medium,
Off,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy