• Home
  • Raw
  • Download

Lines Matching refs:wrk

118                                           WebPRescaler* const wrk) {  in ExportRowExpand_0()  argument
119 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale); in ExportRowExpand_0()
167 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_0()
176 WebPRescaler* const wrk) { in ExportRowExpand_1() argument
177 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in ExportRowExpand_1()
182 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fy_scale); in ExportRowExpand_1()
242 const int v = (int)MULT_FIX(J, wrk->fy_scale); in ExportRowExpand_1()
249 static void RescalerExportRowExpand_MIPSdspR2(WebPRescaler* const wrk) { in RescalerExportRowExpand_MIPSdspR2() argument
250 uint8_t* dst = wrk->dst; in RescalerExportRowExpand_MIPSdspR2()
251 rescaler_t* irow = wrk->irow; in RescalerExportRowExpand_MIPSdspR2()
252 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowExpand_MIPSdspR2()
253 const rescaler_t* frow = wrk->frow; in RescalerExportRowExpand_MIPSdspR2()
254 assert(!WebPRescalerOutputDone(wrk)); in RescalerExportRowExpand_MIPSdspR2()
255 assert(wrk->y_accum <= 0); in RescalerExportRowExpand_MIPSdspR2()
256 assert(wrk->y_expand); in RescalerExportRowExpand_MIPSdspR2()
257 assert(wrk->y_sub != 0); in RescalerExportRowExpand_MIPSdspR2()
258 if (wrk->y_accum == 0) { in RescalerExportRowExpand_MIPSdspR2()
259 ExportRowExpand_0(frow, dst, x_out_max, wrk); in RescalerExportRowExpand_MIPSdspR2()
261 ExportRowExpand_1(frow, irow, dst, x_out_max, wrk); in RescalerExportRowExpand_MIPSdspR2()
268 WebPRescaler* const wrk) { in ExportRowShrink_0() argument
270 const v4u32 fxyscale = (v4u32)__msa_fill_w(wrk->fxy_scale); in ExportRowShrink_0()
344 const int v = (int)MULT_FIX(irow[x_out] - frac, wrk->fxy_scale); in ExportRowShrink_0()
354 WebPRescaler* const wrk) { in ExportRowShrink_1() argument
355 const v4u32 scale = (v4u32)__msa_fill_w(wrk->fxy_scale); in ExportRowShrink_1()
406 const int v = (int)MULT_FIX(irow[x_out], wrk->fxy_scale); in ExportRowShrink_1()
414 static void RescalerExportRowShrink_MIPSdspR2(WebPRescaler* const wrk) { in RescalerExportRowShrink_MIPSdspR2() argument
415 uint8_t* dst = wrk->dst; in RescalerExportRowShrink_MIPSdspR2()
416 rescaler_t* irow = wrk->irow; in RescalerExportRowShrink_MIPSdspR2()
417 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowShrink_MIPSdspR2()
418 const rescaler_t* frow = wrk->frow; in RescalerExportRowShrink_MIPSdspR2()
419 const uint32_t yscale = wrk->fy_scale * (-wrk->y_accum); in RescalerExportRowShrink_MIPSdspR2()
420 assert(!WebPRescalerOutputDone(wrk)); in RescalerExportRowShrink_MIPSdspR2()
421 assert(wrk->y_accum <= 0); in RescalerExportRowShrink_MIPSdspR2()
422 assert(!wrk->y_expand); in RescalerExportRowShrink_MIPSdspR2()
424 ExportRowShrink_0(frow, irow, dst, x_out_max, yscale, wrk); in RescalerExportRowShrink_MIPSdspR2()
426 ExportRowShrink_1(irow, dst, x_out_max, wrk); in RescalerExportRowShrink_MIPSdspR2()