gi-gstvideo-1.0.24: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoContentLightLevel

Description

Content light level information specified in CEA-861.3, Appendix A.

Since: 1.18

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addToCaps, fromCaps, fromString, init, toString.

Getters

None.

Setters

None.

addToCaps

videoContentLightLevelAddToCaps Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoContentLightLevel

linfo: a VideoContentLightLevel

-> Caps

caps: a Caps

-> m Bool

Returns: True if linfo was successfully set to caps

Parse caps and update linfo

Since: 1.18

fromCaps

videoContentLightLevelFromCaps Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoContentLightLevel

linfo: a VideoContentLightLevel

-> Caps

caps: a Caps

-> m Bool

Returns: if caps has VideoContentLightLevel and could be parsed

Parse caps and update linfo

Since: 1.18

fromString

videoContentLightLevelFromString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoContentLightLevel

linfo: a VideoContentLightLevel

-> Text

level: a content-light-level string from caps

-> m Bool

Returns: True if linfo points to valid VideoContentLightLevel.

Parse the value of content-light-level caps field and update minfo with the parsed values.

Since: 1.18

init

videoContentLightLevelInit Source #

Initialize linfo

Since: 1.18

toString

videoContentLightLevelToString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoContentLightLevel

linfo: a VideoContentLightLevel

-> m Text

Returns: a string representation of linfo.

Convert linfo to its string representation.

Since: 1.18

Properties

maxContentLightLevel

the maximum content light level (abbreviated to MaxCLL) in candelas per square meter (cd/m^2 and nit)

getVideoContentLightLevelMaxContentLightLevel :: MonadIO m => VideoContentLightLevel -> m Word16 Source #

Get the value of the “max_content_light_level” field. When overloading is enabled, this is equivalent to

get videoContentLightLevel #maxContentLightLevel

setVideoContentLightLevelMaxContentLightLevel :: MonadIO m => VideoContentLightLevel -> Word16 -> m () Source #

Set the value of the “max_content_light_level” field. When overloading is enabled, this is equivalent to

set videoContentLightLevel [ #maxContentLightLevel := value ]

maxFrameAverageLightLevel

the maximum frame average light level (abbreviated to MaxFLL) in candelas per square meter (cd/m^2 and nit)

getVideoContentLightLevelMaxFrameAverageLightLevel :: MonadIO m => VideoContentLightLevel -> m Word16 Source #

Get the value of the “max_frame_average_light_level” field. When overloading is enabled, this is equivalent to

get videoContentLightLevel #maxFrameAverageLightLevel

setVideoContentLightLevelMaxFrameAverageLightLevel :: MonadIO m => VideoContentLightLevel -> Word16 -> m () Source #

Set the value of the “max_frame_average_light_level” field. When overloading is enabled, this is equivalent to

set videoContentLightLevel [ #maxFrameAverageLightLevel := value ]