{-# 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.H265Telecine
-- 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.H265Telecine
  ( H265Telecine
      ( ..,
        H265Telecine_HARD,
        H265Telecine_NONE,
        H265Telecine_SOFT
      ),
  )
where

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

-- | This field applies only if the Streams > Advanced > Framerate
-- (framerate) field is set to 29.970. This field works with the Streams >
-- Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the
-- Streams > Advanced > Interlaced Mode field (interlace_mode) to identify
-- the scan type for the output: Progressive, Interlaced, Hard Telecine or
-- Soft Telecine. - Hard: produces 29.97i output from 23.976 input. - Soft:
-- produces 23.976; the player converts this output to 29.97i.
newtype H265Telecine = H265Telecine'
  { H265Telecine -> Text
fromH265Telecine ::
      Data.Text
  }
  deriving stock
    ( Int -> H265Telecine -> ShowS
[H265Telecine] -> ShowS
H265Telecine -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H265Telecine] -> ShowS
$cshowList :: [H265Telecine] -> ShowS
show :: H265Telecine -> String
$cshow :: H265Telecine -> String
showsPrec :: Int -> H265Telecine -> ShowS
$cshowsPrec :: Int -> H265Telecine -> ShowS
Prelude.Show,
      ReadPrec [H265Telecine]
ReadPrec H265Telecine
Int -> ReadS H265Telecine
ReadS [H265Telecine]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H265Telecine]
$creadListPrec :: ReadPrec [H265Telecine]
readPrec :: ReadPrec H265Telecine
$creadPrec :: ReadPrec H265Telecine
readList :: ReadS [H265Telecine]
$creadList :: ReadS [H265Telecine]
readsPrec :: Int -> ReadS H265Telecine
$creadsPrec :: Int -> ReadS H265Telecine
Prelude.Read,
      H265Telecine -> H265Telecine -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H265Telecine -> H265Telecine -> Bool
$c/= :: H265Telecine -> H265Telecine -> Bool
== :: H265Telecine -> H265Telecine -> Bool
$c== :: H265Telecine -> H265Telecine -> Bool
Prelude.Eq,
      Eq H265Telecine
H265Telecine -> H265Telecine -> Bool
H265Telecine -> H265Telecine -> Ordering
H265Telecine -> H265Telecine -> H265Telecine
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 :: H265Telecine -> H265Telecine -> H265Telecine
$cmin :: H265Telecine -> H265Telecine -> H265Telecine
max :: H265Telecine -> H265Telecine -> H265Telecine
$cmax :: H265Telecine -> H265Telecine -> H265Telecine
>= :: H265Telecine -> H265Telecine -> Bool
$c>= :: H265Telecine -> H265Telecine -> Bool
> :: H265Telecine -> H265Telecine -> Bool
$c> :: H265Telecine -> H265Telecine -> Bool
<= :: H265Telecine -> H265Telecine -> Bool
$c<= :: H265Telecine -> H265Telecine -> Bool
< :: H265Telecine -> H265Telecine -> Bool
$c< :: H265Telecine -> H265Telecine -> Bool
compare :: H265Telecine -> H265Telecine -> Ordering
$ccompare :: H265Telecine -> H265Telecine -> Ordering
Prelude.Ord,
      forall x. Rep H265Telecine x -> H265Telecine
forall x. H265Telecine -> Rep H265Telecine x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H265Telecine x -> H265Telecine
$cfrom :: forall x. H265Telecine -> Rep H265Telecine x
Prelude.Generic
    )
  deriving newtype
    ( Eq H265Telecine
Int -> H265Telecine -> Int
H265Telecine -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H265Telecine -> Int
$chash :: H265Telecine -> Int
hashWithSalt :: Int -> H265Telecine -> Int
$chashWithSalt :: Int -> H265Telecine -> Int
Prelude.Hashable,
      H265Telecine -> ()
forall a. (a -> ()) -> NFData a
rnf :: H265Telecine -> ()
$crnf :: H265Telecine -> ()
Prelude.NFData,
      Text -> Either String H265Telecine
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265Telecine
$cfromText :: Text -> Either String H265Telecine
Data.FromText,
      H265Telecine -> Text
forall a. (a -> Text) -> ToText a
toText :: H265Telecine -> Text
$ctoText :: H265Telecine -> Text
Data.ToText,
      H265Telecine -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265Telecine -> ByteString
$ctoBS :: H265Telecine -> ByteString
Data.ToByteString,
      H265Telecine -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265Telecine -> ByteStringBuilder
$cbuild :: H265Telecine -> ByteStringBuilder
Data.ToLog,
      HeaderName -> H265Telecine -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265Telecine -> [Header]
$ctoHeader :: HeaderName -> H265Telecine -> [Header]
Data.ToHeader,
      H265Telecine -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265Telecine -> QueryString
$ctoQuery :: H265Telecine -> QueryString
Data.ToQuery,
      Value -> Parser [H265Telecine]
Value -> Parser H265Telecine
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H265Telecine]
$cparseJSONList :: Value -> Parser [H265Telecine]
parseJSON :: Value -> Parser H265Telecine
$cparseJSON :: Value -> Parser H265Telecine
Data.FromJSON,
      FromJSONKeyFunction [H265Telecine]
FromJSONKeyFunction H265Telecine
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265Telecine]
$cfromJSONKeyList :: FromJSONKeyFunction [H265Telecine]
fromJSONKey :: FromJSONKeyFunction H265Telecine
$cfromJSONKey :: FromJSONKeyFunction H265Telecine
Data.FromJSONKey,
      [H265Telecine] -> Encoding
[H265Telecine] -> Value
H265Telecine -> Encoding
H265Telecine -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H265Telecine] -> Encoding
$ctoEncodingList :: [H265Telecine] -> Encoding
toJSONList :: [H265Telecine] -> Value
$ctoJSONList :: [H265Telecine] -> Value
toEncoding :: H265Telecine -> Encoding
$ctoEncoding :: H265Telecine -> Encoding
toJSON :: H265Telecine -> Value
$ctoJSON :: H265Telecine -> Value
Data.ToJSON,
      ToJSONKeyFunction [H265Telecine]
ToJSONKeyFunction H265Telecine
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265Telecine]
$ctoJSONKeyList :: ToJSONKeyFunction [H265Telecine]
toJSONKey :: ToJSONKeyFunction H265Telecine
$ctoJSONKey :: ToJSONKeyFunction H265Telecine
Data.ToJSONKey,
      [Node] -> Either String H265Telecine
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265Telecine
$cparseXML :: [Node] -> Either String H265Telecine
Data.FromXML,
      H265Telecine -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H265Telecine -> XML
$ctoXML :: H265Telecine -> XML
Data.ToXML
    )

pattern H265Telecine_HARD :: H265Telecine
pattern $bH265Telecine_HARD :: H265Telecine
$mH265Telecine_HARD :: forall {r}. H265Telecine -> ((# #) -> r) -> ((# #) -> r) -> r
H265Telecine_HARD = H265Telecine' "HARD"

pattern H265Telecine_NONE :: H265Telecine
pattern $bH265Telecine_NONE :: H265Telecine
$mH265Telecine_NONE :: forall {r}. H265Telecine -> ((# #) -> r) -> ((# #) -> r) -> r
H265Telecine_NONE = H265Telecine' "NONE"

pattern H265Telecine_SOFT :: H265Telecine
pattern $bH265Telecine_SOFT :: H265Telecine
$mH265Telecine_SOFT :: forall {r}. H265Telecine -> ((# #) -> r) -> ((# #) -> r) -> r
H265Telecine_SOFT = H265Telecine' "SOFT"

{-# COMPLETE
  H265Telecine_HARD,
  H265Telecine_NONE,
  H265Telecine_SOFT,
  H265Telecine'
  #-}