{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.Mpeg2IntraDcPrecision
( Mpeg2IntraDcPrecision
( ..,
Mpeg2IntraDcPrecision_AUTO,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_10,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_11,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_8,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_9
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Mpeg2IntraDcPrecision = Mpeg2IntraDcPrecision'
{ Mpeg2IntraDcPrecision -> Text
fromMpeg2IntraDcPrecision ::
Core.Text
}
deriving stock
( Int -> Mpeg2IntraDcPrecision -> ShowS
[Mpeg2IntraDcPrecision] -> ShowS
Mpeg2IntraDcPrecision -> String
(Int -> Mpeg2IntraDcPrecision -> ShowS)
-> (Mpeg2IntraDcPrecision -> String)
-> ([Mpeg2IntraDcPrecision] -> ShowS)
-> Show Mpeg2IntraDcPrecision
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Mpeg2IntraDcPrecision] -> ShowS
$cshowList :: [Mpeg2IntraDcPrecision] -> ShowS
show :: Mpeg2IntraDcPrecision -> String
$cshow :: Mpeg2IntraDcPrecision -> String
showsPrec :: Int -> Mpeg2IntraDcPrecision -> ShowS
$cshowsPrec :: Int -> Mpeg2IntraDcPrecision -> ShowS
Prelude.Show,
ReadPrec [Mpeg2IntraDcPrecision]
ReadPrec Mpeg2IntraDcPrecision
Int -> ReadS Mpeg2IntraDcPrecision
ReadS [Mpeg2IntraDcPrecision]
(Int -> ReadS Mpeg2IntraDcPrecision)
-> ReadS [Mpeg2IntraDcPrecision]
-> ReadPrec Mpeg2IntraDcPrecision
-> ReadPrec [Mpeg2IntraDcPrecision]
-> Read Mpeg2IntraDcPrecision
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Mpeg2IntraDcPrecision]
$creadListPrec :: ReadPrec [Mpeg2IntraDcPrecision]
readPrec :: ReadPrec Mpeg2IntraDcPrecision
$creadPrec :: ReadPrec Mpeg2IntraDcPrecision
readList :: ReadS [Mpeg2IntraDcPrecision]
$creadList :: ReadS [Mpeg2IntraDcPrecision]
readsPrec :: Int -> ReadS Mpeg2IntraDcPrecision
$creadsPrec :: Int -> ReadS Mpeg2IntraDcPrecision
Prelude.Read,
Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
(Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> Eq Mpeg2IntraDcPrecision
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c/= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
== :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c== :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
Prelude.Eq,
Eq Mpeg2IntraDcPrecision
Eq Mpeg2IntraDcPrecision
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Ordering)
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> (Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool)
-> (Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision)
-> (Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision)
-> Ord Mpeg2IntraDcPrecision
Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Ordering
Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision
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 :: Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision
$cmin :: Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision
max :: Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision
$cmax :: Mpeg2IntraDcPrecision
-> Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision
>= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c>= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
> :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c> :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
<= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c<= :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
< :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
$c< :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Bool
compare :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Ordering
$ccompare :: Mpeg2IntraDcPrecision -> Mpeg2IntraDcPrecision -> Ordering
$cp1Ord :: Eq Mpeg2IntraDcPrecision
Prelude.Ord,
(forall x. Mpeg2IntraDcPrecision -> Rep Mpeg2IntraDcPrecision x)
-> (forall x. Rep Mpeg2IntraDcPrecision x -> Mpeg2IntraDcPrecision)
-> Generic Mpeg2IntraDcPrecision
forall x. Rep Mpeg2IntraDcPrecision x -> Mpeg2IntraDcPrecision
forall x. Mpeg2IntraDcPrecision -> Rep Mpeg2IntraDcPrecision x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Mpeg2IntraDcPrecision x -> Mpeg2IntraDcPrecision
$cfrom :: forall x. Mpeg2IntraDcPrecision -> Rep Mpeg2IntraDcPrecision x
Prelude.Generic
)
deriving newtype
( Int -> Mpeg2IntraDcPrecision -> Int
Mpeg2IntraDcPrecision -> Int
(Int -> Mpeg2IntraDcPrecision -> Int)
-> (Mpeg2IntraDcPrecision -> Int) -> Hashable Mpeg2IntraDcPrecision
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Mpeg2IntraDcPrecision -> Int
$chash :: Mpeg2IntraDcPrecision -> Int
hashWithSalt :: Int -> Mpeg2IntraDcPrecision -> Int
$chashWithSalt :: Int -> Mpeg2IntraDcPrecision -> Int
Prelude.Hashable,
Mpeg2IntraDcPrecision -> ()
(Mpeg2IntraDcPrecision -> ()) -> NFData Mpeg2IntraDcPrecision
forall a. (a -> ()) -> NFData a
rnf :: Mpeg2IntraDcPrecision -> ()
$crnf :: Mpeg2IntraDcPrecision -> ()
Prelude.NFData,
Text -> Either String Mpeg2IntraDcPrecision
(Text -> Either String Mpeg2IntraDcPrecision)
-> FromText Mpeg2IntraDcPrecision
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Mpeg2IntraDcPrecision
$cfromText :: Text -> Either String Mpeg2IntraDcPrecision
Core.FromText,
Mpeg2IntraDcPrecision -> Text
(Mpeg2IntraDcPrecision -> Text) -> ToText Mpeg2IntraDcPrecision
forall a. (a -> Text) -> ToText a
toText :: Mpeg2IntraDcPrecision -> Text
$ctoText :: Mpeg2IntraDcPrecision -> Text
Core.ToText,
Mpeg2IntraDcPrecision -> ByteString
(Mpeg2IntraDcPrecision -> ByteString)
-> ToByteString Mpeg2IntraDcPrecision
forall a. (a -> ByteString) -> ToByteString a
toBS :: Mpeg2IntraDcPrecision -> ByteString
$ctoBS :: Mpeg2IntraDcPrecision -> ByteString
Core.ToByteString,
Mpeg2IntraDcPrecision -> ByteStringBuilder
(Mpeg2IntraDcPrecision -> ByteStringBuilder)
-> ToLog Mpeg2IntraDcPrecision
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Mpeg2IntraDcPrecision -> ByteStringBuilder
$cbuild :: Mpeg2IntraDcPrecision -> ByteStringBuilder
Core.ToLog,
HeaderName -> Mpeg2IntraDcPrecision -> [Header]
(HeaderName -> Mpeg2IntraDcPrecision -> [Header])
-> ToHeader Mpeg2IntraDcPrecision
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Mpeg2IntraDcPrecision -> [Header]
$ctoHeader :: HeaderName -> Mpeg2IntraDcPrecision -> [Header]
Core.ToHeader,
Mpeg2IntraDcPrecision -> QueryString
(Mpeg2IntraDcPrecision -> QueryString)
-> ToQuery Mpeg2IntraDcPrecision
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Mpeg2IntraDcPrecision -> QueryString
$ctoQuery :: Mpeg2IntraDcPrecision -> QueryString
Core.ToQuery,
Value -> Parser [Mpeg2IntraDcPrecision]
Value -> Parser Mpeg2IntraDcPrecision
(Value -> Parser Mpeg2IntraDcPrecision)
-> (Value -> Parser [Mpeg2IntraDcPrecision])
-> FromJSON Mpeg2IntraDcPrecision
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Mpeg2IntraDcPrecision]
$cparseJSONList :: Value -> Parser [Mpeg2IntraDcPrecision]
parseJSON :: Value -> Parser Mpeg2IntraDcPrecision
$cparseJSON :: Value -> Parser Mpeg2IntraDcPrecision
Core.FromJSON,
FromJSONKeyFunction [Mpeg2IntraDcPrecision]
FromJSONKeyFunction Mpeg2IntraDcPrecision
FromJSONKeyFunction Mpeg2IntraDcPrecision
-> FromJSONKeyFunction [Mpeg2IntraDcPrecision]
-> FromJSONKey Mpeg2IntraDcPrecision
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Mpeg2IntraDcPrecision]
$cfromJSONKeyList :: FromJSONKeyFunction [Mpeg2IntraDcPrecision]
fromJSONKey :: FromJSONKeyFunction Mpeg2IntraDcPrecision
$cfromJSONKey :: FromJSONKeyFunction Mpeg2IntraDcPrecision
Core.FromJSONKey,
[Mpeg2IntraDcPrecision] -> Encoding
[Mpeg2IntraDcPrecision] -> Value
Mpeg2IntraDcPrecision -> Encoding
Mpeg2IntraDcPrecision -> Value
(Mpeg2IntraDcPrecision -> Value)
-> (Mpeg2IntraDcPrecision -> Encoding)
-> ([Mpeg2IntraDcPrecision] -> Value)
-> ([Mpeg2IntraDcPrecision] -> Encoding)
-> ToJSON Mpeg2IntraDcPrecision
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Mpeg2IntraDcPrecision] -> Encoding
$ctoEncodingList :: [Mpeg2IntraDcPrecision] -> Encoding
toJSONList :: [Mpeg2IntraDcPrecision] -> Value
$ctoJSONList :: [Mpeg2IntraDcPrecision] -> Value
toEncoding :: Mpeg2IntraDcPrecision -> Encoding
$ctoEncoding :: Mpeg2IntraDcPrecision -> Encoding
toJSON :: Mpeg2IntraDcPrecision -> Value
$ctoJSON :: Mpeg2IntraDcPrecision -> Value
Core.ToJSON,
ToJSONKeyFunction [Mpeg2IntraDcPrecision]
ToJSONKeyFunction Mpeg2IntraDcPrecision
ToJSONKeyFunction Mpeg2IntraDcPrecision
-> ToJSONKeyFunction [Mpeg2IntraDcPrecision]
-> ToJSONKey Mpeg2IntraDcPrecision
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Mpeg2IntraDcPrecision]
$ctoJSONKeyList :: ToJSONKeyFunction [Mpeg2IntraDcPrecision]
toJSONKey :: ToJSONKeyFunction Mpeg2IntraDcPrecision
$ctoJSONKey :: ToJSONKeyFunction Mpeg2IntraDcPrecision
Core.ToJSONKey,
[Node] -> Either String Mpeg2IntraDcPrecision
([Node] -> Either String Mpeg2IntraDcPrecision)
-> FromXML Mpeg2IntraDcPrecision
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Mpeg2IntraDcPrecision
$cparseXML :: [Node] -> Either String Mpeg2IntraDcPrecision
Core.FromXML,
Mpeg2IntraDcPrecision -> XML
(Mpeg2IntraDcPrecision -> XML) -> ToXML Mpeg2IntraDcPrecision
forall a. (a -> XML) -> ToXML a
toXML :: Mpeg2IntraDcPrecision -> XML
$ctoXML :: Mpeg2IntraDcPrecision -> XML
Core.ToXML
)
pattern Mpeg2IntraDcPrecision_AUTO :: Mpeg2IntraDcPrecision
pattern $bMpeg2IntraDcPrecision_AUTO :: Mpeg2IntraDcPrecision
$mMpeg2IntraDcPrecision_AUTO :: forall r.
Mpeg2IntraDcPrecision -> (Void# -> r) -> (Void# -> r) -> r
Mpeg2IntraDcPrecision_AUTO = Mpeg2IntraDcPrecision' "AUTO"
pattern Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_10 :: Mpeg2IntraDcPrecision
pattern $bMpeg2IntraDcPrecision_INTRA_DC_PRECISION_10 :: Mpeg2IntraDcPrecision
$mMpeg2IntraDcPrecision_INTRA_DC_PRECISION_10 :: forall r.
Mpeg2IntraDcPrecision -> (Void# -> r) -> (Void# -> r) -> r
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_10 = Mpeg2IntraDcPrecision' "INTRA_DC_PRECISION_10"
pattern Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_11 :: Mpeg2IntraDcPrecision
pattern $bMpeg2IntraDcPrecision_INTRA_DC_PRECISION_11 :: Mpeg2IntraDcPrecision
$mMpeg2IntraDcPrecision_INTRA_DC_PRECISION_11 :: forall r.
Mpeg2IntraDcPrecision -> (Void# -> r) -> (Void# -> r) -> r
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_11 = Mpeg2IntraDcPrecision' "INTRA_DC_PRECISION_11"
pattern Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_8 :: Mpeg2IntraDcPrecision
pattern $bMpeg2IntraDcPrecision_INTRA_DC_PRECISION_8 :: Mpeg2IntraDcPrecision
$mMpeg2IntraDcPrecision_INTRA_DC_PRECISION_8 :: forall r.
Mpeg2IntraDcPrecision -> (Void# -> r) -> (Void# -> r) -> r
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_8 = Mpeg2IntraDcPrecision' "INTRA_DC_PRECISION_8"
pattern Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_9 :: Mpeg2IntraDcPrecision
pattern $bMpeg2IntraDcPrecision_INTRA_DC_PRECISION_9 :: Mpeg2IntraDcPrecision
$mMpeg2IntraDcPrecision_INTRA_DC_PRECISION_9 :: forall r.
Mpeg2IntraDcPrecision -> (Void# -> r) -> (Void# -> r) -> r
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_9 = Mpeg2IntraDcPrecision' "INTRA_DC_PRECISION_9"
{-# COMPLETE
Mpeg2IntraDcPrecision_AUTO,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_10,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_11,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_8,
Mpeg2IntraDcPrecision_INTRA_DC_PRECISION_9,
Mpeg2IntraDcPrecision'
#-}