All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.mediaconvert.model.DeinterlacerControl.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.mediaconvert.model

import kotlin.collections.List

/**
 * - When set to NORMAL (default), the deinterlacer does not convert frames that are tagged in metadata as progressive. It will only convert those that are tagged as some other type. - When set to FORCE_ALL_FRAMES, the deinterlacer converts every frame to progressive - even those that are already tagged as progressive. Turn Force mode on only if there is a good chance that the metadata has tagged frames as progressive when they are not progressive. Do not turn on otherwise; processing frames that are already progressive into progressive will probably result in lower quality video.
 */
public sealed class DeinterlacerControl {
    public abstract val value: kotlin.String

    public object ForceAllFrames : aws.sdk.kotlin.services.mediaconvert.model.DeinterlacerControl() {
        override val value: kotlin.String = "FORCE_ALL_FRAMES"
        override fun toString(): kotlin.String = "ForceAllFrames"
    }

    public object Normal : aws.sdk.kotlin.services.mediaconvert.model.DeinterlacerControl() {
        override val value: kotlin.String = "NORMAL"
        override fun toString(): kotlin.String = "Normal"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.mediaconvert.model.DeinterlacerControl() {
        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.DeinterlacerControl = when (value) {
            "FORCE_ALL_FRAMES" -> ForceAllFrames
            "NORMAL" -> Normal
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            ForceAllFrames,
            Normal,
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy