Lines Matching refs:x_out
59 int x_out; in WebPRescalerImportRow() local
63 for (x_out = channel; x_out < x_out_max; x_out += x_stride) { in WebPRescalerImportRow()
73 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; in WebPRescalerImportRow()
80 for (x_out = channel; x_out < x_out_max; x_out += x_stride) { in WebPRescalerImportRow()
87 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRow()
92 for (x_out = channel; x_out < x_out_max; x_out += x_stride) { in WebPRescalerImportRow()
93 wrk->irow[x_out] += wrk->frow[x_out]; in WebPRescalerImportRow()
99 int x_out; in WebPRescalerExportRow() local
106 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRow()
107 const int frac = (int)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRow()
108 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRow()
109 dst[x_out] = (!(v & ~0xff)) ? v : (v < 0) ? 0 : 255; in WebPRescalerExportRow()
110 irow[x_out] = frac; // new fractional start in WebPRescalerExportRow()