| 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 |
GI.GstVideo.Structs.VideoDither
Contents
Description
GstVideoDither provides implementations of several dithering algorithms that can be applied to lines of video pixels to quantize and dither them.
Synopsis
- newtype VideoDither = VideoDither (ManagedPtr VideoDither)
- videoDitherFree :: (HasCallStack, MonadIO m) => VideoDither -> m ()
- videoDitherLine :: (HasCallStack, MonadIO m) => VideoDither -> Ptr () -> Word32 -> Word32 -> Word32 -> m ()
Exported types
newtype VideoDither Source #
Memory-managed wrapper type.
Constructors
| VideoDither (ManagedPtr VideoDither) |
Instances
| Eq VideoDither Source # | |
Defined in GI.GstVideo.Structs.VideoDither | |
| BoxedPtr VideoDither Source # | |
Defined in GI.GstVideo.Structs.VideoDither | |
| ManagedPtrNewtype VideoDither Source # | |
Defined in GI.GstVideo.Structs.VideoDither Methods toManagedPtr :: VideoDither -> ManagedPtr VideoDither | |
Methods
Click to display all available methods, including inherited ones
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => VideoDither |
|
| -> m () |
Free dither
line
Arguments
| :: (HasCallStack, MonadIO m) | |
| => VideoDither |
|
| -> Ptr () |
|
| -> Word32 |
|
| -> Word32 |
|
| -> Word32 |
|
| -> m () |
Dither width pixels starting from offset x in line using dither.
y is the line number of line in the output image.