{-# 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-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- 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.Data as Data
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 ::
      Data.Text
  }
  deriving stock
    ( Int -> ProresSlowPal -> ShowS
[ProresSlowPal] -> ShowS
ProresSlowPal -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq ProresSlowPal
Int -> ProresSlowPal -> Int
ProresSlowPal -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: ProresSlowPal -> ()
$crnf :: ProresSlowPal -> ()
Prelude.NFData,
      Text -> Either String ProresSlowPal
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ProresSlowPal
$cfromText :: Text -> Either String ProresSlowPal
Data.FromText,
      ProresSlowPal -> Text
forall a. (a -> Text) -> ToText a
toText :: ProresSlowPal -> Text
$ctoText :: ProresSlowPal -> Text
Data.ToText,
      ProresSlowPal -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ProresSlowPal -> ByteString
$ctoBS :: ProresSlowPal -> ByteString
Data.ToByteString,
      ProresSlowPal -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ProresSlowPal -> ByteStringBuilder
$cbuild :: ProresSlowPal -> ByteStringBuilder
Data.ToLog,
      HeaderName -> ProresSlowPal -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ProresSlowPal -> [Header]
$ctoHeader :: HeaderName -> ProresSlowPal -> [Header]
Data.ToHeader,
      ProresSlowPal -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ProresSlowPal -> QueryString
$ctoQuery :: ProresSlowPal -> QueryString
Data.ToQuery,
      Value -> Parser [ProresSlowPal]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [ProresSlowPal]
FromJSONKeyFunction ProresSlowPal
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ProresSlowPal]
$cfromJSONKeyList :: FromJSONKeyFunction [ProresSlowPal]
fromJSONKey :: FromJSONKeyFunction ProresSlowPal
$cfromJSONKey :: FromJSONKeyFunction ProresSlowPal
Data.FromJSONKey,
      [ProresSlowPal] -> Encoding
[ProresSlowPal] -> Value
ProresSlowPal -> Encoding
ProresSlowPal -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [ProresSlowPal]
ToJSONKeyFunction ProresSlowPal
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ProresSlowPal]
$ctoJSONKeyList :: ToJSONKeyFunction [ProresSlowPal]
toJSONKey :: ToJSONKeyFunction ProresSlowPal
$ctoJSONKey :: ToJSONKeyFunction ProresSlowPal
Data.ToJSONKey,
      [Node] -> Either String ProresSlowPal
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ProresSlowPal
$cparseXML :: [Node] -> Either String ProresSlowPal
Data.FromXML,
      ProresSlowPal -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ProresSlowPal -> XML
$ctoXML :: ProresSlowPal -> XML
Data.ToXML
    )

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

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

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