
commonMain.aws.sdk.kotlin.services.mediaconvert.model.H264FlickerAdaptiveQuantization.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Only use this setting when you change the default value, AUTO, for the setting H264AdaptiveQuantization. When you keep all defaults, excluding H264AdaptiveQuantization and all other adaptive quantization from your JSON job specification, MediaConvert automatically applies the best types of quantization for your video content. When you set H264AdaptiveQuantization to a value other than AUTO, the default value for H264FlickerAdaptiveQuantization is Disabled. Change this value to Enabled to reduce I-frame pop. I-frame pop appears as a visual flicker that can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks slightly more often to smooth out the flicker. To manually enable or disable H264FlickerAdaptiveQuantization, you must set Adaptive quantization to a value other than AUTO.
*/
public sealed class H264FlickerAdaptiveQuantization {
public abstract val value: kotlin.String
public object Disabled : aws.sdk.kotlin.services.mediaconvert.model.H264FlickerAdaptiveQuantization() {
override val value: kotlin.String = "DISABLED"
override fun toString(): kotlin.String = "Disabled"
}
public object Enabled : aws.sdk.kotlin.services.mediaconvert.model.H264FlickerAdaptiveQuantization() {
override val value: kotlin.String = "ENABLED"
override fun toString(): kotlin.String = "Enabled"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H264FlickerAdaptiveQuantization() {
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.H264FlickerAdaptiveQuantization = when (value) {
"DISABLED" -> Disabled
"ENABLED" -> Enabled
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Disabled,
Enabled,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy