Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 1049) sorted by relevance

12345678910>>...42

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 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 -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
21 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
22 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
24 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
25 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
26 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
[all …]
Dpartial-unroll-const-bounds.ll1 …artial-threshold=20 -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unrol…
2 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
5 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
7 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
Druntime-loop2.ll1 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-partial-threshold=25 -unroll-runtime -…
2 ; RUN: opt < %s -S -loop-unroll -unroll-threshold=25 -unroll-partial-threshold=25 -unroll-runtime -…
4 … %s -S -passes='require<opt-remark-emit>,unroll' -unroll-threshold=25 -unroll-partial-threshold=25…
5 … %s -S -passes='require<opt-remark-emit>,unroll' -unroll-threshold=25 -unroll-partial-threshold=25…
/external/ImageMagick/MagickCore/
Dthreshold.c406 threshold; in KapurThreshold() local
471 threshold=0; in KapurThreshold()
476 threshold=(size_t) j; in KapurThreshold()
484 return(100.0*threshold/MaxIntensity); in KapurThreshold()
496 threshold; in OTSUThreshold() local
542 threshold=0; in OTSUThreshold()
553 threshold=(double) i; in OTSUThreshold()
563 return(100.0*threshold/MaxIntensity); in OTSUThreshold()
590 threshold; in TriangleThreshold() local
631 threshold=0; in TriangleThreshold()
[all …]
/external/skia/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
DGrDualIntervalGradientColorizer.cpp34 auto threshold = _outer.threshold(); in emitCode() local
35 (void)threshold; in emitCode()
83 float thresholdValue = _outer.threshold(); in onSetData()
132 float threshold) { in Make() argument
136 auto scale01 = (vc1 - vc0) / threshold; in Make()
141 auto scale23 = (vc3 - vc2) / (1 - threshold); in Make()
142 auto bias23 = vc2 - threshold * scale23; in Make()
147 {bias23[0], bias23[1], bias23[2], bias23[3]}, threshold)); in Make()
/external/skqp/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
DGrDualIntervalGradientColorizer.cpp34 auto threshold = _outer.threshold(); in emitCode() local
35 (void)threshold; in emitCode()
83 float thresholdValue = _outer.threshold(); in onSetData()
132 float threshold) { in Make() argument
136 auto scale01 = (vc1 - vc0) / threshold; in Make()
141 auto scale23 = (vc3 - vc2) / (1 - threshold); in Make()
142 auto bias23 = vc2 - threshold * scale23; in Make()
147 {bias23[0], bias23[1], bias23[2], bias23[3]}, threshold)); in Make()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ARM/
Dinline-fp.ll7 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
8 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
9 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15 (threshold=75)
10 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15015 (threshold=75)
11 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
12 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
13 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
14 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
16 ; FULLFP-DAG: single inlined into test_single with cost=0 (threshold=75)
17 ; FULLFP-DAG: single inlined into test_single with cost=-15000 (threshold=75)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Droll_op.cc41 const T* input, T* output, const gtl::ArraySlice<int>& threshold, in DoRoll() argument
43 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range]( in DoRoll()
54 const int shift = dim_size[i] - threshold[i]; in DoRoll()
70 if (indx == threshold[j]) { // we've reached the threshold in DoRoll()
79 } else if (threshold[j] != 0) { // if threshold is 0 shift is 0 in DoRoll()
105 const gtl::ArraySlice<int>& threshold, in DoRollWithMemcpy() argument
108 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range, isd]( in DoRollWithMemcpy()
120 const int64 start_remainder = (start % 2) * threshold[isd] * isd_stride; in DoRollWithMemcpy()
121 const int64 end_remainder = (end % 2) * threshold[isd] * isd_stride; in DoRollWithMemcpy()
141 const int shift = dim_size[i] - threshold[i]; in DoRollWithMemcpy()
[all …]
Dcompare_and_bitpack_op_gpu.cu.cc36 __global__ void CompareAndBitpackKernel(const int size, const T* threshold, in CompareAndBitpackKernel() argument
44 const T thresh = ldg(threshold); in CompareAndBitpackKernel()
59 const bool* threshold, in CompareAndBitpackKernel() argument
81 const float* threshold, in CompareAndBitpackKernel() argument
84 const float thresh = ldg(threshold); in CompareAndBitpackKernel()
98 const double* threshold, in CompareAndBitpackKernel() argument
101 const double thresh = ldg(threshold); in CompareAndBitpackKernel()
121 typename TTypes<T>::ConstScalar threshold, \
129 0, d.stream(), total_count, threshold.data(), \
/external/deqp/framework/common/
DtcuImageCompare.hpp47 …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 …
DtcuBilinearImageCompare.cpp114 …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 …]
DtcuImageCompare.cpp91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
217 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
222 bool isOk = difference <= threshold; in fuzzyCompare()
236 … comparison failed: difference = " << difference << ", threshold = " << threshold << TestLog::EndM… in fuzzyCompare()
286 …r* imageSetDesc, const Surface& reference, const Surface& result, float threshold, CompareLogMode … in fuzzyCompare() argument
288 …re(log, imageSetName, imageSetDesc, reference.getAccess(), result.getAccess(), threshold, logMode); in fuzzyCompare()
488 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, CompareLogMode … in floatUlpThresholdCompare() argument
[all …]
/external/libxcam/modules/isp/iq/
Dx3a_ciq_tnr_tuning_handler.cpp93 …config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].y_threshold, tuning[i_curr].y_threshol… in analyze()
96 …config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].uv_threshold, tuning[i_curr].uv_thresh… in analyze()
99 config.threshold[2] = 0.0; in analyze()
101 config.gain, config.threshold[0], config.threshold[1]); in analyze()
111 …config.threshold[0] = linear_interpolate_p2 (tuning[i_prev].r_threshold, tuning[i_curr].r_threshol… in analyze()
114 …config.threshold[1] = linear_interpolate_p2 (tuning[i_prev].g_threshold, tuning[i_curr].g_threshol… in analyze()
117 …config.threshold[2] = linear_interpolate_p2 (tuning[i_prev].b_threshold, tuning[i_curr].b_threshol… in analyze()
121 config.gain, config.threshold[0], config.threshold[1]); in analyze()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
Doptimization-remarks-yaml.ll2 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
8 ; Verify that remarks that don't meet the hotness threshold are not output.
10 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
11 ; RUN: -pass-remarks-output=%t.threshold 2>&1 | \
13 ; RUN: test ! -s %t.threshold
15 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
16 ; RUN: -pass-remarks-output=%t.threshold
18 ; RUN: test ! -s %t.threshold
22 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
28 ; Verify that remarks that don't meet the hotness threshold are not output.
[all …]
Dinline-hot-callsite.ll1 ; This tests that a hot callsite gets the (higher) inlinehint-threshold even without
3 ; inlinehint-threshold. A cold callee with identical body does not get inlined because
4 ; cost exceeds the inline-threshold
6 ; RUN: opt < %s -inline -inline-threshold=0 -hot-callsite-threshold=100 -S | FileCheck %s
7 …s -passes='require<profile-summary>,cgscc(inline)' -inline-threshold=0 -hot-callsite-threshold=100…
11 ; RUN: opt < %s -passes='default<O2>' -inline-threshold=0 -hot-callsite-threshold=100 -S | FileChec…
Dinline-hot-callsite-2.ll1 …equire<profile-summary>,cgscc(inline)' -inline-threshold=0 -inlinehint-threshold=0 -hot-callsite-t…
4 ; entry count and the callsite block frequency gets the hot-callsite-threshold.
6 ; because cost exceeds the inline-threshold. inlinthint-threshold is set to 0
7 ; to ensure callee's hotness is not used to boost the threshold.
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 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/libxcam/cl_kernel/
Dkernel_3d_denoise.cl5 * threshold: Noise variances of observed image
51 float threshold,
107 gain = (grad.s0 < threshold) ? gain : 2.0f * gain;
112 gain = (grad.s4 < threshold) ? gain : 2.0f * gain;
125 float threshold,
173 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
179 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
182 …average_slice((float8)(ref[0].hi, ref[1].lo), *observe, restore, sum_weight, gain, threshold, sg_i…
188 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
194 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
[all …]
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp34 float NormalizeThreshold(float threshold) { in NormalizeThreshold() argument
35 if (threshold < 300) in NormalizeThreshold()
36 return threshold / 2.0f; in NormalizeThreshold()
37 if (threshold < 500) in NormalizeThreshold()
38 return threshold / 4.0f; in NormalizeThreshold()
39 if (threshold < 700) in NormalizeThreshold()
40 return threshold / 5.0f; in NormalizeThreshold()
41 return threshold / 6.0f; in NormalizeThreshold()
757 float threshold = prev_width > this_width ? prev_width / 4 : this_width / 4; in ProcessTextObject() local
762 if (fabs(this_pos.y - prev_pos.y) > threshold * 2) { in ProcessTextObject()
[all …]
/external/libvpx/libvpx/test/
Dset_roi.cc32 unsigned int threshold[MAX_MB_SEGMENTS] = { 0, 100, 200, 300 }; in TEST() local
66 delta_q, delta_lf, threshold); in TEST()
101 if (threshold[i] != breakout) { in TEST()
102 EXPECT_EQ(threshold[i], breakout) << "breakout threshold error"; in TEST()
133 rand_deltas, delta_lf, threshold); in TEST()
142 delta_q, rand_deltas, threshold); in TEST()
152 cpi.common.mb_cols, delta_q, delta_lf, threshold); in TEST()
157 cpi.common.mb_cols - 1, delta_q, delta_lf, threshold); in TEST()
/external/python/cpython2/Lib/distutils/
Dlog.py16 def __init__(self, threshold=WARN): argument
17 self.threshold = threshold
23 if level >= self.threshold:
61 old = _global_log.threshold
62 _global_log.threshold = level
/external/python/cpython3/Lib/distutils/
Dlog.py16 def __init__(self, threshold=WARN): argument
17 self.threshold = threshold
23 if level >= self.threshold:
67 old = _global_log.threshold
68 _global_log.threshold = level
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/
DPhiEliminate3.ll4 ; 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

12345678910>>...42