/external/tensorflow/tensorflow/core/lib/histogram/ |
histogram.cc | 129 double threshold = num_ * (p / 100.0); local 134 // Find the first bucket whose cumsum >= threshold 135 if (cumsum >= threshold) { 150 double weight = Remap(threshold, cumsum_prev, cumsum, lhs, rhs);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
aimd_rate_control.cc | 77 const int threshold = static_cast<int>(kWithinIncomingBitrateHysteresis * local 80 return bitrate_difference > threshold;
|
/frameworks/av/media/libaaudio/src/client/ |
AudioEndpoint.cpp | 183 uint32_t threshold = descriptor->capacityInFrames / 2; local 184 mDataQueue->setThreshold(threshold);
|
/frameworks/av/media/libaaudio/tests/ |
test_atomic_fifo.cpp | 34 constexpr int threshold = 47; local 35 FifoController fifoController(capacity, threshold); 37 ASSERT_EQ(threshold, fifoController.getThreshold()); 42 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); 53 ASSERT_EQ(threshold - advanced, fifoController.getEmptyFramesAvailable()); 62 ASSERT_EQ(threshold, fifoController.getEmptyFramesAvailable()); 73 ASSERT_EQ(threshold - advance2, fifoController.getEmptyFramesAvailable()); 79 explicit TestFifoBuffer(fifo_frames_t capacity, fifo_frames_t threshold = 0) 83 if (threshold <= 0) { 84 threshold = capacity 226 constexpr int threshold = 37; \/\/ arbitrary local [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
ComputeThresholdAction.java | 38 * appears in at least the number of threshold given packages. An optional blacklist can be 42 protected int threshold; field in class:ComputeThresholdAction 50 public ComputeThresholdAction(String name, DumpTableModel dataTableModel, int threshold, 54 this.threshold = threshold; 88 Set<String> result = fromThreshold(uses, blacklist, threshold); 102 int threshold) { 106 if (e.getValue().size() >= threshold) {
|
/libcore/ojluni/src/main/java/sun/net/ |
ProgressSource.java | 54 // threshold for notification 55 private int threshold = 8192; field in class:ProgressSource 78 this.threshold = progressMonitor.getProgressUpdateThreshold(); 171 // The threshold effectively divides the progress into 174 // Range 0: 0..threshold-1, 175 // Range 1: threshold .. 2*threshold-1 177 // Range n: n*threshold .. (n+1)*threshold-1 182 // range number = progress / threshold [all...] |
/system/core/storaged/ |
storaged_service.cpp | 107 uint64_t threshold = 0; local 126 if (arg == String16("--threshold")) { 129 if(!ParseUint(String8(args[i]).c_str(), &threshold)) 145 storaged_sp->get_uid_records(hours, threshold, force_report);
|
/test/vti/dashboard/src/test/java/com/android/vts/util/ |
StatSummaryTest.java | 27 private static double threshold = 0.0000000001; field in class:StatSummaryTest 43 assertEquals(n, test.getCount(), threshold); 44 assertEquals(mean, test.getMean(), threshold); 58 assertEquals(n, test.getCount(), threshold); 59 assertEquals(min, test.getMin(), threshold); 73 assertEquals(max, test.getMax(), threshold); 94 assertEquals(std, test.getStd(), threshold); 120 assertEquals(all.getStd(), test.getStd(), threshold); local 121 assertEquals(all.getMean(), test.getMean(), threshold); local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
WavAnalyzer.java | 19 private double threshold; // threshold of passing, drop off compared to 2000 kHz field in class:WavAnalyzer 114 threshold = dB[indexOf2000Hz] + Common.PASSING_THRESHOLD_DB; 119 if (Util.mean(responseInRange) < threshold) { 249 return threshold;
|
/external/ImageMagick/MagickCore/ |
quantum-export.c | 1954 threshold; local 2212 threshold; local [all...] |
/external/aac/libPCMutils/include/ |
limiter.h | 122 FIXP_DBL threshold; member in struct:TDLimiter 238 * threshold: limiting threshold * 244 FIXP_DBL threshold, unsigned int maxChannels, 250 * threshold: limiter threshold * 254 FIXP_DBL threshold);
|
/external/aac/libPCMutils/src/ |
limiter.cpp | 113 FIXP_DBL threshold, unsigned int maxChannels, 155 limiter->threshold = threshold >> TDL_GAIN_SCALING; 188 FIXP_DBL threshold = limiter->threshold; local 248 /* set threshold as lower border to save calculations in running maximum 250 tmp = fMax(tmp, threshold); 275 if (max > threshold) { 276 gain = fDivNorm(threshold, max) >> 1; 368 /* set limiter threshold */ [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
Vector3D.java | 310 double threshold = 0.6 * getNorm(); local 311 if (threshold == 0) { 315 if ((x >= -threshold) && (x <= threshold)) { 318 } else if ((y >= -threshold) && (y <= threshold)) { 346 double threshold = normProduct * 0.9999; local 347 if ((dot < -threshold) || (dot > threshold)) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
SingularValueDecompositionImpl.java | 255 final double threshold = FastMath.max(m, n) * FastMath.ulp(singularValues[0]); local 258 if (singularValues[i] > threshold) {
|
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 32 long threshold = 0; variable 41 { "threshold", required_argument, 0, 't' }, 49 printf("usage: %s [-hv] [-c <cpu_set>] [-d duration] [-t threshold] " 58 " -t,--threshold error threshold (default: 0)\n" 171 if (delta < 0 && delta < -threshold) { \ 346 threshold = strtol(optarg, NULL, 0);
|
/external/autotest/client/tests/tsc/src/ |
checktsc.c | 19 long threshold = DEFAULT_THRESHOLD; variable 28 { "threshold", required_argument, 0, 't' }, 36 printf("usage: %s [-hsv] [-c <cpu_set>] [-t threshold]\n", program); 47 printf(" -t,--threshold TSC skew threshold (default: %d cycles)\n", 298 if (llabs(delta) > threshold) { 350 threshold = strtol(optarg, NULL, 0);
|
/external/deqp/modules/gles2/functional/ |
es2fTextureFormatTests.cpp | 145 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 196 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); 321 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 364 return compareImages(log, referenceFrame, renderedFrame, threshold); 455 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 486 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); 567 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 598 return compareImages(log, referenceFrame, renderedFrame, threshold);
|
es2fTextureSizeTests.cpp | 128 tcu::RGBA threshold = thresholdFormat.getColorThreshold() + tcu::RGBA(7,7,7,7); local 163 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); 276 tcu::RGBA threshold = thresholdFormat.getColorThreshold() + tcu::RGBA(7,7,7,7); local 312 return compareImages(log, referenceFrame, renderedFrame, threshold);
|
es2fTextureWrapTests.cpp | 172 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() local 218 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold);
|
/external/deqp/modules/gles3/functional/ |
es3fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); 319 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 330 if (!compareSingleColor(m_testCtx.getLog(), result, ndx == 0 ? tcu::RGBA::green() : tcu::RGBA::red(), threshold))
|
es3fTextureSizeTests.cpp | 129 tcu::RGBA threshold = thresholdFormat.getColorThreshold() + tcu::RGBA(7,7,7,7); local 164 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold); 277 tcu::RGBA threshold = thresholdFormat.getColorThreshold() + tcu::RGBA(7,7,7,7); local 313 return compareImages(log, referenceFrame, renderedFrame, threshold);
|
es3fTextureSwizzleTests.cpp | 152 tcu::RGBA threshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 217 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold);
|
/external/deqp/modules/gles31/functional/ |
es31fTextureFormatTests.cpp | 203 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 246 return compareImages(log, (string("LayerFace" + de::toString(layerFaceNdx))).c_str(), (string("Layer-face " + de::toString(layerFaceNdx))).c_str(), referenceFrame, renderedFrame, threshold); 353 tcu::RGBA threshold = m_renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 392 bool isOk = compareImages(log, referenceFrame, renderedFrame, threshold);
|
/external/deqp/modules/gles31/stress/ |
es31sTessellationGeometryInteractionTests.cpp | 391 const int threshold = 8; local 395 if (color.getGreen() < 255 - threshold || color.getBlue() > threshold)
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
PerformanceMeasurement.java | 141 int threshold = Math.min(mBufferData.length, mExpectedBufferPeriodMs * mOutliersThreshold); local 142 for (int i = 0; i < threshold; i++) {
|