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

newtype VideoDither Source #

Memory-managed wrapper type.

Constructors

VideoDither (ManagedPtr VideoDither) 

Instances

Instances details
Eq VideoDither Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoDither

Methods

(==) :: VideoDither -> VideoDither -> Bool

(/=) :: VideoDither -> VideoDither -> Bool

BoxedPtr VideoDither Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoDither

ManagedPtrNewtype VideoDither Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoDither

Methods

toManagedPtr :: VideoDither -> ManagedPtr VideoDither

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.