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