Home
last modified time | relevance | path

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

12345678910>>...33

/third_party/cJSON/tests/unity/src/
Dunity.h152 …_ASSERT_GREATER_THAN(threshold, actual) UNITY_TEST_… argument
153 …SSERT_GREATER_THAN_INT(threshold, actual) UNITY_TEST_AS… argument
154 …SERT_GREATER_THAN_INT8(threshold, actual) UNITY_TEST_ASS… argument
155 …ERT_GREATER_THAN_INT16(threshold, actual) UNITY_TEST_ASSE… argument
156 …ERT_GREATER_THAN_INT32(threshold, actual) UNITY_TEST_ASSE… argument
157 …ERT_GREATER_THAN_INT64(threshold, actual) UNITY_TEST_ASSE… argument
158 …SERT_GREATER_THAN_UINT(threshold, actual) UNITY_TEST_ASS… argument
159 …ERT_GREATER_THAN_UINT8(threshold, actual) UNITY_TEST_ASSE… argument
160 …RT_GREATER_THAN_UINT16(threshold, actual) UNITY_TEST_ASSER… argument
161 …RT_GREATER_THAN_UINT32(threshold, actual) UNITY_TEST_ASSER… argument
[all …]
Dunity_internals.h465 void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold,
669 …RT_GREATER_THAN_INT(threshold, actual, line, message) UnityAssertGreaterOrLess… argument
670 …TER_THAN_INT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqual… argument
671 …ER_THAN_INT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
672 …ER_THAN_INT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
673 …T_GREATER_THAN_UINT(threshold, actual, line, message) UnityAssertGreaterOrLessO… argument
674 …ER_THAN_UINT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
675 …R_THAN_UINT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNu… argument
676 …R_THAN_UINT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNu… argument
677 …ER_THAN_HEX8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
[all …]
/third_party/unity/src/
Dunity.h159 …T_ASSERT_NOT_EQUAL_INT(threshold, actual) UNITY_TEST… argument
160 …_ASSERT_NOT_EQUAL_INT8(threshold, actual) UNITY_TEST_… argument
161 …ASSERT_NOT_EQUAL_INT16(threshold, actual) UNITY_TEST_A… argument
162 …ASSERT_NOT_EQUAL_INT32(threshold, actual) UNITY_TEST_A… argument
163 …ASSERT_NOT_EQUAL_INT64(threshold, actual) UNITY_TEST_A… argument
164 …_ASSERT_NOT_EQUAL_UINT(threshold, actual) UNITY_TEST_… argument
165 …ASSERT_NOT_EQUAL_UINT8(threshold, actual) UNITY_TEST_A… argument
166 …SSERT_NOT_EQUAL_UINT16(threshold, actual) UNITY_TEST_AS… argument
167 …SSERT_NOT_EQUAL_UINT32(threshold, actual) UNITY_TEST_AS… argument
168 …SSERT_NOT_EQUAL_UINT64(threshold, actual) UNITY_TEST_AS… argument
[all …]
Dunity_internals.h557 void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold,
795 …ERT_NOT_EQUAL_INT(threshold, actual, line, message) UnityAssertGreaterOrLes… argument
796 …_EQUAL_INT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqua… argument
797 …_EQUAL_INT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqua… argument
798 …_EQUAL_INT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqua… argument
799 …ERT_NOT_EQUAL_UINT(threshold, actual, line, message) UnityAssertGreaterOrLes… argument
800 …EQUAL_UINT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqual… argument
801 …EQUAL_UINT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqual… argument
802 …EQUAL_UINT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqual… argument
803 …_EQUAL_HEX8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqua… argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiodynamic.c268 filter->threshold = 0.0; in gst_audio_dynamic_init()
293 filter->threshold = g_value_get_float (value); in gst_audio_dynamic_set_property()
318 g_value_set_float (value, filter->threshold); in gst_audio_dynamic_get_property()
345 glong thr_p = filter->threshold * G_MAXINT16; in gst_audio_dynamic_transform_hard_knee_compressor_int()
346 glong thr_n = filter->threshold * G_MININT16; in gst_audio_dynamic_transform_hard_knee_compressor_int()
350 if (filter->threshold == 1.0 || filter->ratio == 1.0) in gst_audio_dynamic_transform_hard_knee_compressor_int()
369 gdouble val, threshold = filter->threshold; in gst_audio_dynamic_transform_hard_knee_compressor_float() local
380 if (val > threshold) { in gst_audio_dynamic_transform_hard_knee_compressor_float()
381 val = threshold + (val - threshold) * filter->ratio; in gst_audio_dynamic_transform_hard_knee_compressor_float()
382 } else if (val < -threshold) { in gst_audio_dynamic_transform_hard_knee_compressor_float()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_smartblur.c48 int threshold; member
70 …{ "luma_threshold", "set luma threshold", OFFSET(luma.threshold), AV_OPT_TYPE_INT, {.i64=0}, THR…
71 …{ "lt", "set luma threshold", OFFSET(luma.threshold), AV_OPT_TYPE_INT, {.i64=0}, THR…
77 …{ "chroma_threshold", "set chroma threshold", OFFSET(chroma.threshold), AV_OPT_TYPE_INT, {.i64=T…
78 …{ "ct", "set chroma threshold", OFFSET(chroma.threshold), AV_OPT_TYPE_INT, {.i64=T…
94 if (s->chroma.threshold < THRESHOLD_MIN) in init()
95 s->chroma.threshold = s->luma.threshold; in init()
103 s->luma.radius, s->luma.strength, s->luma.threshold, in init()
104 s->chroma.radius, s->chroma.strength, s->chroma.threshold); in init()
179 const int w, const int h, const int threshold, in blur() argument
[all …]
Dvf_threshold.c44 AVFILTER_DEFINE_CLASS(threshold);
75 AVFrame *threshold; member
87 AVFrame *threshold = td->threshold; in filter_slice() local
105 s->threshold(in->data[p] + slice_start * in->linesize[p], in filter_slice()
106 threshold->data[p] + slice_start * threshold->linesize[p], in filter_slice()
110 in->linesize[p], threshold->linesize[p], in filter_slice()
124 AVFrame *out, *in, *threshold, *min, *max; in process_frame() local
129 (ret = ff_framesync_get_frame(&s->fs, 1, &threshold, 0)) < 0 || in process_frame()
146 td.threshold = threshold; in process_frame()
158 static void threshold8(const uint8_t *in, const uint8_t *threshold, in threshold8() argument
[all …]
Dvf_neighbor.c40 int threshold[4]; member
48 int threshold, const uint8_t *coordinates[], int coord,
80 int threshold, const uint8_t *coordinates[], int coord, in erosion() argument
87 int limit = FFMAX(min - threshold, 0); in erosion()
101 int threshold, const uint8_t *coordinates[], int coord, in erosion16() argument
109 int limit = FFMAX(min - threshold, 0); in erosion16()
123 int threshold, const uint8_t *coordinates[], int coord, in dilation() argument
130 int limit = FFMIN(max + threshold, 255); in dilation()
144 int threshold, const uint8_t *coordinates[], int coord, in dilation16() argument
152 int limit = FFMIN(max + threshold, maxc); in dilation16()
[all …]
Dvf_vaguedenoiser.c38 float threshold; member
63 const int stride, const float threshold,
70 …{ "threshold", "set filtering strength", OFFSET(threshold), AV_OPT_TYPE_FLOAT, {.dbl=2.}, 0,DBL…
164 s->threshold *= 1 << (s->depth - 8); in config_input()
339 const int stride, const float threshold, in hard_thresholding() argument
347 if (FFABS(block[x]) <= threshold) in hard_thresholding()
355 const float threshold, const float percent) in soft_thresholding() argument
358 const float shift = threshold * 0.01f * percent; in soft_thresholding()
364 if (temp <= threshold) in soft_thresholding()
374 const int stride, const float threshold, in qian_thresholding() argument
[all …]
Dvf_neighbor_opencl.c44 cl_float threshold[4]; member
96 ctx->threshold[i] /= 255.0; in neighbor_opencl_make_filter_params()
165 if (ctx->threshold[p] == 0) { in neighbor_opencl_filter_frame()
177 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_float, &ctx->threshold[p]); in neighbor_opencl_filter_frame()
267 …{ "threshold0", "set threshold for 1st plane", OFFSET(threshold[0]), AV_OPT_TYPE_FLOAT, {.dbl…
268 …{ "threshold1", "set threshold for 2nd plane", OFFSET(threshold[1]), AV_OPT_TYPE_FLOAT, {.dbl…
269 …{ "threshold2", "set threshold for 3rd plane", OFFSET(threshold[2]), AV_OPT_TYPE_FLOAT, {.dbl…
270 …{ "threshold3", "set threshold for 4th plane", OFFSET(threshold[3]), AV_OPT_TYPE_FLOAT, {.dbl…
295 …{ "threshold0", "set threshold for 1st plane", OFFSET(threshold[0]), AV_OPT_TYPE_FLOAT, {.dbl…
296 …{ "threshold1", "set threshold for 2nd plane", OFFSET(threshold[1]), AV_OPT_TYPE_FLOAT, {.dbl…
[all …]
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/
Dcolors_demo.dart10 Palette({ this.name, this.primary, this.accent, this.threshold = 900});
15 final int threshold; // titles for indices > threshold are white, otherwise black
17 bool get isValid => name != null && primary != null && threshold != null;
21 Palette(name: 'RED', primary: Colors.red, accent: Colors.redAccent, threshold: 300),
22 Palette(name: 'PINK', primary: Colors.pink, accent: Colors.pinkAccent, threshold: 200),
23 Palette(name: 'PURPLE', primary: Colors.purple, accent: Colors.purpleAccent, threshold: 200),
24 …(name: 'DEEP PURPLE', primary: Colors.deepPurple, accent: Colors.deepPurpleAccent, threshold: 200),
25 Palette(name: 'INDIGO', primary: Colors.indigo, accent: Colors.indigoAccent, threshold: 200),
26 Palette(name: 'BLUE', primary: Colors.blue, accent: Colors.blueAccent, threshold: 400),
27 …Palette(name: 'LIGHT BLUE', primary: Colors.lightBlue, accent: Colors.lightBlueAccent, threshold: …
[all …]
/third_party/flutter/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 …]
/third_party/vk-gl-cts/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…
58 …ferAccess& reference, const ConstPixelBufferAccess& result, const float threshold, CompareLogMode …
[all …]
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 …]
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrDualIntervalGradientColorizer.cpp35 auto threshold = _outer.threshold; in emitCode() local
36 (void)threshold; in emitCode()
84 float thresholdValue = _outer.threshold; in onSetData()
114 if (threshold != that.threshold) return false; in onIsEqual()
124 , threshold(src.threshold) {} in GrDualIntervalGradientColorizer()
133 float threshold) { in Make() argument
137 auto scale01 = (vc1 - vc0) / threshold; in Make()
142 auto scale23 = (vc3 - vc2) / (1 - threshold); in Make()
143 auto bias23 = vc2 - threshold * scale23; in Make()
148 {bias23[0], bias23[1], bias23[2], bias23[3]}, threshold)); in Make()
/third_party/gstreamer/gstplugins_good/gst/cutter/
DREADME6 threshold for a given amount of time.
8 As soon as the buffer's RMS is greater than the threshold value, the plugin fires a CUT_START signa…
10 When the buffer's RMS level drops below the threshold value for a consecutive run length longer tha…
12 …rosses the threshold level, this pre-recorded buffer is flushed to the src pad (so you can actuall…
16 GstCutter::threshold
17 level (between 0 and 1) of threshold
19 level of threshold in dB (between -inf and 0)
28 gets sent when the level of the signal goes above threshold level
31 threshold level for a number of consecutive iterations of which
/third_party/boost/boost/graph/
Dbc_clustering.hpp32 explicit bc_clustering_threshold(T threshold) in bc_clustering_threshold()
33 : threshold(threshold), dividend(1.0) in bc_clustering_threshold()
50 bc_clustering_threshold(T threshold, const Graph& g, bool normalize = true) in bc_clustering_threshold()
51 : threshold(threshold), dividend(1.0) in bc_clustering_threshold()
67 return (max_centrality / dividend) < threshold; in operator ()()
71 T threshold; member
/third_party/ffmpeg/tests/checkasm/
Dvf_threshold.c38 LOCAL_ALIGNED_32(uint8_t, threshold, [WIDTH_PADDED]); in check_threshold()
46 declare_func(void, const uint8_t *in, const uint8_t *threshold, in check_threshold()
57 memset(threshold, 0, WIDTH_PADDED); in check_threshold()
63 randomize_buffers(threshold, WIDTH); in check_threshold()
70 if (check_func(s.threshold, "threshold%d", depth)) { in check_threshold()
71 …call_ref(in, threshold, min, max, out_ref, line_size, line_size, line_size, line_size, line_size, … in check_threshold()
72 …call_new(in, threshold, min, max, out_new, line_size, line_size, line_size, line_size, line_size, … in check_threshold()
75 …bench_new(in, threshold, min, max, out_new, line_size, line_size, line_size, line_size, line_size,… in check_threshold()
/third_party/gstreamer/gstplugins_bad/gst/gaudieffects/
Dgstsolarize.c99 gint threshold, gint start, gint end);
184 filter->threshold = DEFAULT_THRESHOLD; in gst_solarize_init()
197 filter->threshold = g_value_get_uint (value); in gst_solarize_set_property()
220 g_value_set_uint (value, filter->threshold); in gst_solarize_get_property()
249 gint video_size, threshold, start, end; in gst_solarize_transform_frame() local
270 threshold = filter->threshold; in gst_solarize_transform_frame()
278 transform (src, dest, video_size, threshold, start, end); in gst_solarize_transform_frame()
288 gint threshold, gint start, gint end) in transform() argument
300 if (threshold != start) in transform()
301 up_length = threshold - start; in transform()
[all …]
/third_party/libinput/src/
Dfilter-low-dpi.c56 double threshold; /* units/us */ member
83 double threshold = accel_filter->threshold; /* units/us */ in pointer_accel_profile_linear_low_dpi() local
91 threshold *= dpi_factor; in pointer_accel_profile_linear_low_dpi()
96 else if (speed_in < threshold) in pointer_accel_profile_linear_low_dpi()
99 factor = incline * v_us2ms(speed_in - threshold) + 1; in pointer_accel_profile_linear_low_dpi()
212 accel_filter->threshold = DEFAULT_THRESHOLD - in accelerator_set_speed()
214 if (accel_filter->threshold < MINIMUM_THRESHOLD) in accelerator_set_speed()
215 accel_filter->threshold = MINIMUM_THRESHOLD; in accelerator_set_speed()
246 filter->threshold = DEFAULT_THRESHOLD; in create_default_filter()
Dfilter-touchpad.c53 double threshold; /* units/us */ member
236 const double threshold = accel_filter->threshold; /* units/us */ in touchpad_accel_profile_linear() local
291 } else if (speed_in < threshold) { in touchpad_accel_profile_linear()
306 const double upper_threshold = threshold * 4.0; in touchpad_accel_profile_linear()
309 factor = 0.0025 * (speed_in/threshold) * (speed_in - threshold) + baseline; in touchpad_accel_profile_linear()
339 filter->threshold = 130; in create_pointer_accelerator_filter_touchpad()
346 smoothener->threshold = event_delta_smooth_threshold, in create_pointer_accelerator_filter_touchpad()
Dfilter-mouse.c56 double threshold; /* units/us */ member
210 accel_filter->threshold = DEFAULT_THRESHOLD - in accelerator_set_speed()
212 if (accel_filter->threshold < MINIMUM_THRESHOLD) in accelerator_set_speed()
213 accel_filter->threshold = MINIMUM_THRESHOLD; in accelerator_set_speed()
234 const double threshold = accel_filter->threshold; /* units/us */ in pointer_accel_profile_linear() local
278 } else if (speed_in < threshold) { in pointer_accel_profile_linear()
292 factor = incline * v_us2ms(speed_in - threshold) + 1; in pointer_accel_profile_linear()
320 filter->threshold = DEFAULT_THRESHOLD; in create_default_filter()
/third_party/ffmpeg/libavfilter/x86/
Dvf_threshold_init.c27 void ff_threshold##depth##_##opt(const uint8_t *in, const uint8_t *threshold,\
46 s->threshold = ff_threshold8_sse4; in ff_threshold_init_x86()
49 s->threshold = ff_threshold8_avx2; in ff_threshold_init_x86()
53 s->threshold = ff_threshold16_sse4; in ff_threshold_init_x86()
56 s->threshold = ff_threshold16_avx2; in ff_threshold_init_x86()
/third_party/boost/libs/test/doc/test_output/
Dlog_format.qbk33 By default the active log level threshold is set to
40 The active log level threshold and the output format can be configured
49 level. Only the entries with level that exceeds the ['active log level threshold] actually
102 …The active log level works namely as threshold, not as selector. For the given active log level th…
103 …test log entries with ['importance] higher than threshold are enabled and all test log entries with
104 ['importance] below threshold are disabled.
111 …If active log level threshold is set to this value, all test log entries appear in the output. In …
112 this is equivalent to setting the active log level threshold to ['success information messages]
114 …If the active log level threshold is set to this value, none of test log entries appear in the out…
140 [threshold != log_nothing]
[all …]

12345678910>>...33