{-# 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.XavcSlowPal
-- 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.XavcSlowPal
  ( XavcSlowPal
      ( ..,
        XavcSlowPal_DISABLED,
        XavcSlowPal_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 by
-- relabeling the video frames and resampling your audio. Note that
-- enabling this setting will slightly reduce the duration of your video.
-- Related settings: You must also set Frame rate to 25. In your JSON job
-- specification, set (framerateControl) to (SPECIFIED),
-- (framerateNumerator) to 25 and (framerateDenominator) to 1.
newtype XavcSlowPal = XavcSlowPal'
  { XavcSlowPal -> Text
fromXavcSlowPal ::
      Core.Text
  }
  deriving stock
    ( Int -> XavcSlowPal -> ShowS
[XavcSlowPal] -> ShowS
XavcSlowPal -> String
(Int -> XavcSlowPal -> ShowS)
-> (XavcSlowPal -> String)
-> ([XavcSlowPal] -> ShowS)
-> Show XavcSlowPal
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [XavcSlowPal] -> ShowS
$cshowList :: [XavcSlowPal] -> ShowS
show :: XavcSlowPal -> String
$cshow :: XavcSlowPal -> String
showsPrec :: Int -> XavcSlowPal -> ShowS
$cshowsPrec :: Int -> XavcSlowPal -> ShowS
Prelude.Show,
      ReadPrec [XavcSlowPal]
ReadPrec XavcSlowPal
Int -> ReadS XavcSlowPal
ReadS [XavcSlowPal]
(Int -> ReadS XavcSlowPal)
-> ReadS [XavcSlowPal]
-> ReadPrec XavcSlowPal
-> ReadPrec [XavcSlowPal]
-> Read XavcSlowPal
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [XavcSlowPal]
$creadListPrec :: ReadPrec [XavcSlowPal]
readPrec :: ReadPrec XavcSlowPal
$creadPrec :: ReadPrec XavcSlowPal
readList :: ReadS [XavcSlowPal]
$creadList :: ReadS [XavcSlowPal]
readsPrec :: Int -> ReadS XavcSlowPal
$creadsPrec :: Int -> ReadS XavcSlowPal
Prelude.Read,
      XavcSlowPal -> XavcSlowPal -> Bool
(XavcSlowPal -> XavcSlowPal -> Bool)
-> (XavcSlowPal -> XavcSlowPal -> Bool) -> Eq XavcSlowPal
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: XavcSlowPal -> XavcSlowPal -> Bool
$c/= :: XavcSlowPal -> XavcSlowPal -> Bool
== :: XavcSlowPal -> XavcSlowPal -> Bool
$c== :: XavcSlowPal -> XavcSlowPal -> Bool
Prelude.Eq,
      Eq XavcSlowPal
Eq XavcSlowPal
-> (XavcSlowPal -> XavcSlowPal -> Ordering)
-> (XavcSlowPal -> XavcSlowPal -> Bool)
-> (XavcSlowPal -> XavcSlowPal -> Bool)
-> (XavcSlowPal -> XavcSlowPal -> Bool)
-> (XavcSlowPal -> XavcSlowPal -> Bool)
-> (XavcSlowPal -> XavcSlowPal -> XavcSlowPal)
-> (XavcSlowPal -> XavcSlowPal -> XavcSlowPal)
-> Ord XavcSlowPal
XavcSlowPal -> XavcSlowPal -> Bool
XavcSlowPal -> XavcSlowPal -> Ordering
XavcSlowPal -> XavcSlowPal -> XavcSlowPal
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 :: XavcSlowPal -> XavcSlowPal -> XavcSlowPal
$cmin :: XavcSlowPal -> XavcSlowPal -> XavcSlowPal
max :: XavcSlowPal -> XavcSlowPal -> XavcSlowPal
$cmax :: XavcSlowPal -> XavcSlowPal -> XavcSlowPal
>= :: XavcSlowPal -> XavcSlowPal -> Bool
$c>= :: XavcSlowPal -> XavcSlowPal -> Bool
> :: XavcSlowPal -> XavcSlowPal -> Bool
$c> :: XavcSlowPal -> XavcSlowPal -> Bool
<= :: XavcSlowPal -> XavcSlowPal -> Bool
$c<= :: XavcSlowPal -> XavcSlowPal -> Bool
< :: XavcSlowPal -> XavcSlowPal -> Bool
$c< :: XavcSlowPal -> XavcSlowPal -> Bool
compare :: XavcSlowPal -> XavcSlowPal -> Ordering
$ccompare :: XavcSlowPal -> XavcSlowPal -> Ordering
$cp1Ord :: Eq XavcSlowPal
Prelude.Ord,
      (forall x. XavcSlowPal -> Rep XavcSlowPal x)
-> (forall x. Rep XavcSlowPal x -> XavcSlowPal)
-> Generic XavcSlowPal
forall x. Rep XavcSlowPal x -> XavcSlowPal
forall x. XavcSlowPal -> Rep XavcSlowPal x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep XavcSlowPal x -> XavcSlowPal
$cfrom :: forall x. XavcSlowPal -> Rep XavcSlowPal x
Prelude.Generic
    )
  deriving newtype
    ( Int -> XavcSlowPal -> Int
XavcSlowPal -> Int
(Int -> XavcSlowPal -> Int)
-> (XavcSlowPal -> Int) -> Hashable XavcSlowPal
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: XavcSlowPal -> Int
$chash :: XavcSlowPal -> Int
hashWithSalt :: Int -> XavcSlowPal -> Int
$chashWithSalt :: Int -> XavcSlowPal -> Int
Prelude.Hashable,
      XavcSlowPal -> ()
(XavcSlowPal -> ()) -> NFData XavcSlowPal
forall a. (a -> ()) -> NFData a
rnf :: XavcSlowPal -> ()
$crnf :: XavcSlowPal -> ()
Prelude.NFData,
      Text -> Either String XavcSlowPal
(Text -> Either String XavcSlowPal) -> FromText XavcSlowPal
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String XavcSlowPal
$cfromText :: Text -> Either String XavcSlowPal
Core.FromText,
      XavcSlowPal -> Text
(XavcSlowPal -> Text) -> ToText XavcSlowPal
forall a. (a -> Text) -> ToText a
toText :: XavcSlowPal -> Text
$ctoText :: XavcSlowPal -> Text
Core.ToText,
      XavcSlowPal -> ByteString
(XavcSlowPal -> ByteString) -> ToByteString XavcSlowPal
forall a. (a -> ByteString) -> ToByteString a
toBS :: XavcSlowPal -> ByteString
$ctoBS :: XavcSlowPal -> ByteString
Core.ToByteString,
      XavcSlowPal -> ByteStringBuilder
(XavcSlowPal -> ByteStringBuilder) -> ToLog XavcSlowPal
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: XavcSlowPal -> ByteStringBuilder
$cbuild :: XavcSlowPal -> ByteStringBuilder
Core.ToLog,
      HeaderName -> XavcSlowPal -> [Header]
(HeaderName -> XavcSlowPal -> [Header]) -> ToHeader XavcSlowPal
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> XavcSlowPal -> [Header]
$ctoHeader :: HeaderName -> XavcSlowPal -> [Header]
Core.ToHeader,
      XavcSlowPal -> QueryString
(XavcSlowPal -> QueryString) -> ToQuery XavcSlowPal
forall a. (a -> QueryString) -> ToQuery a
toQuery :: XavcSlowPal -> QueryString
$ctoQuery :: XavcSlowPal -> QueryString
Core.ToQuery,
      Value -> Parser [XavcSlowPal]
Value -> Parser XavcSlowPal
(Value -> Parser XavcSlowPal)
-> (Value -> Parser [XavcSlowPal]) -> FromJSON XavcSlowPal
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [XavcSlowPal]
$cparseJSONList :: Value -> Parser [XavcSlowPal]
parseJSON :: Value -> Parser XavcSlowPal
$cparseJSON :: Value -> Parser XavcSlowPal
Core.FromJSON,
      FromJSONKeyFunction [XavcSlowPal]
FromJSONKeyFunction XavcSlowPal
FromJSONKeyFunction XavcSlowPal
-> FromJSONKeyFunction [XavcSlowPal] -> FromJSONKey XavcSlowPal
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [XavcSlowPal]
$cfromJSONKeyList :: FromJSONKeyFunction [XavcSlowPal]
fromJSONKey :: FromJSONKeyFunction XavcSlowPal
$cfromJSONKey :: FromJSONKeyFunction XavcSlowPal
Core.FromJSONKey,
      [XavcSlowPal] -> Encoding
[XavcSlowPal] -> Value
XavcSlowPal -> Encoding
XavcSlowPal -> Value
(XavcSlowPal -> Value)
-> (XavcSlowPal -> Encoding)
-> ([XavcSlowPal] -> Value)
-> ([XavcSlowPal] -> Encoding)
-> ToJSON XavcSlowPal
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [XavcSlowPal] -> Encoding
$ctoEncodingList :: [XavcSlowPal] -> Encoding
toJSONList :: [XavcSlowPal] -> Value
$ctoJSONList :: [XavcSlowPal] -> Value
toEncoding :: XavcSlowPal -> Encoding
$ctoEncoding :: XavcSlowPal -> Encoding
toJSON :: XavcSlowPal -> Value
$ctoJSON :: XavcSlowPal -> Value
Core.ToJSON,
      ToJSONKeyFunction [XavcSlowPal]
ToJSONKeyFunction XavcSlowPal
ToJSONKeyFunction XavcSlowPal
-> ToJSONKeyFunction [XavcSlowPal] -> ToJSONKey XavcSlowPal
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [XavcSlowPal]
$ctoJSONKeyList :: ToJSONKeyFunction [XavcSlowPal]
toJSONKey :: ToJSONKeyFunction XavcSlowPal
$ctoJSONKey :: ToJSONKeyFunction XavcSlowPal
Core.ToJSONKey,
      [Node] -> Either String XavcSlowPal
([Node] -> Either String XavcSlowPal) -> FromXML XavcSlowPal
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String XavcSlowPal
$cparseXML :: [Node] -> Either String XavcSlowPal
Core.FromXML,
      XavcSlowPal -> XML
(XavcSlowPal -> XML) -> ToXML XavcSlowPal
forall a. (a -> XML) -> ToXML a
toXML :: XavcSlowPal -> XML
$ctoXML :: XavcSlowPal -> XML
Core.ToXML
    )

pattern XavcSlowPal_DISABLED :: XavcSlowPal
pattern $bXavcSlowPal_DISABLED :: XavcSlowPal
$mXavcSlowPal_DISABLED :: forall r. XavcSlowPal -> (Void# -> r) -> (Void# -> r) -> r
XavcSlowPal_DISABLED = XavcSlowPal' "DISABLED"

pattern XavcSlowPal_ENABLED :: XavcSlowPal
pattern $bXavcSlowPal_ENABLED :: XavcSlowPal
$mXavcSlowPal_ENABLED :: forall r. XavcSlowPal -> (Void# -> r) -> (Void# -> r) -> r
XavcSlowPal_ENABLED = XavcSlowPal' "ENABLED"

{-# COMPLETE
  XavcSlowPal_DISABLED,
  XavcSlowPal_ENABLED,
  XavcSlowPal'
  #-}