Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Structure describing the chromaticity coordinates of an RGB system. These values can be used to construct a matrix to transform RGB to and from the XYZ colorspace.
Since: 1.6
Synopsis
- newtype VideoColorPrimariesInfo = VideoColorPrimariesInfo (ManagedPtr VideoColorPrimariesInfo)
- newZeroVideoColorPrimariesInfo :: MonadIO m => m VideoColorPrimariesInfo
- getVideoColorPrimariesInfoBx :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoBx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoBy :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoBy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoGx :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoGx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoGy :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoGy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoPrimaries :: MonadIO m => VideoColorPrimariesInfo -> m VideoColorPrimaries
- setVideoColorPrimariesInfoPrimaries :: MonadIO m => VideoColorPrimariesInfo -> VideoColorPrimaries -> m ()
- getVideoColorPrimariesInfoRx :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoRx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoRy :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoRy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoWx :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoWx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
- getVideoColorPrimariesInfoWy :: MonadIO m => VideoColorPrimariesInfo -> m Double
- setVideoColorPrimariesInfoWy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m ()
Exported types
newtype VideoColorPrimariesInfo Source #
Memory-managed wrapper type.
VideoColorPrimariesInfo (ManagedPtr VideoColorPrimariesInfo) |
Instances
Eq VideoColorPrimariesInfo Source # | |
BoxedPtr VideoColorPrimariesInfo Source # | |
CallocPtr VideoColorPrimariesInfo Source # | |
ManagedPtrNewtype VideoColorPrimariesInfo Source # | |
Defined in GI.GstVideo.Structs.VideoColorPrimariesInfo toManagedPtr :: VideoColorPrimariesInfo -> ManagedPtr VideoColorPrimariesInfo | |
tag ~ 'AttrSet => Constructible VideoColorPrimariesInfo tag Source # | |
Defined in GI.GstVideo.Structs.VideoColorPrimariesInfo new :: MonadIO m => (ManagedPtr VideoColorPrimariesInfo -> VideoColorPrimariesInfo) -> [AttrOp VideoColorPrimariesInfo tag] -> m VideoColorPrimariesInfo |
newZeroVideoColorPrimariesInfo :: MonadIO m => m VideoColorPrimariesInfo Source #
Construct a VideoColorPrimariesInfo
struct initialized to zero.
Methods
Properties
bx
blue x coordinate
getVideoColorPrimariesInfoBx :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Bx
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #bx
setVideoColorPrimariesInfoBx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Bx
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #bx:=
value ]
by
blue y coordinate
getVideoColorPrimariesInfoBy :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “By
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #by
setVideoColorPrimariesInfoBy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “By
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #by:=
value ]
gx
green x coordinate
getVideoColorPrimariesInfoGx :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Gx
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #gx
setVideoColorPrimariesInfoGx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Gx
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #gx:=
value ]
gy
green y coordinate
getVideoColorPrimariesInfoGy :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Gy
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #gy
setVideoColorPrimariesInfoGy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Gy
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #gy:=
value ]
primaries
getVideoColorPrimariesInfoPrimaries :: MonadIO m => VideoColorPrimariesInfo -> m VideoColorPrimaries Source #
Get the value of the “primaries
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #primaries
setVideoColorPrimariesInfoPrimaries :: MonadIO m => VideoColorPrimariesInfo -> VideoColorPrimaries -> m () Source #
Set the value of the “primaries
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #primaries:=
value ]
rx
red x coordinate
getVideoColorPrimariesInfoRx :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Rx
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #rx
setVideoColorPrimariesInfoRx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Rx
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #rx:=
value ]
ry
red y coordinate
getVideoColorPrimariesInfoRy :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Ry
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #ry
setVideoColorPrimariesInfoRy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Ry
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #ry:=
value ]
wx
reference white x coordinate
getVideoColorPrimariesInfoWx :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Wx
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #wx
setVideoColorPrimariesInfoWx :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Wx
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #wx:=
value ]
wy
reference white y coordinate
getVideoColorPrimariesInfoWy :: MonadIO m => VideoColorPrimariesInfo -> m Double Source #
Get the value of the “Wy
” field.
When overloading is enabled, this is equivalent to
get
videoColorPrimariesInfo #wy
setVideoColorPrimariesInfoWy :: MonadIO m => VideoColorPrimariesInfo -> Double -> m () Source #
Set the value of the “Wy
” field.
When overloading is enabled, this is equivalent to
set
videoColorPrimariesInfo [ #wy:=
value ]