Home
last modified time | relevance | path

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

123

/external/valgrind/VEX/priv/
Dguest_generic_bb_to_IR.c793 UInt sum1 = 0, sum2 = 0; in genericg_compute_checksum_4al() local
798 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
799 w = p[1]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
800 w = p[2]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
801 w = p[3]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
804 sum1 ^= sum2; in genericg_compute_checksum_4al()
808 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
811 sum1 ^= sum2; in genericg_compute_checksum_4al()
813 return sum1 + sum2; in genericg_compute_checksum_4al()
821 UInt sum1 = 0, sum2 = 0; in genericg_compute_checksum_4al_1() local
[all …]
/external/libvpx/libvpx/vp9/encoder/mips/msa/
Dvp9_avg_msa.c17 v8u16 sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7; in vp9_avg_8x8_msa() local
21 HADD_UB4_UH(src0, src1, src2, src3, sum0, sum1, sum2, sum3); in vp9_avg_8x8_msa()
23 ADD4(sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7, sum0, sum2, sum4, sum6); in vp9_avg_8x8_msa()
41 v4u32 sum1; in vp9_avg_4x4_msa() local
48 sum1 = __msa_hadd_u_w(sum0, sum0); in vp9_avg_4x4_msa()
49 sum0 = (v8u16)__msa_pckev_h((v8i16)sum1, (v8i16)sum1); in vp9_avg_4x4_msa()
50 sum1 = __msa_hadd_u_w(sum0, sum0); in vp9_avg_4x4_msa()
51 sum2 = __msa_hadd_u_d(sum1, sum1); in vp9_avg_4x4_msa()
52 sum1 = (v4u32)__msa_srari_w((v4i32)sum2, 4); in vp9_avg_4x4_msa()
53 sum_out = __msa_copy_u_w((v4i32)sum1, 0); in vp9_avg_4x4_msa()
/external/valgrind/VEX/useful/
Dsmchash.c153 UInt sum1 = 0, sum2 = 0; in cand1() local
157 sum1 = (sum1 << 8) | (UInt)p[0]; in cand1()
165 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
166 w = p[1]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
167 w = p[2]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
168 w = p[3]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
171 sum1 ^= sum2; in cand1()
177 sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
180 sum1 ^= sum2; in cand1()
186 sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
[all …]
/external/zlib/src/
Dadler32.c141 unsigned long sum1; local
152 sum1 = adler1 & 0xffff;
153 sum2 = rem * sum1;
155 sum1 += (adler2 & 0xffff) + BASE - 1;
157 if (sum1 >= BASE) sum1 -= BASE;
158 if (sum1 >= BASE) sum1 -= BASE;
161 return sum1 | (sum2 << 16);
/external/pdfium/third_party/zlib_v128/
Dadler32.c141 unsigned long sum1; in adler32_combine_() local
152 sum1 = adler1 & 0xffff; in adler32_combine_()
153 sum2 = rem * sum1; in adler32_combine_()
155 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
157 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
158 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
161 return sum1 | (sum2 << 16); in adler32_combine_()
/external/opencv3/3rdparty/zlib/
Dadler32.c141 unsigned long sum1; local
152 sum1 = adler1 & 0xffff;
153 sum2 = rem * sum1;
155 sum1 += (adler2 & 0xffff) + BASE - 1;
157 if (sum1 >= BASE) sum1 -= BASE;
158 if (sum1 >= BASE) sum1 -= BASE;
161 return sum1 | (sum2 << 16);
/external/speex/libspeex/
Dltp_arm4.h38 spx_word32_t sum1=0,sum2=0; in inner_prod() local
78 : "=r" (deadx), "=r" (deady), "+r" (sum1), "+r" (sum2), in inner_prod()
84 return (sum1+sum2)>>1; in inner_prod()
95 spx_word32_t sum1=0; in pitch_xcorr() local
175 "+r" (x), "+r" (y), "=r" (x0), "+m" (sum1), in pitch_xcorr()
181 corr[nb_pitch-1-i]=sum1; in pitch_xcorr()
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/libvpx/libvpx/vpx_dsp/x86/
Dvariance_mmx.c77 int sum0, sum1, sum2, sum3; in vpx_mse16x16_mmx() local
80 vpx_get8x8var_mmx(a + 8, a_stride, b + 8, b_stride, &sse1, &sum1); in vpx_mse16x16_mmx()
95 int sum0, sum1, sum2, sum3, avg; in vpx_variance16x16_mmx() local
98 vpx_get8x8var_mmx(a + 8, a_stride, b + 8, b_stride, &sse1, &sum1); in vpx_variance16x16_mmx()
105 avg = sum0 + sum1 + sum2 + sum3; in vpx_variance16x16_mmx()
114 int sum0, sum1, avg; in vpx_variance16x8_mmx() local
117 vpx_get8x8var_mmx(a + 8, a_stride, b + 8, b_stride, &sse1, &sum1); in vpx_variance16x8_mmx()
120 avg = sum0 + sum1; in vpx_variance16x8_mmx()
129 int sum0, sum1, avg; in vpx_variance8x16_mmx() local
133 b + 8 * b_stride, b_stride, &sse1, &sum1); in vpx_variance8x16_mmx()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dvariance_neon.c104 int sum1, sum2; in vpx_variance32x64_neon() local
106 variance_neon_w8(a, a_stride, b, b_stride, 32, 32, &sse1, &sum1); in vpx_variance32x64_neon()
111 sum1 += sum2; in vpx_variance32x64_neon()
112 return *sse - (((int64_t)sum1 * sum1) >> 11); // >> 11 = / 32 * 64 in vpx_variance32x64_neon()
118 int sum1, sum2; in vpx_variance64x32_neon() local
120 variance_neon_w8(a, a_stride, b, b_stride, 64, 16, &sse1, &sum1); in vpx_variance64x32_neon()
125 sum1 += sum2; in vpx_variance64x32_neon()
126 return *sse - (((int64_t)sum1 * sum1) >> 11); // >> 11 = / 32 * 64 in vpx_variance64x32_neon()
132 int sum1, sum2; in vpx_variance64x64_neon() local
135 variance_neon_w8(a, a_stride, b, b_stride, 64, 16, &sse1, &sum1); in vpx_variance64x64_neon()
[all …]
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c114 __m128i sum0, sum1, sum2, cmp0, cmp1; in ih264_resi_trans_quant_4x4_sse42() local
303 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
304 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
316 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
317 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
388 __m128i cmp0, cmp1, sum0, sum1, sum2; in ih264_resi_trans_quant_chroma_4x4_sse42() local
588 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
589 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
601 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
602 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
[all …]
/external/google-breakpad/src/common/mac/
Dmacho_id.cc89 #define DO1(buf,i) {sum1 += (buf)[i]; sum2 += sum1;} in UpdateCRC()
95 uint32_t sum1 = crc_ & 0xFFFF; in UpdateCRC() local
106 sum1 %= MOD_ADLER; in UpdateCRC()
118 sum1 += *bytes++; in UpdateCRC()
119 sum2 += sum1; in UpdateCRC()
121 sum1 %= MOD_ADLER; in UpdateCRC()
123 crc_ = (sum2 << 16) | sum1; in UpdateCRC()
/external/webrtc/webrtc/common_audio/signal_processing/
Dcross_correlation_neon.c24 int64x2_t sum1 = vdupq_n_s64(0); in DotProductWithScaleNeon() local
40 sum1 = vpadalq_s32(sum1, tmp1); in DotProductWithScaleNeon()
53 sum0 = vaddq_s64(sum0, sum1); in DotProductWithScaleNeon()
Dfilter_ar_fast_q12_armv7.S56 mov r7, #0 @ sum1
66 smlatb r7, r10, r5, r7 @ sum1 += coefficients[j] * data_out[i - j];
76 smlabb r7, r10, r5, r7 @ sum1 += coefficients[2] * data_out[i - 2];
82 smlatb r7, r10, r5, r7 @ sum1 += coefficients[1] * data_out[i - 1];
86 sub r6, r7 @ output1 -= sum1;
97 sub r6, r8 @ output1 -= sum1;
/external/opencv3/modules/imgproc/src/opencl/
Dlaplacian5.cl147 WT sum1 = (WT) 0;
151 sum1 = (WT) 0;
155 sum1 = mad(lsmem[liy + i][clocX], mat_kernelY[i], sum1);
158 lsmemDy1[liy][clocX] = sum1;
167 sum1 = (WT) 0;
171 sum1 = mad(lsmemDy1[liy][lix+i], mat_kernelX[i], sum1);
175 WT sum = mad(scale_v, (sum1 + sum2), delta_v);
Dpyr_down.cl97 sum1 = co3 * temp; \
100 sum1 = MAD(co2, temp, sum1); \
103 sum1 = MAD(co1, temp, sum1); \
105 sum1 = MAD(co2, SRC(col_gl, EXTRAPOLATE_(src_y + 3, src_rows)), sum1); \
106 sum1 = MAD(co3, SRC(col_gl, EXTRAPOLATE_(src_y + 4, src_rows)), sum1); \
107 smem[1][col_lcl] = sum1;
141 FT sum0, sum1, temp;
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp299 __m128i sum1 = ProcessPixelPair( in ProcessTwoPixelPairs() local
310 sum0 = _mm_add_epi16(sum0, sum1); in ProcessTwoPixelPairs()
332 __m128i sum1 = ProcessPixelPair( in ProcessTwoPixelPairsDXDY() local
343 sum0 = _mm_add_epi16(sum0, sum1); in ProcessTwoPixelPairsDXDY()
459 __m128i sum1 = ProcessPixelPairZeroSubY<has_alpha>( in S32_generic_D32_filter_DX_SSSE3() local
464 sum0 = _mm_packus_epi16(sum0, sum1); in S32_generic_D32_filter_DX_SSSE3()
531 __m128i sum1 = ProcessTwoPixelPairs<has_alpha>( in S32_generic_D32_filter_DX_SSSE3() local
538 sum0 = _mm_packus_epi16(sum0, sum1); in S32_generic_D32_filter_DX_SSSE3()
564 __m128i sum1 = ProcessOnePixel(row1[x0], row1[x1], scale_x, all_y); in S32_generic_D32_filter_DX_SSSE3() local
567 sum0 = _mm_add_epi16(sum0, sum1); in S32_generic_D32_filter_DX_SSSE3()
[all …]
/external/libopus/celt/arm/
Dcelt_pitch_xcorr_arm.s354 ; r7 = opus_val32 sum1
420 ; maxcorr = max(maxcorr, sum0, sum1, sum2, sum3)
438 ; {r10, r11} = {sum0, sum1} = {0, 0}
448 SMLABT r11, r6, r8, r11 ; sum1 = MAC16_16(sum1, x_0, y_1)
452 SMLATB r11, r6, r9, r11 ; sum1 = MAC16_16(sum1, x_1, y_2)
455 SMLABT r11, r7, r9, r11 ; sum1 = MAC16_16(sum1, x_2, y_3)
458 SMLATB r11, r7, r8, r11 ; sum1 = MAC16_16(sum1, x_3, y_4)
467 SMLABT r11, r6, r8, r11 ; sum1 = MAC16_16(sum1, x_0, y_1)
471 SMLATB r11, r6, r9, r11 ; sum1 = MAC16_16(sum1, x_1, y_2)
478 SMLABT r11, r6, r8, r11 ; sum1 = MAC16_16(sum1, x_0, y_1)
[all …]
/external/opencv3/modules/cudaimgproc/src/cuda/
Dbilateral_filter.cu82 value_type sum1 = VecTraits<value_type>::all(0); in bilateral_kernel() local
103 sum1 = sum1 + weight * value; in bilateral_kernel()
120 sum1 = sum1 + weight * value; in bilateral_kernel()
124 dst(y, x) = saturate_cast<T>(sum1 / sum2); in bilateral_kernel()
/external/opencv/cxcore/src/
Dcxmean.cpp143 sumtype sum0 = 0, sum1 = 0; \
148 sumtype sum0 = 0, sum1 = 0, sum2 = 0; \
153 sumtype sum0 = 0, sum1 = 0, sum2 = 0, sum3 = 0; \
199 sum0 += s0; sum1 += s1; \
203 sum0 += s0; sum1 += s1; \
208 sum0 += s0; sum1 += s1; \
224 sum0 += s0; sum1 += s1; \
229 sum0 += s0; sum1 += s1; sum2 += s2; \
234 sum0 += s0; sum1 += s1; \
/external/valgrind/perf/
Dbigcode.c57 int h, i, sum1 = 0, sum2 = 0, sum3 = 0, sum4 = 0; in main() local
100 sum1 += f1(i+0, n_fns-i+0); in main()
108 printf("result = %d\n", sum1 + sum2 + sum3 + sum4); in main()
/external/llvm/test/Analysis/BasicAA/
Dpure-const-dce.ll15 ; CHECK-NEXT: %sum1 = add i32 %sum0, %tmp2
16 ; CHECK-NEXT: %sum2 = add i32 %sum1, %tmp0
37 %sum1 = add i32 %sum0, %tmp2 ; <i32> [#uses=1]
38 %sum2 = add i32 %sum1, %tmp3 ; <i32> [#uses=1]
/external/opencv3/modules/cudalegacy/src/cuda/
Dfgd.cu145 unsigned int sum1 = 0; in calcPartialHistogram() local
153 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
157 sum1 += s_Hist1[bin + i * HISTOGRAM_BIN_COUNT]; in calcPartialHistogram()
163 partialBuf1[blockIdx.x * HISTOGRAM_BIN_COUNT + bin] = sum1; in calcPartialHistogram()
171 unsigned int sum1 = 0; in mergeHistogram() local
178 sum1 += partialBuf1[blockIdx.x + i * HISTOGRAM_BIN_COUNT]; in mergeHistogram()
187 …reduce<MERGE_THREADBLOCK_SIZE>(smem_tuple(data0, data1, data2), thrust::tie(sum0, sum1, sum2), thr… in mergeHistogram()
192 hist1[blockIdx.x] = sum1; in mergeHistogram()
544 float sum1 = 0.0f; in updateBackgroundModel() local
554 sum1 += PV_CC; in updateBackgroundModel()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dmisched-inorder-latency.ll17 %sum1 = add i32 %sumin, 1
22 %sum2 = add i32 %sum1, 1
29 %summerge = phi i32 [ %sum1, %entry], [ %sum2, %true ]
/external/valgrind/drd/tests/
Drwlock_test.c29 int sum1 = 0, sum2 = 0; in thread_func() local
35 sum1 += s_counter; in thread_func()

123