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

GI.GstVideo.Structs.VideoMasteringDisplayInfo

Description

Mastering display color volume information defined by SMPTE ST 2086 (a.k.a static HDR metadata).

Since: 1.18

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

addToCaps, fromCaps, init, isEqual, toString.

Getters

None.

Setters

None.

addToCaps

videoMasteringDisplayInfoAddToCaps Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMasteringDisplayInfo

minfo: a VideoMasteringDisplayInfo

-> Caps

caps: a Caps

-> m Bool

Returns: True if minfo was successfully set to caps

Set string representation of minfo to caps

Since: 1.18

fromCaps

videoMasteringDisplayInfoFromCaps Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMasteringDisplayInfo

minfo: a VideoMasteringDisplayInfo

-> Caps

caps: a Caps

-> m Bool

Returns: True if caps has VideoMasteringDisplayInfo and could be parsed

Parse caps and update minfo

Since: 1.18

fromString

videoMasteringDisplayInfoFromString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

mastering: a Structure representing VideoMasteringDisplayInfo

-> m (Bool, VideoMasteringDisplayInfo)

Returns: True if minfo was filled with mastering

Extract VideoMasteringDisplayInfo from mastering

Since: 1.18

init

videoMasteringDisplayInfoInit Source #

Initialize minfo

Since: 1.18

isEqual

videoMasteringDisplayInfoIsEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMasteringDisplayInfo

minfo: a VideoMasteringDisplayInfo

-> VideoMasteringDisplayInfo

other: a VideoMasteringDisplayInfo

-> m Bool

Returns: True if minfo and other are equal.

Checks equality between minfo and other.

Since: 1.18

toString

videoMasteringDisplayInfoToString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoMasteringDisplayInfo

minfo: a VideoMasteringDisplayInfo

-> m Text

Returns: a string representation of minfo

Convert minfo to its string representation

Since: 1.18

Properties

maxDisplayMasteringLuminance

the maximum value of display luminance in unit of 0.0001 candelas per square metre (cd/m^2 and nit)

getVideoMasteringDisplayInfoMaxDisplayMasteringLuminance :: MonadIO m => VideoMasteringDisplayInfo -> m Word32 Source #

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

get videoMasteringDisplayInfo #maxDisplayMasteringLuminance

setVideoMasteringDisplayInfoMaxDisplayMasteringLuminance :: MonadIO m => VideoMasteringDisplayInfo -> Word32 -> m () Source #

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

set videoMasteringDisplayInfo [ #maxDisplayMasteringLuminance := value ]

minDisplayMasteringLuminance

the minimum value of display luminance in unit of 0.0001 candelas per square metre (cd/m^2 and nit)

getVideoMasteringDisplayInfoMinDisplayMasteringLuminance :: MonadIO m => VideoMasteringDisplayInfo -> m Word32 Source #

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

get videoMasteringDisplayInfo #minDisplayMasteringLuminance

setVideoMasteringDisplayInfoMinDisplayMasteringLuminance :: MonadIO m => VideoMasteringDisplayInfo -> Word32 -> m () Source #

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

set videoMasteringDisplayInfo [ #minDisplayMasteringLuminance := value ]

whitePoint

the xy coordinates of white point in the CIE 1931 color space. each value is normalized to 50000 (meaning that in unit of 0.00002)

getVideoMasteringDisplayInfoWhitePoint :: MonadIO m => VideoMasteringDisplayInfo -> m VideoMasteringDisplayInfoCoordinates Source #

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

get videoMasteringDisplayInfo #whitePoint