{-# 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.AvcIntraSlowPal
-- 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.AvcIntraSlowPal
  ( AvcIntraSlowPal
      ( ..,
        AvcIntraSlowPal_DISABLED,
        AvcIntraSlowPal_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 AvcIntraSlowPal = AvcIntraSlowPal'
  { AvcIntraSlowPal -> Text
fromAvcIntraSlowPal ::
      Core.Text
  }
  deriving stock
    ( Int -> AvcIntraSlowPal -> ShowS
[AvcIntraSlowPal] -> ShowS
AvcIntraSlowPal -> String
(Int -> AvcIntraSlowPal -> ShowS)
-> (AvcIntraSlowPal -> String)
-> ([AvcIntraSlowPal] -> ShowS)
-> Show AvcIntraSlowPal
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AvcIntraSlowPal] -> ShowS
$cshowList :: [AvcIntraSlowPal] -> ShowS
show :: AvcIntraSlowPal -> String
$cshow :: AvcIntraSlowPal -> String
showsPrec :: Int -> AvcIntraSlowPal -> ShowS
$cshowsPrec :: Int -> AvcIntraSlowPal -> ShowS
Prelude.Show,
      ReadPrec [AvcIntraSlowPal]
ReadPrec AvcIntraSlowPal
Int -> ReadS AvcIntraSlowPal
ReadS [AvcIntraSlowPal]
(Int -> ReadS AvcIntraSlowPal)
-> ReadS [AvcIntraSlowPal]
-> ReadPrec AvcIntraSlowPal
-> ReadPrec [AvcIntraSlowPal]
-> Read AvcIntraSlowPal
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AvcIntraSlowPal]
$creadListPrec :: ReadPrec [AvcIntraSlowPal]
readPrec :: ReadPrec AvcIntraSlowPal
$creadPrec :: ReadPrec AvcIntraSlowPal
readList :: ReadS [AvcIntraSlowPal]
$creadList :: ReadS [AvcIntraSlowPal]
readsPrec :: Int -> ReadS AvcIntraSlowPal
$creadsPrec :: Int -> ReadS AvcIntraSlowPal
Prelude.Read,
      AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
(AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> Eq AvcIntraSlowPal
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c/= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
== :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c== :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
Prelude.Eq,
      Eq AvcIntraSlowPal
Eq AvcIntraSlowPal
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Ordering)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> Bool)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal)
-> (AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal)
-> Ord AvcIntraSlowPal
AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
AvcIntraSlowPal -> AvcIntraSlowPal -> Ordering
AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal
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 :: AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal
$cmin :: AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal
max :: AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal
$cmax :: AvcIntraSlowPal -> AvcIntraSlowPal -> AvcIntraSlowPal
>= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c>= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
> :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c> :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
<= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c<= :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
< :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
$c< :: AvcIntraSlowPal -> AvcIntraSlowPal -> Bool
compare :: AvcIntraSlowPal -> AvcIntraSlowPal -> Ordering
$ccompare :: AvcIntraSlowPal -> AvcIntraSlowPal -> Ordering
$cp1Ord :: Eq AvcIntraSlowPal
Prelude.Ord,
      (forall x. AvcIntraSlowPal -> Rep AvcIntraSlowPal x)
-> (forall x. Rep AvcIntraSlowPal x -> AvcIntraSlowPal)
-> Generic AvcIntraSlowPal
forall x. Rep AvcIntraSlowPal x -> AvcIntraSlowPal
forall x. AvcIntraSlowPal -> Rep AvcIntraSlowPal x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AvcIntraSlowPal x -> AvcIntraSlowPal
$cfrom :: forall x. AvcIntraSlowPal -> Rep AvcIntraSlowPal x
Prelude.Generic
    )
  deriving newtype
    ( Int -> AvcIntraSlowPal -> Int
AvcIntraSlowPal -> Int
(Int -> AvcIntraSlowPal -> Int)
-> (AvcIntraSlowPal -> Int) -> Hashable AvcIntraSlowPal
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AvcIntraSlowPal -> Int
$chash :: AvcIntraSlowPal -> Int
hashWithSalt :: Int -> AvcIntraSlowPal -> Int
$chashWithSalt :: Int -> AvcIntraSlowPal -> Int
Prelude.Hashable,
      AvcIntraSlowPal -> ()
(AvcIntraSlowPal -> ()) -> NFData AvcIntraSlowPal
forall a. (a -> ()) -> NFData a
rnf :: AvcIntraSlowPal -> ()
$crnf :: AvcIntraSlowPal -> ()
Prelude.NFData,
      Text -> Either String AvcIntraSlowPal
(Text -> Either String AvcIntraSlowPal) -> FromText AvcIntraSlowPal
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AvcIntraSlowPal
$cfromText :: Text -> Either String AvcIntraSlowPal
Core.FromText,
      AvcIntraSlowPal -> Text
(AvcIntraSlowPal -> Text) -> ToText AvcIntraSlowPal
forall a. (a -> Text) -> ToText a
toText :: AvcIntraSlowPal -> Text
$ctoText :: AvcIntraSlowPal -> Text
Core.ToText,
      AvcIntraSlowPal -> ByteString
(AvcIntraSlowPal -> ByteString) -> ToByteString AvcIntraSlowPal
forall a. (a -> ByteString) -> ToByteString a
toBS :: AvcIntraSlowPal -> ByteString
$ctoBS :: AvcIntraSlowPal -> ByteString
Core.ToByteString,
      AvcIntraSlowPal -> ByteStringBuilder
(AvcIntraSlowPal -> ByteStringBuilder) -> ToLog AvcIntraSlowPal
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AvcIntraSlowPal -> ByteStringBuilder
$cbuild :: AvcIntraSlowPal -> ByteStringBuilder
Core.ToLog,
      HeaderName -> AvcIntraSlowPal -> [Header]
(HeaderName -> AvcIntraSlowPal -> [Header])
-> ToHeader AvcIntraSlowPal
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AvcIntraSlowPal -> [Header]
$ctoHeader :: HeaderName -> AvcIntraSlowPal -> [Header]
Core.ToHeader,
      AvcIntraSlowPal -> QueryString
(AvcIntraSlowPal -> QueryString) -> ToQuery AvcIntraSlowPal
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AvcIntraSlowPal -> QueryString
$ctoQuery :: AvcIntraSlowPal -> QueryString
Core.ToQuery,
      Value -> Parser [AvcIntraSlowPal]
Value -> Parser AvcIntraSlowPal
(Value -> Parser AvcIntraSlowPal)
-> (Value -> Parser [AvcIntraSlowPal]) -> FromJSON AvcIntraSlowPal
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AvcIntraSlowPal]
$cparseJSONList :: Value -> Parser [AvcIntraSlowPal]
parseJSON :: Value -> Parser AvcIntraSlowPal
$cparseJSON :: Value -> Parser AvcIntraSlowPal
Core.FromJSON,
      FromJSONKeyFunction [AvcIntraSlowPal]
FromJSONKeyFunction AvcIntraSlowPal
FromJSONKeyFunction AvcIntraSlowPal
-> FromJSONKeyFunction [AvcIntraSlowPal]
-> FromJSONKey AvcIntraSlowPal
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AvcIntraSlowPal]
$cfromJSONKeyList :: FromJSONKeyFunction [AvcIntraSlowPal]
fromJSONKey :: FromJSONKeyFunction AvcIntraSlowPal
$cfromJSONKey :: FromJSONKeyFunction AvcIntraSlowPal
Core.FromJSONKey,
      [AvcIntraSlowPal] -> Encoding
[AvcIntraSlowPal] -> Value
AvcIntraSlowPal -> Encoding
AvcIntraSlowPal -> Value
(AvcIntraSlowPal -> Value)
-> (AvcIntraSlowPal -> Encoding)
-> ([AvcIntraSlowPal] -> Value)
-> ([AvcIntraSlowPal] -> Encoding)
-> ToJSON AvcIntraSlowPal
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AvcIntraSlowPal] -> Encoding
$ctoEncodingList :: [AvcIntraSlowPal] -> Encoding
toJSONList :: [AvcIntraSlowPal] -> Value
$ctoJSONList :: [AvcIntraSlowPal] -> Value
toEncoding :: AvcIntraSlowPal -> Encoding
$ctoEncoding :: AvcIntraSlowPal -> Encoding
toJSON :: AvcIntraSlowPal -> Value
$ctoJSON :: AvcIntraSlowPal -> Value
Core.ToJSON,
      ToJSONKeyFunction [AvcIntraSlowPal]
ToJSONKeyFunction AvcIntraSlowPal
ToJSONKeyFunction AvcIntraSlowPal
-> ToJSONKeyFunction [AvcIntraSlowPal] -> ToJSONKey AvcIntraSlowPal
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AvcIntraSlowPal]
$ctoJSONKeyList :: ToJSONKeyFunction [AvcIntraSlowPal]
toJSONKey :: ToJSONKeyFunction AvcIntraSlowPal
$ctoJSONKey :: ToJSONKeyFunction AvcIntraSlowPal
Core.ToJSONKey,
      [Node] -> Either String AvcIntraSlowPal
([Node] -> Either String AvcIntraSlowPal)
-> FromXML AvcIntraSlowPal
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AvcIntraSlowPal
$cparseXML :: [Node] -> Either String AvcIntraSlowPal
Core.FromXML,
      AvcIntraSlowPal -> XML
(AvcIntraSlowPal -> XML) -> ToXML AvcIntraSlowPal
forall a. (a -> XML) -> ToXML a
toXML :: AvcIntraSlowPal -> XML
$ctoXML :: AvcIntraSlowPal -> XML
Core.ToXML
    )

pattern AvcIntraSlowPal_DISABLED :: AvcIntraSlowPal
pattern $bAvcIntraSlowPal_DISABLED :: AvcIntraSlowPal
$mAvcIntraSlowPal_DISABLED :: forall r. AvcIntraSlowPal -> (Void# -> r) -> (Void# -> r) -> r
AvcIntraSlowPal_DISABLED = AvcIntraSlowPal' "DISABLED"

pattern AvcIntraSlowPal_ENABLED :: AvcIntraSlowPal
pattern $bAvcIntraSlowPal_ENABLED :: AvcIntraSlowPal
$mAvcIntraSlowPal_ENABLED :: forall r. AvcIntraSlowPal -> (Void# -> r) -> (Void# -> r) -> r
AvcIntraSlowPal_ENABLED = AvcIntraSlowPal' "ENABLED"

{-# COMPLETE
  AvcIntraSlowPal_DISABLED,
  AvcIntraSlowPal_ENABLED,
  AvcIntraSlowPal'
  #-}