Home
last modified time | relevance | path

Searched refs:y_sub (Results 1 – 7 of 7) sorted by relevance

/external/webp/src/utils/
Drescaler.c27 const int y_add = src_height, y_sub = dst_height; in WebPRescalerInit() local
48 wrk->y_sub = wrk->y_expand ? y_sub - 1 : y_sub; in WebPRescalerInit()
49 wrk->y_accum = wrk->y_expand ? wrk->y_sub : wrk->y_add; in WebPRescalerInit()
61 wrk->fy_scale = WEBP_RESCALER_FRAC(1, wrk->y_sub); in WebPRescalerInit()
105 const int num_lines = (wrk->y_accum + wrk->y_sub - 1) / wrk->y_sub; in WebPRescaleNeededLines()
128 wrk->y_accum -= wrk->y_sub; in WebPRescalerImport()
Drescaler.h39 int y_add, y_sub; // vertical increments member
/external/webp/src/dsp/
Drescaler_mips_dsp_r2.c177 assert(wrk->y_sub != 0); in ExportRowExpand()
223 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in ExportRowExpand()
Drescaler_mips32.c158 assert(wrk->y_sub != 0); in ExportRowExpand()
180 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in ExportRowExpand()
Drescaler.c104 assert(wrk->y_sub != 0); in WebPRescalerExportRowExpandC()
113 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in WebPRescalerExportRowExpandC()
Drescaler_neon.c71 assert(wrk->y_sub != 0); in RescalerExportRowExpand()
90 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in RescalerExportRowExpand()
Drescaler_sse2.c237 assert(wrk->y_accum <= 0 && wrk->y_sub + wrk->y_accum >= 0); in RescalerExportRowExpandSSE2()
252 const uint32_t B = WEBP_RESCALER_FRAC(-wrk->y_accum, wrk->y_sub); in RescalerExportRowExpandSSE2()