Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c30 const int x_sub = wrk->x_sub; in ImportRowShrink_MIPS32() local
76 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink_MIPS32()
89 const int x_sub = wrk->x_sub; in ImportRowExpand_MIPS32() local
137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
142 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in ImportRowExpand_MIPS32()
Drescaler_sse2.c71 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
91 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
114 const int x_sub = wrk->x_sub; in RescalerImportRowShrink_SSE2() local
117 const __m128i mult0 = _mm_set1_epi16(x_sub); in RescalerImportRowShrink_SSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrink_SSE2()
141 accum -= x_sub; in RescalerImportRowShrink_SSE2()
Drescaler.c49 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
58 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
78 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
86 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrink_C()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c30 const int x_sub = wrk->x_sub; in ImportRowShrink_MIPS32() local
76 [x_sub]"r"(x_sub), [x_add]"r"(x_add), in ImportRowShrink_MIPS32()
89 const int x_sub = wrk->x_sub; in ImportRowExpand_MIPS32() local
137 : [x_stride]"r"(x_stride), [x_add]"r"(x_add), [x_sub]"r"(x_sub), in ImportRowExpand_MIPS32()
142 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in ImportRowExpand_MIPS32()
Drescaler_sse2.c71 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
91 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
114 const int x_sub = wrk->x_sub; in RescalerImportRowShrink_SSE2() local
117 const __m128i mult0 = _mm_set1_epi16(x_sub); in RescalerImportRowShrink_SSE2()
124 if (wrk->num_channels != 4 || wrk->x_add > (x_sub << 7)) { in RescalerImportRowShrink_SSE2()
141 accum -= x_sub; in RescalerImportRowShrink_SSE2()
Drescaler.c48 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
57 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
77 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
85 wrk->frow[x_out] = sum * wrk->x_sub - frac; in WebPRescalerImportRowShrink_C()
/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()
44 wrk->fx_scale = WEBP_RESCALER_FRAC(1, wrk->x_sub); 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()
50 rescaler->fx_scale = WEBP_RESCALER_FRAC(1, rescaler->x_sub); in WebPRescalerInit()
Drescaler_utils.h40 int x_add, x_sub; // horizontal increments member
/third_party/ffmpeg/libavfilter/
Ddrawutils.c357 int w_sub, h_sub, x_sub, y_sub, left, right, top, bottom, y; in ff_blend_rectangle() local
379 x_sub = x0; in ff_blend_rectangle()
381 subsampling_bounds(draw->hsub[plane], &x_sub, &w_sub, &left, &right); in ff_blend_rectangle()
534 int xm0, ym0, w_sub, h_sub, x_sub, y_sub, left, right, top, bottom, y; in ff_blend_mask() local
557 x_sub = x0; in ff_blend_mask()
559 subsampling_bounds(draw->hsub[plane], &x_sub, &w_sub, &left, &right); in ff_blend_mask()
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
Dbatchnorm.py59 x_sub = graph_builder.emit('Sub', [input_x, input_mean])
60 x_sub_mul = graph_builder.emit('Mul', [input_scale, x_sub])
/third_party/mindspore/mindspore/_extends/parse/
Dstandard_method.py1218 x_sub = F.tensor_sub(x, x_mean)
1219 x_pow = F.tensor_pow(x_sub, 2)
/third_party/mindspore/mindspore/common/
Dtensor.py1713 x_sub = tensor_operator_registry.get('__sub__')(self, x_mean)
1714 x_pow = tensor_operator_registry.get('__pow__')(x_sub, 2)
/third_party/python/Objects/
Dlongobject.c3010 x_sub(PyLongObject *a, PyLongObject *b) in x_sub() function
3086 z = x_sub(b, a); in long_add()
3090 z = x_sub(a, b); in long_add()
3109 z = x_sub(b, a); in long_sub()
3123 z = x_sub(a, b); in long_sub()