HomeSort by relevance Sort by last modified time
    Searched defs:average (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /system/extras/tests/workloads/
pwrsummary.sh 71 function average { function
175 set -- $(grep "FPS average" $file | sed 's/^.*seconds for a //' | awk '{ print $1; }' | average)
179 set -- $(grep ^Frames: $file | tr "/" " " | awk '{ print $4; }' | average | awk '{ printf "%.3f %.3f %.3f\n", 1000/$3, 1000/$2, 1000/$1;}' )
183 set -- $(cat $file | sysappOutputParser | average | awk '{ printf "%.3f %.3f %.3f\n", 1000/$3, 1000/$2, 1000/$1;}' )
187 set -- $(cat $file | hwuiOutputParser | tr ',' ' ' | awk '{print $2;}' | average)
  /cts/tests/tests/uirendering/src/android/uirendering/cts/util/
CompareUtils.java 17 * @param threshold Per channel differences for R / G / B channel against the average of these 3
22 int average = Color.red(color) + Color.green(color) + Color.blue(color); local
23 average /= 3;
24 return Math.abs(Color.red(color) - average) <= threshold
25 && Math.abs(Color.green(color) - average) <= threshold
26 && Math.abs(Color.blue(color) - average) <= threshold;
  /cts/common/util/tests/src/com/android/compatibility/common/util/
StatTest.java 55 double average = Stat.getAverage(values); local
56 assertEquals(2.0, average, 0.00001);
59 average = Stat.getAverage(values);
60 assertEquals(3.0, average, 0.00001);
63 average = Stat.getAverage(values);
64 assertEquals(6.0, average, 0.00001);
  /external/webrtc/webrtc/test/testsupport/metrics/
video_metrics.h 33 average(0.0),
39 double average; member in struct:webrtc::test::QualityMetricsResult
  /hardware/bsp/intel/peripheral/libupm/examples/c++/
ldt0028.cxx 65 // Print a graphical representation of the average value sampled
67 std::cout << "Now printing a graphical representation of the average reading "
76 double average = (double) sum / (double) SAMPLES_PER_SECOND; local
77 int stars_to_print = (int) round(average / SCALE_FACTOR);
78 std::cout << "(" << std::setw(4) << (int) round(average) << ") | ";
  /hardware/bsp/intel/peripheral/libupm/examples/python/
ldt0028.py 52 # Print a graphical representation of the average value sampled
54 print 'Now printing a graphical representation of the average reading '
61 average = sum / SAMPLES_PER_SECOND variable
62 stars_to_print = int(round(average / SCALE_FACTOR))
63 print '(' + repr(int(round(average))).rjust(4) + ') |', '*' * stars_to_print
  /external/autotest/client/site_tests/firmware_TouchMTB/
fuzzy.py 24 """Define possible score aggregators: average() and product().
30 def average(data): function
31 """The average of the elements in data."""
  /external/webrtc/webrtc/modules/audio_processing/aec/
aec_core.h 44 float average; member in struct:Stats
echo_cancellation.h 49 int average; member in struct:__anon27004
  /frameworks/base/libs/hwui/tests/macrobench/
TestSceneRunner.cpp 55 T average() { function in class:ModifiedMovingAverage
120 printf("Average frametime %.3fms\n", avgMs.average());
  /external/chromium-trace/catapult/third_party/WebOb/docs/jsonrpc-example-code/
jsonrpc.py 158 def average(self, *args): member in class:DemoObject
  /external/libvpx/libvpx/vpx_dsp/mips/
intrapred4_dspr2.c 44 int32_t average; local
56 "addu.ph %[average], %[above_r], %[above_l] \n\t"
57 "addu.ph %[average], %[average], %[left_l] \n\t"
58 "addu.ph %[average], %[average], %[left_r] \n\t"
59 "addiu %[average], %[average], 4 \n\t"
60 "srl %[tmp], %[average], 16 \n\t"
61 "addu.ph %[average], %[tmp], %[average] \n\t
    [all...]
intrapred16_dspr2.c 164 int32_t average; local
179 "addu.ph %[average], %[above_r1], %[above_l1] \n\t"
180 "addu.ph %[average], %[average], %[left_l1] \n\t"
181 "addu.ph %[average], %[average], %[left_r1] \n\t"
188 "addu.ph %[average], %[average], %[above_l1] \n\t"
189 "addu.ph %[average], %[average], %[above_r1] \n\t
    [all...]
intrapred8_dspr2.c 73 int32_t average; local
93 "addu.ph %[average], %[above_r1], %[above_l1] \n\t"
94 "addu.ph %[average], %[average], %[left_l1] \n\t"
95 "addu.ph %[average], %[average], %[left_r1] \n\t"
97 "addu.ph %[average], %[average], %[above_l2] \n\t"
98 "addu.ph %[average], %[average], %[above_r2] \n\t
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
omxVCM4P2_MotionEstimationMB.c 295 OMX_INT intraSAD, average, count, index, x, y; local
516 for (count = 0, average = 0; count < 256 ; count++)
518 average = average + pTempSrcCurrBuf[count];
520 average = average/256;
527 intraSAD += armAbs ((pTempSrcCurrBuf[count]) - (average));
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/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;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
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...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
Correlation.java 59 double average = 0; local
63 average += mDataAutocorrelated[i];
72 average = average/mDataAutocorrelated.length;
76 log(String.format(" average : %.3f rms: %.3f", average, rms));
79 if (average>0) {
82 double raw = (rms-average) /(factor*average);
  /cts/common/util/src/com/android/compatibility/common/util/
Stat.java 31 * Collection of statistical propertirs like average, max, min, and stddev
39 public StatResult(double average, double min, double max, double stddev, int dataCount) {
40 mAverage = average;
49 * Calculate statistics properties likes average, min, max, and stddev for the given array
52 double average = data[0]; local
56 average += data[i];
64 average /= data.length;
67 double diff = average - data[i];
72 return new StatResult(average, min, max, stddev, data.length);
76 * Calculate statistics properties likes average, min, max, and stddev for the given arra
    [all...]
  /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/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
profile.rb 81 def average method in class:ANTLR3.Profile.DataSet
86 mean = average
172 mean, stdev = '%4.2f' % set.average, '%4.2f' % set.standard_deviation
178 report << "| %-66s | %7s |\n" % [ "Average k", mean ]
  /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/fio/tools/plot/
fio2gnuplot 84 # Let's plot the average value for all the traces
86 global_avg = average(global_disk_perf)
87 compare_raw.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg));
88 compare_smooth.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg));
89 compare_trend.write("plot %s w l ls 1 ti 'Global average value (%.2f)'" % (global_avg,global_avg));
107 avg = average(disk_perf[pos])
119 def generate_gnuplot_math_script(title,gnuplot_output_filename,mode,average,gnuplot_output_dir,gpm_dir):
123 f.write("call \'%s/math.gpm\' \'%s' \'%s\' \'\' \'%s\' \'%s\' %s\n" % (gpm_dir,title,gnuplot_output_filename,gnuplot_output_filename,mode,average))
149 def average(s): return sum(s) * 1.0 / len(s) function
231 average_file=open(gnuplot_output_dir+gnuplot_output_filename+'.average', 'w'
    [all...]
  /external/libvpx/libvpx/test/
vp9_avg_test.cc 61 unsigned int average = 0; local
64 average += source[h * source_stride_ + w];
65 return ((average + 32) >> 6);
69 unsigned int average = 0; local
72 average += source[h * source_stride_ + w];
73 return ((average + 8) >> 4);

Completed in 605 milliseconds

1 2 3 4