/external/opencv3/modules/imgproc/test/ |
D | test_thresh.cpp | 60 float max_val; member in CV_ThreshTest 88 max_val = (float)(cvtest::randReal(rng)*350. - 50.); in get_test_array_types_and_sizes() 90 max_val = 255.f; in get_test_array_types_and_sizes() 95 max_val = SHRT_MAX+100.f; in get_test_array_types_and_sizes() 96 thresh_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val); in get_test_array_types_and_sizes() 97 max_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val); in get_test_array_types_and_sizes() 99 max_val = (float)SHRT_MAX; in get_test_array_types_and_sizes() 104 max_val = (float)(cvtest::randReal(rng)*1000. - 500.); in get_test_array_types_and_sizes() 118 thresh_val, max_val, thresh_type ); in run_func() 317 thresh_val, max_val, thresh_type ); in prepare_to_validation()
|
/external/speex/libspeex/ |
D | filters_arm4.h | 38 spx_sig_t max_val=1; in normalize16() local 60 : "=r" (dead1), "=r" (max_val), "=r" (dead3), "=r" (dead4), in normalize16() 66 while (max_val>max_scale) in normalize16() 69 max_val >>= 1; in normalize16()
|
D | filters.c | 65 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len) in sanitize_values32() argument 71 if (!(vec[i]>=min_val && vec[i] <= max_val)) in sanitize_values32() 75 else if (vec[i] > max_val) in sanitize_values32() 76 vec[i] = max_val; in sanitize_values32() 183 spx_sig_t max_val=1; in compute_rms() local 191 if (tmp > max_val) in compute_rms() 192 max_val = tmp; in compute_rms() 196 while (max_val>16383) in compute_rms() 199 max_val >>= 1; in compute_rms() 223 spx_word16_t max_val=10; in compute_rms16() local [all …]
|
D | fftwrap.c | 48 spx_word16_t max_val = 0; in maximize_range() local 51 if (in[i]>max_val) in maximize_range() 52 max_val = in[i]; in maximize_range() 53 if (-in[i]>max_val) in maximize_range() 54 max_val = -in[i]; in maximize_range() 57 while (max_val <= (bound>>1) && max_val != 0) in maximize_range() 59 max_val <<= 1; in maximize_range()
|
D | filters_bfin.h | 38 spx_sig_t max_val=1; in normalize16() local 51 : "=&d" (max_val) in normalize16() 57 while (max_val>max_scale) in normalize16() 60 max_val >>= 1; in normalize16()
|
/external/opencv/cvaux/src/ |
D | camshift.cpp | 159 float max_val = 0; in update_histogram() local 186 cvGetMinMaxHistValue( m_hist, 0, &max_val ); in update_histogram() 187 cvScale( m_hist->bins, m_hist->bins, max_val ? 255. / max_val : 0. ); in update_histogram() 189 return max_val != 0; in update_histogram() 270 CvCamShiftTracker::set_hist_bin_range( int channel, int min_val, int max_val ) in set_hist_bin_range() argument 273 min_val >= max_val || min_val < 0 || max_val > 256 ) in set_hist_bin_range() 280 m_hist_ranges[channel][1] = (float)max_val; in set_hist_bin_range()
|
/external/v8/test/mjsunit/ |
D | math-imul.js | 136 var max_val = two_31 - 1; variable 138 TestMathImul(two_31 - 7, max_val, 7); 139 TestMathImul(two_31 - 7, 7, max_val); 140 TestMathImul(1, max_val, max_val);
|
/external/libvpx/libvpx/test/ |
D | vp9_error_block_test.cc | 114 int max_val = ((1 << msb) - 1); in TEST_P() local 121 max_val >>= 1; in TEST_P() 127 coeff[j] = k % 2 ? max_val : 0; in TEST_P() 128 dqcoeff[j] = (k >> 1) % 2 ? max_val : 0; in TEST_P() 131 coeff[j] = k % 2 ? -max_val : 0; in TEST_P() 132 dqcoeff[j] = (k >> 1) % 2 ? -max_val : 0; in TEST_P()
|
/external/opencv/ml/src/ |
D | mlsvm.cpp | 109 if( min_val > max_val ) in check() 129 grid.max_val = 500; in get_default_grid() 135 grid.max_val = 0.6; in get_default_grid() 141 grid.max_val = 100; in get_default_grid() 147 grid.max_val = 0.2; in get_default_grid() 153 grid.max_val = 300; in get_default_grid() 159 grid.max_val = 4; in get_default_grid() 325 const Qfloat max_val = (Qfloat)(FLT_MAX*1e-3); in calc() local 330 if( results[j] > max_val ) in calc() 331 results[j] = max_val; in calc() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
D | GraphStat.py | 46 min_val, max_val = min(values) - _EPS, max(values) + _EPS 48 min_val, max_val = limits 51 bin_size = (max_val - min_val)/float(bin_num)
|
/external/opencv/cxcore/src/ |
D | cxminmaxloc.cpp | 49 temptype min_val, max_val; \ 55 min_val = max_val = _toggle_( min_val ) 63 *maxVal = _fin_cast_macro_(max_val); \ 78 else if( val > max_val ) \ 80 max_val = val; \ 166 temptype min_val = 0, max_val = 0; \ 185 min_val = max_val = _toggle_( min_val ); \ 205 else if( val > max_val && m ) \ 207 max_val = val; \
|
/external/fio/lib/ |
D | lfsr.c | 129 if (fl->num_vals++ > fl->max_val) in lfsr_next() 138 } while (fio_unlikely(fl->last_val > fl->max_val)); in lfsr_next() 243 fl->max_val = nums - 1; in lfsr_init()
|
D | lfsr.h | 18 uint64_t max_val; member
|
/external/webp/src/enc/ |
D | near_lossless.c | 37 const int max_val = 0xff; in Clamp8b() local 38 return (val < min_val) ? min_val : (val > max_val) ? max_val : val; in Clamp8b()
|
/external/bsdiff/ |
D | extents.cc | 44 long long max_val, in read_llong() argument 52 next_s == s || val < min_val || val > max_val || in read_llong()
|
/external/opencv/cv/src/ |
D | cvfeatureselect.cpp | 61 double max_val = 0; in CV_IMPLEMENT_QSORT() local 150 CV_CALL( cvMinMaxLoc( eig, 0, &max_val, 0, 0, mask )); in CV_IMPLEMENT_QSORT() 151 CV_CALL( cvThreshold( eig, eig, max_val * quality_level, in CV_IMPLEMENT_QSORT()
|
D | cvemd.cpp | 1012 float max_val = -CV_EMD_INF; in icvRussel() local 1019 if( max_val < temp ) in icvRussel() 1020 max_val = temp; in icvRussel() 1024 diff = max_val - cur_v->val; in icvRussel() 1025 cur_v->val = max_val; in icvRussel() 1041 float max_val = -CV_EMD_INF; in icvRussel() local 1048 if( max_val < temp ) in icvRussel() 1049 max_val = temp; in icvRussel() 1053 diff = max_val - cur_u->val; in icvRussel() 1054 cur_u->val = max_val; in icvRussel()
|
/external/opencv3/modules/imgproc/src/ |
D | emd.cpp | 989 float max_val = -CV_EMD_INF; in icvRussel() local 996 if( max_val < temp ) in icvRussel() 997 max_val = temp; in icvRussel() 1001 diff = max_val - cur_v->val; in icvRussel() 1002 cur_v->val = max_val; in icvRussel() 1018 float max_val = -CV_EMD_INF; in icvRussel() local 1025 if( max_val < temp ) in icvRussel() 1026 max_val = temp; in icvRussel() 1030 diff = max_val - cur_u->val; in icvRussel() 1031 cur_u->val = max_val; in icvRussel()
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | threshold.cl | 56 T1 thresh, T1 max_val, T1 min_val) 75 dst[0] = sdata > (thresh) ? (T)(max_val) : (T)(0); 77 dst[0] = sdata > (thresh) ? (T)(0) : (T)(max_val);
|
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
D | encoders.py | 397 max_val = 1 403 max_val = max(max_val, segment.size) 409 result = util.EncodeData(chart, pie_points, 0, max_val, encoder)
|
/external/opencv3/modules/ml/src/ |
D | ann_mlp.cpp | 70 inline T inBounds(T val, T min_val, T max_val) in inBounds() argument 72 return std::min(std::max(val, min_val), max_val); in inBounds() 99 min_val = max_val = min_val1 = max_val1 = 0.; in clear() 146 max_val = 0.95; min_val = -max_val; in setActivationFunction() 154 max_val = 1.; min_val = 0.05; in setActivationFunction() 162 min_val = max_val = min_val1 = max_val1 = 0.; in setActivationFunction() 588 double m = min_val, M = max_val, m1 = min_val1, M1 = max_val1; in calc_output_scale() 1119 …fs << "min_val" << min_val << "max_val" << max_val << "min_val1" << min_val1 << "max_val1" << max_… in write_params() 1198 max_val = (double)fn["max_val"]; in read_params() 1305 double min_val, max_val, min_val1, max_val1; member in cv::ml::ANN_MLPImpl
|
/external/opencv3/modules/ts/include/opencv2/ |
D | ts.hpp | 77 inline int clipInt( int val, int min_val, int max_val ) in clipInt() argument 81 if( val > max_val ) in clipInt() 82 val = max_val; in clipInt() 109 CV_EXPORTS int check( const Mat& data, double min_val, double max_val, vector<int>* idx );
|
/external/opencv3/3rdparty/libwebp/enc/ |
D | histogram.c | 107 int max_val = 0; in BitsEntropy() local 115 if (max_val < array[i]) { in BitsEntropy() 116 max_val = array[i]; in BitsEntropy() 146 double min_limit = 2 * sum - max_val; in BitsEntropy()
|
/external/opencv3/apps/traincascade/ |
D | old_ml.hpp | 95 double max_val; 100 CV_INLINE CvParamLattice cvParamLattice( double min_val, double max_val, 104 pl.min_val = MIN( min_val, max_val ); 105 pl.max_val = MAX( min_val, max_val ); 172 min_val = max_val = step = 0; in CvParamGrid() 175 CvParamGrid( double min_val, double max_val, double log_step ); 180 CV_PROP_RW double max_val; member 187 max_val = _max_val; in CvParamGrid() 1891 double min_val, max_val, min_val1, max_val1; member in CvANN_MLP
|
/external/opencv/ml/include/ |
D | ml.h | 150 double max_val; 155 CV_INLINE CvParamLattice cvParamLattice( double min_val, double max_val, 159 pl.min_val = MIN( min_val, max_val ); 160 pl.max_val = MAX( min_val, max_val ); 221 min_val = max_val = step = 0; in CvParamGrid() 227 max_val = _max_val; in CvParamGrid() 234 double max_val; member 1237 double min_val, max_val, min_val1, max_val1; variable
|