GstVideo.VideoDither

Fields

None

Methods

free ()

line (line, x, y, width)

Details

class GstVideo.VideoDither

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

free()[source]

Free self

line(line, x, y, width)[source]
Parameters:
  • line (object or None) – pointer to the pixels of the line

  • x (int) – x coordinate

  • 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.