Home | History | Annotate | Download | only in utils

Lines Matching defs:x_out

24 void (*WebPRescalerExportRow)(WebPRescaler* const wrk, int x_out) = NULL;
34 int x_out;
38 for (x_out = channel; x_out < x_out_max; x_out += x_stride) {
48 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac;
55 for (x_out = channel; x_out < x_out_max; x_out += x_stride) {
62 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum;
67 for (x_out = channel; x_out < x_out_max; x_out += x_stride) {
68 wrk->irow[x_out] += wrk->frow[x_out];
72 static void ExportRowC(WebPRescaler* const wrk, int x_out) {
79 for (; x_out < x_out_max; ++x_out) {
80 const int frac = (int)MULT_FIX(frow[x_out], yscale);
81 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale);
82 dst[x_out] = (!(v & ~0xff)) ? v : (v < 0) ? 0 : 255;
83 irow[x_out] = frac; // new fractional start
192 static void ExportRowMIPS(WebPRescaler* const wrk, int x_out) {
250 ExportRowC(wrk, x_out);