{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaConvert.Types.ProresSlowPal
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaConvert.Types.ProresSlowPal
  ( ProresSlowPal
      ( ..,
        ProresSlowPal_DISABLED,
        ProresSlowPal_ENABLED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

-- | Ignore this setting unless your input frame rate is 23.976 or 24 frames
-- per second (fps). Enable slow PAL to create a 25 fps output. When you
-- enable slow PAL, MediaConvert relabels the video frames to 25 fps and
-- resamples your audio to keep it synchronized with the video. Note that
-- enabling this setting will slightly reduce the duration of your video.
-- Required settings: You must also set Framerate to 25. In your JSON job
-- specification, set (framerateControl) to (SPECIFIED),
-- (framerateNumerator) to 25 and (framerateDenominator) to 1.
newtype ProresSlowPal = ProresSlowPal'
  { ProresSlowPal -> Text
fromProresSlowPal ::
      Core.Text
  }
  deriving stock
    ( Int -> ProresSlowPal -> ShowS
[ProresSlowPal] -> ShowS
ProresSlowPal -> String
(Int -> ProresSlowPal -> ShowS)
-> (ProresSlowPal -> String)
-> ([ProresSlowPal] -> ShowS)
-> Show ProresSlowPal
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProresSlowPal] -> ShowS
$cshowList :: [ProresSlowPal] -> ShowS
show :: ProresSlowPal -> String
$cshow :: ProresSlowPal -> String
showsPrec :: Int -> ProresSlowPal -> ShowS
$cshowsPrec :: Int -> ProresSlowPal -> ShowS
Prelude.Show,
      ReadPrec [ProresSlowPal]
ReadPrec ProresSlowPal
Int -> ReadS ProresSlowPal
ReadS [ProresSlowPal]
(Int -> ReadS ProresSlowPal)
-> ReadS [ProresSlowPal]
-> ReadPrec ProresSlowPal
-> ReadPrec [ProresSlowPal]
-> Read ProresSlowPal
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProresSlowPal]
$creadListPrec :: ReadPrec [ProresSlowPal]
readPrec :: ReadPrec ProresSlowPal
$creadPrec :: ReadPrec ProresSlowPal
readList :: ReadS [ProresSlowPal]
$creadList :: ReadS [ProresSlowPal]
readsPrec :: Int -> ReadS ProresSlowPal
$creadsPrec :: Int -> ReadS ProresSlowPal
Prelude.Read,
      ProresSlowPal -> ProresSlowPal -> Bool
(ProresSlowPal -> ProresSlowPal -> Bool)
-> (ProresSlowPal -> ProresSlowPal -> Bool) -> Eq ProresSlowPal
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProresSlowPal -> ProresSlowPal -> Bool
$c/= :: ProresSlowPal -> ProresSlowPal -> Bool
== :: ProresSlowPal -> ProresSlowPal -> Bool
$c== :: ProresSlowPal -> ProresSlowPal -> Bool
Prelude.Eq,
      Eq ProresSlowPal
Eq ProresSlowPal
-> (ProresSlowPal -> ProresSlowPal -> Ordering)
-> (ProresSlowPal -> ProresSlowPal -> Bool)
-> (ProresSlowPal -> ProresSlowPal -> Bool)
-> (ProresSlowPal -> ProresSlowPal -> Bool)
-> (ProresSlowPal -> ProresSlowPal -> Bool)
-> (ProresSlowPal -> ProresSlowPal -> ProresSlowPal)
-> (ProresSlowPal -> ProresSlowPal -> ProresSlowPal)
-> Ord ProresSlowPal
ProresSlowPal -> ProresSlowPal -> Bool
ProresSlowPal -> ProresSlowPal -> Ordering
ProresSlowPal -> ProresSlowPal -> ProresSlowPal
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ProresSlowPal -> ProresSlowPal -> ProresSlowPal
$cmin :: ProresSlowPal -> ProresSlowPal -> ProresSlowPal
max :: ProresSlowPal -> ProresSlowPal -> ProresSlowPal
$cmax :: ProresSlowPal -> ProresSlowPal -> ProresSlowPal
>= :: ProresSlowPal -> ProresSlowPal -> Bool
$c>= :: ProresSlowPal -> ProresSlowPal -> Bool
> :: ProresSlowPal -> ProresSlowPal -> Bool
$c> :: ProresSlowPal -> ProresSlowPal -> Bool
<= :: ProresSlowPal -> ProresSlowPal -> Bool
$c<= :: ProresSlowPal -> ProresSlowPal -> Bool
< :: ProresSlowPal -> ProresSlowPal -> Bool
$c< :: ProresSlowPal -> ProresSlowPal -> Bool
compare :: ProresSlowPal -> ProresSlowPal -> Ordering
$ccompare :: ProresSlowPal -> ProresSlowPal -> Ordering
$cp1Ord :: Eq ProresSlowPal
Prelude.Ord,
      (forall x. ProresSlowPal -> Rep ProresSlowPal x)
-> (forall x. Rep ProresSlowPal x -> ProresSlowPal)
-> Generic ProresSlowPal
forall x. Rep ProresSlowPal x -> ProresSlowPal
forall x. ProresSlowPal -> Rep ProresSlowPal x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ProresSlowPal x -> ProresSlowPal
$cfrom :: forall x. ProresSlowPal -> Rep ProresSlowPal x
Prelude.Generic
    )
  deriving newtype
    ( Int -> ProresSlowPal -> Int
ProresSlowPal -> Int
(Int -> ProresSlowPal -> Int)
-> (ProresSlowPal -> Int) -> Hashable ProresSlowPal
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ProresSlowPal -> Int
$chash :: ProresSlowPal -> Int
hashWithSalt :: Int -> ProresSlowPal -> Int
$chashWithSalt :: Int -> ProresSlowPal -> Int
Prelude.Hashable,
      ProresSlowPal -> ()
(ProresSlowPal -> ()) -> NFData ProresSlowPal
forall a. (a -> ()) -> NFData a
rnf :: ProresSlowPal -> ()
$crnf :: ProresSlowPal -> ()
Prelude.NFData,
      Text -> Either String ProresSlowPal
(Text -> Either String ProresSlowPal) -> FromText ProresSlowPal
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ProresSlowPal
$cfromText :: Text -> Either String ProresSlowPal
Core.FromText,
      ProresSlowPal -> Text
(ProresSlowPal -> Text) -> ToText ProresSlowPal
forall a. (a -> Text) -> ToText a
toText :: ProresSlowPal -> Text
$ctoText :: ProresSlowPal -> Text
Core.ToText,
      ProresSlowPal -> ByteString
(ProresSlowPal -> ByteString) -> ToByteString ProresSlowPal
forall a. (a -> ByteString) -> ToByteString a
toBS :: ProresSlowPal -> ByteString
$ctoBS :: ProresSlowPal -> ByteString
Core.ToByteString,
      ProresSlowPal -> ByteStringBuilder
(ProresSlowPal -> ByteStringBuilder) -> ToLog ProresSlowPal
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ProresSlowPal -> ByteStringBuilder
$cbuild :: ProresSlowPal -> ByteStringBuilder
Core.ToLog,
      HeaderName -> ProresSlowPal -> [Header]
(HeaderName -> ProresSlowPal -> [Header]) -> ToHeader ProresSlowPal
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ProresSlowPal -> [Header]
$ctoHeader :: HeaderName -> ProresSlowPal -> [Header]
Core.ToHeader,
      ProresSlowPal -> QueryString
(ProresSlowPal -> QueryString) -> ToQuery ProresSlowPal
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ProresSlowPal -> QueryString
$ctoQuery :: ProresSlowPal -> QueryString
Core.ToQuery,
      Value -> Parser [ProresSlowPal]
Value -> Parser ProresSlowPal
(Value -> Parser ProresSlowPal)
-> (Value -> Parser [ProresSlowPal]) -> FromJSON ProresSlowPal
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ProresSlowPal]
$cparseJSONList :: Value -> Parser [ProresSlowPal]
parseJSON :: Value -> Parser ProresSlowPal
$cparseJSON :: Value -> Parser ProresSlowPal
Core.FromJSON,
      FromJSONKeyFunction [ProresSlowPal]
FromJSONKeyFunction ProresSlowPal
FromJSONKeyFunction ProresSlowPal
-> FromJSONKeyFunction [ProresSlowPal] -> FromJSONKey ProresSlowPal
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ProresSlowPal]
$cfromJSONKeyList :: FromJSONKeyFunction [ProresSlowPal]
fromJSONKey :: FromJSONKeyFunction ProresSlowPal
$cfromJSONKey :: FromJSONKeyFunction ProresSlowPal
Core.FromJSONKey,
      [ProresSlowPal] -> Encoding
[ProresSlowPal] -> Value
ProresSlowPal -> Encoding
ProresSlowPal -> Value
(ProresSlowPal -> Value)
-> (ProresSlowPal -> Encoding)
-> ([ProresSlowPal] -> Value)
-> ([ProresSlowPal] -> Encoding)
-> ToJSON ProresSlowPal
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ProresSlowPal] -> Encoding
$ctoEncodingList :: [ProresSlowPal] -> Encoding
toJSONList :: [ProresSlowPal] -> Value
$ctoJSONList :: [ProresSlowPal] -> Value
toEncoding :: ProresSlowPal -> Encoding
$ctoEncoding :: ProresSlowPal -> Encoding
toJSON :: ProresSlowPal -> Value
$ctoJSON :: ProresSlowPal -> Value
Core.ToJSON,
      ToJSONKeyFunction [ProresSlowPal]
ToJSONKeyFunction ProresSlowPal
ToJSONKeyFunction ProresSlowPal
-> ToJSONKeyFunction [ProresSlowPal] -> ToJSONKey ProresSlowPal
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ProresSlowPal]
$ctoJSONKeyList :: ToJSONKeyFunction [ProresSlowPal]
toJSONKey :: ToJSONKeyFunction ProresSlowPal
$ctoJSONKey :: ToJSONKeyFunction ProresSlowPal
Core.ToJSONKey,
      [Node] -> Either String ProresSlowPal
([Node] -> Either String ProresSlowPal) -> FromXML ProresSlowPal
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ProresSlowPal
$cparseXML :: [Node] -> Either String ProresSlowPal
Core.FromXML,
      ProresSlowPal -> XML
(ProresSlowPal -> XML) -> ToXML ProresSlowPal
forall a. (a -> XML) -> ToXML a
toXML :: ProresSlowPal -> XML
$ctoXML :: ProresSlowPal -> XML
Core.ToXML
    )

pattern ProresSlowPal_DISABLED :: ProresSlowPal
pattern $bProresSlowPal_DISABLED :: ProresSlowPal
$mProresSlowPal_DISABLED :: forall r. ProresSlowPal -> (Void# -> r) -> (Void# -> r) -> r
ProresSlowPal_DISABLED = ProresSlowPal' "DISABLED"

pattern ProresSlowPal_ENABLED :: ProresSlowPal
pattern $bProresSlowPal_ENABLED :: ProresSlowPal
$mProresSlowPal_ENABLED :: forall r. ProresSlowPal -> (Void# -> r) -> (Void# -> r) -> r
ProresSlowPal_ENABLED = ProresSlowPal' "ENABLED"

{-# COMPLETE
  ProresSlowPal_DISABLED,
  ProresSlowPal_ENABLED,
  ProresSlowPal'
  #-}