{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- 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.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 ::
      Core.Text
  }
  deriving stock
    ( Int -> H265Telecine -> ShowS
[H265Telecine] -> ShowS
H265Telecine -> String
(Int -> H265Telecine -> ShowS)
-> (H265Telecine -> String)
-> ([H265Telecine] -> ShowS)
-> Show H265Telecine
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]
(Int -> ReadS H265Telecine)
-> ReadS [H265Telecine]
-> ReadPrec H265Telecine
-> ReadPrec [H265Telecine]
-> Read 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
(H265Telecine -> H265Telecine -> Bool)
-> (H265Telecine -> H265Telecine -> Bool) -> Eq H265Telecine
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
Eq H265Telecine
-> (H265Telecine -> H265Telecine -> Ordering)
-> (H265Telecine -> H265Telecine -> Bool)
-> (H265Telecine -> H265Telecine -> Bool)
-> (H265Telecine -> H265Telecine -> Bool)
-> (H265Telecine -> H265Telecine -> Bool)
-> (H265Telecine -> H265Telecine -> H265Telecine)
-> (H265Telecine -> H265Telecine -> H265Telecine)
-> Ord 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
$cp1Ord :: Eq H265Telecine
Prelude.Ord,
      (forall x. H265Telecine -> Rep H265Telecine x)
-> (forall x. Rep H265Telecine x -> H265Telecine)
-> Generic H265Telecine
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
    ( Int -> H265Telecine -> Int
H265Telecine -> Int
(Int -> H265Telecine -> Int)
-> (H265Telecine -> Int) -> Hashable H265Telecine
forall 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 -> ()
(H265Telecine -> ()) -> NFData H265Telecine
forall a. (a -> ()) -> NFData a
rnf :: H265Telecine -> ()
$crnf :: H265Telecine -> ()
Prelude.NFData,
      Text -> Either String H265Telecine
(Text -> Either String H265Telecine) -> FromText H265Telecine
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H265Telecine
$cfromText :: Text -> Either String H265Telecine
Core.FromText,
      H265Telecine -> Text
(H265Telecine -> Text) -> ToText H265Telecine
forall a. (a -> Text) -> ToText a
toText :: H265Telecine -> Text
$ctoText :: H265Telecine -> Text
Core.ToText,
      H265Telecine -> ByteString
(H265Telecine -> ByteString) -> ToByteString H265Telecine
forall a. (a -> ByteString) -> ToByteString a
toBS :: H265Telecine -> ByteString
$ctoBS :: H265Telecine -> ByteString
Core.ToByteString,
      H265Telecine -> ByteStringBuilder
(H265Telecine -> ByteStringBuilder) -> ToLog H265Telecine
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H265Telecine -> ByteStringBuilder
$cbuild :: H265Telecine -> ByteStringBuilder
Core.ToLog,
      HeaderName -> H265Telecine -> [Header]
(HeaderName -> H265Telecine -> [Header]) -> ToHeader H265Telecine
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H265Telecine -> [Header]
$ctoHeader :: HeaderName -> H265Telecine -> [Header]
Core.ToHeader,
      H265Telecine -> QueryString
(H265Telecine -> QueryString) -> ToQuery H265Telecine
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H265Telecine -> QueryString
$ctoQuery :: H265Telecine -> QueryString
Core.ToQuery,
      Value -> Parser [H265Telecine]
Value -> Parser H265Telecine
(Value -> Parser H265Telecine)
-> (Value -> Parser [H265Telecine]) -> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [H265Telecine]
FromJSONKeyFunction H265Telecine
FromJSONKeyFunction H265Telecine
-> FromJSONKeyFunction [H265Telecine] -> FromJSONKey H265Telecine
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H265Telecine]
$cfromJSONKeyList :: FromJSONKeyFunction [H265Telecine]
fromJSONKey :: FromJSONKeyFunction H265Telecine
$cfromJSONKey :: FromJSONKeyFunction H265Telecine
Core.FromJSONKey,
      [H265Telecine] -> Encoding
[H265Telecine] -> Value
H265Telecine -> Encoding
H265Telecine -> Value
(H265Telecine -> Value)
-> (H265Telecine -> Encoding)
-> ([H265Telecine] -> Value)
-> ([H265Telecine] -> Encoding)
-> ToJSON H265Telecine
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
Core.ToJSON,
      ToJSONKeyFunction [H265Telecine]
ToJSONKeyFunction H265Telecine
ToJSONKeyFunction H265Telecine
-> ToJSONKeyFunction [H265Telecine] -> ToJSONKey H265Telecine
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H265Telecine]
$ctoJSONKeyList :: ToJSONKeyFunction [H265Telecine]
toJSONKey :: ToJSONKeyFunction H265Telecine
$ctoJSONKey :: ToJSONKeyFunction H265Telecine
Core.ToJSONKey,
      [Node] -> Either String H265Telecine
([Node] -> Either String H265Telecine) -> FromXML H265Telecine
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H265Telecine
$cparseXML :: [Node] -> Either String H265Telecine
Core.FromXML,
      H265Telecine -> XML
(H265Telecine -> XML) -> ToXML H265Telecine
forall a. (a -> XML) -> ToXML a
toXML :: H265Telecine -> XML
$ctoXML :: H265Telecine -> XML
Core.ToXML
    )

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

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

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

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