GstVideo.VideoDither
GstVideo.VideoDither.free()
GstVideo.VideoDither.line()
None
free ()
free
line (line, x, y, width)
line
GstVideo.VideoDither provides implementations of several dithering algorithms that can be applied to lines of video pixels to quantize and dither them.
Free self
line (object or None) – pointer to the pixels of the line
object
x (int) – x coordinate
int
y (int) – y coordinate
width (int) – the width
Dither width pixels starting from offset x in line using self.
y is the line number of line in the output image.