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

pattern Vc3SlowPal_DISABLED :: Vc3SlowPal
pattern $bVc3SlowPal_DISABLED :: Vc3SlowPal
$mVc3SlowPal_DISABLED :: forall r. Vc3SlowPal -> (Void# -> r) -> (Void# -> r) -> r
Vc3SlowPal_DISABLED = Vc3SlowPal' "DISABLED"

pattern Vc3SlowPal_ENABLED :: Vc3SlowPal
pattern $bVc3SlowPal_ENABLED :: Vc3SlowPal
$mVc3SlowPal_ENABLED :: forall r. Vc3SlowPal -> (Void# -> r) -> (Void# -> r) -> r
Vc3SlowPal_ENABLED = Vc3SlowPal' "ENABLED"

{-# COMPLETE
  Vc3SlowPal_DISABLED,
  Vc3SlowPal_ENABLED,
  Vc3SlowPal'
  #-}