{-# 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.AvcIntraTelecine
-- 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.AvcIntraTelecine
  ( AvcIntraTelecine
      ( ..,
        AvcIntraTelecine_HARD,
        AvcIntraTelecine_NONE
      ),
  )
where

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

-- | When you do frame rate conversion from 23.976 frames per second (fps) to
-- 29.97 fps, and your output scan type is interlaced, you can optionally
-- enable hard telecine (HARD) to create a smoother picture. When you keep
-- the default value, None (NONE), MediaConvert does a standard frame rate
-- conversion to 29.97 without doing anything with the field polarity to
-- create a smoother picture.
newtype AvcIntraTelecine = AvcIntraTelecine'
  { AvcIntraTelecine -> Text
fromAvcIntraTelecine ::
      Data.Text
  }
  deriving stock
    ( Int -> AvcIntraTelecine -> ShowS
[AvcIntraTelecine] -> ShowS
AvcIntraTelecine -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AvcIntraTelecine] -> ShowS
$cshowList :: [AvcIntraTelecine] -> ShowS
show :: AvcIntraTelecine -> String
$cshow :: AvcIntraTelecine -> String
showsPrec :: Int -> AvcIntraTelecine -> ShowS
$cshowsPrec :: Int -> AvcIntraTelecine -> ShowS
Prelude.Show,
      ReadPrec [AvcIntraTelecine]
ReadPrec AvcIntraTelecine
Int -> ReadS AvcIntraTelecine
ReadS [AvcIntraTelecine]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AvcIntraTelecine]
$creadListPrec :: ReadPrec [AvcIntraTelecine]
readPrec :: ReadPrec AvcIntraTelecine
$creadPrec :: ReadPrec AvcIntraTelecine
readList :: ReadS [AvcIntraTelecine]
$creadList :: ReadS [AvcIntraTelecine]
readsPrec :: Int -> ReadS AvcIntraTelecine
$creadsPrec :: Int -> ReadS AvcIntraTelecine
Prelude.Read,
      AvcIntraTelecine -> AvcIntraTelecine -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c/= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
== :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c== :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
Prelude.Eq,
      Eq AvcIntraTelecine
AvcIntraTelecine -> AvcIntraTelecine -> Bool
AvcIntraTelecine -> AvcIntraTelecine -> Ordering
AvcIntraTelecine -> AvcIntraTelecine -> AvcIntraTelecine
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 :: AvcIntraTelecine -> AvcIntraTelecine -> AvcIntraTelecine
$cmin :: AvcIntraTelecine -> AvcIntraTelecine -> AvcIntraTelecine
max :: AvcIntraTelecine -> AvcIntraTelecine -> AvcIntraTelecine
$cmax :: AvcIntraTelecine -> AvcIntraTelecine -> AvcIntraTelecine
>= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c>= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
> :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c> :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
<= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c<= :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
< :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
$c< :: AvcIntraTelecine -> AvcIntraTelecine -> Bool
compare :: AvcIntraTelecine -> AvcIntraTelecine -> Ordering
$ccompare :: AvcIntraTelecine -> AvcIntraTelecine -> Ordering
Prelude.Ord,
      forall x. Rep AvcIntraTelecine x -> AvcIntraTelecine
forall x. AvcIntraTelecine -> Rep AvcIntraTelecine x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AvcIntraTelecine x -> AvcIntraTelecine
$cfrom :: forall x. AvcIntraTelecine -> Rep AvcIntraTelecine x
Prelude.Generic
    )
  deriving newtype
    ( Eq AvcIntraTelecine
Int -> AvcIntraTelecine -> Int
AvcIntraTelecine -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AvcIntraTelecine -> Int
$chash :: AvcIntraTelecine -> Int
hashWithSalt :: Int -> AvcIntraTelecine -> Int
$chashWithSalt :: Int -> AvcIntraTelecine -> Int
Prelude.Hashable,
      AvcIntraTelecine -> ()
forall a. (a -> ()) -> NFData a
rnf :: AvcIntraTelecine -> ()
$crnf :: AvcIntraTelecine -> ()
Prelude.NFData,
      Text -> Either String AvcIntraTelecine
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AvcIntraTelecine
$cfromText :: Text -> Either String AvcIntraTelecine
Data.FromText,
      AvcIntraTelecine -> Text
forall a. (a -> Text) -> ToText a
toText :: AvcIntraTelecine -> Text
$ctoText :: AvcIntraTelecine -> Text
Data.ToText,
      AvcIntraTelecine -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: AvcIntraTelecine -> ByteString
$ctoBS :: AvcIntraTelecine -> ByteString
Data.ToByteString,
      AvcIntraTelecine -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AvcIntraTelecine -> ByteStringBuilder
$cbuild :: AvcIntraTelecine -> ByteStringBuilder
Data.ToLog,
      HeaderName -> AvcIntraTelecine -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AvcIntraTelecine -> [Header]
$ctoHeader :: HeaderName -> AvcIntraTelecine -> [Header]
Data.ToHeader,
      AvcIntraTelecine -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AvcIntraTelecine -> QueryString
$ctoQuery :: AvcIntraTelecine -> QueryString
Data.ToQuery,
      Value -> Parser [AvcIntraTelecine]
Value -> Parser AvcIntraTelecine
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AvcIntraTelecine]
$cparseJSONList :: Value -> Parser [AvcIntraTelecine]
parseJSON :: Value -> Parser AvcIntraTelecine
$cparseJSON :: Value -> Parser AvcIntraTelecine
Data.FromJSON,
      FromJSONKeyFunction [AvcIntraTelecine]
FromJSONKeyFunction AvcIntraTelecine
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AvcIntraTelecine]
$cfromJSONKeyList :: FromJSONKeyFunction [AvcIntraTelecine]
fromJSONKey :: FromJSONKeyFunction AvcIntraTelecine
$cfromJSONKey :: FromJSONKeyFunction AvcIntraTelecine
Data.FromJSONKey,
      [AvcIntraTelecine] -> Encoding
[AvcIntraTelecine] -> Value
AvcIntraTelecine -> Encoding
AvcIntraTelecine -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AvcIntraTelecine] -> Encoding
$ctoEncodingList :: [AvcIntraTelecine] -> Encoding
toJSONList :: [AvcIntraTelecine] -> Value
$ctoJSONList :: [AvcIntraTelecine] -> Value
toEncoding :: AvcIntraTelecine -> Encoding
$ctoEncoding :: AvcIntraTelecine -> Encoding
toJSON :: AvcIntraTelecine -> Value
$ctoJSON :: AvcIntraTelecine -> Value
Data.ToJSON,
      ToJSONKeyFunction [AvcIntraTelecine]
ToJSONKeyFunction AvcIntraTelecine
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AvcIntraTelecine]
$ctoJSONKeyList :: ToJSONKeyFunction [AvcIntraTelecine]
toJSONKey :: ToJSONKeyFunction AvcIntraTelecine
$ctoJSONKey :: ToJSONKeyFunction AvcIntraTelecine
Data.ToJSONKey,
      [Node] -> Either String AvcIntraTelecine
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AvcIntraTelecine
$cparseXML :: [Node] -> Either String AvcIntraTelecine
Data.FromXML,
      AvcIntraTelecine -> XML
forall a. (a -> XML) -> ToXML a
toXML :: AvcIntraTelecine -> XML
$ctoXML :: AvcIntraTelecine -> XML
Data.ToXML
    )

pattern AvcIntraTelecine_HARD :: AvcIntraTelecine
pattern $bAvcIntraTelecine_HARD :: AvcIntraTelecine
$mAvcIntraTelecine_HARD :: forall {r}. AvcIntraTelecine -> ((# #) -> r) -> ((# #) -> r) -> r
AvcIntraTelecine_HARD = AvcIntraTelecine' "HARD"

pattern AvcIntraTelecine_NONE :: AvcIntraTelecine
pattern $bAvcIntraTelecine_NONE :: AvcIntraTelecine
$mAvcIntraTelecine_NONE :: forall {r}. AvcIntraTelecine -> ((# #) -> r) -> ((# #) -> r) -> r
AvcIntraTelecine_NONE = AvcIntraTelecine' "NONE"

{-# COMPLETE
  AvcIntraTelecine_HARD,
  AvcIntraTelecine_NONE,
  AvcIntraTelecine'
  #-}