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
vscale | a vertical #GstVideoScaler |
format | a #GstVideoFormat for srcs and dest |
src | source pixels |
srcStride | source pixels stride |
dest | destination pixels |
destStride | destination pixels stride |
x | the horizontal destination offset |
y | the vertical destination offset |
width | the number of output pixels to scale |
height | the number of output lines to scale |