{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaConvert.Types.InputDeblockFilter
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaConvert.Types.InputDeblockFilter
  ( InputDeblockFilter
      ( ..,
        InputDeblockFilter_DISABLED,
        InputDeblockFilter_ENABLED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Enable Deblock (InputDeblockFilter) to produce smoother motion in the
-- output. Default is disabled. Only manually controllable for MPEG2 and
-- uncompressed video inputs.
newtype InputDeblockFilter = InputDeblockFilter'
  { InputDeblockFilter -> Text
fromInputDeblockFilter ::
      Data.Text
  }
  deriving stock
    ( Int -> InputDeblockFilter -> ShowS
[InputDeblockFilter] -> ShowS
InputDeblockFilter -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InputDeblockFilter] -> ShowS
$cshowList :: [InputDeblockFilter] -> ShowS
show :: InputDeblockFilter -> String
$cshow :: InputDeblockFilter -> String
showsPrec :: Int -> InputDeblockFilter -> ShowS
$cshowsPrec :: Int -> InputDeblockFilter -> ShowS
Prelude.Show,
      ReadPrec [InputDeblockFilter]
ReadPrec InputDeblockFilter
Int -> ReadS InputDeblockFilter
ReadS [InputDeblockFilter]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InputDeblockFilter]
$creadListPrec :: ReadPrec [InputDeblockFilter]
readPrec :: ReadPrec InputDeblockFilter
$creadPrec :: ReadPrec InputDeblockFilter
readList :: ReadS [InputDeblockFilter]
$creadList :: ReadS [InputDeblockFilter]
readsPrec :: Int -> ReadS InputDeblockFilter
$creadsPrec :: Int -> ReadS InputDeblockFilter
Prelude.Read,
      InputDeblockFilter -> InputDeblockFilter -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c/= :: InputDeblockFilter -> InputDeblockFilter -> Bool
== :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c== :: InputDeblockFilter -> InputDeblockFilter -> Bool
Prelude.Eq,
      Eq InputDeblockFilter
InputDeblockFilter -> InputDeblockFilter -> Bool
InputDeblockFilter -> InputDeblockFilter -> Ordering
InputDeblockFilter -> InputDeblockFilter -> InputDeblockFilter
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 :: InputDeblockFilter -> InputDeblockFilter -> InputDeblockFilter
$cmin :: InputDeblockFilter -> InputDeblockFilter -> InputDeblockFilter
max :: InputDeblockFilter -> InputDeblockFilter -> InputDeblockFilter
$cmax :: InputDeblockFilter -> InputDeblockFilter -> InputDeblockFilter
>= :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c>= :: InputDeblockFilter -> InputDeblockFilter -> Bool
> :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c> :: InputDeblockFilter -> InputDeblockFilter -> Bool
<= :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c<= :: InputDeblockFilter -> InputDeblockFilter -> Bool
< :: InputDeblockFilter -> InputDeblockFilter -> Bool
$c< :: InputDeblockFilter -> InputDeblockFilter -> Bool
compare :: InputDeblockFilter -> InputDeblockFilter -> Ordering
$ccompare :: InputDeblockFilter -> InputDeblockFilter -> Ordering
Prelude.Ord,
      forall x. Rep InputDeblockFilter x -> InputDeblockFilter
forall x. InputDeblockFilter -> Rep InputDeblockFilter x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep InputDeblockFilter x -> InputDeblockFilter
$cfrom :: forall x. InputDeblockFilter -> Rep InputDeblockFilter x
Prelude.Generic
    )
  deriving newtype
    ( Eq InputDeblockFilter
Int -> InputDeblockFilter -> Int
InputDeblockFilter -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: InputDeblockFilter -> Int
$chash :: InputDeblockFilter -> Int
hashWithSalt :: Int -> InputDeblockFilter -> Int
$chashWithSalt :: Int -> InputDeblockFilter -> Int
Prelude.Hashable,
      InputDeblockFilter -> ()
forall a. (a -> ()) -> NFData a
rnf :: InputDeblockFilter -> ()
$crnf :: InputDeblockFilter -> ()
Prelude.NFData,
      Text -> Either String InputDeblockFilter
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InputDeblockFilter
$cfromText :: Text -> Either String InputDeblockFilter
Data.FromText,
      InputDeblockFilter -> Text
forall a. (a -> Text) -> ToText a
toText :: InputDeblockFilter -> Text
$ctoText :: InputDeblockFilter -> Text
Data.ToText,
      InputDeblockFilter -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: InputDeblockFilter -> ByteString
$ctoBS :: InputDeblockFilter -> ByteString
Data.ToByteString,
      InputDeblockFilter -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InputDeblockFilter -> ByteStringBuilder
$cbuild :: InputDeblockFilter -> ByteStringBuilder
Data.ToLog,
      HeaderName -> InputDeblockFilter -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InputDeblockFilter -> [Header]
$ctoHeader :: HeaderName -> InputDeblockFilter -> [Header]
Data.ToHeader,
      InputDeblockFilter -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InputDeblockFilter -> QueryString
$ctoQuery :: InputDeblockFilter -> QueryString
Data.ToQuery,
      Value -> Parser [InputDeblockFilter]
Value -> Parser InputDeblockFilter
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [InputDeblockFilter]
$cparseJSONList :: Value -> Parser [InputDeblockFilter]
parseJSON :: Value -> Parser InputDeblockFilter
$cparseJSON :: Value -> Parser InputDeblockFilter
Data.FromJSON,
      FromJSONKeyFunction [InputDeblockFilter]
FromJSONKeyFunction InputDeblockFilter
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InputDeblockFilter]
$cfromJSONKeyList :: FromJSONKeyFunction [InputDeblockFilter]
fromJSONKey :: FromJSONKeyFunction InputDeblockFilter
$cfromJSONKey :: FromJSONKeyFunction InputDeblockFilter
Data.FromJSONKey,
      [InputDeblockFilter] -> Encoding
[InputDeblockFilter] -> Value
InputDeblockFilter -> Encoding
InputDeblockFilter -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [InputDeblockFilter] -> Encoding
$ctoEncodingList :: [InputDeblockFilter] -> Encoding
toJSONList :: [InputDeblockFilter] -> Value
$ctoJSONList :: [InputDeblockFilter] -> Value
toEncoding :: InputDeblockFilter -> Encoding
$ctoEncoding :: InputDeblockFilter -> Encoding
toJSON :: InputDeblockFilter -> Value
$ctoJSON :: InputDeblockFilter -> Value
Data.ToJSON,
      ToJSONKeyFunction [InputDeblockFilter]
ToJSONKeyFunction InputDeblockFilter
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InputDeblockFilter]
$ctoJSONKeyList :: ToJSONKeyFunction [InputDeblockFilter]
toJSONKey :: ToJSONKeyFunction InputDeblockFilter
$ctoJSONKey :: ToJSONKeyFunction InputDeblockFilter
Data.ToJSONKey,
      [Node] -> Either String InputDeblockFilter
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InputDeblockFilter
$cparseXML :: [Node] -> Either String InputDeblockFilter
Data.FromXML,
      InputDeblockFilter -> XML
forall a. (a -> XML) -> ToXML a
toXML :: InputDeblockFilter -> XML
$ctoXML :: InputDeblockFilter -> XML
Data.ToXML
    )

pattern InputDeblockFilter_DISABLED :: InputDeblockFilter
pattern $bInputDeblockFilter_DISABLED :: InputDeblockFilter
$mInputDeblockFilter_DISABLED :: forall {r}. InputDeblockFilter -> ((# #) -> r) -> ((# #) -> r) -> r
InputDeblockFilter_DISABLED = InputDeblockFilter' "DISABLED"

pattern InputDeblockFilter_ENABLED :: InputDeblockFilter
pattern $bInputDeblockFilter_ENABLED :: InputDeblockFilter
$mInputDeblockFilter_ENABLED :: forall {r}. InputDeblockFilter -> ((# #) -> r) -> ((# #) -> r) -> r
InputDeblockFilter_ENABLED = InputDeblockFilter' "ENABLED"

{-# COMPLETE
  InputDeblockFilter_DISABLED,
  InputDeblockFilter_ENABLED,
  InputDeblockFilter'
  #-}