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