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