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