gi-gstvideo-1.0.28: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
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

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

Click to display all available methods, including inherited ones

Expand

Methods

free, line.

Getters

None.

Setters

None.

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.