amazonka-mediaconvert-2.0: gen/Amazonka/MediaConvert/Types/H264CodecProfile.hs
{-# 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.H264CodecProfile
-- 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.H264CodecProfile
( H264CodecProfile
( ..,
H264CodecProfile_BASELINE,
H264CodecProfile_HIGH,
H264CodecProfile_HIGH_10BIT,
H264CodecProfile_HIGH_422,
H264CodecProfile_HIGH_422_10BIT,
H264CodecProfile_MAIN
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
-- | H.264 Profile. High 4:2:2 and 10-bit profiles are only available with
-- the AVC-I License.
newtype H264CodecProfile = H264CodecProfile'
{ fromH264CodecProfile ::
Data.Text
}
deriving stock
( Prelude.Show,
Prelude.Read,
Prelude.Eq,
Prelude.Ord,
Prelude.Generic
)
deriving newtype
( Prelude.Hashable,
Prelude.NFData,
Data.FromText,
Data.ToText,
Data.ToByteString,
Data.ToLog,
Data.ToHeader,
Data.ToQuery,
Data.FromJSON,
Data.FromJSONKey,
Data.ToJSON,
Data.ToJSONKey,
Data.FromXML,
Data.ToXML
)
pattern H264CodecProfile_BASELINE :: H264CodecProfile
pattern H264CodecProfile_BASELINE = H264CodecProfile' "BASELINE"
pattern H264CodecProfile_HIGH :: H264CodecProfile
pattern H264CodecProfile_HIGH = H264CodecProfile' "HIGH"
pattern H264CodecProfile_HIGH_10BIT :: H264CodecProfile
pattern H264CodecProfile_HIGH_10BIT = H264CodecProfile' "HIGH_10BIT"
pattern H264CodecProfile_HIGH_422 :: H264CodecProfile
pattern H264CodecProfile_HIGH_422 = H264CodecProfile' "HIGH_422"
pattern H264CodecProfile_HIGH_422_10BIT :: H264CodecProfile
pattern H264CodecProfile_HIGH_422_10BIT = H264CodecProfile' "HIGH_422_10BIT"
pattern H264CodecProfile_MAIN :: H264CodecProfile
pattern H264CodecProfile_MAIN = H264CodecProfile' "MAIN"
{-# COMPLETE
H264CodecProfile_BASELINE,
H264CodecProfile_HIGH,
H264CodecProfile_HIGH_10BIT,
H264CodecProfile_HIGH_422,
H264CodecProfile_HIGH_422_10BIT,
H264CodecProfile_MAIN,
H264CodecProfile'
#-}