Class: AWSCDK::MediaLive::CfnChannel::Hdr10SettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Hdr10 Settings.

The parents of this entity are H265ColorSpaceSettings (for color space settings in the output) and VideoSelectorColorSpaceSettings (for color space settings in the input).

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max_cll: nil, max_fall: nil) ⇒ Hdr10SettingsProperty

Returns a new instance of Hdr10SettingsProperty.

Parameters:

  • max_cll (Numeric, nil) (defaults to: nil)

    Maximum Content Light Level An integer metadata value defining the maximum light level, in nits, of any single pixel within an encoded HDR video stream or file.

  • max_fall (Numeric, nil) (defaults to: nil)

    Maximum Frame Average Light Level An integer metadata value defining the maximum average light level, in nits, for any single frame within an encoded HDR video stream or file.



7306
7307
7308
7309
7310
7311
# File 'media_live/cfn_channel.rb', line 7306

def initialize(max_cll: nil, max_fall: nil)
  @max_cll = max_cll
  Jsii::Type.check_type(@max_cll, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxCll") unless @max_cll.nil?
  @max_fall = max_fall
  Jsii::Type.check_type(@max_fall, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxFall") unless @max_fall.nil?
end

Instance Attribute Details

#max_cllNumeric? (readonly)

Maximum Content Light Level An integer metadata value defining the maximum light level, in nits, of any single pixel within an encoded HDR video stream or file.



7317
7318
7319
# File 'media_live/cfn_channel.rb', line 7317

def max_cll
  @max_cll
end

#max_fallNumeric? (readonly)

Maximum Frame Average Light Level An integer metadata value defining the maximum average light level, in nits, for any single frame within an encoded HDR video stream or file.



7322
7323
7324
# File 'media_live/cfn_channel.rb', line 7322

def max_fall
  @max_fall
end

Class Method Details

.jsii_propertiesObject



7324
7325
7326
7327
7328
7329
# File 'media_live/cfn_channel.rb', line 7324

def self.jsii_properties
  {
    :max_cll => "maxCll",
    :max_fall => "maxFall",
  }
end

Instance Method Details

#to_jsiiObject



7331
7332
7333
7334
7335
7336
7337
7338
# File 'media_live/cfn_channel.rb', line 7331

def to_jsii
  result = {}
  result.merge!({
    "maxCll" => @max_cll,
    "maxFall" => @max_fall,
  })
  result.compact
end