Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Drescaler_mips32.c28 const int x_add = wrk->x_add; in ImportRowShrink() local
75 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink()
86 const int x_add = wrk->x_add; in ImportRowExpand() local
135 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand()
Drescaler_sse2.c48 const int x_add = wrk->x_add; in RescalerImportRowExpandSSE2() local
49 int accum = x_add; in RescalerImportRowExpandSSE2()
62 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpandSSE2()
71 accum += x_add; in RescalerImportRowExpandSSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpandSSE2()
105 accum += x_add; in RescalerImportRowExpandSSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrinkSSE2()
133 accum += wrk->x_add; in RescalerImportRowShrinkSSE2()
Drescaler.c38 int accum = wrk->x_add; in WebPRescalerImportRowExpandC()
43 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpandC()
52 accum += wrk->x_add; in WebPRescalerImportRowExpandC()
72 accum += wrk->x_add; in WebPRescalerImportRowShrinkC()
/external/webp/src/utils/
Drescaler.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()
53 (uint64_t)dst_height * WEBP_RESCALER_ONE / (wrk->x_add * wrk->y_add); in WebPRescalerInit()
63 wrk->fy_scale = WEBP_RESCALER_FRAC(1, wrk->x_add); in WebPRescalerInit()
Drescaler.h40 int x_add, x_sub; // horizontal increments member