Home
last modified time | relevance | path

Searched refs:sum2 (Results 1 – 14 of 14) sorted by relevance

/external/chromium/third_party/zlib/
Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
62 unsigned long sum2; local
66 sum2 = (adler >> 16) & 0xffff;
74 sum2 += adler;
75 if (sum2 >= BASE)
76 sum2 -= BASE;
77 return adler | (sum2 << 16);
88 sum2 += adler;
92 MOD4(sum2); /* only added so many BASE's */
93 return adler | (sum2 << 16);
[all …]
/external/qemu/distrib/zlib-1.2.3/
Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
62 unsigned long sum2; local
66 sum2 = (adler >> 16) & 0xffff;
74 sum2 += adler;
75 if (sum2 >= BASE)
76 sum2 -= BASE;
77 return adler | (sum2 << 16);
88 sum2 += adler;
92 MOD4(sum2); /* only added so many BASE's */
93 return adler | (sum2 << 16);
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
102 unsigned long sum2; local
106 sum2 = (adler >> 16) & 0xffff;
114 sum2 += adler;
115 if (sum2 >= BASE)
116 sum2 -= BASE;
117 return adler | (sum2 << 16);
128 sum2 += adler;
132 MOD4(sum2); /* only added so many BASE's */
133 return adler | (sum2 << 16);
[all …]
/external/zlib/
Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
65 unsigned long sum2; local
69 sum2 = (adler >> 16) & 0xffff;
77 sum2 += adler;
78 if (sum2 >= BASE)
79 sum2 -= BASE;
80 return adler | (sum2 << 16);
91 sum2 += adler;
95 MOD4(sum2); /* only added so many BASE's */
96 return adler | (sum2 << 16);
[all …]
/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()
96 spx_word32_t sum2=0; in pitch_xcorr() local
176 "+m" (sum2), "+m" (sum3), "+m" (sum4), "=r" (dead1) in pitch_xcorr()
182 corr[nb_pitch-2-i]=sum2; in pitch_xcorr()
Dresample_sse.h105 __m128d sum2 = _mm_setzero_pd(); in interpolate_product_double() local
114 sum2 = _mm_add_pd(sum2, _mm_cvtps_pd(_mm_movehl_ps(t, t))); in interpolate_product_double()
118 sum2 = _mm_add_pd(sum2, _mm_cvtps_pd(_mm_movehl_ps(t, t))); in interpolate_product_double()
121 sum2 = _mm_mul_pd(f2, sum2); in interpolate_product_double()
122 sum = _mm_add_pd(sum1, sum2); in interpolate_product_double()
Dfilters.c204 spx_word32_t sum2=0; in compute_rms() local
207 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
209 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
211 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
213 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
214 sum = ADD32(sum,SHR32(sum2,6)); in compute_rms()
238 spx_word32_t sum2=0; in compute_rms16() local
239 sum2 = MAC16_16(sum2,SHR16(x[i],1),SHR16(x[i],1)); in compute_rms16()
240 sum2 = MAC16_16(sum2,SHR16(x[i+1],1),SHR16(x[i+1],1)); in compute_rms16()
241 sum2 = MAC16_16(sum2,SHR16(x[i+2],1),SHR16(x[i+2],1)); in compute_rms16()
[all …]
Dltp.c87 spx_word32_t sum2=0;
130 sum2 = ADD32(sum2,SHR32(part2,6));
135 corr[nb_pitch-2-i]=sum2;
/external/libvpx/vp8/encoder/x86/
Dvariance_mmx.c138 int sum0, sum1, sum2, sum3, avg; in vp8_get16x16var_mmx() local
143 …c_ptr + 8 * source_stride, source_stride, ref_ptr + 8 * recon_stride, recon_stride, &sse2, &sum2) ; in vp8_get16x16var_mmx()
147 avg = sum0 + sum1 + sum2 + sum3; in vp8_get16x16var_mmx()
200 int sum0, sum1, sum2, sum3; in vp8_mse16x16_mmx() local
205 …c_ptr + 8 * source_stride, source_stride, ref_ptr + 8 * recon_stride, recon_stride, &sse2, &sum2) ; in vp8_mse16x16_mmx()
222 int sum0, sum1, sum2, sum3, avg; in vp8_variance16x16_mmx() local
227 …c_ptr + 8 * source_stride, source_stride, ref_ptr + 8 * recon_stride, recon_stride, &sse2, &sum2) ; in vp8_variance16x16_mmx()
231 avg = sum0 + sum1 + sum2 + sum3; in vp8_variance16x16_mmx()
467 int sum0, sum1, sum2, sum3, avg; in vp8_i_variance16x16_mmx() local
472 …+ (source_stride >> 1), source_stride, ref_ptr + (recon_stride >> 1), recon_stride, &sse2, &sum2) ; in vp8_i_variance16x16_mmx()
[all …]
Dvariance_sse2.c450 int sum0, sum1, sum2, sum3, avg; in vp8_i_variance16x16_wmt() local
455 …+ (source_stride >> 1), source_stride, ref_ptr + (recon_stride >> 1), recon_stride, &sse2, &sum2) ; in vp8_i_variance16x16_wmt()
459 avg = sum0 + sum1 + sum2 + sum3; in vp8_i_variance16x16_wmt()
/external/srec/srec/cfront/
Dwav_acc.c85 ws->sum2 = 0; in reset_sig_check()
135 mean = ((float)ws->sum + (float)ws->sum2 * OVERFLOW_MASK) / ws->nsam; in get_sig_check()
223 ws->sum2++; in acc_wave_stats()
228 ws->sum2--; in acc_wave_stats()
/external/srec/srec/include/
Dsample.h156 int sum2; member
/external/icu4c/tools/toolutil/
Ducmstate.c408 int32_t sum2=sum; in sumUpStates() local
413 states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_ADD_OFFSET(entry, sum2); in sumUpStates()
/external/chromium/third_party/icu/source/tools/toolutil/
Ducmstate.c408 int32_t sum2=sum; in sumUpStates() local
413 states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_ADD_OFFSET(entry, sum2); in sumUpStates()