@2d


Description:

public void @2d (Scaler vscale, Format format, void* src, int src_stride, void* dest, int dest_stride, 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 this 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:

this

a horizontal Scaler

vscale

a vertical Scaler

format

a Format for srcs and dest

src

source pixels

src_stride

source pixels stride

dest

destination pixels

dest_stride

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