gstvideo.video_scaler

Module for [VideoScaler] class

Types 1

#GstVideoScaler is a utility object for rescaling and resampling video frames using various interpolation / sampling methods.

Fields
GstVideoScaler * _cInstancePtr
bool owned
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 srcstride to dest with deststride 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 outoffset, get the first required input pixel at inoffset and the n_taps filter coefficients.
uint getMaxTaps()Get the maximum number of taps for scale. Returns: the maximum number of taps
void 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.
Constructors
this(void * ptr, Flag!"Take" take)