VideoScaler._2d

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.

One or both of hscale and vscale can be NULL to only perform scaling in one dimension or do a copy without scaling.

x and y are the coordinates in the destination image to process.

Parameters

vscalea vertical #GstVideoScaler
formata #GstVideoFormat for srcs and dest
srcsource pixels
srcStridesource pixels stride
destdestination pixels
destStridedestination pixels stride
xthe horizontal destination offset
ythe vertical destination offset
widththe number of output pixels to scale
heightthe number of output lines to scale