gstvideo.video_scaler
Module for VideoScaler class
class VideoScaler
Types 1
classVideoScaler
#GstVideoScaler is a utility object for rescaling and resampling video frames using various interpolation / sampling methods.
Methods
void * _cPtr()void _2d(gstvideo.video_scaler.VideoScaler vscale, gstvideo.types.VideoFormat format, void * src, int srcStride, void * dest, int destStride, uint x, uint y, uint width, uint height)Scale a rectangle of pixels in src with src_stride to dest with dest_stride using the horizontal scaler hscaler and the vertical scaler vscale.const(double) * getCoeff(uint outOffset, out uint inOffset, out uint nTaps)For a given pixel at out_offset, get the first required input pixel at in_offset and the n_taps filter coefficients.uint getMaxTaps()Get the maximum number of taps for scale. Returns: the maximum number of tapsvoid horizontal(gstvideo.types.VideoFormat format, void * src, void * dest, uint destOffset, uint width)Horizontally scale the pixels in src to dest, starting from dest_offset for width samples.