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