gi-gstvideo-1.0.14: GStreamerVideo bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoColorimetry

Contents

Description

Structure describing the color info.

Synopsis

Exported types

newZeroVideoColorimetry :: MonadIO m => m VideoColorimetry Source #

Construct a VideoColorimetry struct initialized to zero.

Methods

fromString

videoColorimetryFromString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoColorimetry

cinfo: a VideoColorimetry

-> Text

color: a colorimetry string

-> m Bool

Returns: TRUE if color points to valid colorimetry info.

Parse the colorimetry string and update cinfo with the parsed values.

isEqual

videoColorimetryIsEqual Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoColorimetry

cinfo: a VideoColorimetry

-> VideoColorimetry

other: another VideoColorimetry

-> m Bool

Returns: TRUE if cinfo and other are equal.

Compare the 2 colorimetry sets for equality

Since: 1.6

matches

videoColorimetryMatches Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoColorimetry

cinfo: a VideoInfo

-> Text

color: a colorimetry string

-> m Bool

Returns: TRUE if color conveys the same colorimetry info as the color information in info.

Check if the colorimetry information in info matches that of the string color.

toString

videoColorimetryToString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoColorimetry

cinfo: a VideoColorimetry

-> m Text

Returns: a string representation of cinfo.

Make a string representation of cinfo.

Properties

matrix

primaries

range

transfer