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