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