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