Searched refs:dstw (Results 1 – 1 of 1) sorted by relevance
92 static void scale_line(const u8 *src, u8 *dst, unsigned srcw, unsigned dstw, unsigned twopixsize) in scale_line() argument106 dstw /= 2; in scale_line()107 int_part = srcw / dstw; in scale_line()108 fract_part = srcw % dstw; in scale_line()109 for (x = 0; x < dstw; x++, dst += twopixsize) { in scale_line()113 if (error >= dstw) { in scale_line()114 error -= dstw; in scale_line()