Searched refs:sum (Results 251 - 275 of 660) sorted by relevance

<<11121314151617181920>>

/external/libvpx/libvpx/vp8/common/arm/neon/
H A Dvp8_subpixelvariance16x16s_neon.asm38 vmov.i8 q8, #0 ;q8 - sum
76 vpadal.s16 q8, q4 ;sum
92 vpadal.s16 q8, q0 ;sum
108 vpaddl.s32 q0, q8 ;accumulate sum
144 vmov.i8 q8, #0 ;q8 - sum
172 vpadal.s16 q8, q11 ;sum
188 vpadal.s16 q8, q0 ;sum
207 vpaddl.s32 q0, q8 ;accumulate sum
241 vmov.i8 q13, #0 ;q8 - sum
290 vpadal.s16 q13, q9 ;sum
[all...]
/external/libvpx/libvpx/vp8/common/ppc/
H A Dvariance_subpixel_altivec.asm125 .macro compute_sum_sse src, ref, sum, sse, t1, t2, z0
126 ;# Compute sum first. Unpack to so signed subract
132 vsum4shs \sum, \t1, \sum
137 vsum4shs \sum, \t1, \sum
147 .macro variance_final sum, sse, z0, DS
148 vsumsws \sum, \sum, \z0
151 stvx \sum,
[all...]
/external/opencv/cvaux/src/
H A Dcvlevmarprojbandle.cpp402 double sum = 0; local
407 sum += cvmGet(pointDeriv[currImage],0,shifts[currImage]*4+i) *
410 sum += cvmGet(pointDeriv[currImage],1,shifts[currImage]*4+i) *
415 cvmSet(matrV[currPoint],i,j,sum);
511 double sum; local
512 sum = cvmGet(projDeriv[currImage],currVis*2+0,currLine) *
515 sum += cvmGet(projDeriv[currImage],currVis*2+1,currLine) *
518 cvmSet(matrW,currImage*12+currLine,currPoint*4+currCol,sum);
596 double sum = 0; local
599 sum
677 double sum = 0; local
1483 double sum = 0; local
1549 double sum = 0; local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
H A DAbstractEstimator.java74 /** Cost value (square root of the sum of the residuals). */
227 double sum = 0;
229 sum += jacobian[k + i] * jacobian[k + j];
231 jTj[i][j] = sum;
232 jTj[j][i] = sum;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DAbstractLeastSquaresOptimizer.java95 /** Cost value (square root of the sum of the residuals). */
280 double sum = 0;
282 sum += wjacobian[k][i] * wjacobian[k][j];
284 jTj[i][j] = sum;
285 jTj[j][i] = sum;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
H A DKMeansPlusPlusClusterer.java175 int sum = 0;
180 sum += d * d;
181 dx2[i] = sum;
186 final double r = random.nextDouble() * sum;
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java99 * @return the sum <code>x+y</code>
117 * @return the sum <code>a+b</code>
132 * @return the sum <code>a+b</code>
1400 * <p>Normalizes an array to make it sum to a specified value.
1402 * x |-> x * normalizedSum / sum
1404 * applied to each non-NaN element x of the input array, where sum is the
1405 * sum of the non-NaN entries in the input array.</p>
1414 * @param normalizedSum target sum for the normalized array
1417 * @throws IllegalArgumentException if the target sum is infinite or NaN
1430 double sum
[all...]
/external/eigen/test/
H A Dzerosized.cpp18 VERIFY(m.sum()==0);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DRow.java97 int sum = items.length;
99 sum = sum*37 + Utility.checkHash(item);
101 return sum;
/external/jmonkeyengine/engine/src/android/jme3tools/android/
H A DFixed.java334 long sum = 0;
337 long tmp = sum | bit;
340 sum = tmp + bit;
345 return (int) (sum >> 16 - (FIXED_POINT / 2));
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
H A DMotionPath.java172 float sum = 0;
176 if (sum + len >= distance) {
177 return new Vector2f((float) i, (distance - sum) / len);
179 sum += len;
/external/libvpx/libvpx/vp8/common/x86/
H A Dmfqe_sse2.asm67 ; sum, round and shift
138 ; sum, round and shift
187 pxor xmm4, xmm4 ; sum of src2
188 pxor xmm5, xmm5 ; sum of src2^2
204 psadbw xmm2, xmm1 ; sum src2 by misusing SAD against 0
233 ; Accumulate sum of src2
241 ; phaddw could be used to sum adjacent values but we want
243 ; shift and sum
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_block.h25 int sum; member in struct:__anon9554
H A Dvp9_variance.h23 unsigned int *sse, int *sum);
/external/openfst/src/include/fst/
H A Dpush.h39 // Compute the total weight (sum of the weights of all accepting paths) from
52 typename Arc::Weight sum = Arc::Weight::Zero();
54 sum = Plus(sum, Times(distance[s], fst.Final(s)));
55 return sum;
89 // pushing towards the initial state, the sum of the weight of the
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_crc32.c331 unsigned long sum; local
333 sum = 0;
336 sum ^= *mat;
340 return sum;
/external/deqp/framework/randomshaders/
H A DrsgStatement.cpp66 float sum = 0.0f; local
70 sum += weights[ndx];
73 DE_ASSERT(sum > 0.0f);
76 float p = state.getRandom().getFloat(0.0f, sum);
82 sum = 0.0f;
85 sum += weights[ndx];
86 if (p < sum)
/external/opencv/cv/src/
H A Dcvthresh.cpp207 double sum = 0, mu = 0; local
243 sum += h[i];
250 sum = fabs(sum) > FLT_EPSILON ? 1./sum : 0;
251 mu *= sum;
260 p_i = h[i]*sum;
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dlpc_analysis.c24 * t = (1:256)/257; r = 1-(1-t).^.45; w = sin(r*pi).^3; w = w/sum(w); plot((1:256)/8, w); grid;
81 double sum, alpha; local
94 sum = r[m + 1];
96 sum += a[i+1] * r[m - i];
98 k[m] = -sum / alpha;
99 alpha += k[m] * sum;
102 sum = a[i+1] + k[m] * a[m - i];
104 a[i+1] = sum;
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconintra.c242 int i, r, expected_dc, sum = 0; local
246 sum += left[i];
247 expected_dc = (sum + (bs >> 1)) / bs;
258 int i, r, expected_dc, sum = 0; local
262 sum += above[i];
263 expected_dc = (sum + (bs >> 1)) / bs;
274 int i, r, expected_dc, sum = 0; local
278 sum += above[i];
279 sum += left[i];
282 expected_dc = (sum
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDexFile.java658 int sum = (int) a32.getValue();
660 bytes[8] = (byte) sum;
661 bytes[9] = (byte) (sum >> 8);
662 bytes[10] = (byte) (sum >> 16);
663 bytes[11] = (byte) (sum >> 24);
/external/e2fsprogs/resize/
H A Dmain.c104 unsigned long long sum; local
110 num = 0; sum = 0;
126 sum += b_stride;
134 sum = 0;
137 fs->stride = sum / num;
/external/speex/libspeex/
H A Dresample.c257 /*sum = frac*accum[1] + (1-frac)*accum[2];*/
343 spx_word32_t sum; local
360 sum = accum[0] + accum[1] + accum[2] + accum[3];
361 sum = SATURATE32PSHR(sum, 15, 32767);
363 sum = inner_product_single(sinc, iptr, N);
366 out[out_stride * out_sample++] = sum;
395 double sum; local
412 sum = accum[0] + accum[1] + accum[2] + accum[3];
414 sum
444 spx_word32_t sum; local
507 spx_word32_t sum; local
[all...]
/external/tcpdump/
H A Dprint-dccp.c235 u_int16_t sum = 0, dccp_sum; local
240 sum = dccp_cksum(ip, dh, len);
243 sum = dccp6_cksum(ip6, dh, len);
245 if (sum != 0)
246 (void)printf("(incorrect -> 0x%04x), ",in_cksum_shouldbe(dccp_sum, sum));
/external/v8/src/
H A Dmath.js261 var sum = 0;
266 var preliminary = sum + summand;
267 compensation = (preliminary - sum) - summand;
268 sum = preliminary;
270 return MathSqrt(sum) * max;

Completed in 5652 milliseconds

<<11121314151617181920>>