gi-gstvideo-1.0.22: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GstVideo.Structs.VideoDither

Description

GstVideoDither provides implementations of several dithering algorithms that can be applied to lines of video pixels to quantize and dither them.

Synopsis

Exported types

Methods

Overloaded methods

free

videoDitherFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoDither

dither: a VideoDither

-> m () 

Free dither

line

videoDitherLine Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoDither

dither: a VideoDither

-> Ptr ()

line: pointer to the pixels of the line

-> Word32

x: x coordinate

-> Word32

y: y coordinate

-> Word32

width: the width

-> m () 

Dither width pixels starting from offset x in line using dither.

y is the line number of line in the output image.