Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c29 const int x_add = wrk->x_add; in ImportRowShrink_MIPS32() local
76 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink_MIPS32()
88 const int x_add = wrk->x_add; in ImportRowExpand_MIPS32() local
137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
Drescaler_sse2.c50 const int x_add = wrk->x_add; in RescalerImportRowExpand_SSE2() local
51 int accum = x_add; in RescalerImportRowExpand_SSE2()
66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
75 accum += x_add; in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
105 accum += x_add; in RescalerImportRowExpand_SSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrink_SSE2()
133 accum += wrk->x_add; in RescalerImportRowShrink_SSE2()
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C()
46 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
55 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
76 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
179 assert(wrk->src_height == wrk->dst_height && wrk->x_add == 1); in WebPRescalerExportRow()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c29 const int x_add = wrk->x_add; in ImportRowShrink_MIPS32() local
76 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink_MIPS32()
88 const int x_add = wrk->x_add; in ImportRowExpand_MIPS32() local
137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
Drescaler_sse2.c50 const int x_add = wrk->x_add; in RescalerImportRowExpand_SSE2() local
51 int accum = x_add; in RescalerImportRowExpand_SSE2()
66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
75 accum += x_add; in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
105 accum += x_add; in RescalerImportRowExpand_SSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrink_SSE2()
133 accum += wrk->x_add; in RescalerImportRowShrink_SSE2()
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C()
45 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
54 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
75 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
178 assert(wrk->src_height == wrk->dst_height && wrk->x_add == 1); in WebPRescalerExportRow()
/third_party/flutter/skia/third_party/externals/libwebp/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()
55 (uint64_t)dst_height * WEBP_RESCALER_ONE / (wrk->x_add * wrk->y_add); in WebPRescalerInit()
67 wrk->fy_scale = WEBP_RESCALER_FRAC(1, wrk->x_add); in WebPRescalerInit()
Drescaler_utils.h40 int x_add, x_sub; // horizontal increments member
/third_party/skia/third_party/externals/libwebp/src/utils/
Drescaler_utils.c29 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit() local
47 rescaler->x_add = rescaler->x_expand ? (x_sub - 1) : x_add; in WebPRescalerInit()
48 rescaler->x_sub = rescaler->x_expand ? (x_add - 1) : x_sub; in WebPRescalerInit()
61 const uint64_t den = (uint64_t)rescaler->x_add * rescaler->y_add; in WebPRescalerInit()
74 rescaler->fy_scale = WEBP_RESCALER_FRAC(1, rescaler->x_add); in WebPRescalerInit()
Drescaler_utils.h40 int x_add, x_sub; // horizontal increments member
/third_party/python/Objects/
Dlongobject.c3002 x_add(PyLongObject *a, PyLongObject *b) in x_add() function
3101 z = x_add(a, b); in long_add()
3118 z = x_add(a, b); in long_add()
3138 z = x_add(a, b); in long_sub()
3147 z = x_add(a, b); in long_sub()
3410 if ((t1 = x_add(ah, al)) == NULL) goto fail; in k_mul()
3419 else if ((t2 = x_add(bh, bl)) == NULL) { in k_mul()