/external/deqp/framework/common/ |
tcuCPUWarmup.cpp | 58 const float median = floatMedian(v); variable 62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); 64 return floatMedian(absoluteDeviations) / median;
|
/external/opencv3/modules/stitching/src/ |
autocalib.cpp | 122 double median; local 126 median = all_focals[all_focals.size() / 2]; 128 median = (all_focals[all_focals.size() / 2 - 1] + all_focals[all_focals.size() / 2]) * 0.5; 131 focals[i] = median;
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
FilesActivityPerfTest.java | 48 "files-listed-performance-median"; 138 final long median = rawMeasurements[NUM_MEASUREMENTS / 2 - 1]; local 139 status.putDouble(KEY_FILES_LISTED_PERFORMANCE_MEDIAN, median);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
Util.java | 6 import org.apache.commons.math.stat.descriptive.rank.Median; 38 * Calculate median of data. 40 public static double median(double[] data) { method in class:Util 41 Median median = new Median(); local 42 median.setData(data); 43 return median.evaluate();
|
/cts/common/util/src/com/android/compatibility/common/util/ |
Stat.java | 77 * while rejecting outlier +/- median * rejectionThreshold. 84 double median; local 86 median = dataCopied[medianIndex]; 88 median = (dataCopied[medianIndex - 1] + dataCopied[medianIndex]) / 2.0; 90 double thresholdMin = median * (1.0 - rejectionThreshold); 91 double thresholdMax = median * (1.0 + rejectionThreshold);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
CauchyDistributionImpl.java | 45 /** The median of this distribution. */ 46 private double median = 0; field in class:CauchyDistributionImpl 63 * Create a cauchy distribution using the given median and scale. 64 * @param median median for this distribution 67 public CauchyDistributionImpl(double median, double s){ 68 this(median, s, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 72 * Create a cauchy distribution using the given median and scale. 73 * @param median median for this distributio [all...] |
/external/ceres-solver/examples/ |
bal_problem.cc | 62 double Median(std::vector<double>* data) { 216 // Compute the marginal median of the geometry. 218 Eigen::Vector3d median; local 224 median(i) = Median(&tmp); 229 tmp[i] = (point - median).lpNorm<1>(); 232 const double median_absolute_deviation = Median(&tmp); 234 // Scale so that the median absolute deviation of the resulting 238 VLOG(2) << "median: " << median.transpose() [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_median_filter.c | 86 const unsigned median = num_offsets >> 1; local 136 for (i = 0; i <= median; ++i) { 144 if (i == median) 149 ureg_MOV(shader, o_fragment, ureg_src(t_array[median]));
|
/external/webrtc/webrtc/audio/ |
audio_send_stream.cc | 181 int median = -1; local 184 error = processing->GetEcDelayMetrics(median, std, dummy); 186 stats.echo_delay_median_ms = median;
|
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
FilesAppPerfTest.java | 41 "files-cold-start-performance-median"; 43 "files-warm-start-performance-median"; 89 final long median = measurements[NUM_MEASUREMENTS / 2 - 1]; local 90 status.putDouble(key, median);
|
/system/core/init/ |
perfboot.py | 325 def median(data): function 326 """Calculates the median value from |data|.""" 353 print 'median:', median(end_times)
|
/external/opencv/cv/src/ |
_cvkdtree.hpp | 113 // given point indices and dimension, find index of median; (almost) modifies [first,last) 114 // such that points_in[first,median]<=point[median], points_in(median,last)>point[median]. 164 __instype *median = median_partition(first, last, dim, ctor); local 166 __instype *split = median; 168 deref(ctor(*median), dim); ++split); 189 n.boundary = deref(ctor(*median), dim);
|
cvfundam.cpp | 321 double median = count % 2 != 0 ? local 324 if( median < minMedian ) 326 minMedian = median; [all...] |
/external/webrtc/webrtc/voice_engine/ |
voe_audio_processing_impl.cc | 894 int median = 0; local 899 &median, &std, &poor_fraction)) { 907 delay_median = median; [all...] |
/external/deqp/modules/glshared/ |
glsStateChangePerfTestCases.cpp | 57 double median; member in struct:deqp::gls::__anon11347::ResultStats 91 result.median = (double)sortedValues[n]; 547 log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMessage; 553 log << TestLog::Message << "Batched median: " << batched.median << TestLog::EndMessage; 559 log << TestLog::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.median) << TestLog::EndMessage; 561 m_testCtx.setTestResult(QP_TEST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median) / batched.median), 2).c_str()) [all...] |
/external/opencv3/modules/photo/src/ |
align.cpp | 209 int median = getMedian(img); local 210 compare(img, median, tb, CMP_GT); 211 compare(abs(img - median), exclude_range, eb, CMP_GT); 255 int median = 0, sum = 0; local 257 while(sum < thresh && median < LDR_SIZE) { 258 sum += static_cast<int>(ptr[median]); 259 median++; 261 return median;
|
/external/libvpx/libvpx/vp8/encoder/ |
encodeframe.c | 146 /* Find median: Simple n^2 algorithm for experimentation */ 148 unsigned int median; local 180 /* Even number MBs so estimate median as mean of two either side. */ 181 median = ( 1 + sortlist[cpi->common.MBs >> 1] + 184 cpi->activity_avg = median; [all...] |
/external/opencv3/modules/calib3d/src/ |
ptsetreg.cpp | 349 double median = count % 2 != 0 ? local 352 if( median < minMedian ) 354 minMedian = median;
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
process_test.cc | 1095 int median = 0; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
encodeframe.c | 145 /* Find median: Simple n^2 algorithm for experimentation */ 147 unsigned int median; local 179 /* Even number MBs so estimate median as mean of two either side. */ 180 median = ( 1 + sortlist[cpi->common.MBs >> 1] + 183 cpi->activity_avg = median; [all...] |
/external/blktrace/btt/ |
output.c | 323 long long nseeks, median; member in struct:o_seek_info 354 sip->median / sip->nseeks, new_list->mode, new_list->nseeks); 397 long long median; local 404 median = seeki_median(handle); 409 median, nmodes > 0 ? m.modes[0] : 0, m.most_seeks); 423 nseeks, mean, median, 432 seek_info.median += (nseeks * median); 454 "MEAN", "MEDIAN", "MODE"); 460 "Overall", "NSEEKS", "MEAN", "MEDIAN", "MODE") [all...] |
/external/deqp/modules/egl/ |
teglGLES2SharedRenderingPerfTests.cpp | 947 deUint64 median; local 965 median = resultsUs[resultsUs.size() / 2]; 980 << "Median: " << ((double)median/1000.0) << "ms\n" [all...] |
/external/opencv3/modules/ts/include/opencv2/ts/ |
ts_perf.hpp | 234 double median; member in struct:perf::performance_metrics
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionMeasuringActivity.java | 411 Measurement median = new Measurement(medianSurfaceCnt, local 414 if (median.mFPS >= mTargetFPS) { 415 return measureCompositionScore(median, fail, pixelFormat); 417 return measureCompositionScore(ok, median, pixelFormat);
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_core.c | 758 int median = 0; local 764 // We have no new delay value data. Even though -1 is a valid |median| in 775 // Start value for median count down. 777 // Get median of delay values since last update. 781 median = i; 786 self->delay_median = (median - lookahead) * kMsPerBlock; 788 // Calculate the L1 norm, with median value as central moment. 790 l1_norm += abs(i - median) * self->delay_histogram[i]; [all...] |