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