Home
last modified time | relevance | path

Searched refs:x_sub (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/dsp/
Drescaler_mips32.c29 const int x_sub = wrk->x_sub; in ImportRowShrink() local
75 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink()
87 const int x_sub = wrk->x_sub; in ImportRowExpand() local
135 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand()
140 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in ImportRowExpand()
Drescaler.c46 accum -= wrk->x_sub; in WebPRescalerImportRowExpandC()
55 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpandC()
74 accum -= wrk->x_sub; in WebPRescalerImportRowShrinkC()
82 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrinkC()
Drescaler_sse2.c68 accum -= wrk->x_sub; in RescalerImportRowExpandSSE2()
92 accum -= wrk->x_sub; in RescalerImportRowExpandSSE2()
115 const int x_sub = wrk->x_sub; in RescalerImportRowShrinkSSE2() local
118 const __m128i mult0 = _mm_set1_epi16(x_sub); in RescalerImportRowShrinkSSE2()
125 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrinkSSE2()
142 accum -= x_sub; in RescalerImportRowShrinkSSE2()
/external/webp/src/utils/
Drescaler_utils.c26 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit() local
41 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add; in WebPRescalerInit()
42 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit()
44 wrk->fx_scale = WEBP_RESCALER_FRAC(1, wrk->x_sub); in WebPRescalerInit()
Drescaler_utils.h40 int x_add, x_sub; // horizontal increments member