Lines Matching refs:x_out
38 int x_out = channel; in WebPRescalerImportRowExpand_C() local
45 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
46 x_out += x_stride; in WebPRescalerImportRowExpand_C()
47 if (x_out >= x_out_max) break; in WebPRescalerImportRowExpand_C()
70 int x_out = channel; in WebPRescalerImportRowShrink_C() local
73 while (x_out < x_out_max) { in WebPRescalerImportRowShrink_C()
85 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrink_C()
89 x_out += x_stride; in WebPRescalerImportRowShrink_C()
99 int x_out; in WebPRescalerExportRowExpand_C() local
109 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowExpand_C()
110 const uint32_t J = frow[x_out]; in WebPRescalerExportRowExpand_C()
112 dst[x_out] = (v > 255) ? 255u : (uint8_t)v; in WebPRescalerExportRowExpand_C()
117 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowExpand_C()
118 const uint64_t I = (uint64_t)A * frow[x_out] in WebPRescalerExportRowExpand_C()
119 + (uint64_t)B * irow[x_out]; in WebPRescalerExportRowExpand_C()
122 dst[x_out] = (v > 255) ? 255u : (uint8_t)v; in WebPRescalerExportRowExpand_C()
128 int x_out; in WebPRescalerExportRowShrink_C() local
138 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowShrink_C()
139 const uint32_t frac = (uint32_t)MULT_FIX_FLOOR(frow[x_out], yscale); in WebPRescalerExportRowShrink_C()
140 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in WebPRescalerExportRowShrink_C()
141 dst[x_out] = (v > 255) ? 255u : (uint8_t)v; in WebPRescalerExportRowShrink_C()
142 irow[x_out] = frac; // new fractional start in WebPRescalerExportRowShrink_C()
145 for (x_out = 0; x_out < x_out_max; ++x_out) { in WebPRescalerExportRowShrink_C()
146 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in WebPRescalerExportRowShrink_C()
147 dst[x_out] = (v > 255) ? 255u : (uint8_t)v; in WebPRescalerExportRowShrink_C()
148 irow[x_out] = 0; in WebPRescalerExportRowShrink_C()