
commonMain.aws.sdk.kotlin.services.mediaconvert.model.H265DynamicSubGop.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.mediaconvert.model
import kotlin.collections.List
/**
* Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service to use fewer B-frames (which infer information based on other frames) for high-motion portions of the video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value you provide for the setting B frames between reference frames.
*/
public sealed class H265DynamicSubGop {
public abstract val value: kotlin.String
public object Adaptive : aws.sdk.kotlin.services.mediaconvert.model.H265DynamicSubGop() {
override val value: kotlin.String = "ADAPTIVE"
override fun toString(): kotlin.String = "Adaptive"
}
public object Static : aws.sdk.kotlin.services.mediaconvert.model.H265DynamicSubGop() {
override val value: kotlin.String = "STATIC"
override fun toString(): kotlin.String = "Static"
}
public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.H265DynamicSubGop() {
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.H265DynamicSubGop = when (value) {
"ADAPTIVE" -> Adaptive
"STATIC" -> Static
else -> SdkUnknown(value)
}
/**
* Get a list of all possible variants
*/
public fun values(): kotlin.collections.List = values
private val values: kotlin.collections.List = listOf(
Adaptive,
Static,
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy