gi-gstvideo-1.0.12: 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

newtype VideoColorimetry Source #

Instances

WrappedPtr VideoColorimetry Source # 
(~) AttrOpTag tag AttrSet => Constructible VideoColorimetry tag Source # 
((~) * info (ResolveVideoColorimetryMethod t VideoColorimetry), MethodInfo * info VideoColorimetry p) => IsLabel t (VideoColorimetry -> p) Source # 
((~) * info (ResolveVideoColorimetryMethod t VideoColorimetry), MethodInfo * info VideoColorimetry p) => IsLabelProxy t (VideoColorimetry -> p) Source # 
HasAttributeList * VideoColorimetry Source # 
((~) * signature (m Text), MonadIO m) => MethodInfo * VideoColorimetryToStringMethodInfo VideoColorimetry signature Source # 
((~) * signature (Text -> m Bool), MonadIO m) => MethodInfo * VideoColorimetryMatchesMethodInfo VideoColorimetry signature Source # 
((~) * signature (VideoColorimetry -> m Bool), MonadIO m) => MethodInfo * VideoColorimetryIsEqualMethodInfo VideoColorimetry signature Source # 
((~) * signature (Text -> m Bool), MonadIO m) => MethodInfo * VideoColorimetryFromStringMethodInfo VideoColorimetry signature Source # 
type AttributeList VideoColorimetry Source # 

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