/external/opencv/cvaux/src/ |
cvsegment.cpp | 98 int sum[] = { 0, 0, 0 }; local 174 sum[0] += img[i*3]; 175 sum[1] += img[i*3 + 1]; 176 sum[2] += img[i*3 + 2]; 191 newVal[0] = cvRound( sum[0] * inv_area ); 192 newVal[1] = cvRound( sum[1] * inv_area ); 193 newVal[2] = cvRound( sum[2] * inv_area );
|
/external/opencv/ml/src/ |
mlknearest.cpp | 163 double sum = 0; local 176 sum += t0*t0 + t1*t1 + t2*t2 + t3*t3; 182 sum += t0*t0; 185 si.f = (float)sum;
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbelo.c | 190 int sum = ELO_INIT_CHECKSUM; local 194 sum += packet[i]; 195 sum &= 0xFF; 197 packet[ELO_PACKET_SIZE-1] = sum; 236 int sum = ELO_INIT_CHECKSUM; local 245 ok = eloGetPacket(reply, &reply_p, &sum, fd);
|
/external/quake/quake/src/QW/client/ |
zone.c | 318 int count, sum; local 324 sum = 0; 365 sum += h->size; 381 Con_Printf (" :%8i %8s (TOTAL)\n",sum, name); 383 sum = 0;
|
/external/quake/quake/src/WinQuake/ |
zone.cpp | 318 int count, sum; local 324 sum = 0; 365 sum += h->size; 381 Con_Printf (" :%8i %8s (TOTAL)\n",sum, name); 383 sum = 0;
|
/external/speex/libspeex/ |
filters.c | 182 spx_word32_t sum=0; local 214 sum = ADD32(sum,SHR32(sum2,6)); 217 return EXTRACT16(PSHR32(SHL32(EXTEND32(spx_sqrt(DIV32(sum,len))),(sig_shift+3)),SIG_SHIFT)); 235 spx_word32_t sum=0; local 243 sum = ADD32(sum,SHR32(sum2,6)); 245 return SHL16(spx_sqrt(DIV32(sum,len)),4); 247 spx_word32_t sum=0; local 262 sum = ADD32(sum,SHR32(sum2,6)) 303 float sum=0; local [all...] |
/external/srec/srec/include/ |
sample.h | 155 int sum; member in struct:__anon11166
|
/external/tcpdump/ |
print-tcp.c | 151 u_int32_t sum; local 170 sum = 0; 172 sum += phu.pa[i]; 177 sum += *sp++; 180 sum += htons((*(const u_int8_t *)sp) << 8); 182 while (sum > 0xffff) 183 sum = (sum & 0xffff) + (sum >> 16); 184 sum = ~sum & 0xffff 424 u_int16_t sum, tcp_sum; local 438 u_int16_t sum,tcp_sum; local [all...] |
/external/webrtc/src/modules/audio_processing/aec/main/source/ |
echo_cancellation.c | 59 short sum; member in struct:__anon13604 233 aecpc->sum = 0; 440 aecpc->sum = 0; 445 aecpc->sum += aecpc->msInSndCardBuf; 455 aecpc->bufSizeStart = WEBRTC_SPL_MIN((int) (0.75 * (aecpc->sum *
|
/external/webrtc/src/modules/audio_processing/aecm/main/source/ |
echo_control_mobile.c | 53 short sum; member in struct:__anon13614 204 aecm->sum = 0; 371 aecm->sum = 0; 377 aecm->sum += aecm->msInSndCardBuf; 389 = WEBRTC_SPL_MIN((3 * aecm->sum
|
/frameworks/base/media/libdrm/mobile1/src/xml/ |
xml_tinyparser.c | 587 int32_t sum; local 597 sum = buffer[byteLen]; 599 sum += ((buffer[i] & 0x7F) << 7 * (byteLen - i)); 601 return sum;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
omxVCM4P10_PredictIntra_16x16_s.s | 50 sum RN 6 label 210 UADD16 tVal2, tVal2, tVal8 ;// sum(pSrcAbove[0] to pSrcAbove[7]) 218 UADD16 tVal8, tVal8, tVal10 ;// sum(pSrcAbove[8] to pSrcAbove[15]) 220 UADD16 tVal2, tVal2, tVal8 ;// sum(pSrcAbove[0] to pSrcAbove[15]) 224 ADD tVal2, tVal2, tVal2, LSR #16 ;// sum(pSrcAbove[0] to pSrcAbove[15]) 228 UXTH sum, tVal2 ;// Extract the lower half for result 248 ADD sum, tVal7, tVal6 ;// sum = tVal8 + tVal10 258 ADD sum, sum, tVal7 ;// sum = sum + tVal [all...] |
/libcore/luni/src/main/native/ |
cbigint.cpp | 824 uint64_t intermediate, carry1, carry2, prod1, prod2, sum; local 840 sum = intermediate + prod1; 841 if ((sum < prod1) || (sum < intermediate)) 853 intermediate = carry2 + HIGH_IN_U64 (sum) + prod1 + prod2; 862 LOW_U32_FROM_PTR (pArg1) = LOW_U32_FROM_VAR (sum);
|
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 395 String selectQuery = "SELECT rating, SUM(snum) AS sum FROM " 406 int sum = result.getInt("sum"); local 409 assertEquals("Wrong value of sum field", values.get(rating), 410 new Integer(sum)); 411 assertEquals(new Integer(sum), values.remove(rating)); 481 String selectSum = "SELECT sum(onum) as sum FROM " 491 func("sum", selectSum, 30062) [all...] |
/packages/apps/Phone/src/com/android/phone/ |
EditPhoneNumberPreference.java | 159 CharSequence sum; local 165 sum = (mSummaryOn == null) ? getSummary() : mSummaryOn; 167 sum = (mSummaryOff == null) ? getSummary() : mSummaryOff; 170 sum = getSummary(); 173 if (sum != null) { 174 summaryView.setText(sum);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 326 * Use decimal value (0-9) to index into array to get sum of its digits 336 * finding a number to make the sum divisible by 10. 342 int sum = 0; local 347 sum += digit; 349 sum += DOUBLE_DIGIT_SUM[digit]; 352 sum %= 10; 353 return sum == 0 ? 0 : 10 - sum;
|
/external/chromium/base/metrics/ |
histogram.h | 340 int64 sum() const { return sum_; } function in class:base::Histogram::SampleSet 357 int64 sum_; // sum of samples. 365 // count to the sum of the counts in all buckets, and detect problems. Note 519 static uint32 Crc32(uint32 sum, Sample range);
|
/external/clang/lib/AST/ |
Stmt.cpp | 56 unsigned sum = 0; local 60 sum += StmtClassInfo[i].Counter; 62 llvm::errs() << " " << sum << " stmts/exprs total.\n"; 63 sum = 0; 71 sum += StmtClassInfo[i].Counter*StmtClassInfo[i].Size; 74 llvm::errs() << "Total bytes = " << sum << "\n";
|
/external/flac/libFLAC/ |
metadata_object.c | 1712 FLAC__uint32 i, length, sum = 0; local [all...] |
/external/fsck_msdos/ |
dir.c | 199 u_char sum = 0; local 203 sum = (sum << 7)|(sum >> 1); /* rotate right */ 204 sum += p[i]; 207 return sum;
|
/external/icu4c/tools/makeconv/ |
genmbcs.c | 190 int32_t i, sum, maxCharLength, local 197 sum=mbcsData->ucm->states.countToUCodeUnits; 199 printf("the total number of offsets is 0x%lx=%ld\n", (long)sum, (long)sum); 202 if(sum>0) { 203 mbcsData->unicodeCodeUnits=(uint16_t *)uprv_malloc(sum*sizeof(uint16_t)); 206 (long)sum); 209 for(i=0; i<sum; ++i) { 220 sum=0x20000; 223 sum=0x100000*maxCharLength [all...] |
/external/libvpx/vp8/common/ |
postproc.c | 232 int sum = 0; local 237 sum += s[i]; 246 sum += x; 251 if (sumsq * 15 - sum * sum < flimit) 253 d[c&15] = (8 + sum + s[c]) >> 4; 276 int sum = 0; local 283 sum += s[i*pitch]; 289 sum += s[7*pitch] - s[-8*pitch]; 292 if (sumsq * 15 - sum * sum < flimit [all...] |
/external/libvpx/vp8/encoder/ |
encodeframe.c | 428 int sum; local 439 x->src.y_stride, VP8_VAR_OFFS, 0, &sse, &sum); local 441 act = (sse<<8) - sum*sum; [all...] |
pickinter.c | 103 int sum = 0; local 112 sum += diff; 120 pred_error -= sum * sum / 256;
|
/external/opencv/cv/src/ |
cvfloodfill.cpp | 382 int sum[] = {0,0,0}, val0[] = {0,0,0}; local 561 sum[0] += img[i]; 650 sum[0] += img[i*3]; 651 sum[1] += img[i*3+1]; 652 sum[2] += img[i*3+2]; 670 region->value = cvScalar(sum[0]*iarea, sum[1]*iarea, sum[2]*iarea); 688 double sum[] = {0,0,0}, val0[] = {0,0,0}; local 868 sum[0] += img[i] [all...] |