/cts/libs/commonutil/src/com/android/cts/util/ |
Stat.java | 28 * Collection of statistical propertirs like average, max, min, and stddev 36 public StatResult(double average, double min, double max, double stddev, int dataCount) { 37 mAverage = average; 46 * Calculate statistics properties likes average, min, max, and stddev for the given array 49 double average = data[0]; local 54 average += data[i]; 63 average /= data.length; 66 double stddev = Math.sqrt(eX2 - average * average); 67 return new StatResult(average, min, max, stddev, data.length) 88 double average = 0.0; local [all...] |
/external/webrtc/test/testsupport/metrics/ |
video_metrics.h | 30 average(0.0), 36 double average; member in struct:webrtc::test::QualityMetricsResult
|
video_metrics_unittest.cc | 52 EXPECT_EQ(kPsnrPerfectResult, psnr_result_.average); 58 EXPECT_EQ(kSsimPerfectResult, ssim_result_.average); 65 EXPECT_EQ(kPsnrPerfectResult, psnr_result_.average); 66 EXPECT_EQ(kSsimPerfectResult, ssim_result_.average);
|
/external/chromium_org/content/test/data/media/ |
webrtc_test_audio.js | 27 var average = 0; 29 average += samples[i] / samples.length; 35 console.log('Average audio level: ' + average + ', largest: ' + largest); 40 if (average < 3000 || average > 8000) 41 throw 'Unexpected avg audio level: got ' + average + ', expected it ' + 49 var average = 0; 51 average += samples[i] / samples.length; 53 console.log('Average audio level: ' + average) [all...] |
/external/webrtc/src/system_wrappers/source/ |
cpu_wrapper_unittest.cc | 62 const WebRtc_Word32 average = cpu->CpuUsageMultiCore(num_cores, cores); local 65 EXPECT_GE(average, 0); 66 EXPECT_LE(average, 100); 69 printf("Average cpu:%d\n", average);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
generatemip.h | 21 static void average(L8 *dst, const L8 *src1, const L8 *src2) function in struct:rx::L8 35 static void average(A8L8 *dst, const A8L8 *src1, const A8L8 *src2) function in struct:rx::A8L8 50 static void average(A8R8G8B8 *dst, const A8R8G8B8 *src1, const A8R8G8B8 *src2) function in struct:rx::A8R8G8B8 65 static void average(A16B16G16R16F *dst, const A16B16G16R16F *src1, const A16B16G16R16F *src2) function in struct:rx::A16B16G16R16F 78 static void average(R16F *dst, const R16F *src1, const R16F *src2) function in struct:rx::R16F 89 static void average(R16G16F *dst, const R16G16F *src1, const R16G16F *src2) function in struct:rx::R16G16F 103 static void average(A32B32G32R32F *dst, const A32B32G32R32F *src1, const A32B32G32R32F *src2) function in struct:rx::A32B32G32R32F 116 static void average(R32F *dst, const R32F *src1, const R32F *src2) function in struct:rx::R32F 127 static void average(R32G32F *dst, const R32G32F *src1, const R32G32F *src2) function in struct:rx::R32G32F 140 static void average(R32G32B32F *dst, const R32G32B32F *src1, const R32G32B32F *src2 function in struct:rx::R32G32B32F [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestLatency.java | 44 private static MovingAverage average = new MovingAverage(100); field in class:TestLatency 95 average.add(latency); 96 System.out.println("Average latency: " + average.getAverage()); 98 long latencyOffset = latency - average.getAverage();
|
/external/libvpx/libvpx/vp9/common/mips/dspr2/ |
vp9_intrapred16_dspr2.c | 167 int32_t average; local 182 "addu.ph %[average], %[above_r1], %[above_l1] \n\t" 183 "addu.ph %[average], %[average], %[left_l1] \n\t" 184 "addu.ph %[average], %[average], %[left_r1] \n\t" 191 "addu.ph %[average], %[average], %[above_l1] \n\t" 192 "addu.ph %[average], %[average], %[above_r1] \n\t [all...] |
vp9_intrapred4_dspr2.c | 47 int32_t average; local 59 "addu.ph %[average], %[above_r], %[above_l] \n\t" 60 "addu.ph %[average], %[average], %[left_l] \n\t" 61 "addu.ph %[average], %[average], %[left_r] \n\t" 62 "addiu %[average], %[average], 4 \n\t" 63 "srl %[tmp], %[average], 16 \n\t" 64 "addu.ph %[average], %[tmp], %[average] \n\t [all...] |
vp9_intrapred8_dspr2.c | 76 int32_t average; local 96 "addu.ph %[average], %[above_r1], %[above_l1] \n\t" 97 "addu.ph %[average], %[average], %[left_l1] \n\t" 98 "addu.ph %[average], %[average], %[left_r1] \n\t" 100 "addu.ph %[average], %[average], %[above_l2] \n\t" 101 "addu.ph %[average], %[average], %[above_r2] \n\t [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
BuildResults.java | 39 double[] average, stddev; field in class:BuildResults 72 this.average[dim_id] = 0; 74 this.average[dim_id] += this.values[dim_id][i]; 76 this.average[dim_id] /= vLength; 79 double deviation= this.average[dim_id] - this.values[dim_id][i]; 298 return this.average[idx]; 311 return this.average[this.defaultDimIndex]; 408 this.average = new double[length]; 415 this.average[i] = stream.readLong(); 464 this.average = new double[length] [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
compare-timing-files | 50 print("average of fastest $count runs: $oldAverage\n"); 58 print("average of fastest $count runs: $newAverage\n"); 82 my $average = $total / $count; 86 return ($average, $range, $rangePercent);
|
/external/libvpx/libvpx/vp8/common/ |
reconintra.c | 40 int average = 0; local 49 average += yabove_row[i]; 58 average += yleft_col[i]; 66 expected_dc = (average + (1 << (shift - 1))) >> shift;
|
/external/webrtc/src/modules/audio_processing/ |
echo_cancellation_impl.cc | 261 metrics->residual_echo_return_loss.average = my_metrics.rerl.average; 266 metrics->echo_return_loss.average = my_metrics.erl.average; 271 metrics->echo_return_loss_enhancement.average = my_metrics.erle.average; 276 metrics->a_nlp.average = my_metrics.aNlp.average;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
omxVCM4P2_MotionEstimationMB.c | 280 OMX_INT intraSAD, average, count, index, x, y; local 501 for (count = 0, average = 0; count < 256 ; count++) 503 average = average + pTempSrcCurrBuf[count]; 505 average = average/256; 512 intraSAD += armAbs ((pTempSrcCurrBuf[count]) - (average));
|
/external/chromium/chrome/browser/net/ |
url_info.cc | 70 // on average be 2.5 minutes before it expires. We could try to model this with 228 int average() const { return static_cast<int>(sum_/count_); } function in class:chrome_browser_net::MinMaxAverage 232 double average = static_cast<float>(sum_) / count_; local 234 - average * average; 309 queue.minimum(), queue.average(), queue.maximum());
|
/external/chromium_org/chrome/browser/net/ |
url_info.cc | 34 // average be 2.5 minutes before it expires. We could try to model this with 247 int average() const { return static_cast<int>(sum_/count_); } function in class:chrome_browser_net::MinMaxAverage 251 double average = static_cast<float>(sum_) / count_; local 253 - average * average; 328 queue.minimum(), queue.average(), queue.maximum());
|
/external/chromium_org/chrome/test/perf/ |
tab_switching_test.cc | 111 // Open the corresponding log file and collect average from the 123 // Parse the contents to get average. 124 int64 average = 0; local 125 const std::string average_str("average = "); 135 // Get the average. 140 average = atoi(contents.substr(pos, number_length).c_str()); 142 // Print the average and standard deviation. 143 timings[i] = TimeDelta::FromMilliseconds(average);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 187 int average = totalSize / count; local 189 " bytes/item; average " + average + "\n");
|
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 186 int average = totalSize / count; local 188 " bytes/item; average " + average + "\n");
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
Statistics.java | 187 int average = totalSize / count; local 189 " bytes/item; average " + average + "\n");
|
/external/webrtc/src/modules/audio_processing/aec/ |
echo_cancellation.c | 498 // PART_LEN samples. Use 75% of the average value of the system 726 if ((aecpc->aec->erl.himean > offsetLevel) && (aecpc->aec->erl.average > offsetLevel)) { 727 // Use a mix between regular average and upper part average 728 dtmp = upweight * aecpc->aec->erl.himean + (1 - upweight) * aecpc->aec->erl.average; 729 metrics->erl.average = (short) dtmp; 732 metrics->erl.average = offsetLevel; 747 if ((aecpc->aec->erle.himean > offsetLevel) && (aecpc->aec->erle.average > offsetLevel)) { 748 // Use a mix between regular average and upper part average [all...] |
/external/webrtc/src/modules/audio_processing/aec/interface/ |
echo_cancellation.h | 47 WebRtc_Word16 average; member in struct:__anon28669
|
/external/opencv/cvaux/src/ |
cvtexture.cpp | 575 double average = 0, squareSum = 0; local 591 average += temp; 595 average /= numMatrices; 598 *_average = average; 601 *_standardDeviation = sqrt( (squareSum - average*average*numMatrices)/(numMatrices-1));
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 322 String average = attributes.getValue("", "average"); 323 video.rating = average == null 324 ? 0.0f : Float.parseFloat(average); 442 String average = attributes.getValue("", "average"); local 443 video.rating = average == null 444 ? 0.0f : Float.parseFloat(average);
|