Searched defs:x_sub (Results 1 - 6 of 6) sorted by relevance
/external/opencv3/3rdparty/libwebp/utils/ |
H A D | rescaler.h | 32 int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst) member in struct:__anon15403 45 int x_add, int x_sub,
|
H A D | rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, 40 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add - x_sub; 41 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; 45 wrk->fx_scale = (1 << RFIX) / x_sub; 48 ((int64_t)dst_height << RFIX) / (x_sub * src_height) : 65 for (; accum > 0; accum -= wrk->x_sub) { 73 wrk->frow[x_out] = (sum + base) * wrk->x_sub - frac; 88 accum -= wrk->x_sub; 27 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument [all...] |
/external/webp/src/dsp/ |
H A D | rescaler_mips32.c | 29 const int x_sub = wrk->x_sub; local 54 "subu %[accum], %[accum], %[x_sub] \n\t" 61 "mul %[temp3], %[sum], %[x_sub] \n\t" 75 [x_sub]"r"(x_sub), [x_add]"r"(x_add), 87 const int x_sub = wrk->x_sub; local 123 "subu %[accum], %[accum], %[x_sub] \n\t" 135 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]" [all...] |
H A D | rescaler_sse2.c | 67 accum -= wrk->x_sub; 91 accum -= wrk->x_sub; 114 const int x_sub = wrk->x_sub; local 117 const __m128i mult0 = _mm_set1_epi16(x_sub); 124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { 138 // To avoid overflow, we need: base * x_add / x_sub < 32768 139 // => x_add < x_sub << 7. That's a 1/128 reduction ratio limit. 141 accum -= x_sub; 150 const __m128i B0 = _mm_unpacklo_epi16(A0, A1); // sum * x_sub [all...] |
/external/webp/src/utils/ |
H A D | rescaler.c | 26 const int x_add = src_width, x_sub = dst_width; local 41 wrk->x_add = wrk->x_expand ? (x_sub - 1) : x_add; 42 wrk->x_sub = wrk->x_expand ? (x_add - 1) : x_sub; 44 wrk->fx_scale = WEBP_RESCALER_FRAC(1, wrk->x_sub);
|
H A D | rescaler.h | 40 int x_add, x_sub; // horizontal increments member in struct:WebPRescaler
|
Completed in 137 milliseconds