/external/qemu/audio/ |
H A D | alsaaudio.c | 140 unsigned int threshold; member in struct:__anon29222 500 static void alsa_set_threshold (snd_pcm_t *handle, snd_pcm_uframes_t threshold) argument 514 err = FF(snd_pcm_sw_params_set_start_threshold) (handle, sw_params, threshold); 517 alsa_logerr (err, "Failed to set software threshold to %ld\n", 518 threshold); 710 if (!in && conf.threshold) { 711 snd_pcm_uframes_t threshold; local 732 threshold = (conf.threshold * bytes_per_sec) / 1000; 733 alsa_set_threshold (handle, threshold); [all...] |
/external/tcpdump/ |
H A D | print-slow.c | 164 u_int8_t threshold[8]; member in struct:slow_oam_link_event_t 605 EXTRACT_64BITS(&tlv.slow_oam_link_event->threshold),
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab_drag_controller.cc | 685 // Determine the horizontal move threshold. This is dependent on the width 687 // the threshold. 688 int threshold = kHorizontalMoveThreshold; local 693 threshold = static_cast<int>(ratio * kHorizontalMoveThreshold); 705 if ((abs(point_in_screen.x() - last_move_screen_loc_) > threshold ||
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | render_message_filter.cc | 694 // Don't refresh if the specified threshold has not been passed. Note that 701 const base::TimeDelta threshold = base::TimeDelta::FromSeconds( local 704 if (now - last_plugin_refresh_time_ >= threshold) { 705 // Only refresh if the threshold hasn't been exceeded yet.
|
/external/chromium_org/third_party/freetype/src/autofit/ |
H A D | aflatin.c | 347 /* same Y coordinate, then threshold the `closeness'... */ 622 FT_Pos threshold; local 631 threshold = 40; 638 threshold = 52; 640 fitted = ( scaled + threshold ) & ~63; 1139 * corresponding threshold in font units. 1162 /* assure that edge distance threshold is at most 0.25px */ 1439 FT_Pos best_dist; /* initial threshold */ 1442 /* compute the initial threshold as a fraction of the EM size */ 1758 /* with a different threshold */ [all...] |
H A D | aflatin2.c | 566 FT_Pos threshold; local 575 threshold = 40; 582 threshold = 52; 584 fitted = ( scaled + threshold ) & ~63; 1397 FT_Pos best_dist0; /* initial threshold */ 1400 /* compute the initial threshold as a fraction of the EM size */ 1735 /* with a different threshold */
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | pickinter.c | 464 unsigned int threshold = (xd->block[0].dequant[1] local 467 if(threshold < x->encode_breakout) 468 threshold = x->encode_breakout; 470 if (sse < threshold ) 758 * If so then prevent it from being tested and increase the threshold 766 /* Increase the threshold for coding this mode to make it less 1121 * score. Lower threshold a bit for next time 1132 * threshold for testing that mode next time around.
|
/external/chromium_org/third_party/opus/src/src/ |
H A D | opus_encoder.c | 111 middle (memoriless) threshold. The second column is the hysteresis 1131 opus_int32 threshold; 1139 threshold = mode_music + ((voice_est*voice_est*(mode_voice-mode_music))>>14); 1142 threshold += 8000; 1144 /*printf("%f %d\n", stereo_width/(float)Q15ONE, threshold);*/ 1147 threshold -= 4000; 1149 threshold += 4000; 1151 st->mode = (equiv_rate >= threshold) ? MODE_CELT_ONLY: MODE_SILK_ONLY; 1237 /* Adjust the threshold +/- 10% depending on complexity */ 1258 int threshold, hysteresi local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | tcmalloc.cc | 183 // infinite loop. So by default we set the threshold to a huge number 196 "trace to be dumped to stderr. The threshold for " 198 "every time we print a message so that the threshold " 1049 const int64 threshold = large_alloc_threshold; local 1050 if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { 1051 // Increase the threshold by 1/8 every time we generate a report. 1052 // We cap the threshold at 8GiB to avoid overflow problems. 1053 large_alloc_threshold = (threshold + threshold/ [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | tcmalloc.cc | 185 // infinite loop. So by default we set the threshold to a huge number 198 "trace to be dumped to stderr. The threshold for " 200 "every time we print a message so that the threshold " 1038 const int64 threshold = large_alloc_threshold; local 1039 if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { 1040 // Increase the threshold by 1/8 every time we generate a report. 1041 // We cap the threshold at 8GiB to avoid overflow problems. 1042 large_alloc_threshold = (threshold + threshold/ [all...] |
/external/chromium_org/v8/test/cctest/ |
H A D | test-strings.cc | 79 bool next(double threshold) { argument 80 DCHECK(threshold >= 0.0 && threshold <= 1.0); 81 if (threshold == 1.0) return true; 82 if (threshold == 0.0) return false; 84 return threshold > static_cast<double>(value)/100000.0;
|
/external/deqp/modules/egl/ |
H A D | teglImageFormatTests.cpp | 804 float threshold = 0.05f; local 805 bool match = tcu::fuzzyCompare(m_log, "ComparisonResult", "Image comparison result", referenceScreen, screen, threshold, tcu::COMPARE_LOG_RESULT); 1236 float threshold = 0.05f; local 1237 bool match = tcu::fuzzyCompare(m_log, "ComparisonResult", "Image comparison result", reference, screen, threshold, tcu::COMPARE_LOG_RESULT);
|
H A D | teglRenderTests.cpp | 699 const float threshold = 0.02f; local 789 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, threshold, tcu::COMPARE_LOG_RESULT); 884 const float threshold = 0.02f; local 1000 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, threshold, tcu::COMPARE_LOG_RESULT);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fClippingTests.cpp | 88 const tcu::IVec4 threshold (20, 256, 256, 256); 90 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - halfFilled), threshold)); 96 const int threshold = 20; local 98 return a.x() + threshold < halfFilled; 110 const tcu::IVec4 threshold(20, 20, 20, 0); 117 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - b), threshold)); 815 const float threshold = 0.3f; local 816 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR)) 1002 const float threshold = 0.3f; local 1003 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tc [all...] |
H A D | es2fFboRenderTest.cpp | 628 const float threshold = 0.02f; local 629 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
|
H A D | es2fTextureSpecificationTests.cpp | 506 tcu::UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 507 bool isOk = tcu::intThresholdCompare(m_testCtx.getLog(), "Result", "Image comparison result", reference.getAccess(), result.getAccess(), threshold, 547 const float threshold = 0.02f; local 548 isOk = tcu::fuzzyCompare(m_testCtx.getLog(), "Result", (string("Image comparison result: ") + de::toString((tcu::CubeFace)face)).c_str(), reference, result, threshold,
|
H A D | es2fTextureUnitTests.cpp | 430 const float threshold = 0.1f; local 439 if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < threshold) || 440 de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) || 812 const float threshold = 0.001f; local 813 bool isOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
|
H A D | es2fVertexTextureTests.cpp | 381 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(15,15,15,15); local 382 return tcu::pixelThresholdCompare(log, "Result", "Image compare result", ref, res, threshold, tcu::COMPARE_LOG_RESULT);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fClippingTests.cpp | 91 const tcu::IVec4 threshold (20, 256, 256, 256); 93 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - halfFilled), threshold)); 99 const int threshold = 20; local 101 return a.x() + threshold < halfFilled; 113 const tcu::IVec4 threshold(20, 20, 20, 0); 120 return tcu::boolAll(tcu::lessThanEqual(tcu::abs(a - b), threshold)); 819 const float threshold = 0.3f; local 820 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR)) 1006 const float threshold = 0.3f; local 1007 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tc [all...] |
H A D | es3fFragmentOutputTests.cpp | 705 gl.disable(GL_DITHER); // Dithering causes issues with unorm formats. Those issues could be worked around in threshold, but it makes validation less accurate. 856 // bits in the process and it must be taken into account when computing threshold. 859 const Vec4 threshold = select(baseThreshold, Vec4(2.0f), cmpMask); local 861 isOk = tcu::floatThresholdCompare(log, name.c_str(), desc.c_str(), reference, rendered, threshold, tcu::COMPARE_LOG_RESULT); 868 const tcu::UVec4 threshold = select(UVec4(0u), UVec4(~0u), cmpMask); local 869 isOk = tcu::intThresholdCompare(log, name.c_str(), desc.c_str(), reference, rendered, threshold, tcu::COMPARE_LOG_RESULT);
|
H A D | es3fShaderDerivateTests.cpp | 377 const tcu::Vec4& threshold, 387 log << TestLog::Message << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshold, numComps) << TestLog::EndMessage; 394 const bool isOk = tcu::allEqual(tcu::logicalOr(tcu::lessThanEqual(tcu::abs(reference - resDerivate), threshold), mask), tcu::BVec4(true)); 928 const tcu::Vec4 threshold = getSurfaceThreshold() / abs(m_derivScale); local 931 reference, threshold, m_derivScale, m_derivBias); 1065 const tcu::Vec4 threshold = max(surfaceThreshold, opThreshold); local 1071 << "\tValid derivative is " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshold, numComps) 1077 reference, threshold, m_derivScal 372 verifyConstantDerivate(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, const tcu::Vec4& reference, const tcu::Vec4& threshold, const tcu::Vec4& scale, const tcu::Vec4& bias, VerificationLogging logPolicy = LOG_ALL) argument 1126 const tcu::Vec4 threshold = max(surfaceThreshold, max(dxThreshold, dyThreshold)); local 1360 const tcu::Vec4 threshold = max(surfaceThreshold, opThreshold); local 1415 const tcu::Vec4 threshold = max(surfaceThreshold, max(dxThreshold, dyThreshold)); local [all...] |
H A D | es3fTextureSpecificationTests.cpp | 307 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 311 bool isOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold, 398 const float threshold = 0.02f; local 403 bool isFaceOk = tcu::fuzzyCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference, result, threshold, 498 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 503 bool depthOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold, 599 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 604 bool depthOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold,
|
H A D | es3fTextureUnitTests.cpp | 586 const float threshold = 0.1f; local 595 if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < threshold) || 596 de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) || 1044 const float threshold = 0.001f; local 1045 bool isOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles3Frame, threshold, tcu::COMPARE_LOG_RESULT);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fLayoutBindingTests.cpp | 530 const tcu::RGBA threshold = m_context.getRenderContext().getRenderTarget().getPixelFormat().getColorThreshold(); local 548 return tcu::pixelThresholdCompare(m_testCtx.getLog(), "Render result", "Result verification", reference, result, threshold, tcu::COMPARE_LOG_RESULT);
|
H A D | es31fOpaqueTypeIndexingTests.cpp | 576 const float threshold = 1.0f / 256.0f; local 581 isOk = boolAll(lessThanEqual(abs(reference-result), tcu::Vec4(threshold)));
|