{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.MediaConvert.Types.Mpeg2Settings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MediaConvert.Types.Mpeg2AdaptiveQuantization
import Amazonka.MediaConvert.Types.Mpeg2CodecLevel
import Amazonka.MediaConvert.Types.Mpeg2CodecProfile
import Amazonka.MediaConvert.Types.Mpeg2DynamicSubGop
import Amazonka.MediaConvert.Types.Mpeg2FramerateControl
import Amazonka.MediaConvert.Types.Mpeg2FramerateConversionAlgorithm
import Amazonka.MediaConvert.Types.Mpeg2GopSizeUnits
import Amazonka.MediaConvert.Types.Mpeg2InterlaceMode
import Amazonka.MediaConvert.Types.Mpeg2IntraDcPrecision
import Amazonka.MediaConvert.Types.Mpeg2ParControl
import Amazonka.MediaConvert.Types.Mpeg2QualityTuningLevel
import Amazonka.MediaConvert.Types.Mpeg2RateControlMode
import Amazonka.MediaConvert.Types.Mpeg2ScanTypeConversionMode
import Amazonka.MediaConvert.Types.Mpeg2SceneChangeDetect
import Amazonka.MediaConvert.Types.Mpeg2SlowPal
import Amazonka.MediaConvert.Types.Mpeg2SpatialAdaptiveQuantization
import Amazonka.MediaConvert.Types.Mpeg2Syntax
import Amazonka.MediaConvert.Types.Mpeg2Telecine
import Amazonka.MediaConvert.Types.Mpeg2TemporalAdaptiveQuantization
import qualified Amazonka.Prelude as Prelude
data Mpeg2Settings = Mpeg2Settings'
{
Mpeg2Settings -> Maybe Mpeg2QualityTuningLevel
qualityTuningLevel :: Prelude.Maybe Mpeg2QualityTuningLevel,
Mpeg2Settings -> Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization :: Prelude.Maybe Mpeg2TemporalAdaptiveQuantization,
Mpeg2Settings -> Maybe Mpeg2SceneChangeDetect
sceneChangeDetect :: Prelude.Maybe Mpeg2SceneChangeDetect,
Mpeg2Settings -> Maybe Natural
hrdBufferInitialFillPercentage :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2SlowPal
slowPal :: Prelude.Maybe Mpeg2SlowPal,
Mpeg2Settings -> Maybe Natural
parNumerator :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Double
gopSize :: Prelude.Maybe Prelude.Double,
Mpeg2Settings -> Maybe Natural
numberBFramesBetweenReferenceFrames :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2GopSizeUnits
gopSizeUnits :: Prelude.Maybe Mpeg2GopSizeUnits,
Mpeg2Settings -> Maybe Natural
hrdBufferSize :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2RateControlMode
rateControlMode :: Prelude.Maybe Mpeg2RateControlMode,
Mpeg2Settings -> Maybe Mpeg2Telecine
telecine :: Prelude.Maybe Mpeg2Telecine,
Mpeg2Settings -> Maybe Mpeg2IntraDcPrecision
intraDcPrecision :: Prelude.Maybe Mpeg2IntraDcPrecision,
Mpeg2Settings -> Maybe Mpeg2DynamicSubGop
dynamicSubGop :: Prelude.Maybe Mpeg2DynamicSubGop,
Mpeg2Settings -> Maybe Natural
minIInterval :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2InterlaceMode
interlaceMode :: Prelude.Maybe Mpeg2InterlaceMode,
Mpeg2Settings -> Maybe Mpeg2ParControl
parControl :: Prelude.Maybe Mpeg2ParControl,
Mpeg2Settings -> Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode :: Prelude.Maybe Mpeg2ScanTypeConversionMode,
Mpeg2Settings -> Maybe Natural
softness :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2CodecProfile
codecProfile :: Prelude.Maybe Mpeg2CodecProfile,
Mpeg2Settings -> Maybe Natural
bitrate :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Natural
framerateDenominator :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm :: Prelude.Maybe Mpeg2FramerateConversionAlgorithm,
Mpeg2Settings -> Maybe Mpeg2CodecLevel
codecLevel :: Prelude.Maybe Mpeg2CodecLevel,
Mpeg2Settings -> Maybe Mpeg2FramerateControl
framerateControl :: Prelude.Maybe Mpeg2FramerateControl,
Mpeg2Settings -> Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization :: Prelude.Maybe Mpeg2AdaptiveQuantization,
Mpeg2Settings -> Maybe Natural
framerateNumerator :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Natural
maxBitrate :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2Syntax
syntax :: Prelude.Maybe Mpeg2Syntax,
Mpeg2Settings -> Maybe Natural
gopClosedCadence :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Natural
parDenominator :: Prelude.Maybe Prelude.Natural,
Mpeg2Settings -> Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization :: Prelude.Maybe Mpeg2SpatialAdaptiveQuantization
}
deriving (Mpeg2Settings -> Mpeg2Settings -> Bool
(Mpeg2Settings -> Mpeg2Settings -> Bool)
-> (Mpeg2Settings -> Mpeg2Settings -> Bool) -> Eq Mpeg2Settings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Mpeg2Settings -> Mpeg2Settings -> Bool
$c/= :: Mpeg2Settings -> Mpeg2Settings -> Bool
== :: Mpeg2Settings -> Mpeg2Settings -> Bool
$c== :: Mpeg2Settings -> Mpeg2Settings -> Bool
Prelude.Eq, ReadPrec [Mpeg2Settings]
ReadPrec Mpeg2Settings
Int -> ReadS Mpeg2Settings
ReadS [Mpeg2Settings]
(Int -> ReadS Mpeg2Settings)
-> ReadS [Mpeg2Settings]
-> ReadPrec Mpeg2Settings
-> ReadPrec [Mpeg2Settings]
-> Read Mpeg2Settings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Mpeg2Settings]
$creadListPrec :: ReadPrec [Mpeg2Settings]
readPrec :: ReadPrec Mpeg2Settings
$creadPrec :: ReadPrec Mpeg2Settings
readList :: ReadS [Mpeg2Settings]
$creadList :: ReadS [Mpeg2Settings]
readsPrec :: Int -> ReadS Mpeg2Settings
$creadsPrec :: Int -> ReadS Mpeg2Settings
Prelude.Read, Int -> Mpeg2Settings -> ShowS
[Mpeg2Settings] -> ShowS
Mpeg2Settings -> String
(Int -> Mpeg2Settings -> ShowS)
-> (Mpeg2Settings -> String)
-> ([Mpeg2Settings] -> ShowS)
-> Show Mpeg2Settings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Mpeg2Settings] -> ShowS
$cshowList :: [Mpeg2Settings] -> ShowS
show :: Mpeg2Settings -> String
$cshow :: Mpeg2Settings -> String
showsPrec :: Int -> Mpeg2Settings -> ShowS
$cshowsPrec :: Int -> Mpeg2Settings -> ShowS
Prelude.Show, (forall x. Mpeg2Settings -> Rep Mpeg2Settings x)
-> (forall x. Rep Mpeg2Settings x -> Mpeg2Settings)
-> Generic Mpeg2Settings
forall x. Rep Mpeg2Settings x -> Mpeg2Settings
forall x. Mpeg2Settings -> Rep Mpeg2Settings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Mpeg2Settings x -> Mpeg2Settings
$cfrom :: forall x. Mpeg2Settings -> Rep Mpeg2Settings x
Prelude.Generic)
newMpeg2Settings ::
Mpeg2Settings
newMpeg2Settings :: Mpeg2Settings
newMpeg2Settings =
Mpeg2Settings' :: Maybe Mpeg2QualityTuningLevel
-> Maybe Mpeg2TemporalAdaptiveQuantization
-> Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings
Mpeg2Settings'
{ $sel:qualityTuningLevel:Mpeg2Settings' :: Maybe Mpeg2QualityTuningLevel
qualityTuningLevel =
Maybe Mpeg2QualityTuningLevel
forall a. Maybe a
Prelude.Nothing,
$sel:temporalAdaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization = Maybe Mpeg2TemporalAdaptiveQuantization
forall a. Maybe a
Prelude.Nothing,
$sel:sceneChangeDetect:Mpeg2Settings' :: Maybe Mpeg2SceneChangeDetect
sceneChangeDetect = Maybe Mpeg2SceneChangeDetect
forall a. Maybe a
Prelude.Nothing,
$sel:hrdBufferInitialFillPercentage:Mpeg2Settings' :: Maybe Natural
hrdBufferInitialFillPercentage = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:slowPal:Mpeg2Settings' :: Maybe Mpeg2SlowPal
slowPal = Maybe Mpeg2SlowPal
forall a. Maybe a
Prelude.Nothing,
$sel:parNumerator:Mpeg2Settings' :: Maybe Natural
parNumerator = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:gopSize:Mpeg2Settings' :: Maybe Double
gopSize = Maybe Double
forall a. Maybe a
Prelude.Nothing,
$sel:numberBFramesBetweenReferenceFrames:Mpeg2Settings' :: Maybe Natural
numberBFramesBetweenReferenceFrames =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:gopSizeUnits:Mpeg2Settings' :: Maybe Mpeg2GopSizeUnits
gopSizeUnits = Maybe Mpeg2GopSizeUnits
forall a. Maybe a
Prelude.Nothing,
$sel:hrdBufferSize:Mpeg2Settings' :: Maybe Natural
hrdBufferSize = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:rateControlMode:Mpeg2Settings' :: Maybe Mpeg2RateControlMode
rateControlMode = Maybe Mpeg2RateControlMode
forall a. Maybe a
Prelude.Nothing,
$sel:telecine:Mpeg2Settings' :: Maybe Mpeg2Telecine
telecine = Maybe Mpeg2Telecine
forall a. Maybe a
Prelude.Nothing,
$sel:intraDcPrecision:Mpeg2Settings' :: Maybe Mpeg2IntraDcPrecision
intraDcPrecision = Maybe Mpeg2IntraDcPrecision
forall a. Maybe a
Prelude.Nothing,
$sel:dynamicSubGop:Mpeg2Settings' :: Maybe Mpeg2DynamicSubGop
dynamicSubGop = Maybe Mpeg2DynamicSubGop
forall a. Maybe a
Prelude.Nothing,
$sel:minIInterval:Mpeg2Settings' :: Maybe Natural
minIInterval = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:interlaceMode:Mpeg2Settings' :: Maybe Mpeg2InterlaceMode
interlaceMode = Maybe Mpeg2InterlaceMode
forall a. Maybe a
Prelude.Nothing,
$sel:parControl:Mpeg2Settings' :: Maybe Mpeg2ParControl
parControl = Maybe Mpeg2ParControl
forall a. Maybe a
Prelude.Nothing,
$sel:scanTypeConversionMode:Mpeg2Settings' :: Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode = Maybe Mpeg2ScanTypeConversionMode
forall a. Maybe a
Prelude.Nothing,
$sel:softness:Mpeg2Settings' :: Maybe Natural
softness = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:codecProfile:Mpeg2Settings' :: Maybe Mpeg2CodecProfile
codecProfile = Maybe Mpeg2CodecProfile
forall a. Maybe a
Prelude.Nothing,
$sel:bitrate:Mpeg2Settings' :: Maybe Natural
bitrate = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:framerateDenominator:Mpeg2Settings' :: Maybe Natural
framerateDenominator = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:framerateConversionAlgorithm:Mpeg2Settings' :: Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm = Maybe Mpeg2FramerateConversionAlgorithm
forall a. Maybe a
Prelude.Nothing,
$sel:codecLevel:Mpeg2Settings' :: Maybe Mpeg2CodecLevel
codecLevel = Maybe Mpeg2CodecLevel
forall a. Maybe a
Prelude.Nothing,
$sel:framerateControl:Mpeg2Settings' :: Maybe Mpeg2FramerateControl
framerateControl = Maybe Mpeg2FramerateControl
forall a. Maybe a
Prelude.Nothing,
$sel:adaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization = Maybe Mpeg2AdaptiveQuantization
forall a. Maybe a
Prelude.Nothing,
$sel:framerateNumerator:Mpeg2Settings' :: Maybe Natural
framerateNumerator = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:maxBitrate:Mpeg2Settings' :: Maybe Natural
maxBitrate = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:syntax:Mpeg2Settings' :: Maybe Mpeg2Syntax
syntax = Maybe Mpeg2Syntax
forall a. Maybe a
Prelude.Nothing,
$sel:gopClosedCadence:Mpeg2Settings' :: Maybe Natural
gopClosedCadence = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:parDenominator:Mpeg2Settings' :: Maybe Natural
parDenominator = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:spatialAdaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization = Maybe Mpeg2SpatialAdaptiveQuantization
forall a. Maybe a
Prelude.Nothing
}
mpeg2Settings_qualityTuningLevel :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2QualityTuningLevel)
mpeg2Settings_qualityTuningLevel :: (Maybe Mpeg2QualityTuningLevel
-> f (Maybe Mpeg2QualityTuningLevel))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_qualityTuningLevel = (Mpeg2Settings -> Maybe Mpeg2QualityTuningLevel)
-> (Mpeg2Settings
-> Maybe Mpeg2QualityTuningLevel -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2QualityTuningLevel)
(Maybe Mpeg2QualityTuningLevel)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2QualityTuningLevel
qualityTuningLevel :: Maybe Mpeg2QualityTuningLevel
$sel:qualityTuningLevel:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2QualityTuningLevel
qualityTuningLevel} -> Maybe Mpeg2QualityTuningLevel
qualityTuningLevel) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2QualityTuningLevel
a -> Mpeg2Settings
s {$sel:qualityTuningLevel:Mpeg2Settings' :: Maybe Mpeg2QualityTuningLevel
qualityTuningLevel = Maybe Mpeg2QualityTuningLevel
a} :: Mpeg2Settings)
mpeg2Settings_temporalAdaptiveQuantization :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2TemporalAdaptiveQuantization)
mpeg2Settings_temporalAdaptiveQuantization :: (Maybe Mpeg2TemporalAdaptiveQuantization
-> f (Maybe Mpeg2TemporalAdaptiveQuantization))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_temporalAdaptiveQuantization = (Mpeg2Settings -> Maybe Mpeg2TemporalAdaptiveQuantization)
-> (Mpeg2Settings
-> Maybe Mpeg2TemporalAdaptiveQuantization -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2TemporalAdaptiveQuantization)
(Maybe Mpeg2TemporalAdaptiveQuantization)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization :: Maybe Mpeg2TemporalAdaptiveQuantization
$sel:temporalAdaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization} -> Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2TemporalAdaptiveQuantization
a -> Mpeg2Settings
s {$sel:temporalAdaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization = Maybe Mpeg2TemporalAdaptiveQuantization
a} :: Mpeg2Settings)
mpeg2Settings_sceneChangeDetect :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2SceneChangeDetect)
mpeg2Settings_sceneChangeDetect :: (Maybe Mpeg2SceneChangeDetect -> f (Maybe Mpeg2SceneChangeDetect))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_sceneChangeDetect = (Mpeg2Settings -> Maybe Mpeg2SceneChangeDetect)
-> (Mpeg2Settings -> Maybe Mpeg2SceneChangeDetect -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2SceneChangeDetect)
(Maybe Mpeg2SceneChangeDetect)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2SceneChangeDetect
sceneChangeDetect :: Maybe Mpeg2SceneChangeDetect
$sel:sceneChangeDetect:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SceneChangeDetect
sceneChangeDetect} -> Maybe Mpeg2SceneChangeDetect
sceneChangeDetect) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2SceneChangeDetect
a -> Mpeg2Settings
s {$sel:sceneChangeDetect:Mpeg2Settings' :: Maybe Mpeg2SceneChangeDetect
sceneChangeDetect = Maybe Mpeg2SceneChangeDetect
a} :: Mpeg2Settings)
mpeg2Settings_hrdBufferInitialFillPercentage :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_hrdBufferInitialFillPercentage :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_hrdBufferInitialFillPercentage = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
hrdBufferInitialFillPercentage :: Maybe Natural
$sel:hrdBufferInitialFillPercentage:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
hrdBufferInitialFillPercentage} -> Maybe Natural
hrdBufferInitialFillPercentage) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:hrdBufferInitialFillPercentage:Mpeg2Settings' :: Maybe Natural
hrdBufferInitialFillPercentage = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_slowPal :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2SlowPal)
mpeg2Settings_slowPal :: (Maybe Mpeg2SlowPal -> f (Maybe Mpeg2SlowPal))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_slowPal = (Mpeg2Settings -> Maybe Mpeg2SlowPal)
-> (Mpeg2Settings -> Maybe Mpeg2SlowPal -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2SlowPal)
(Maybe Mpeg2SlowPal)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2SlowPal
slowPal :: Maybe Mpeg2SlowPal
$sel:slowPal:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SlowPal
slowPal} -> Maybe Mpeg2SlowPal
slowPal) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2SlowPal
a -> Mpeg2Settings
s {$sel:slowPal:Mpeg2Settings' :: Maybe Mpeg2SlowPal
slowPal = Maybe Mpeg2SlowPal
a} :: Mpeg2Settings)
mpeg2Settings_parNumerator :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_parNumerator :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_parNumerator = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
parNumerator :: Maybe Natural
$sel:parNumerator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
parNumerator} -> Maybe Natural
parNumerator) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:parNumerator:Mpeg2Settings' :: Maybe Natural
parNumerator = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_gopSize :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Double)
mpeg2Settings_gopSize :: (Maybe Double -> f (Maybe Double))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_gopSize = (Mpeg2Settings -> Maybe Double)
-> (Mpeg2Settings -> Maybe Double -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Double) (Maybe Double)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Double
gopSize :: Maybe Double
$sel:gopSize:Mpeg2Settings' :: Mpeg2Settings -> Maybe Double
gopSize} -> Maybe Double
gopSize) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Double
a -> Mpeg2Settings
s {$sel:gopSize:Mpeg2Settings' :: Maybe Double
gopSize = Maybe Double
a} :: Mpeg2Settings)
mpeg2Settings_numberBFramesBetweenReferenceFrames :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_numberBFramesBetweenReferenceFrames :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_numberBFramesBetweenReferenceFrames = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
numberBFramesBetweenReferenceFrames :: Maybe Natural
$sel:numberBFramesBetweenReferenceFrames:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
numberBFramesBetweenReferenceFrames} -> Maybe Natural
numberBFramesBetweenReferenceFrames) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:numberBFramesBetweenReferenceFrames:Mpeg2Settings' :: Maybe Natural
numberBFramesBetweenReferenceFrames = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_gopSizeUnits :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2GopSizeUnits)
mpeg2Settings_gopSizeUnits :: (Maybe Mpeg2GopSizeUnits -> f (Maybe Mpeg2GopSizeUnits))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_gopSizeUnits = (Mpeg2Settings -> Maybe Mpeg2GopSizeUnits)
-> (Mpeg2Settings -> Maybe Mpeg2GopSizeUnits -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2GopSizeUnits)
(Maybe Mpeg2GopSizeUnits)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2GopSizeUnits
gopSizeUnits :: Maybe Mpeg2GopSizeUnits
$sel:gopSizeUnits:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2GopSizeUnits
gopSizeUnits} -> Maybe Mpeg2GopSizeUnits
gopSizeUnits) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2GopSizeUnits
a -> Mpeg2Settings
s {$sel:gopSizeUnits:Mpeg2Settings' :: Maybe Mpeg2GopSizeUnits
gopSizeUnits = Maybe Mpeg2GopSizeUnits
a} :: Mpeg2Settings)
mpeg2Settings_hrdBufferSize :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_hrdBufferSize :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_hrdBufferSize = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
hrdBufferSize :: Maybe Natural
$sel:hrdBufferSize:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
hrdBufferSize} -> Maybe Natural
hrdBufferSize) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:hrdBufferSize:Mpeg2Settings' :: Maybe Natural
hrdBufferSize = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_rateControlMode :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2RateControlMode)
mpeg2Settings_rateControlMode :: (Maybe Mpeg2RateControlMode -> f (Maybe Mpeg2RateControlMode))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_rateControlMode = (Mpeg2Settings -> Maybe Mpeg2RateControlMode)
-> (Mpeg2Settings -> Maybe Mpeg2RateControlMode -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2RateControlMode)
(Maybe Mpeg2RateControlMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2RateControlMode
rateControlMode :: Maybe Mpeg2RateControlMode
$sel:rateControlMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2RateControlMode
rateControlMode} -> Maybe Mpeg2RateControlMode
rateControlMode) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2RateControlMode
a -> Mpeg2Settings
s {$sel:rateControlMode:Mpeg2Settings' :: Maybe Mpeg2RateControlMode
rateControlMode = Maybe Mpeg2RateControlMode
a} :: Mpeg2Settings)
mpeg2Settings_telecine :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2Telecine)
mpeg2Settings_telecine :: (Maybe Mpeg2Telecine -> f (Maybe Mpeg2Telecine))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_telecine = (Mpeg2Settings -> Maybe Mpeg2Telecine)
-> (Mpeg2Settings -> Maybe Mpeg2Telecine -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2Telecine)
(Maybe Mpeg2Telecine)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2Telecine
telecine :: Maybe Mpeg2Telecine
$sel:telecine:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2Telecine
telecine} -> Maybe Mpeg2Telecine
telecine) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2Telecine
a -> Mpeg2Settings
s {$sel:telecine:Mpeg2Settings' :: Maybe Mpeg2Telecine
telecine = Maybe Mpeg2Telecine
a} :: Mpeg2Settings)
mpeg2Settings_intraDcPrecision :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2IntraDcPrecision)
mpeg2Settings_intraDcPrecision :: (Maybe Mpeg2IntraDcPrecision -> f (Maybe Mpeg2IntraDcPrecision))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_intraDcPrecision = (Mpeg2Settings -> Maybe Mpeg2IntraDcPrecision)
-> (Mpeg2Settings -> Maybe Mpeg2IntraDcPrecision -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2IntraDcPrecision)
(Maybe Mpeg2IntraDcPrecision)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2IntraDcPrecision
intraDcPrecision :: Maybe Mpeg2IntraDcPrecision
$sel:intraDcPrecision:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2IntraDcPrecision
intraDcPrecision} -> Maybe Mpeg2IntraDcPrecision
intraDcPrecision) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2IntraDcPrecision
a -> Mpeg2Settings
s {$sel:intraDcPrecision:Mpeg2Settings' :: Maybe Mpeg2IntraDcPrecision
intraDcPrecision = Maybe Mpeg2IntraDcPrecision
a} :: Mpeg2Settings)
mpeg2Settings_dynamicSubGop :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2DynamicSubGop)
mpeg2Settings_dynamicSubGop :: (Maybe Mpeg2DynamicSubGop -> f (Maybe Mpeg2DynamicSubGop))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_dynamicSubGop = (Mpeg2Settings -> Maybe Mpeg2DynamicSubGop)
-> (Mpeg2Settings -> Maybe Mpeg2DynamicSubGop -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2DynamicSubGop)
(Maybe Mpeg2DynamicSubGop)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2DynamicSubGop
dynamicSubGop :: Maybe Mpeg2DynamicSubGop
$sel:dynamicSubGop:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2DynamicSubGop
dynamicSubGop} -> Maybe Mpeg2DynamicSubGop
dynamicSubGop) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2DynamicSubGop
a -> Mpeg2Settings
s {$sel:dynamicSubGop:Mpeg2Settings' :: Maybe Mpeg2DynamicSubGop
dynamicSubGop = Maybe Mpeg2DynamicSubGop
a} :: Mpeg2Settings)
mpeg2Settings_minIInterval :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_minIInterval :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_minIInterval = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
minIInterval :: Maybe Natural
$sel:minIInterval:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
minIInterval} -> Maybe Natural
minIInterval) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:minIInterval:Mpeg2Settings' :: Maybe Natural
minIInterval = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_interlaceMode :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2InterlaceMode)
mpeg2Settings_interlaceMode :: (Maybe Mpeg2InterlaceMode -> f (Maybe Mpeg2InterlaceMode))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_interlaceMode = (Mpeg2Settings -> Maybe Mpeg2InterlaceMode)
-> (Mpeg2Settings -> Maybe Mpeg2InterlaceMode -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2InterlaceMode)
(Maybe Mpeg2InterlaceMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2InterlaceMode
interlaceMode :: Maybe Mpeg2InterlaceMode
$sel:interlaceMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2InterlaceMode
interlaceMode} -> Maybe Mpeg2InterlaceMode
interlaceMode) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2InterlaceMode
a -> Mpeg2Settings
s {$sel:interlaceMode:Mpeg2Settings' :: Maybe Mpeg2InterlaceMode
interlaceMode = Maybe Mpeg2InterlaceMode
a} :: Mpeg2Settings)
mpeg2Settings_parControl :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2ParControl)
mpeg2Settings_parControl :: (Maybe Mpeg2ParControl -> f (Maybe Mpeg2ParControl))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_parControl = (Mpeg2Settings -> Maybe Mpeg2ParControl)
-> (Mpeg2Settings -> Maybe Mpeg2ParControl -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2ParControl)
(Maybe Mpeg2ParControl)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2ParControl
parControl :: Maybe Mpeg2ParControl
$sel:parControl:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2ParControl
parControl} -> Maybe Mpeg2ParControl
parControl) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2ParControl
a -> Mpeg2Settings
s {$sel:parControl:Mpeg2Settings' :: Maybe Mpeg2ParControl
parControl = Maybe Mpeg2ParControl
a} :: Mpeg2Settings)
mpeg2Settings_scanTypeConversionMode :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2ScanTypeConversionMode)
mpeg2Settings_scanTypeConversionMode :: (Maybe Mpeg2ScanTypeConversionMode
-> f (Maybe Mpeg2ScanTypeConversionMode))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_scanTypeConversionMode = (Mpeg2Settings -> Maybe Mpeg2ScanTypeConversionMode)
-> (Mpeg2Settings
-> Maybe Mpeg2ScanTypeConversionMode -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2ScanTypeConversionMode)
(Maybe Mpeg2ScanTypeConversionMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode :: Maybe Mpeg2ScanTypeConversionMode
$sel:scanTypeConversionMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode} -> Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2ScanTypeConversionMode
a -> Mpeg2Settings
s {$sel:scanTypeConversionMode:Mpeg2Settings' :: Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode = Maybe Mpeg2ScanTypeConversionMode
a} :: Mpeg2Settings)
mpeg2Settings_softness :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_softness :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_softness = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
softness :: Maybe Natural
$sel:softness:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
softness} -> Maybe Natural
softness) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:softness:Mpeg2Settings' :: Maybe Natural
softness = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_codecProfile :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2CodecProfile)
mpeg2Settings_codecProfile :: (Maybe Mpeg2CodecProfile -> f (Maybe Mpeg2CodecProfile))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_codecProfile = (Mpeg2Settings -> Maybe Mpeg2CodecProfile)
-> (Mpeg2Settings -> Maybe Mpeg2CodecProfile -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2CodecProfile)
(Maybe Mpeg2CodecProfile)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2CodecProfile
codecProfile :: Maybe Mpeg2CodecProfile
$sel:codecProfile:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2CodecProfile
codecProfile} -> Maybe Mpeg2CodecProfile
codecProfile) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2CodecProfile
a -> Mpeg2Settings
s {$sel:codecProfile:Mpeg2Settings' :: Maybe Mpeg2CodecProfile
codecProfile = Maybe Mpeg2CodecProfile
a} :: Mpeg2Settings)
mpeg2Settings_bitrate :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_bitrate :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_bitrate = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
bitrate :: Maybe Natural
$sel:bitrate:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
bitrate} -> Maybe Natural
bitrate) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:bitrate:Mpeg2Settings' :: Maybe Natural
bitrate = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_framerateDenominator :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_framerateDenominator :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_framerateDenominator = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
framerateDenominator :: Maybe Natural
$sel:framerateDenominator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
framerateDenominator} -> Maybe Natural
framerateDenominator) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:framerateDenominator:Mpeg2Settings' :: Maybe Natural
framerateDenominator = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_framerateConversionAlgorithm :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2FramerateConversionAlgorithm)
mpeg2Settings_framerateConversionAlgorithm :: (Maybe Mpeg2FramerateConversionAlgorithm
-> f (Maybe Mpeg2FramerateConversionAlgorithm))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_framerateConversionAlgorithm = (Mpeg2Settings -> Maybe Mpeg2FramerateConversionAlgorithm)
-> (Mpeg2Settings
-> Maybe Mpeg2FramerateConversionAlgorithm -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2FramerateConversionAlgorithm)
(Maybe Mpeg2FramerateConversionAlgorithm)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm :: Maybe Mpeg2FramerateConversionAlgorithm
$sel:framerateConversionAlgorithm:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm} -> Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2FramerateConversionAlgorithm
a -> Mpeg2Settings
s {$sel:framerateConversionAlgorithm:Mpeg2Settings' :: Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm = Maybe Mpeg2FramerateConversionAlgorithm
a} :: Mpeg2Settings)
mpeg2Settings_codecLevel :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2CodecLevel)
mpeg2Settings_codecLevel :: (Maybe Mpeg2CodecLevel -> f (Maybe Mpeg2CodecLevel))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_codecLevel = (Mpeg2Settings -> Maybe Mpeg2CodecLevel)
-> (Mpeg2Settings -> Maybe Mpeg2CodecLevel -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2CodecLevel)
(Maybe Mpeg2CodecLevel)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2CodecLevel
codecLevel :: Maybe Mpeg2CodecLevel
$sel:codecLevel:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2CodecLevel
codecLevel} -> Maybe Mpeg2CodecLevel
codecLevel) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2CodecLevel
a -> Mpeg2Settings
s {$sel:codecLevel:Mpeg2Settings' :: Maybe Mpeg2CodecLevel
codecLevel = Maybe Mpeg2CodecLevel
a} :: Mpeg2Settings)
mpeg2Settings_framerateControl :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2FramerateControl)
mpeg2Settings_framerateControl :: (Maybe Mpeg2FramerateControl -> f (Maybe Mpeg2FramerateControl))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_framerateControl = (Mpeg2Settings -> Maybe Mpeg2FramerateControl)
-> (Mpeg2Settings -> Maybe Mpeg2FramerateControl -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2FramerateControl)
(Maybe Mpeg2FramerateControl)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2FramerateControl
framerateControl :: Maybe Mpeg2FramerateControl
$sel:framerateControl:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2FramerateControl
framerateControl} -> Maybe Mpeg2FramerateControl
framerateControl) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2FramerateControl
a -> Mpeg2Settings
s {$sel:framerateControl:Mpeg2Settings' :: Maybe Mpeg2FramerateControl
framerateControl = Maybe Mpeg2FramerateControl
a} :: Mpeg2Settings)
mpeg2Settings_adaptiveQuantization :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2AdaptiveQuantization)
mpeg2Settings_adaptiveQuantization :: (Maybe Mpeg2AdaptiveQuantization
-> f (Maybe Mpeg2AdaptiveQuantization))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_adaptiveQuantization = (Mpeg2Settings -> Maybe Mpeg2AdaptiveQuantization)
-> (Mpeg2Settings
-> Maybe Mpeg2AdaptiveQuantization -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2AdaptiveQuantization)
(Maybe Mpeg2AdaptiveQuantization)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization :: Maybe Mpeg2AdaptiveQuantization
$sel:adaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization} -> Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2AdaptiveQuantization
a -> Mpeg2Settings
s {$sel:adaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization = Maybe Mpeg2AdaptiveQuantization
a} :: Mpeg2Settings)
mpeg2Settings_framerateNumerator :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_framerateNumerator :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_framerateNumerator = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
framerateNumerator :: Maybe Natural
$sel:framerateNumerator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
framerateNumerator} -> Maybe Natural
framerateNumerator) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:framerateNumerator:Mpeg2Settings' :: Maybe Natural
framerateNumerator = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_maxBitrate :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_maxBitrate :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_maxBitrate = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
maxBitrate :: Maybe Natural
$sel:maxBitrate:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
maxBitrate} -> Maybe Natural
maxBitrate) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:maxBitrate:Mpeg2Settings' :: Maybe Natural
maxBitrate = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_syntax :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2Syntax)
mpeg2Settings_syntax :: (Maybe Mpeg2Syntax -> f (Maybe Mpeg2Syntax))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_syntax = (Mpeg2Settings -> Maybe Mpeg2Syntax)
-> (Mpeg2Settings -> Maybe Mpeg2Syntax -> Mpeg2Settings)
-> Lens
Mpeg2Settings Mpeg2Settings (Maybe Mpeg2Syntax) (Maybe Mpeg2Syntax)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2Syntax
syntax :: Maybe Mpeg2Syntax
$sel:syntax:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2Syntax
syntax} -> Maybe Mpeg2Syntax
syntax) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2Syntax
a -> Mpeg2Settings
s {$sel:syntax:Mpeg2Settings' :: Maybe Mpeg2Syntax
syntax = Maybe Mpeg2Syntax
a} :: Mpeg2Settings)
mpeg2Settings_gopClosedCadence :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_gopClosedCadence :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_gopClosedCadence = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
gopClosedCadence :: Maybe Natural
$sel:gopClosedCadence:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
gopClosedCadence} -> Maybe Natural
gopClosedCadence) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:gopClosedCadence:Mpeg2Settings' :: Maybe Natural
gopClosedCadence = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_parDenominator :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Prelude.Natural)
mpeg2Settings_parDenominator :: (Maybe Natural -> f (Maybe Natural))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_parDenominator = (Mpeg2Settings -> Maybe Natural)
-> (Mpeg2Settings -> Maybe Natural -> Mpeg2Settings)
-> Lens Mpeg2Settings Mpeg2Settings (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Natural
parDenominator :: Maybe Natural
$sel:parDenominator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
parDenominator} -> Maybe Natural
parDenominator) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Natural
a -> Mpeg2Settings
s {$sel:parDenominator:Mpeg2Settings' :: Maybe Natural
parDenominator = Maybe Natural
a} :: Mpeg2Settings)
mpeg2Settings_spatialAdaptiveQuantization :: Lens.Lens' Mpeg2Settings (Prelude.Maybe Mpeg2SpatialAdaptiveQuantization)
mpeg2Settings_spatialAdaptiveQuantization :: (Maybe Mpeg2SpatialAdaptiveQuantization
-> f (Maybe Mpeg2SpatialAdaptiveQuantization))
-> Mpeg2Settings -> f Mpeg2Settings
mpeg2Settings_spatialAdaptiveQuantization = (Mpeg2Settings -> Maybe Mpeg2SpatialAdaptiveQuantization)
-> (Mpeg2Settings
-> Maybe Mpeg2SpatialAdaptiveQuantization -> Mpeg2Settings)
-> Lens
Mpeg2Settings
Mpeg2Settings
(Maybe Mpeg2SpatialAdaptiveQuantization)
(Maybe Mpeg2SpatialAdaptiveQuantization)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Mpeg2Settings' {Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization :: Maybe Mpeg2SpatialAdaptiveQuantization
$sel:spatialAdaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization} -> Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization) (\s :: Mpeg2Settings
s@Mpeg2Settings' {} Maybe Mpeg2SpatialAdaptiveQuantization
a -> Mpeg2Settings
s {$sel:spatialAdaptiveQuantization:Mpeg2Settings' :: Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization = Maybe Mpeg2SpatialAdaptiveQuantization
a} :: Mpeg2Settings)
instance Core.FromJSON Mpeg2Settings where
parseJSON :: Value -> Parser Mpeg2Settings
parseJSON =
String
-> (Object -> Parser Mpeg2Settings)
-> Value
-> Parser Mpeg2Settings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"Mpeg2Settings"
( \Object
x ->
Maybe Mpeg2QualityTuningLevel
-> Maybe Mpeg2TemporalAdaptiveQuantization
-> Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings
Mpeg2Settings'
(Maybe Mpeg2QualityTuningLevel
-> Maybe Mpeg2TemporalAdaptiveQuantization
-> Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2QualityTuningLevel)
-> Parser
(Maybe Mpeg2TemporalAdaptiveQuantization
-> Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Mpeg2QualityTuningLevel)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"qualityTuningLevel")
Parser
(Maybe Mpeg2TemporalAdaptiveQuantization
-> Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2TemporalAdaptiveQuantization)
-> Parser
(Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2TemporalAdaptiveQuantization)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"temporalAdaptiveQuantization")
Parser
(Maybe Mpeg2SceneChangeDetect
-> Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2SceneChangeDetect)
-> Parser
(Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2SceneChangeDetect)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"sceneChangeDetect")
Parser
(Maybe Natural
-> Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"hrdBufferInitialFillPercentage")
Parser
(Maybe Mpeg2SlowPal
-> Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2SlowPal)
-> Parser
(Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2SlowPal)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"slowPal")
Parser
(Maybe Natural
-> Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"parNumerator")
Parser
(Maybe Double
-> Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Double)
-> Parser
(Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Double)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"gopSize")
Parser
(Maybe Natural
-> Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"numberBFramesBetweenReferenceFrames")
Parser
(Maybe Mpeg2GopSizeUnits
-> Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2GopSizeUnits)
-> Parser
(Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2GopSizeUnits)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"gopSizeUnits")
Parser
(Maybe Natural
-> Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"hrdBufferSize")
Parser
(Maybe Mpeg2RateControlMode
-> Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2RateControlMode)
-> Parser
(Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2RateControlMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"rateControlMode")
Parser
(Maybe Mpeg2Telecine
-> Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2Telecine)
-> Parser
(Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2Telecine)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"telecine")
Parser
(Maybe Mpeg2IntraDcPrecision
-> Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2IntraDcPrecision)
-> Parser
(Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2IntraDcPrecision)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"intraDcPrecision")
Parser
(Maybe Mpeg2DynamicSubGop
-> Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2DynamicSubGop)
-> Parser
(Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2DynamicSubGop)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"dynamicSubGop")
Parser
(Maybe Natural
-> Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"minIInterval")
Parser
(Maybe Mpeg2InterlaceMode
-> Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2InterlaceMode)
-> Parser
(Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2InterlaceMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"interlaceMode")
Parser
(Maybe Mpeg2ParControl
-> Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2ParControl)
-> Parser
(Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2ParControl)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"parControl")
Parser
(Maybe Mpeg2ScanTypeConversionMode
-> Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2ScanTypeConversionMode)
-> Parser
(Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2ScanTypeConversionMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"scanTypeConversionMode")
Parser
(Maybe Natural
-> Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"softness")
Parser
(Maybe Mpeg2CodecProfile
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2CodecProfile)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2CodecProfile)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"codecProfile")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"bitrate")
Parser
(Maybe Natural
-> Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"framerateDenominator")
Parser
(Maybe Mpeg2FramerateConversionAlgorithm
-> Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2FramerateConversionAlgorithm)
-> Parser
(Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2FramerateConversionAlgorithm)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"framerateConversionAlgorithm")
Parser
(Maybe Mpeg2CodecLevel
-> Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2CodecLevel)
-> Parser
(Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2CodecLevel)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"codecLevel")
Parser
(Maybe Mpeg2FramerateControl
-> Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2FramerateControl)
-> Parser
(Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2FramerateControl)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"framerateControl")
Parser
(Maybe Mpeg2AdaptiveQuantization
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2AdaptiveQuantization)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2AdaptiveQuantization)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"adaptiveQuantization")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"framerateNumerator")
Parser
(Maybe Natural
-> Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"maxBitrate")
Parser
(Maybe Mpeg2Syntax
-> Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Mpeg2Syntax)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2Syntax)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"syntax")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization
-> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization -> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"gopClosedCadence")
Parser
(Maybe Natural
-> Maybe Mpeg2SpatialAdaptiveQuantization -> Mpeg2Settings)
-> Parser (Maybe Natural)
-> Parser (Maybe Mpeg2SpatialAdaptiveQuantization -> Mpeg2Settings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"parDenominator")
Parser (Maybe Mpeg2SpatialAdaptiveQuantization -> Mpeg2Settings)
-> Parser (Maybe Mpeg2SpatialAdaptiveQuantization)
-> Parser Mpeg2Settings
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Mpeg2SpatialAdaptiveQuantization)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"spatialAdaptiveQuantization")
)
instance Prelude.Hashable Mpeg2Settings
instance Prelude.NFData Mpeg2Settings
instance Core.ToJSON Mpeg2Settings where
toJSON :: Mpeg2Settings -> Value
toJSON Mpeg2Settings' {Maybe Double
Maybe Natural
Maybe Mpeg2AdaptiveQuantization
Maybe Mpeg2CodecLevel
Maybe Mpeg2CodecProfile
Maybe Mpeg2DynamicSubGop
Maybe Mpeg2FramerateControl
Maybe Mpeg2FramerateConversionAlgorithm
Maybe Mpeg2GopSizeUnits
Maybe Mpeg2InterlaceMode
Maybe Mpeg2IntraDcPrecision
Maybe Mpeg2ParControl
Maybe Mpeg2QualityTuningLevel
Maybe Mpeg2RateControlMode
Maybe Mpeg2ScanTypeConversionMode
Maybe Mpeg2SceneChangeDetect
Maybe Mpeg2SlowPal
Maybe Mpeg2SpatialAdaptiveQuantization
Maybe Mpeg2Syntax
Maybe Mpeg2Telecine
Maybe Mpeg2TemporalAdaptiveQuantization
spatialAdaptiveQuantization :: Maybe Mpeg2SpatialAdaptiveQuantization
parDenominator :: Maybe Natural
gopClosedCadence :: Maybe Natural
syntax :: Maybe Mpeg2Syntax
maxBitrate :: Maybe Natural
framerateNumerator :: Maybe Natural
adaptiveQuantization :: Maybe Mpeg2AdaptiveQuantization
framerateControl :: Maybe Mpeg2FramerateControl
codecLevel :: Maybe Mpeg2CodecLevel
framerateConversionAlgorithm :: Maybe Mpeg2FramerateConversionAlgorithm
framerateDenominator :: Maybe Natural
bitrate :: Maybe Natural
codecProfile :: Maybe Mpeg2CodecProfile
softness :: Maybe Natural
scanTypeConversionMode :: Maybe Mpeg2ScanTypeConversionMode
parControl :: Maybe Mpeg2ParControl
interlaceMode :: Maybe Mpeg2InterlaceMode
minIInterval :: Maybe Natural
dynamicSubGop :: Maybe Mpeg2DynamicSubGop
intraDcPrecision :: Maybe Mpeg2IntraDcPrecision
telecine :: Maybe Mpeg2Telecine
rateControlMode :: Maybe Mpeg2RateControlMode
hrdBufferSize :: Maybe Natural
gopSizeUnits :: Maybe Mpeg2GopSizeUnits
numberBFramesBetweenReferenceFrames :: Maybe Natural
gopSize :: Maybe Double
parNumerator :: Maybe Natural
slowPal :: Maybe Mpeg2SlowPal
hrdBufferInitialFillPercentage :: Maybe Natural
sceneChangeDetect :: Maybe Mpeg2SceneChangeDetect
temporalAdaptiveQuantization :: Maybe Mpeg2TemporalAdaptiveQuantization
qualityTuningLevel :: Maybe Mpeg2QualityTuningLevel
$sel:spatialAdaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SpatialAdaptiveQuantization
$sel:parDenominator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:gopClosedCadence:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:syntax:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2Syntax
$sel:maxBitrate:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:framerateNumerator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:adaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2AdaptiveQuantization
$sel:framerateControl:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2FramerateControl
$sel:codecLevel:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2CodecLevel
$sel:framerateConversionAlgorithm:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2FramerateConversionAlgorithm
$sel:framerateDenominator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:bitrate:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:codecProfile:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2CodecProfile
$sel:softness:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:scanTypeConversionMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2ScanTypeConversionMode
$sel:parControl:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2ParControl
$sel:interlaceMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2InterlaceMode
$sel:minIInterval:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:dynamicSubGop:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2DynamicSubGop
$sel:intraDcPrecision:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2IntraDcPrecision
$sel:telecine:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2Telecine
$sel:rateControlMode:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2RateControlMode
$sel:hrdBufferSize:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:gopSizeUnits:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2GopSizeUnits
$sel:numberBFramesBetweenReferenceFrames:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:gopSize:Mpeg2Settings' :: Mpeg2Settings -> Maybe Double
$sel:parNumerator:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:slowPal:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SlowPal
$sel:hrdBufferInitialFillPercentage:Mpeg2Settings' :: Mpeg2Settings -> Maybe Natural
$sel:sceneChangeDetect:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2SceneChangeDetect
$sel:temporalAdaptiveQuantization:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2TemporalAdaptiveQuantization
$sel:qualityTuningLevel:Mpeg2Settings' :: Mpeg2Settings -> Maybe Mpeg2QualityTuningLevel
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"qualityTuningLevel" Text -> Mpeg2QualityTuningLevel -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2QualityTuningLevel -> Pair)
-> Maybe Mpeg2QualityTuningLevel -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2QualityTuningLevel
qualityTuningLevel,
(Text
"temporalAdaptiveQuantization" Text -> Mpeg2TemporalAdaptiveQuantization -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2TemporalAdaptiveQuantization -> Pair)
-> Maybe Mpeg2TemporalAdaptiveQuantization -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2TemporalAdaptiveQuantization
temporalAdaptiveQuantization,
(Text
"sceneChangeDetect" Text -> Mpeg2SceneChangeDetect -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2SceneChangeDetect -> Pair)
-> Maybe Mpeg2SceneChangeDetect -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2SceneChangeDetect
sceneChangeDetect,
(Text
"hrdBufferInitialFillPercentage" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
hrdBufferInitialFillPercentage,
(Text
"slowPal" Text -> Mpeg2SlowPal -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2SlowPal -> Pair) -> Maybe Mpeg2SlowPal -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2SlowPal
slowPal,
(Text
"parNumerator" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
parNumerator,
(Text
"gopSize" Text -> Double -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Double -> Pair) -> Maybe Double -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Double
gopSize,
(Text
"numberBFramesBetweenReferenceFrames" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
numberBFramesBetweenReferenceFrames,
(Text
"gopSizeUnits" Text -> Mpeg2GopSizeUnits -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2GopSizeUnits -> Pair)
-> Maybe Mpeg2GopSizeUnits -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2GopSizeUnits
gopSizeUnits,
(Text
"hrdBufferSize" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
hrdBufferSize,
(Text
"rateControlMode" Text -> Mpeg2RateControlMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2RateControlMode -> Pair)
-> Maybe Mpeg2RateControlMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2RateControlMode
rateControlMode,
(Text
"telecine" Text -> Mpeg2Telecine -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2Telecine -> Pair) -> Maybe Mpeg2Telecine -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2Telecine
telecine,
(Text
"intraDcPrecision" Text -> Mpeg2IntraDcPrecision -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2IntraDcPrecision -> Pair)
-> Maybe Mpeg2IntraDcPrecision -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2IntraDcPrecision
intraDcPrecision,
(Text
"dynamicSubGop" Text -> Mpeg2DynamicSubGop -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2DynamicSubGop -> Pair)
-> Maybe Mpeg2DynamicSubGop -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2DynamicSubGop
dynamicSubGop,
(Text
"minIInterval" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
minIInterval,
(Text
"interlaceMode" Text -> Mpeg2InterlaceMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2InterlaceMode -> Pair)
-> Maybe Mpeg2InterlaceMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2InterlaceMode
interlaceMode,
(Text
"parControl" Text -> Mpeg2ParControl -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2ParControl -> Pair) -> Maybe Mpeg2ParControl -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2ParControl
parControl,
(Text
"scanTypeConversionMode" Text -> Mpeg2ScanTypeConversionMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2ScanTypeConversionMode -> Pair)
-> Maybe Mpeg2ScanTypeConversionMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2ScanTypeConversionMode
scanTypeConversionMode,
(Text
"softness" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
softness,
(Text
"codecProfile" Text -> Mpeg2CodecProfile -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2CodecProfile -> Pair)
-> Maybe Mpeg2CodecProfile -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2CodecProfile
codecProfile,
(Text
"bitrate" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
bitrate,
(Text
"framerateDenominator" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
framerateDenominator,
(Text
"framerateConversionAlgorithm" Text -> Mpeg2FramerateConversionAlgorithm -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2FramerateConversionAlgorithm -> Pair)
-> Maybe Mpeg2FramerateConversionAlgorithm -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2FramerateConversionAlgorithm
framerateConversionAlgorithm,
(Text
"codecLevel" Text -> Mpeg2CodecLevel -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2CodecLevel -> Pair) -> Maybe Mpeg2CodecLevel -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2CodecLevel
codecLevel,
(Text
"framerateControl" Text -> Mpeg2FramerateControl -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2FramerateControl -> Pair)
-> Maybe Mpeg2FramerateControl -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2FramerateControl
framerateControl,
(Text
"adaptiveQuantization" Text -> Mpeg2AdaptiveQuantization -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2AdaptiveQuantization -> Pair)
-> Maybe Mpeg2AdaptiveQuantization -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2AdaptiveQuantization
adaptiveQuantization,
(Text
"framerateNumerator" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
framerateNumerator,
(Text
"maxBitrate" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
maxBitrate,
(Text
"syntax" Text -> Mpeg2Syntax -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Mpeg2Syntax -> Pair) -> Maybe Mpeg2Syntax -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2Syntax
syntax,
(Text
"gopClosedCadence" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
gopClosedCadence,
(Text
"parDenominator" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
parDenominator,
(Text
"spatialAdaptiveQuantization" Text -> Mpeg2SpatialAdaptiveQuantization -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Mpeg2SpatialAdaptiveQuantization -> Pair)
-> Maybe Mpeg2SpatialAdaptiveQuantization -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Mpeg2SpatialAdaptiveQuantization
spatialAdaptiveQuantization
]
)