GstVideo.VideoChromaResample

Fields

None

Methods

_ (lines, width)

free ()

get_info ()

Details

class GstVideo.VideoChromaResample
_(lines, width)
Parameters:
  • lines (object or None) – pixel lines

  • width (int) – the number of pixels on one line

Perform resampling of width chroma pixels in lines.

free()

Free self

get_info()
Returns:

n_lines:

the number of input lines

offset:

the first line

Return type:

(n_lines: int, offset: int)

The resampler must be fed n_lines at a time. The first line should be at offset.