{-# 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.Prelude as Prelude
newtype H264ScanTypeConversionMode = H264ScanTypeConversionMode'
{ H264ScanTypeConversionMode -> Text
fromH264ScanTypeConversionMode ::
Core.Text
}
deriving stock
( Int -> H264ScanTypeConversionMode -> ShowS
[H264ScanTypeConversionMode] -> ShowS
H264ScanTypeConversionMode -> String
(Int -> H264ScanTypeConversionMode -> ShowS)
-> (H264ScanTypeConversionMode -> String)
-> ([H264ScanTypeConversionMode] -> ShowS)
-> Show H264ScanTypeConversionMode
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]
(Int -> ReadS H264ScanTypeConversionMode)
-> ReadS [H264ScanTypeConversionMode]
-> ReadPrec H264ScanTypeConversionMode
-> ReadPrec [H264ScanTypeConversionMode]
-> Read 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
(H264ScanTypeConversionMode -> H264ScanTypeConversionMode -> Bool)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Bool)
-> Eq H264ScanTypeConversionMode
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
Eq H264ScanTypeConversionMode
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Ordering)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Bool)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Bool)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Bool)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> Bool)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> H264ScanTypeConversionMode)
-> (H264ScanTypeConversionMode
-> H264ScanTypeConversionMode -> H264ScanTypeConversionMode)
-> Ord 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
$cp1Ord :: Eq H264ScanTypeConversionMode
Prelude.Ord,
(forall x.
H264ScanTypeConversionMode -> Rep H264ScanTypeConversionMode x)
-> (forall x.
Rep H264ScanTypeConversionMode x -> H264ScanTypeConversionMode)
-> Generic H264ScanTypeConversionMode
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
( Int -> H264ScanTypeConversionMode -> Int
H264ScanTypeConversionMode -> Int
(Int -> H264ScanTypeConversionMode -> Int)
-> (H264ScanTypeConversionMode -> Int)
-> Hashable H264ScanTypeConversionMode
forall 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 -> ()
(H264ScanTypeConversionMode -> ())
-> NFData H264ScanTypeConversionMode
forall a. (a -> ()) -> NFData a
rnf :: H264ScanTypeConversionMode -> ()
$crnf :: H264ScanTypeConversionMode -> ()
Prelude.NFData,
Text -> Either String H264ScanTypeConversionMode
(Text -> Either String H264ScanTypeConversionMode)
-> FromText H264ScanTypeConversionMode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264ScanTypeConversionMode
$cfromText :: Text -> Either String H264ScanTypeConversionMode
Core.FromText,
H264ScanTypeConversionMode -> Text
(H264ScanTypeConversionMode -> Text)
-> ToText H264ScanTypeConversionMode
forall a. (a -> Text) -> ToText a
toText :: H264ScanTypeConversionMode -> Text
$ctoText :: H264ScanTypeConversionMode -> Text
Core.ToText,
H264ScanTypeConversionMode -> ByteString
(H264ScanTypeConversionMode -> ByteString)
-> ToByteString H264ScanTypeConversionMode
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264ScanTypeConversionMode -> ByteString
$ctoBS :: H264ScanTypeConversionMode -> ByteString
Core.ToByteString,
H264ScanTypeConversionMode -> ByteStringBuilder
(H264ScanTypeConversionMode -> ByteStringBuilder)
-> ToLog H264ScanTypeConversionMode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264ScanTypeConversionMode -> ByteStringBuilder
$cbuild :: H264ScanTypeConversionMode -> ByteStringBuilder
Core.ToLog,
HeaderName -> H264ScanTypeConversionMode -> [Header]
(HeaderName -> H264ScanTypeConversionMode -> [Header])
-> ToHeader H264ScanTypeConversionMode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264ScanTypeConversionMode -> [Header]
$ctoHeader :: HeaderName -> H264ScanTypeConversionMode -> [Header]
Core.ToHeader,
H264ScanTypeConversionMode -> QueryString
(H264ScanTypeConversionMode -> QueryString)
-> ToQuery H264ScanTypeConversionMode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264ScanTypeConversionMode -> QueryString
$ctoQuery :: H264ScanTypeConversionMode -> QueryString
Core.ToQuery,
Value -> Parser [H264ScanTypeConversionMode]
Value -> Parser H264ScanTypeConversionMode
(Value -> Parser H264ScanTypeConversionMode)
-> (Value -> Parser [H264ScanTypeConversionMode])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [H264ScanTypeConversionMode]
FromJSONKeyFunction H264ScanTypeConversionMode
FromJSONKeyFunction H264ScanTypeConversionMode
-> FromJSONKeyFunction [H264ScanTypeConversionMode]
-> FromJSONKey H264ScanTypeConversionMode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264ScanTypeConversionMode]
$cfromJSONKeyList :: FromJSONKeyFunction [H264ScanTypeConversionMode]
fromJSONKey :: FromJSONKeyFunction H264ScanTypeConversionMode
$cfromJSONKey :: FromJSONKeyFunction H264ScanTypeConversionMode
Core.FromJSONKey,
[H264ScanTypeConversionMode] -> Encoding
[H264ScanTypeConversionMode] -> Value
H264ScanTypeConversionMode -> Encoding
H264ScanTypeConversionMode -> Value
(H264ScanTypeConversionMode -> Value)
-> (H264ScanTypeConversionMode -> Encoding)
-> ([H264ScanTypeConversionMode] -> Value)
-> ([H264ScanTypeConversionMode] -> Encoding)
-> ToJSON H264ScanTypeConversionMode
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
Core.ToJSON,
ToJSONKeyFunction [H264ScanTypeConversionMode]
ToJSONKeyFunction H264ScanTypeConversionMode
ToJSONKeyFunction H264ScanTypeConversionMode
-> ToJSONKeyFunction [H264ScanTypeConversionMode]
-> ToJSONKey H264ScanTypeConversionMode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264ScanTypeConversionMode]
$ctoJSONKeyList :: ToJSONKeyFunction [H264ScanTypeConversionMode]
toJSONKey :: ToJSONKeyFunction H264ScanTypeConversionMode
$ctoJSONKey :: ToJSONKeyFunction H264ScanTypeConversionMode
Core.ToJSONKey,
[Node] -> Either String H264ScanTypeConversionMode
([Node] -> Either String H264ScanTypeConversionMode)
-> FromXML H264ScanTypeConversionMode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264ScanTypeConversionMode
$cparseXML :: [Node] -> Either String H264ScanTypeConversionMode
Core.FromXML,
H264ScanTypeConversionMode -> XML
(H264ScanTypeConversionMode -> XML)
-> ToXML H264ScanTypeConversionMode
forall a. (a -> XML) -> ToXML a
toXML :: H264ScanTypeConversionMode -> XML
$ctoXML :: H264ScanTypeConversionMode -> XML
Core.ToXML
)
pattern H264ScanTypeConversionMode_INTERLACED :: H264ScanTypeConversionMode
pattern $bH264ScanTypeConversionMode_INTERLACED :: H264ScanTypeConversionMode
$mH264ScanTypeConversionMode_INTERLACED :: forall r.
H264ScanTypeConversionMode -> (Void# -> r) -> (Void# -> r) -> r
H264ScanTypeConversionMode_INTERLACED = H264ScanTypeConversionMode' "INTERLACED"
pattern H264ScanTypeConversionMode_INTERLACED_OPTIMIZE :: H264ScanTypeConversionMode
pattern $bH264ScanTypeConversionMode_INTERLACED_OPTIMIZE :: H264ScanTypeConversionMode
$mH264ScanTypeConversionMode_INTERLACED_OPTIMIZE :: forall r.
H264ScanTypeConversionMode -> (Void# -> r) -> (Void# -> r) -> r
H264ScanTypeConversionMode_INTERLACED_OPTIMIZE = H264ScanTypeConversionMode' "INTERLACED_OPTIMIZE"
{-# COMPLETE
H264ScanTypeConversionMode_INTERLACED,
H264ScanTypeConversionMode_INTERLACED_OPTIMIZE,
H264ScanTypeConversionMode'
#-}