/external/pdfium/core/src/fpdftext/ |
D | fpdf_text_search.cpp | 114 FX_FLOAT threshold = in FPDFText_ProcessInterObj() local 121 if (FXSYS_fabs(y) > threshold * 2) { in FPDFText_ProcessInterObj() 124 threshold = (FX_FLOAT)(nLastWidth > nThisWidth ? nLastWidth : nThisWidth); in FPDFText_ProcessInterObj() 125 threshold = threshold > 400 in FPDFText_ProcessInterObj() 126 ? (threshold < 700 ? threshold / 4 : threshold / 5) in FPDFText_ProcessInterObj() 127 : (threshold / 2); in FPDFText_ProcessInterObj() 128 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) in FPDFText_ProcessInterObj() 130 threshold /= 1000; in FPDFText_ProcessInterObj() 131 if (FXSYS_fabs(last_pos + last_width - x) > threshold && curChar != L' ' && in FPDFText_ProcessInterObj() 134 if ((x - last_pos - last_width) > threshold || in FPDFText_ProcessInterObj() [all …]
|
/external/opencv3/modules/features2d/src/ |
D | fast.cpp | 56 void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppressi… in FAST_t() argument 69 threshold = std::min(std::max(threshold, 0), 255); in FAST_t() 72 …__m128i delta = _mm_set1_epi8(-128), t = _mm_set1_epi8((char)threshold), K16 = _mm_set1_epi8((char… in FAST_t() 79 threshold_tab[i+255] = (uchar)(i < -threshold ? 1 : i > threshold ? 2 : 0); in FAST_t() 156 … curr[j+k] = (uchar)cornerScore<patternSize>(ptr+k, pixel, threshold); in FAST_t() 184 int vt = v - threshold, count = 0; in FAST_t() 195 … curr[j] = (uchar)cornerScore<patternSize>(ptr, pixel, threshold); in FAST_t() 206 int vt = v + threshold, count = 0; in FAST_t() 217 … curr[j] = (uchar)cornerScore<patternSize>(ptr, pixel, threshold); in FAST_t() 260 int threshold, bool nonmax_suppression, int maxKeypoints ) in ocl_FAST() argument [all …]
|
D | kaze.cpp | 63 , threshold(_threshold) in KAZE_Impl() 78 void setThreshold(double threshold_) { threshold = (float)threshold_; } in setThreshold() 79 double getThreshold() const { return threshold; } in getThreshold() 125 options.dthreshold = threshold; in detectAndCompute() 157 fs << "threshold" << threshold; in write() 167 threshold = (float)fn["threshold"]; in read() 175 float threshold; member in cv::KAZE_Impl 182 float threshold, in create() argument 186 return makePtr<KAZE_Impl>(extended, upright, threshold, octaves, sublevels, diffusivity); in create()
|
D | fast_score.cpp | 84 static void testCorner(const uchar* ptr, const int pixel[], int K, int N, int threshold) { in testCorner() argument 89 int v0 = std::min(ptr[0] + threshold + delta, 255); in testCorner() 90 int v1 = std::max(ptr[0] - threshold - delta, 0); in testCorner() 120 int cornerScore<16>(const uchar* ptr, const int pixel[], int threshold) in cornerScore() argument 165 threshold = (short)_mm_cvtsi128_si32(q0) - 1; in cornerScore() 167 int a0 = threshold; in cornerScore() 200 threshold = -b0-1; in cornerScore() 204 testCorner(ptr, pixel, K, N, threshold); in cornerScore() 206 return threshold; in cornerScore() 210 int cornerScore<12>(const uchar* ptr, const int pixel[], int threshold) in cornerScore() argument [all …]
|
D | akaze.cpp | 68 , threshold(_threshold) in AKAZE_Impl() 89 void setThreshold(double threshold_) { threshold = (float)threshold_; } in setThreshold() 90 double getThreshold() const { return threshold; } in getThreshold() 190 options.dthreshold = threshold; in detectAndCompute() 223 fs << "threshold" << threshold; in write() 234 threshold = (float)fn["threshold"]; in read() 243 float threshold; member in cv::AKAZE_Impl 251 float threshold, int octaves, in create() argument 255 threshold, octaves, sublevels, diffusivity); in create()
|
/external/deqp/framework/common/ |
D | tcuImageCompare.hpp | 47 …geSetDesc, const Surface& reference, const Surface& result, const RGBA& threshold, CompareLogMode … 48 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … 51 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … 52 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … 53 …ferAccess& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … 54 …onst Vec4& reference, const ConstPixelBufferAccess& result, const Vec4& threshold, CompareLogMode … 55 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … 56 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… 57 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… 59 …fferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, CompareLogMode …
|
D | tcuBilinearImageCompare.cpp | 114 …lBufferAccess& reference, const ConstPixelBufferAccess& result, const RGBA threshold, int x, int y) in comparePixelRGBA8() argument 127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8() 128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8() 129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8() 130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8() 131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8() 132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8() 133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8() 134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8() 135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8() [all …]
|
D | tcuImageCompare.cpp | 91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument 124 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 143 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 166 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() 216 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument 221 bool isOk = difference <= threshold; in fuzzyCompare() 235 … comparison failed: difference = " << difference << ", threshold = " << threshold << TestLog::EndM… in fuzzyCompare() 285 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument 287 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare() 487 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAutoCompleteTextView.java | 19 private int threshold = 2; field in ShadowAutoCompleteTextView 34 return threshold; in getThreshold() 38 public void setThreshold(int threshold) { in setThreshold() argument 39 if (threshold <= 0) { in setThreshold() 40 threshold = 1; in setThreshold() 42 this.threshold = threshold; in setThreshold()
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_thresholding/ |
D | py_thresholding.markdown | 9 - You will learn these functions : **cv2.threshold**, **cv2.adaptiveThreshold** etc. 14 Here, the matter is straight forward. If pixel value is greater than a threshold value, it is 16 used is **cv2.threshold**. First argument is the source image, which **should be a grayscale 17 image**. Second argument is the threshold value which is used to classify the pixel values. Third 19 less than) the threshold value. OpenCV provides different styles of thresholding and it is decided 40 ret,thresh1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) 41 ret,thresh2 = cv2.threshold(img,127,255,cv2.THRESH_BINARY_INV) 42 ret,thresh3 = cv2.threshold(img,127,255,cv2.THRESH_TRUNC) 43 ret,thresh4 = cv2.threshold(img,127,255,cv2.THRESH_TOZERO) 44 ret,thresh5 = cv2.threshold(img,127,255,cv2.THRESH_TOZERO_INV) [all …]
|
/external/autotest/client/tests/kvm/deps/ |
D | heartbeat_slu.py | 45 def run_server(host, port, daemon, file, queue_size, threshold, drift): argument 51 timeout_interval = threshold * 2 57 drift = check_heartbeat(heartbeat, local_timestamp, threshold, check_drift) 61 if local_timestamp - prev_check_timestamp > threshold * 2.0: 62 check_for_timeouts(threshold, check_drift) 92 def check_heartbeat(heartbeat, local_timestamp, threshold, check_drift): argument 97 if delta > threshold: 112 def check_for_timeouts(threshold, check_drift): argument 118 if delta > threshold * 2: 149 threshold = 10 # seconds late till alert variable [all …]
|
/external/llvm/test/Transforms/LoopUnroll/ |
D | full-unroll-heuristics.ll | 3 ; 1) -unroll-threshold 4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and 8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll 10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll 20 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 21 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 22 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th… 23 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-saved-th… 25 ; If the absolute threshold is too low, or if we can't optimize away requested 33 ; Also, we should unroll if the 'unroll-threshold' is big enough:
|
/external/opencv3/modules/imgproc/test/ocl/ |
D | test_houghlines.cpp | 30 int threshold; in PARAM_TEST_CASE() local 40 threshold = GET_PARAM(2); in PARAM_TEST_CASE() 88 OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); in OCL_TEST_P() 89 OCL_ON(cv::HoughLines(usrc, udst, rhoStep, thetaStep, threshold)); in OCL_TEST_P() 100 OCL_OFF(cv::HoughLines(src, dst, rhoStep, thetaStep, threshold)); in OCL_TEST_P() 101 OCL_ON(cv::HoughLines(usrc, udst, rhoStep, thetaStep, threshold)); in OCL_TEST_P() 112 int threshold; in PARAM_TEST_CASE() local 122 threshold = GET_PARAM(0); in PARAM_TEST_CASE() 168 OCL_OFF(cv::HoughLinesP(src, dst, rhoStep, thetaStep, threshold, minLineLength, maxGap)); in OCL_TEST_P() 169 OCL_ON(cv::HoughLinesP(usrc, udst, rhoStep, thetaStep, threshold, minLineLength, maxGap)); in OCL_TEST_P()
|
/external/chromium-trace/catapult/third_party/flot/ |
D | jquery.flot.threshold.js | 47 series: { threshold: null } // or { below: number, color: color spec} property 58 thresholded.threshold = null; 116 if (!s.threshold) 119 if (s.threshold instanceof Array) { 120 s.threshold.sort(function(a, b) { 124 $(s.threshold).each(function(i, th) { 129 thresholdData(plot, s, datapoints, s.threshold.below, s.threshold.color);
|
D | jquery.flot.threshold.min.js | 7 …threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=… property
|
/external/libvpx/libvpx/test/ |
D | set_roi.cc | 33 unsigned int threshold[MAX_MB_SEGMENTS] = { 0, 100, 200, 300 }; in TEST() local 71 threshold); in TEST() 106 if (threshold[i] != breakout) { in TEST() 107 EXPECT_EQ(threshold[i], breakout) in TEST() 139 delta_lf, threshold); in TEST() 149 rand_deltas, threshold); in TEST() 161 delta_lf, threshold); in TEST() 168 delta_lf, threshold); in TEST() 173 delta_lf, threshold); in TEST()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
D | Barrier.java | 36 protected int threshold; field in Barrier 40 threshold = t; in Barrier() 49 if ( count==threshold ) { in waitForRelease() 54 else while ( count<threshold ) { in waitForRelease()
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | PhiEliminate3.ll | 4 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=1 | grep N: 5 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=2 | not grep N: 6 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=2 | grep M: 7 ; RUN: opt < %s -simplifycfg -S -phi-node-folding-threshold=7 | not grep M: 24 ; This phi should be foldable if threshold >= 2 29 ; This phi should be foldable if threshold >= 7
|
/external/autotest/client/cros/image_comparison/ |
D | upload_on_fail_comparer.py | 23 def __init__(self, local_comparer, remote_comparer, threshold=0): argument 34 self.threshold = threshold 77 if (diffpx > self.threshold): 78 logging.debug('Threshold diff pixels is %d', self.threshold)
|
D | verifier.py | 29 def __init__(self, image_comparer, stop_on_first_failure, threshold=0, argument 44 self.threshold = threshold 69 log_msgs = ["Threshold for diff pixel count = %d" % self.threshold] 93 if diff_pixels > self.threshold:
|
/external/llvm/test/Transforms/Inline/ |
D | inline-optsize.ll | 4 ; The inline threshold for a function with the optsize attribute is currently 5 ; the same as the global inline threshold for -Os. Check that the optsize 6 ; function attribute doesn't alter the function-specific inline threshold if the 7 ; global inline threshold is lower (as for -Oz). 11 ; This function should be larger than the inline threshold for -Oz (25), but 12 ; smaller than the inline threshold for optsize (75).
|
/external/autotest/client/tests/monotonic_time/ |
D | control | 21 # time interface does not go backwards by more than 'threshold'. 23 # Note that the threshold value has the same resolution as the 31 duration=300, threshold=0) 34 duration=300, threshold=0) 37 duration=300, threshold=0)
|
/external/autotest/client/tests/kvm/autotest_control/ |
D | monotonic_time.control | 21 # time interface does not go backwards by more than 'threshold'. 23 # Note that the threshold value has the same resolution as the 31 duration=300, threshold=0) 34 duration=300, threshold=0) 37 duration=300, threshold=0)
|
/external/opencv3/modules/cudafeatures2d/src/cuda/ |
D | fast.cu | 195 __device__ int cornerScore(const uint C[4], const int v, const int threshold) in cornerScore() argument 199 int min = threshold + 1; in cornerScore() 221 …nst Mask mask, short2* kpLoc, const unsigned int maxKeypoints, PtrStepi score, const int threshold) in calcKeypoints() argument 247 int d1 = diffType(v, C[1] & 0xff, threshold); in calcKeypoints() 248 int d2 = diffType(v, C[3] & 0xff, threshold); in calcKeypoints() 266 calcMask(C, v, threshold, mask1, mask2); in calcKeypoints() 270 if (calcScore) score(i, j) = cornerScore(C, v, threshold); in calcKeypoints() 282 …PtrStepSzb mask, short2* kpLoc, int maxKeypoints, PtrStepSzi score, int threshold, cudaStream_t st… in calcKeypoints_gpu() argument 298 …ts<true><<<grid, block, 0, stream>>>(img, SingleMask(mask), kpLoc, maxKeypoints, score, threshold); in calcKeypoints_gpu() 300 …oints<true><<<grid, block, 0, stream>>>(img, WithOutMask(), kpLoc, maxKeypoints, score, threshold); in calcKeypoints_gpu() [all …]
|
/external/valgrind/massif/tests/ |
D | peak.post.exp | 45 ->00.85% (16B) in 1+ places, all below ms_print's threshold (01.00%) 57 ->00.44% (16B) in 1+ places, all below ms_print's threshold (01.00%) 69 ->00.30% (16B) in 1+ places, all below ms_print's threshold (01.00%) 81 ->00.23% (16B) in 1+ places, all below ms_print's threshold (01.00%) 93 ->00.18% (16B) in 1+ places, all below ms_print's threshold (01.00%) 105 ->00.15% (16B) in 1+ places, all below ms_print's threshold (01.00%) 117 ->00.13% (16B) in 1+ places, all below ms_print's threshold (01.00%) 129 ->00.11% (16B) in 1+ places, all below ms_print's threshold (01.00%) 141 ->00.10% (16B) in 1+ places, all below ms_print's threshold (01.00%) 153 ->00.09% (16B) in 1+ places, all below ms_print's threshold (01.00%) [all …]
|