Home
last modified time | relevance | path

Searched refs:sum1 (Results 1 – 25 of 120) sorted by relevance

12345

/external/libaom/av1/common/arm/
Dconvolve_neon.h81 int32x4_t sum0, sum1; in wiener_convolve8_vert_4x8() local
99 sum1 = vmull_lane_s16(vget_high_s16(ss0), filter, 0); in wiener_convolve8_vert_4x8()
100 sum1 = vmlal_lane_s16(sum1, vget_high_s16(ss1), filter, 1); in wiener_convolve8_vert_4x8()
101 sum1 = vmlal_lane_s16(sum1, vget_high_s16(ss2), filter, 2); in wiener_convolve8_vert_4x8()
102 sum1 = vmlal_lane_s16(sum1, vget_high_s16(s3), filter, 3); in wiener_convolve8_vert_4x8()
105 sum1 = vsubq_s32(sum1, round_vec); in wiener_convolve8_vert_4x8()
109 sum1 = vrshlq_s32(sum1, round_bits); in wiener_convolve8_vert_4x8()
112 tmp = vcombine_s16(vmovn_s32(sum0), vmovn_s32(sum1)); in wiener_convolve8_vert_4x8()
272 int32x4_t sum0, sum1; in convolve8_8_usdot() local
287 sum1 = vusdotq_lane_s32(horiz_const, permuted_samples[1], filters, 0); in convolve8_8_usdot()
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/
Dadler32_p.h15 #define DO1(sum1, sum2, buf, i) {(sum1) += buf[(i)]; (sum2) += (sum1);} argument
16 #define DO2(sum1, sum2, buf, i) {DO1(sum1, sum2, buf, i); DO1(sum1, sum2, buf, i+1);} argument
17 #define DO4(sum1, sum2, buf, i) {DO2(sum1, sum2, buf, i); DO2(sum1, sum2, buf, i+2);} argument
18 #define DO8(sum1, sum2, buf, i) {DO4(sum1, sum2, buf, i); DO4(sum1, sum2, buf, i+4);} argument
19 #define DO16(sum1, sum2, buf) {DO8(sum1, sum2, buf, 0); DO8(sum1, sum2, buf, 8);} argument
Dadler32.c79 uint32_t sum1; in adler32_combine_() local
90 sum1 = adler1 & 0xffff; in adler32_combine_()
91 sum2 = rem * sum1; in adler32_combine_()
93 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
95 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
96 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
99 return sum1 | (sum2 << 16); in adler32_combine_()
/external/libvpx/vpx_dsp/x86/
Dconvolve_avx2.h61 __m256i sum1, sum2; in convolve8_16_avx2() local
66 sum1 = _mm256_add_epi16(x0, x2); in convolve8_16_avx2()
69 sum1 = _mm256_add_epi16(sum1, k_64); in convolve8_16_avx2()
70 sum1 = _mm256_adds_epi16(sum1, sum2); in convolve8_16_avx2()
72 sum1 = _mm256_srai_epi16(sum1, 7); in convolve8_16_avx2()
73 return sum1; in convolve8_16_avx2()
88 __m128i sum1, sum2; in convolve8_8_avx2() local
93 sum1 = _mm_add_epi16(x0, x2); in convolve8_8_avx2()
96 sum1 = _mm_add_epi16(sum1, k_64); in convolve8_8_avx2()
97 sum1 = _mm_adds_epi16(sum1, sum2); in convolve8_8_avx2()
[all …]
Dconvolve_ssse3.h51 __m128i sum1, sum2; in convolve8_8_ssse3() local
56 sum1 = _mm_add_epi16(x0, x2); in convolve8_8_ssse3()
59 sum1 = _mm_add_epi16(sum1, k_64); in convolve8_8_ssse3()
60 sum1 = _mm_adds_epi16(sum1, sum2); in convolve8_8_ssse3()
62 sum1 = _mm_srai_epi16(sum1, 7); in convolve8_8_ssse3()
63 return sum1; in convolve8_8_ssse3()
/external/libaom/aom_dsp/x86/
Dconvolve_ssse3.h35 __m128i sum1, sum2; in convolve8_8_ssse3() local
40 sum1 = _mm_add_epi16(x0, x2); in convolve8_8_ssse3()
43 sum1 = _mm_add_epi16(sum1, k_64); in convolve8_8_ssse3()
44 sum1 = _mm_adds_epi16(sum1, sum2); in convolve8_8_ssse3()
46 sum1 = _mm_srai_epi16(sum1, 7); in convolve8_8_ssse3()
47 return sum1; in convolve8_8_ssse3()
Dhighbd_variance_avx2.c60 __m256i sum1 = _mm256_setzero_si256(); in aom_highbd_var_filter_block2d_bil_avx2() local
71 sum1 = _mm256_add_epi16(sum1, V_R_SUB); in aom_highbd_var_filter_block2d_bil_avx2()
75 __m256i v_sum0 = _mm256_madd_epi16(sum1, one); in aom_highbd_var_filter_block2d_bil_avx2()
105 __m256i sum1 = _mm256_setzero_si256(); in aom_highbd_var_filter_block2d_bil_avx2() local
120 sum1 = _mm256_add_epi16(sum1, V_R_SUB); in aom_highbd_var_filter_block2d_bil_avx2()
124 __m256i v_sum0 = _mm256_madd_epi16(sum1, one); in aom_highbd_var_filter_block2d_bil_avx2()
154 __m256i sum1 = _mm256_setzero_si256(); in aom_highbd_var_filter_block2d_bil_avx2() local
184 sum1 = _mm256_add_epi16(sum1, V_R_SUB); in aom_highbd_var_filter_block2d_bil_avx2()
188 __m256i v_sum0 = _mm256_madd_epi16(sum1, one); in aom_highbd_var_filter_block2d_bil_avx2()
222 __m256i sum1 = _mm256_setzero_si256(); in aom_highbd_var_filter_block2d_bil_avx2() local
[all …]
/external/libvpx/vpx_dsp/arm/
Dvpx_convolve8_neon.h68 int32x4_t sum0, sum1; in convolve8_8_sdot_partial() local
76 sum1 = vdotq_lane_s32(correction, samples1_lo, filters, 0); in convolve8_8_sdot_partial()
77 sum1 = vdotq_lane_s32(sum1, samples1_hi, filters, 1); in convolve8_8_sdot_partial()
80 sum = vcombine_s16(vqmovn_s32(sum0), vqmovn_s32(sum1)); in convolve8_8_sdot_partial()
90 int32x4_t sum0, sum1; in convolve8_8_sdot() local
109 sum1 = vdotq_lane_s32(correction, permuted_samples[1], filters, 0); in convolve8_8_sdot()
110 sum1 = vdotq_lane_s32(sum1, permuted_samples[2], filters, 1); in convolve8_8_sdot()
113 sum = vcombine_s16(vqmovn_s32(sum0), vqmovn_s32(sum1)); in convolve8_8_sdot()
160 int32x4_t sum0, sum1; in convolve8_8_usdot_partial() local
167 sum1 = vusdotq_lane_s32(vdupq_n_s32(0), samples1_lo, filters, 0); in convolve8_8_usdot_partial()
[all …]
Dloopfilter_neon.c186 uint16x8_t *sum1) { in filter_update_16() argument
188 *sum1 = vsubw_u8(*sum1, vget_high_u8(sub0)); in filter_update_16()
190 *sum1 = vsubw_u8(*sum1, vget_high_u8(sub1)); in filter_update_16()
192 *sum1 = vaddw_u8(*sum1, vget_high_u8(add0)); in filter_update_16()
194 *sum1 = vaddw_u8(*sum1, vget_high_u8(add1)); in filter_update_16()
208 const uint8x16_t add1, uint16x8_t *sum0, uint16x8_t *sum1) { in calc_7_tap_filter_16_kernel() argument
209 filter_update_16(sub0, sub1, add0, add1, sum0, sum1); in calc_7_tap_filter_16_kernel()
210 return vcombine_u8(vrshrn_n_u16(*sum0, 3), vrshrn_n_u16(*sum1, 3)); in calc_7_tap_filter_16_kernel()
224 uint16x8_t *sum0, uint16x8_t *sum1) { in apply_15_tap_filter_16_kernel() argument
226 filter_update_16(sub0, sub1, add0, add1, sum0, sum1); in apply_15_tap_filter_16_kernel()
[all …]
/external/libopus/celt/x86/
Dpitch_sse4_1.c117 __m128i sum0, sum1, sum2, sum3, vecSum; in xcorr_kernel_sse4_1() local
131 sum1 = _mm_setzero_si128(); in xcorr_kernel_sse4_1()
144 sum1 = _mm_add_epi32(sum1, _mm_madd_epi16(vecX, vecY1)); in xcorr_kernel_sse4_1()
152 sum1 = _mm_add_epi32(sum1, _mm_unpackhi_epi64( sum1, sum1)); in xcorr_kernel_sse4_1()
153 sum1 = _mm_add_epi32(sum1, _mm_shufflelo_epi16( sum1, 0x0E)); in xcorr_kernel_sse4_1()
161 vecSum = _mm_unpacklo_epi64(_mm_unpacklo_epi32(sum0, sum1), in xcorr_kernel_sse4_1()
178 sum1 = _mm_mullo_epi32(vecX1, vecY1); in xcorr_kernel_sse4_1()
182 sum0 = _mm_add_epi32(sum0, sum1); in xcorr_kernel_sse4_1()
200 sum1 = _mm_mullo_epi32(vecX1, vecY1); in xcorr_kernel_sse4_1()
204 vecSum = _mm_add_epi32(vecSum, sum1); in xcorr_kernel_sse4_1()
[all …]
/external/ltp/testcases/network/tcp_cmds/ftp/
Dftp01.sh35 local file sum1 sum2
46 sum1="$(ls -l $file | awk '{print $5}')"
49 EXPECT_PASS "[ '$sum1' = '$sum2' ]"
55 local file sum1 sum2
67 sum1="$(tst_rhost_run -c "sum $TST_TMPDIR/$file" -s | awk '{print $1}')"
70 EXPECT_PASS "[ '$sum1' = '$sum2' ]"
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/
Dadler32_avx512_p.h16 __m128i sum1 = _mm_unpackhi_epi64(c_plus_d, c_plus_d); in _mm512_reduce_add_epu32() local
17 __m128i sum2 = _mm_add_epi32(sum1, c_plus_d); in _mm512_reduce_add_epu32()
39 __m128i sum1 = _mm_add_epi32(_mm256_extracti128_si256(non_zero_avx, 1), in partial_hsum() local
41 __m128i sum2 = _mm_add_epi32(sum1,_mm_unpackhi_epi64(sum1, sum1)); in partial_hsum()
Dadler32_avx2_p.h13 __m128i sum1 = _mm_add_epi32(_mm256_extracti128_si256(x, 1), in hsum256() local
15 __m128i sum2 = _mm_add_epi32(sum1, _mm_unpackhi_epi64(sum1, sum1)); in hsum256()
/external/python/cpython2/Modules/zlib/
Dadler32.c148 unsigned long sum1; local
159 sum1 = adler1 & 0xffff;
160 sum2 = rem * sum1;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
164 if (sum1 >= BASE) sum1 -= BASE;
165 if (sum1 >= BASE) sum1 -= BASE;
168 return sum1 | (sum2 << 16);
/external/rust/crates/libz-sys/src/zlib/
Dadler32.c148 unsigned long sum1; local
159 sum1 = adler1 & 0xffff;
160 sum2 = rem * sum1;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
164 if (sum1 >= BASE) sum1 -= BASE;
165 if (sum1 >= BASE) sum1 -= BASE;
168 return sum1 | (sum2 << 16);
/external/freetype/src/gzip/
Dadler32.c152 unsigned long sum1; in adler32_combine_() local
163 sum1 = adler1 & 0xffff; in adler32_combine_()
164 sum2 = rem * sum1; in adler32_combine_()
166 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
168 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
169 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
172 return sum1 | (sum2 << 16); in adler32_combine_()
/external/libwebsockets/win32port/zlib/
Dadler32.c136 unsigned long sum1; local
142 sum1 = adler1 & 0xffff;
143 sum2 = rem * sum1;
145 sum1 += (adler2 & 0xffff) + BASE - 1;
147 if (sum1 >= BASE) sum1 -= BASE;
148 if (sum1 >= BASE) sum1 -= BASE;
151 return sum1 | (sum2 << 16);
/external/tflite-support/third_party/zlib/
Dadler32.c176 unsigned long sum1; local
187 sum1 = adler1 & 0xffff;
188 sum2 = rem * sum1;
190 sum1 += (adler2 & 0xffff) + BASE - 1;
192 if (sum1 >= BASE) sum1 -= BASE;
193 if (sum1 >= BASE) sum1 -= BASE;
196 return sum1 | (sum2 << 16);
/external/zlib/
Dadler32.c176 unsigned long sum1; local
187 sum1 = adler1 & 0xffff;
188 sum2 = rem * sum1;
190 sum1 += (adler2 & 0xffff) + BASE - 1;
192 if (sum1 >= BASE) sum1 -= BASE;
193 if (sum1 >= BASE) sum1 -= BASE;
196 return sum1 | (sum2 << 16);
/external/speex/libspeexdsp/
Dresample_sse.h104 __m128d sum1 = _mm_setzero_pd(); in interpolate_product_double() local
113 sum1 = _mm_add_pd(sum1, _mm_cvtps_pd(t)); in interpolate_product_double()
117 sum1 = _mm_add_pd(sum1, _mm_cvtps_pd(t)); in interpolate_product_double()
120 sum1 = _mm_mul_pd(f1, sum1); in interpolate_product_double()
122 sum = _mm_add_pd(sum1, sum2); in interpolate_product_double()
/external/bcc/tools/
Dkvmexit.py347 sum1 = 0 variable
352 sum1 += pcpu_cache[0][inner_cpu].cache_exit_ct.exit_ct[i]
355 sum1 += v[inner_cpu].exit_ct[i]
356 if sum1 == 0:
360 tgid_exit[i] += sum1
362 ct_reason.append((sum1, i))
364 print("%-8u %-35s %-8u" % (pid, exit_reasons[i], sum1))
366 print("%-8u %-8u %-35s %-8u" % (tgid, pid, exit_reasons[i], sum1))
/external/flac/src/libFLAC/deduplication/
Dlpc_compute_autocorrelation_intrin_sse2.c4 __m128d sum0, sum1, sum2, sum3; variable
20 sum1 = _mm_setzero_pd();
58 sum1 = _mm_add_pd(sum1, _mm_mul_pd(d, d1));
72 _mm_storeu_pd(autoc+2, sum1);
/external/webp/src/dsp/
Dssim_sse2.c37 const __m128i sum1 = _mm_madd_epi16(C0, C0); in SubtractAndSquare_SSE2() local
39 *sum = _mm_add_epi32(sum1, sum2); in SubtractAndSquare_SSE2()
52 __m128i sum1; in AccumulateSSE_SSE2() local
62 SubtractAndSquare_SSE2(a0, b0, &sum1); in AccumulateSSE_SSE2()
63 sum = _mm_add_epi32(sum, sum1); in AccumulateSSE_SSE2()
70 SubtractAndSquare_SSE2(a0, b0, &sum1); in AccumulateSSE_SSE2()
71 sum = _mm_add_epi32(sum, sum1); in AccumulateSSE_SSE2()
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c115 __m128i sum0, sum1, sum2, cmp0, cmp1; in ih264_resi_trans_quant_4x4_sse42() local
304 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
305 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
317 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
318 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
389 __m128i cmp0, cmp1, sum0, sum1, sum2; in ih264_resi_trans_quant_chroma_4x4_sse42() local
589 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
590 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
602 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
603 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
[all …]
/external/google-breakpad/src/common/mac/
Dmacho_id.cc87 #define DO1(buf,i) {sum1 += (buf)[i]; sum2 += sum1;} in UpdateCRC()
93 uint32_t sum1 = crc_ & 0xFFFF; in UpdateCRC() local
104 sum1 %= MOD_ADLER; in UpdateCRC()
116 sum1 += *bytes++; in UpdateCRC()
117 sum2 += sum1; in UpdateCRC()
119 sum1 %= MOD_ADLER; in UpdateCRC()
121 crc_ = (sum2 << 16) | sum1; in UpdateCRC()

12345