
com.pulumi.googlenative.transcoder.v1.kotlin.inputs.YadifConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.transcoder.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.transcoder.v1.inputs.YadifConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Yet Another Deinterlacing Filter Configuration.
* @property deinterlaceAllFrames Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.
* @property disableSpatialInterlacing Disable spacial interlacing. The default is `false`.
* @property mode Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field
* @property parity The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity
*/
public data class YadifConfigArgs(
public val deinterlaceAllFrames: Output? = null,
public val disableSpatialInterlacing: Output? = null,
public val mode: Output? = null,
public val parity: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.transcoder.v1.inputs.YadifConfigArgs =
com.pulumi.googlenative.transcoder.v1.inputs.YadifConfigArgs.builder()
.deinterlaceAllFrames(deinterlaceAllFrames?.applyValue({ args0 -> args0 }))
.disableSpatialInterlacing(disableSpatialInterlacing?.applyValue({ args0 -> args0 }))
.mode(mode?.applyValue({ args0 -> args0 }))
.parity(parity?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [YadifConfigArgs].
*/
@PulumiTagMarker
public class YadifConfigArgsBuilder internal constructor() {
private var deinterlaceAllFrames: Output? = null
private var disableSpatialInterlacing: Output? = null
private var mode: Output? = null
private var parity: Output? = null
/**
* @param value Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.
*/
@JvmName("fnxrijojqeaybpjb")
public suspend fun deinterlaceAllFrames(`value`: Output) {
this.deinterlaceAllFrames = value
}
/**
* @param value Disable spacial interlacing. The default is `false`.
*/
@JvmName("paadvcctvbwcdrci")
public suspend fun disableSpatialInterlacing(`value`: Output) {
this.disableSpatialInterlacing = value
}
/**
* @param value Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field
*/
@JvmName("kgrxqewiteqkvhgs")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity
*/
@JvmName("xjustcskaexpjhri")
public suspend fun parity(`value`: Output) {
this.parity = value
}
/**
* @param value Deinterlace all frames rather than just the frames identified as interlaced. The default is `false`.
*/
@JvmName("jmihwfklvehqdrtn")
public suspend fun deinterlaceAllFrames(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deinterlaceAllFrames = mapped
}
/**
* @param value Disable spacial interlacing. The default is `false`.
*/
@JvmName("utdjfesnfmkwxpnu")
public suspend fun disableSpatialInterlacing(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableSpatialInterlacing = mapped
}
/**
* @param value Specifies the deinterlacing mode to adopt. The default is `send_frame`. Supported values: - `send_frame`: Output one frame for each frame - `send_field`: Output one frame for each field
*/
@JvmName("dyqkfkpawcrsrrkm")
public suspend fun mode(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The picture field parity assumed for the input interlaced video. The default is `auto`. Supported values: - `tff`: Assume the top field is first - `bff`: Assume the bottom field is first - `auto`: Enable automatic detection of field parity
*/
@JvmName("sktjhmgapfemnrwt")
public suspend fun parity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parity = mapped
}
internal fun build(): YadifConfigArgs = YadifConfigArgs(
deinterlaceAllFrames = deinterlaceAllFrames,
disableSpatialInterlacing = disableSpatialInterlacing,
mode = mode,
parity = parity,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy