Lines Matching defs:wrk
27 static void ExportRowShrink(WebPRescaler* const wrk) {
29 const int x_out_max = wrk->dst_width * wrk->num_channels;
30 uint8_t* dst = wrk->dst;
31 rescaler_t* irow = wrk->irow;
32 const rescaler_t* frow = wrk->frow;
33 const int yscale = wrk->fy_scale * (-wrk->y_accum);
35 const int temp7 = (int)wrk->fxy_scale;
37 assert(!WebPRescalerOutputDone(wrk));
38 assert(wrk->y_accum <= 0);
39 assert(!wrk->y_expand);
40 assert(wrk->fxy_scale != 0);
109 const int v = (int)MULT_FIX(*irow - frac, wrk->fxy_scale);
157 const int v = (int)MULT_FIX(*irow, wrk->fxy_scale);
165 static void ExportRowExpand(WebPRescaler* const wrk) {
167 uint8_t* dst = wrk->dst;
168 rescaler_t* irow = wrk->irow;
169 const int x_out_max = wrk->dst_width * wrk->num_channels;
170 const rescaler_t* frow = wrk->frow;
173 const int temp7 = (int)wrk->fy_scale;
174 assert(!WebPRescalerOutputDone(wrk));
175 assert(wrk->y_accum <= 0);
176 assert(wrk->y_expand);
177 assert(wrk->y_sub != 0);
178 if (wrk->y_accum == 0) {
218 const int v = (int)MULT_FIX(J, wrk->fy_scale);
223 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub);
290 const int v = (int)MULT_FIX(J, wrk->fy_scale);