Searched refs:x_add (Results 1 – 7 of 7) sorted by relevance
/external/opencv3/3rdparty/libwebp/utils/ |
D | rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, in WebPRescalerInit() argument 40 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add - x_sub; in WebPRescalerInit() 41 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit() 49 ((int64_t)dst_height << RFIX) / (x_add * src_height); in WebPRescalerInit() 64 accum += wrk->x_add; in WebPRescalerImportRow() 85 accum += wrk->x_add; in WebPRescalerImportRow() 87 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRow()
|
D | rescaler.h | 32 int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst) member 45 int x_add, int x_sub,
|
/external/webp/src/dsp/ |
D | rescaler_mips32.c | 28 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()
|
D | rescaler_sse2.c | 48 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()
|
D | rescaler.c | 38 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/ |
D | rescaler.c | 26 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()
|
D | rescaler.h | 40 int x_add, x_sub; // horizontal increments member
|