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