/external/ImageMagick/MagickWand/ |
mogrify.c | 915 if (LocaleCompare("black-threshold",option+1) == 0) 918 Black threshold image. 1350 threshold; local 2774 threshold; local 2942 threshold; local 3088 threshold; local [all...] |
/external/ImageMagick/coders/ |
msl.c | 94 #include "MagickCore/threshold.h" 7155 double threshold = 0; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiImageClearingTests.cpp | 272 const float threshold = 2.0f / (float)((1 << bitDepth) - 1); local 273 const bool result = deFloatAbs(depth - ref) <= threshold; 278 s << "Ref:" << ref << " Threshold:" << threshold << " Depth:" << depth; 289 const int threshold = 10 * 1 << (23 - mantissaBits); local 293 const bool result = calcFloatDiff(depth, ref) <= threshold; 297 float floatThreshold = Float32((deUint32)threshold).asFloat(); 300 s << "Ref:" << ref << " Threshold:" << floatThreshold << " Depth:" << depth; 326 s << "Ref:" << ref << " Threshold:0" << " Stencil:" << stencil; 357 const Vec4 threshold (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : 1.0f [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineVertexInputTests.cpp | 659 const tcu::Vec4 threshold = getFormatThreshold(attributeInfo.vkType); local 709 glslCode << indentStr << "if (abs(" << accessStr << " + double(0.01 * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < double(" << threshold[rowNdx] << "))\n"; local 713 glslCode << indentStr << "if (abs(" << accessStr << " + (0.01 * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; local 718 glslCode << indentStr << "if (abs(" << accessStr << " + (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; local 722 glslCode << indentStr << "if (abs(" << accessStr << " - (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0)) < " << threshold[rowNdx] << ")\n"; local 728 glslCode << indentStr << "if (abs(" << accessStr << " - (-1.0 + " << representableDiff << " * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; local 734 glslCode << indentStr << "if (abs(" << accessStr << " - " << "(" << representableDiff << " * (" << totalComponentCount << ".0 * float(" << indexId << ") + " << componentIndex << ".0))) < " << threshold[rowNdx] << ")\n"; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktOpaqueTypeIndexingTests.cpp | 1006 const float threshold = 1.0f / 256.0f; local 1011 isOk = boolAll(lessThanEqual(abs(reference-result), tcu::Vec4(threshold))); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderBuiltinVarTests.cpp | 2187 const float threshold = 0.02f; local [all...] |
vktShaderRenderDerivateTests.cpp | 341 const tcu::Vec4& threshold, 351 log << TestLog::Message << "Expecting " << LogVecComps(reference, numComps) << " with threshold " << LogVecComps(threshold, numComps) << TestLog::EndMessage; 358 const bool isOk = tcu::allEqual(tcu::logicalOr(tcu::lessThanEqual(tcu::abs(reference - resDerivate), threshold), mask), tcu::BVec4(true)); 822 const tcu::Vec4 threshold = getSurfaceThreshold() / abs(m_values.derivScale); local 825 reference, threshold, m_values.derivScale, m_values.derivBias); 979 const tcu::Vec4 threshold = max(surfaceThreshold, opThreshold); local 1043 const tcu::Vec4 threshold = max(surfaceThreshold, max(dxThreshold, dyThreshold)); local 1273 const tcu::Vec4 threshold = max(surfaceThreshold, opThreshold); local 1331 const tcu::Vec4 threshold = max(surfaceThreshold, max(dxThreshold, dyThreshold)); local [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 361 threshold usable for the fuzzyCompare function. 734 const float threshold = getColorThreshold(pixelFmt); local 824 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, frame, threshold, tcu::COMPARE_LOG_RESULT); 938 const float threshold = getColorThreshold(pixelFmt); local [all...] |
/external/deqp/modules/gles2/functional/ |
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)); 823 const float threshold = 0.3f; local 824 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR)) 1018 const float threshold = 0.3f; local [all...] |
es2fFboRenderTest.cpp | 628 const float threshold = 0.03f; local 629 bool imagesOk = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT); [all...] |
es2fVertexTextureTests.cpp | 384 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(15,15,15,15); local 385 return tcu::pixelThresholdCompare(log, "Result", "Image compare result", ref, res, threshold, tcu::COMPARE_LOG_RESULT); [all...] |
/external/deqp/modules/gles3/functional/ |
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)); 827 const float threshold = 0.3f; local 828 if (!tcu::fuzzyCompare(log, "Images", "", referenceImageAccess, testImageAccess, threshold, tcu::COMPARE_LOG_ON_ERROR)) 1022 const float threshold = 0.3f; local [all...] |
es3fFragmentOutputTests.cpp | 770 gl.disable(GL_DITHER); // Dithering causes issues with unorm formats. Those issues could be worked around in threshold, but it makes validation less accurate. 895 const deUint32 interpThreshold = 4; //!< 4 ULP interpolation threshold (interpolation always in highp) 896 deUint32 outTypeThreshold = 0; //!< Threshold based on output type 897 UVec4 formatThreshold; //!< Threshold computed based on format. 930 // bits in the process and it must be taken into account when computing threshold. 933 const Vec4 threshold = select(baseThreshold, Vec4(2.0f), cmpMask); local 942 const tcu::UVec4 threshold = select(UVec4(0u), UVec4(~0u), cmpMask); local [all...] |
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 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...] |
es3fTextureSpecificationTests.cpp | 319 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 323 bool isOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold, 410 const float threshold = 0.02f; local 415 bool isFaceOk = tcu::fuzzyCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference, result, threshold, 510 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 515 bool depthOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold, 611 UVec4 threshold = computeCompareThreshold(m_context.getRenderTarget().getPixelFormat(), m_texFormat); local 616 bool depthOk = tcu::intThresholdCompare(m_testCtx.getLog(), name.c_str(), desc.c_str(), reference.getAccess(), result.getAccess(), threshold, [all...] |
es3fTextureUnitTests.cpp | 587 const float threshold = 0.1f; local 596 if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < threshold) || 597 de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) || 1045 const float threshold = 0.001f; local [all...] |
es3fVertexTextureTests.cpp | 481 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(15,15,15,15); local 482 return tcu::pixelThresholdCompare(log, "Result", "Image compare result", ref, res, threshold, tcu::COMPARE_LOG_RESULT); [all...] |
/external/e2fsprogs/e2fsck/ |
pass1.c | 708 unsigned int threshold; local 720 "numdirs_threshold", 0, 0, &threshold); 729 (!threshold || num_dirs > threshold)) { [all...] |
/external/freetype/src/autofit/ |
aflatin.c | 577 /* that are not on the same Y coordinate, then threshold */ 635 /* threshold. This ensures that small bumps in the outline */ 646 /* heuristic threshold value */ 657 /* heuristic threshold value */ 826 /* `on' point is larger than a heuristic threshold */ 1166 FT_Pos threshold; local [all...] |
aflatin2.c | 309 /* same Y coordinate. Threshold the `closeness'... */ 575 FT_Pos threshold; local 584 threshold = 40; 591 threshold = 52; 593 fitted = ( scaled + threshold ) & ~63; [all...] |
/external/libavc/test/decoder/ |
main.c | 1601 const UWORD8 threshold = 64; local [all...] |
/external/libopus/src/ |
opus_encoder.c | 123 middle (memoriless) threshold. The second column is the hysteresis 149 /* Threshold bit-rates for switching between mono and stereo */ 153 /* Threshold bit-rate for switching between SILK/hybrid and CELT-only */ 742 /* Compute threshold for using FEC at the current bandwidth setting */ 1476 int threshold, hysteresis; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
rdopt.c | 978 /* 64 makes this threshold really big effectively making it so that we 1599 unsigned int threshold = local [all...] |
/external/opencv/cv/include/ |
cvtypes.h | 342 float* threshold; member in struct:CvHaarClassifier 352 float threshold; member in struct:CvHaarStageClassifier
|
/external/opencv/cv/src/ |
mycvHaarDetectObjects.cpp | 69 int threshold; member in struct:MyCvHidHaarTreeNode 89 float threshold; member in struct:MyCvHidHaarStageClassifier 270 hid_stage_classifier->threshold = stage_classifier->threshold - icv_stage_threshold_bias; 300 node->threshold = (int)((classifier->threshold[l]) * 65536.0); 351 ipp_thresholds[j] = classifier->threshold[0]; 411 double t = node->threshold * variance_norm_factor; 534 // if( stage_sum >= ptr->threshold ) 562 int t = node->threshold * variance_norm_factor [all...] |