Lines Matching refs:x_out
36 int x_out = channel; in WebPRescalerImportRowExpandC() local
43 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpandC()
44 x_out += x_stride; in WebPRescalerImportRowExpandC()
45 if (x_out >= x_out_max) break; in WebPRescalerImportRowExpandC()
67 int x_out = channel; in WebPRescalerImportRowShrinkC() local
70 while (x_out < x_out_max) { in WebPRescalerImportRowShrinkC()
82 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrinkC()
86 x_out += x_stride; in WebPRescalerImportRowShrinkC()
96 int x_out; in WebPRescalerExportRowExpandC() local
106 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowExpandC()
107 const uint32_t J = frow[x_out]; in WebPRescalerExportRowExpandC()
110 dst[x_out] = v; in WebPRescalerExportRowExpandC()
115 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowExpandC()
116 const uint64_t I = (uint64_t)A * frow[x_out] in WebPRescalerExportRowExpandC()
117 + (uint64_t)B * irow[x_out]; in WebPRescalerExportRowExpandC()
121 dst[x_out] = v; in WebPRescalerExportRowExpandC()
127 int x_out; in WebPRescalerExportRowShrinkC() local
137 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowShrinkC()
138 const uint32_t frac = (uint32_t)MULT_FIX(frow[x_out], yscale); in WebPRescalerExportRowShrinkC()
139 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrinkC()
141 dst[x_out] = v; in WebPRescalerExportRowShrinkC()
142 irow[x_out] = frac; // new fractional start in WebPRescalerExportRowShrinkC()
145 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowShrinkC()
146 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in WebPRescalerExportRowShrinkC()
148 dst[x_out] = v; in WebPRescalerExportRowShrinkC()
149 irow[x_out] = 0; in WebPRescalerExportRowShrinkC()