Home
last modified time | relevance | path

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

12345678910>>...24

/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.h154 …_ASSERT_GREATER_THAN(threshold, actual) UNITY_TEST_… argument
155 …SSERT_GREATER_THAN_INT(threshold, actual) UNITY_TEST_AS… argument
156 …SERT_GREATER_THAN_INT8(threshold, actual) UNITY_TEST_ASS… argument
157 …ERT_GREATER_THAN_INT16(threshold, actual) UNITY_TEST_ASSE… argument
158 …ERT_GREATER_THAN_INT32(threshold, actual) UNITY_TEST_ASSE… argument
159 …ERT_GREATER_THAN_INT64(threshold, actual) UNITY_TEST_ASSE… argument
160 …SERT_GREATER_THAN_UINT(threshold, actual) UNITY_TEST_ASS… argument
161 …ERT_GREATER_THAN_UINT8(threshold, actual) UNITY_TEST_ASSE… argument
162 …RT_GREATER_THAN_UINT16(threshold, actual) UNITY_TEST_ASSER… argument
163 …RT_GREATER_THAN_UINT32(threshold, actual) UNITY_TEST_ASSER… argument
[all …]
Dunity_internals.h541 void UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold,
774 …RT_GREATER_THAN_INT(threshold, actual, line, message) UnityAssertGreaterOrLess… argument
775 …TER_THAN_INT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqual… argument
776 …ER_THAN_INT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
777 …ER_THAN_INT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
778 …T_GREATER_THAN_UINT(threshold, actual, line, message) UnityAssertGreaterOrLessO… argument
779 …ER_THAN_UINT8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
780 …R_THAN_UINT16(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNu… argument
781 …R_THAN_UINT32(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualNu… argument
782 …ER_THAN_HEX8(threshold, actual, line, message) UnityAssertGreaterOrLessOrEqualN… argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiodynamic.c263 filter->threshold = 0.0; in gst_audio_dynamic_init()
288 filter->threshold = g_value_get_float (value); in gst_audio_dynamic_set_property()
313 g_value_set_float (value, filter->threshold); in gst_audio_dynamic_get_property()
340 glong thr_p = filter->threshold * G_MAXINT16; in gst_audio_dynamic_transform_hard_knee_compressor_int()
341 glong thr_n = filter->threshold * G_MININT16; in gst_audio_dynamic_transform_hard_knee_compressor_int()
345 if (filter->threshold == 1.0 || filter->ratio == 1.0) in gst_audio_dynamic_transform_hard_knee_compressor_int()
364 gdouble val, threshold = filter->threshold; in gst_audio_dynamic_transform_hard_knee_compressor_float() local
375 if (val > threshold) { in gst_audio_dynamic_transform_hard_knee_compressor_float()
376 val = threshold + (val - threshold) * filter->ratio; in gst_audio_dynamic_transform_hard_knee_compressor_float()
377 } 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_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_threshold.c44 AVFILTER_DEFINE_CLASS(threshold);
73 AVFrame *threshold; member
85 AVFrame *threshold = td->threshold; in filter_slice() local
103 s->threshold(in->data[p] + slice_start * in->linesize[p], in filter_slice()
104 threshold->data[p] + slice_start * threshold->linesize[p], in filter_slice()
108 in->linesize[p], threshold->linesize[p], in filter_slice()
122 AVFrame *out, *in, *threshold, *min, *max; in process_frame() local
127 (ret = ff_framesync_get_frame(&s->fs, 1, &threshold, 0)) < 0 || in process_frame()
144 td.threshold = threshold; in process_frame()
156 static void threshold8(const uint8_t *in, const uint8_t *threshold, in threshold8() argument
[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/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()
DGrDualIntervalGradientColorizer.h21 float threshold);
29 float threshold; variable
33 SkPMColor4f bias23, float threshold) in GrDualIntervalGradientColorizer() argument
39 , threshold(threshold) {} in GrDualIntervalGradientColorizer()
/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.c37 LOCAL_ALIGNED_32(uint8_t, threshold, [WIDTH_PADDED]); in check_threshold()
45 declare_func(void, const uint8_t *in, const uint8_t *threshold, in check_threshold()
56 memset(threshold, 0, WIDTH_PADDED); in check_threshold()
62 randomize_buffers(threshold, WIDTH); in check_threshold()
69 if (check_func(s.threshold, "threshold%d", depth)) { in check_threshold()
70 …call_ref(in, threshold, min, max, out_ref, line_size, line_size, line_size, line_size, line_size, … in check_threshold()
71 …call_new(in, threshold, min, max, out_new, line_size, line_size, line_size, line_size, line_size, … in check_threshold()
74 …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_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/gstreamer/gstplugins_bad/gst/gaudieffects/
Dgstsolarize.c100 gint threshold, gint start, gint end);
182 filter->threshold = DEFAULT_THRESHOLD; in gst_solarize_init()
195 filter->threshold = g_value_get_uint (value); in gst_solarize_set_property()
218 g_value_set_uint (value, filter->threshold); in gst_solarize_get_property()
247 gint video_size, threshold, start, end; in gst_solarize_transform_frame() local
268 threshold = filter->threshold; in gst_solarize_transform_frame()
276 transform (src, dest, video_size, threshold, start, end); in gst_solarize_transform_frame()
299 gint threshold, gint start, gint end) in transform() argument
311 if (threshold != start) in transform()
312 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/mingw-w64/mingw-w64-headers/include/
Dfsrmquota.h675 FSRM_QUOTA_THRESHOLD threshold) = 0;
678 FSRM_QUOTA_THRESHOLD threshold) = 0;
681 FSRM_QUOTA_THRESHOLD threshold,
685 FSRM_QUOTA_THRESHOLD threshold,
690 FSRM_QUOTA_THRESHOLD threshold,
785 FSRM_QUOTA_THRESHOLD threshold);
789 FSRM_QUOTA_THRESHOLD threshold);
793 FSRM_QUOTA_THRESHOLD threshold,
798 FSRM_QUOTA_THRESHOLD threshold,
804 FSRM_QUOTA_THRESHOLD threshold,
[all …]
/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/uboot/u-boot-2020.01/lib/zstd/
Dentropy_common.c36 int threshold; in FSE_readNCount() local
52 threshold = 1 << nbBits; in FSE_readNCount()
88 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()
91 if ((bitStream & (threshold - 1)) < (U32)max) { in FSE_readNCount()
92 count = bitStream & (threshold - 1); in FSE_readNCount()
95 count = bitStream & (2 * threshold - 1); in FSE_readNCount()
96 if (count >= threshold) in FSE_readNCount()
105 while (remaining < threshold) { in FSE_readNCount()
107 threshold >>= 1; in FSE_readNCount()
/third_party/python/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

12345678910>>...24