Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Content light level information specified in CEA-861.3, Appendix A.
Since: 1.18
Synopsis
- newtype VideoContentLightLevel = VideoContentLightLevel (ManagedPtr VideoContentLightLevel)
- newZeroVideoContentLightLevel :: MonadIO m => m VideoContentLightLevel
- videoContentLightLevelAddToCaps :: (HasCallStack, MonadIO m) => VideoContentLightLevel -> Caps -> m Bool
- videoContentLightLevelFromCaps :: (HasCallStack, MonadIO m) => VideoContentLightLevel -> Caps -> m Bool
- videoContentLightLevelFromString :: (HasCallStack, MonadIO m) => VideoContentLightLevel -> Text -> m Bool
- videoContentLightLevelInit :: (HasCallStack, MonadIO m) => VideoContentLightLevel -> m ()
- videoContentLightLevelToString :: (HasCallStack, MonadIO m) => VideoContentLightLevel -> m Text
- getVideoContentLightLevelMaxContentLightLevel :: MonadIO m => VideoContentLightLevel -> m Word16
- setVideoContentLightLevelMaxContentLightLevel :: MonadIO m => VideoContentLightLevel -> Word16 -> m ()
- getVideoContentLightLevelMaxFrameAverageLightLevel :: MonadIO m => VideoContentLightLevel -> m Word16
- setVideoContentLightLevelMaxFrameAverageLightLevel :: MonadIO m => VideoContentLightLevel -> Word16 -> m ()
Exported types
newtype VideoContentLightLevel Source #
Memory-managed wrapper type.
VideoContentLightLevel (ManagedPtr VideoContentLightLevel) |
Instances
Eq VideoContentLightLevel Source # | |
Defined in GI.GstVideo.Structs.VideoContentLightLevel | |
BoxedPtr VideoContentLightLevel Source # | |
CallocPtr VideoContentLightLevel Source # | |
ManagedPtrNewtype VideoContentLightLevel Source # | |
Defined in GI.GstVideo.Structs.VideoContentLightLevel toManagedPtr :: VideoContentLightLevel -> ManagedPtr VideoContentLightLevel | |
tag ~ 'AttrSet => Constructible VideoContentLightLevel tag Source # | |
Defined in GI.GstVideo.Structs.VideoContentLightLevel new :: MonadIO m => (ManagedPtr VideoContentLightLevel -> VideoContentLightLevel) -> [AttrOp VideoContentLightLevel tag] -> m VideoContentLightLevel |
newZeroVideoContentLightLevel :: MonadIO m => m VideoContentLightLevel Source #
Construct a VideoContentLightLevel
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
addToCaps
videoContentLightLevelAddToCaps Source #
:: (HasCallStack, MonadIO m) | |
=> VideoContentLightLevel |
|
-> Caps |
|
-> m Bool | Returns: |
Parse caps
and update linfo
Since: 1.18
fromCaps
videoContentLightLevelFromCaps Source #
:: (HasCallStack, MonadIO m) | |
=> VideoContentLightLevel |
|
-> Caps |
|
-> m Bool | Returns: if |
Parse caps
and update linfo
Since: 1.18
fromString
videoContentLightLevelFromString Source #
:: (HasCallStack, MonadIO m) | |
=> VideoContentLightLevel |
|
-> Text |
|
-> m Bool | Returns: |
Parse the value of content-light-level caps field and update minfo
with the parsed values.
Since: 1.18
init
videoContentLightLevelInit Source #
:: (HasCallStack, MonadIO m) | |
=> VideoContentLightLevel |
|
-> m () |
Initialize linfo
Since: 1.18
toString
videoContentLightLevelToString Source #
:: (HasCallStack, MonadIO m) | |
=> VideoContentLightLevel |
|
-> m Text | Returns: a string representation of |
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 ]