Home
last modified time | relevance | path

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

12

/AliOS-Things-master/components/py_engine/tests/basics/
A Dgc1.py26 assert(gc.threshold(1) is None)
27 assert(gc.threshold() == 0)
28 assert(gc.threshold(-1) is None)
29 assert(gc.threshold() == -1)
32 gc.threshold(1)
34 gc.threshold(-1)
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_als_ps_ir_liteon_ap3216c.c114 threshold.min /= DB; // 根据不同的分辨率来设置 in set_als_threshold()
115 threshold.max /= DB; in set_als_threshold()
117 ap3216c_set_param(cmd, (threshold.min & 0xff)); in set_als_threshold()
118 ap3216c_set_param((ap3216c_cmd_t)(cmd + 1), (threshold.min >> 8)); in set_als_threshold()
120 ap3216c_set_param((ap3216c_cmd_t)(cmd + 3), threshold.max >> 8); in set_als_threshold()
125 if (threshold.min > 1020) { in set_ps_threshold()
127 ap3216c_set_param(cmd, (threshold.min - 1020 & 0x03)); in set_ps_threshold()
131 threshold.min / 4); // 设置高字节参数 in set_ps_threshold()
133 if (threshold.max > 1020) { in set_ps_threshold()
136 (threshold.max - 1020 & 0x03)); in set_ps_threshold()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffdither.c52 int threshold = 128; variable
120 if (v > threshold) { in fsdither()
236 threshold = atoi(optarg); in main()
237 if (threshold < 0) in main()
238 threshold = 0; in main()
239 else if (threshold > 255) in main()
240 threshold = 255; in main()
/AliOS-Things-master/components/mbedtls/include/mbedtls/
A Dentropy.h115 size_t threshold; /**< Minimum bytes required before release */ member
178 size_t threshold, int strong );
A Ddebug.h104 void mbedtls_debug_set_threshold( int threshold );
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_sw.c316 int16_t threshold = LV_SW_MAX_VALUE / 2; in lv_sw_signal() local
317 if((old_val < threshold && ext->slider.drag_value > threshold) || in lv_sw_signal()
318 (old_val > threshold && ext->slider.drag_value < threshold)) { in lv_sw_signal()
/AliOS-Things-master/components/freetype/src/autofit/
A Dafangles.c272 FT_Pos threshold ) in af_sort_and_quantize_widths() argument
307 if ( table[i].org - cur_val > threshold || in af_sort_and_quantize_widths()
313 if ( table[i].org - cur_val <= threshold && in af_sort_and_quantize_widths()
A Dafcjk.c1575 FT_Pos threshold = 64; in af_hint_normal_stem() local
1584 threshold = 64 - AF_LIGHT_MODE_MAX_HORZ_GAP; in af_hint_normal_stem()
1586 threshold = 64 - AF_LIGHT_MODE_MAX_VERT_GAP; in af_hint_normal_stem()
1591 threshold = 64 - AF_LIGHT_MODE_MAX_HORZ_GAP / 3; in af_hint_normal_stem()
1615 if ( cur_len <= threshold ) in af_hint_normal_stem()
1628 if ( threshold < 64 ) in af_hint_normal_stem()
1630 if ( d_off1 >= threshold || u_off1 >= threshold || in af_hint_normal_stem()
1631 d_off2 >= threshold || u_off2 >= threshold ) in af_hint_normal_stem()
1643 offset = 64 - threshold; in af_hint_normal_stem()
1645 d_off1 = threshold - u_off1; in af_hint_normal_stem()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/tests/
A Dpngvalid-gamma-threshold2 exec ./pngvalid --strict --gamma-threshold
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/
A Daudio_drc2.h14 int threshold; member
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshalgo.c1518 FT_Int threshold, in psh_hint_table_find_strong_points() argument
1553 if ( d < threshold && -d < threshold ) in psh_hint_table_find_strong_points()
1573 if ( d < threshold && -d < threshold ) in psh_hint_table_find_strong_points()
1610 if ( d < threshold && -d < threshold ) in psh_hint_table_find_strong_points()
1627 if ( d < threshold && -d < threshold ) in psh_hint_table_find_strong_points()
1682 FT_Int threshold; in psh_glyph_find_strong_points() local
1685 threshold = (FT_Int)FT_DivFix( PSH_STRONG_THRESHOLD, scale ); in psh_glyph_find_strong_points()
1686 if ( threshold > PSH_STRONG_THRESHOLD_MAXIMUM ) in psh_glyph_find_strong_points()
1687 threshold = PSH_STRONG_THRESHOLD_MAXIMUM; in psh_glyph_find_strong_points()
1715 threshold, major_dir ); in psh_glyph_find_strong_points()
[all …]
A Dpshglob.c420 FT_Int threshold = blues->blue_shift; in psh_blues_scale_zones() local
423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones()
424 threshold--; in psh_blues_scale_zones()
426 blues->blue_threshold = threshold; in psh_blues_scale_zones()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imagerecog/include/alibabacloud/imagerecog/model/
A DRecognizeVehicleTypeResult.h43 float threshold; member
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/objectdet/include/alibabacloud/objectdet/model/
A DClassifyVehicleInsuranceResult.h43 float threshold; member
/AliOS-Things-master/components/mbedtls/library/
A Dentropy.c145 size_t threshold, int strong ) in mbedtls_entropy_add_source() argument
163 ctx->source[idx].threshold = threshold; in mbedtls_entropy_add_source()
368 if( ctx->source[i].size < ctx->source[i].threshold ) in mbedtls_entropy_func()
A Ddebug.c55 void mbedtls_debug_set_threshold( int threshold ) in mbedtls_debug_set_threshold() argument
57 debug_threshold = threshold; in mbedtls_debug_set_threshold()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imagerecog/src/model/
A DRecognizeVehicleTypeResult.cc44 data_.threshold = std::stof(dataNode["Threshold"].asString()); in parse()
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/objectdet/src/model/
A DClassifyVehicleInsuranceResult.cc44 data_.threshold = std::stof(dataNode["Threshold"].asString()); in parse()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DLaplaceRelaxation.c40 int threshold = 4; variable
222 SDL_imageFilterBinarizeUsingThreshold(grayscale, map, mapsize, threshold); in Draw()
365 if ( argv[2] && ((threshold = atoi(argv[2])) > 0) ) { in main()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/gemmlowp/fixedpoint/
A Dfixedpoint.h364 const IntegerType threshold =
367 BitAnd(MaskIfGreaterThan(remainder, threshold), one));
394 const std::int32_t threshold =
397 MaskIfGreaterThan(x, Dup<IntegerType>(threshold));
399 MaskIfLessThan(x, Dup<IntegerType>(-threshold));
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dhistogram_enc.c790 double threshold, in HistoQueueUpdatePair() argument
794 GetCombinedHistogramEntropy(h1, h2, sum_cost + threshold, &pair->cost_combo); in HistoQueueUpdatePair()
803 int idx2, double threshold) { in HistoQueuePush() argument
810 assert(threshold <= 0.); in HistoQueuePush()
821 HistoQueueUpdatePair(h1, h2, threshold, &pair); in HistoQueuePush()
824 if (pair.cost_diff >= threshold) return 0.; in HistoQueuePush()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Include/
A Darm_nnsupportfunctions.h773 q31_t threshold = remainder_mask >> 1; in arm_nn_divide_by_power_of_two() local
776 threshold++; in arm_nn_divide_by_power_of_two()
778 if (remainder > threshold) in arm_nn_divide_by_power_of_two()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Include/
A Darm_nnsupportfunctions.h773 q31_t threshold = remainder_mask >> 1; in arm_nn_divide_by_power_of_two() local
776 threshold++; in arm_nn_divide_by_power_of_two()
778 if (remainder > threshold) in arm_nn_divide_by_power_of_two()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_read.c62 tmsize_t threshold = INITIAL_THRESHOLD; in TIFFReadAndRealloc() local
77 if( to_read >= threshold && threshold < MAX_THRESHOLD && in TIFFReadAndRealloc()
80 to_read = threshold; in TIFFReadAndRealloc()
81 threshold *= THRESHOLD_MULTIPLIER; in TIFFReadAndRealloc()
/AliOS-Things-master/components/freetype/src/truetype/
A Dttinterp.h229 FT_F26Dot6 threshold; member

Completed in 63 milliseconds

12