Home
last modified time | relevance | path

Searched refs:min_val (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
DGraphStat.py46 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)
58 if (value - min_val) < 0:
61 index = int((value - min_val)/float(bin_size))
68 center = (bin_size/2) + min_val
/external/opencv/cxcore/src/
Dcxminmaxloc.cpp49 temptype min_val, max_val; \
54 min_val = src[0]; \
55 min_val = max_val = _toggle_( min_val )
62 *minVal = _fin_cast_macro_(min_val); \
73 if( val < min_val ) \
75 min_val = val; \
166 temptype min_val = 0, max_val = 0; \
184 min_val = (src)[x*(cn)]; \
185 min_val = max_val = _toggle_( min_val ); \
200 if( val < min_val && m ) \
[all …]
/external/opencv/ml/src/
Dmlsvm.cpp109 if( min_val > max_val ) in check()
111 if( min_val < DBL_EPSILON ) in check()
128 grid.min_val = 0.1; in get_default_grid()
134 grid.min_val = 1e-5; in get_default_grid()
140 grid.min_val = 0.01; in get_default_grid()
146 grid.min_val = 0.01; in get_default_grid()
152 grid.min_val = 0.1; in get_default_grid()
158 grid.min_val = 0.01; in get_default_grid()
1636 C_grid.min_val = C_grid.max_val = params.C; in train_auto()
1644 gamma_grid.min_val = gamma_grid.max_val = params.gamma; in train_auto()
[all …]
Dmlann_mlp.cpp96 min_val = max_val = min_val1 = max_val1 = 0.; in CvANN_MLP()
109 min_val = max_val = min_val1 = max_val1 = 0.; in CvANN_MLP()
148 max_val = 0.95; min_val = -max_val; in set_activ_func()
156 max_val = 1.; min_val = 0.05; in set_activ_func()
164 min_val = max_val = min_val1 = max_val1 = 0.; in set_activ_func()
612 double m = min_val, M = max_val, m1 = min_val1, M1 = max_val1; in calc_output_scale()
1322 cvWriteReal( fs, "min_val", min_val ); in write_params()
1421 min_val = cvReadRealByName( fs, node, "min_val", 0. ); in read_params()
/external/opencv3/modules/imgproc/test/
Dtest_thresh.cpp94 float min_val = SHRT_MIN-100.f; in get_test_array_types_and_sizes() local
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()
Dtest_histograms.cpp586 float min_val, max_val; member in CV_MinMaxHistTest
637 min_val = (float)_min_val; in run_func()
641 cvGetMinMaxHistValue( hist[0], &min_val, &max_val, min_idx, max_idx ); in run_func()
649 if( cvIsNaN(min_val) || cvIsInf(min_val) || in validate_test_results()
653 … "The extrema histogram bin values are invalid (min = %g, max = %g)\n", min_val, max_val ); in validate_test_results()
656 else if( fabs(min_val - min_val0) > FLT_EPSILON || in validate_test_results()
661 min_val, min_val0, max_val, max_val0 ); in validate_test_results()
/external/opencv/cvaux/src/
Dcamshift.cpp270 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()
279 m_hist_ranges[channel][0] = (float)min_val; in set_hist_bin_range()
Dcvdpstereo.cpp76 uchar min_val, max_val; member
99 int min_val; in icvFindStereoCorrespondenceByBirchfieldDP() local
127 rData[j-1].min_val = (uchar)CV_IMIN3( val, prevval, prev ); in icvFindStereoCorrespondenceByBirchfieldDP()
145 else if( (t = rData[j+1].min_val - srcdata1[j]) >= 0 ) in icvFindStereoCorrespondenceByBirchfieldDP()
274 min_val = ICV_MAX_DP_SUM_VAL; in icvFindStereoCorrespondenceByBirchfieldDP()
277 if( min_val > CELL(i,imgW-1).sum ) in icvFindStereoCorrespondenceByBirchfieldDP()
280 min_val = CELL(i,imgW-1).sum; in icvFindStereoCorrespondenceByBirchfieldDP()
/external/webp/src/enc/
Dnear_lossless.c36 const int min_val = 0; in Clamp8b() local
38 return (val < min_val) ? min_val : (val > max_val) ? max_val : val; in Clamp8b()
/external/opencv/otherlibs/highgui/
Dbitstrm.cpp1046 int min_val = (int)table[0]; in PutHuff() local
1047 val -= min_val; in PutHuff()
1061 int min_val = INT_MAX, max_val = INT_MIN; in bsCreateEncodeHuffmanTable() local
1072 if( val < min_val ) in bsCreateEncodeHuffmanTable()
1073 min_val = val; in bsCreateEncodeHuffmanTable()
1079 size = max_val - min_val + 3; in bsCreateEncodeHuffmanTable()
1089 table[0] = min_val; in bsCreateEncodeHuffmanTable()
1101 table[val - min_val + 2] = (code << 8) | i; in bsCreateEncodeHuffmanTable()
/external/bsdiff/
Dextents.cc43 long long min_val, in read_llong() argument
52 next_s == s || val < min_val || val > max_val || in read_llong()
/external/gemmlowp/meta/generators/
Dneon_emitter.py56 def DoubleRegister(self, min_val=0): argument
57 for i in range(min_val, 32):
64 def QuadRegister(self, min_val=0): argument
65 for i in range(min_val, 16):
/external/opencv3/modules/ts/include/opencv2/
Dts.hpp77 inline int clipInt( int val, int min_val, int max_val ) in clipInt() argument
79 if( val < min_val ) in clipInt()
80 val = min_val; in clipInt()
109 CV_EXPORTS int check( const Mat& data, double min_val, double max_val, vector<int>* idx );
/external/opencv3/modules/ml/src/
Dann_mlp.cpp70 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()
1197 min_val = (double)fn["min_val"]; in read_params()
1305 double min_val, max_val, min_val1, max_val1; member in cv::ml::ANN_MLPImpl
/external/opencv3/apps/traincascade/
Dold_ml.hpp94 double min_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 );
179 CV_PROP_RW double min_val; member
186 min_val = _min_val; in CvParamGrid()
1891 double min_val, max_val, min_val1, max_val1; member in CvANN_MLP
/external/opencv/ml/include/
Dml.h149 double min_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()
226 min_val = _min_val; in CvParamGrid()
233 double min_val; member
1237 double min_val, max_val, min_val1, max_val1; variable
/external/opencv3/modules/imgproc/src/opencl/
Dthreshold.cl56 T1 thresh, T1 max_val, T1 min_val)
79 dst[0] = clamp(sdata, (T)min_val, (T)(thresh));
/external/fio/
Dstat.c251 *min = is->min_val; in calc_lat()
1034 dst->min_val = min(dst->min_val, src->min_val); in sum_stat()
1179 ts->lat_stat[j].min_val = -1UL; in init_thread_stat()
1180 ts->clat_stat[j].min_val = -1UL; in init_thread_stat()
1181 ts->slat_stat[j].min_val = -1UL; in init_thread_stat()
1182 ts->bw_stat[j].min_val = -1UL; in init_thread_stat()
1555 if (data < is->min_val) in add_stat_sample()
1556 is->min_val = data; in add_stat_sample()
1623 ios->max_val = ios->min_val = ios->samples = 0; in reset_io_stat()
Diolog.h14 uint64_t min_val; member
/external/opencv/cvaux/include/
Dcvaux.hpp90 bool set_hist_bin_range( int dim, int min_val, int max_val );
/external/opencv/cv/src/
Dcvemd.cpp752 float min_val = CV_EMD_INF; in icvNewSolution() local
779 if( min_val > temp ) in icvNewSolution()
782 min_val = temp; in icvNewSolution()
789 float temp0 = loop[i]->val + min_val; in icvNewSolution()
790 float temp1 = loop[i + 1]->val - min_val; in icvNewSolution()
/external/opencv3/modules/imgproc/src/
Demd.cpp729 float min_val = CV_EMD_INF; in icvNewSolution() local
756 if( min_val > temp ) in icvNewSolution()
759 min_val = temp; in icvNewSolution()
766 float temp0 = loop[i]->val + min_val; in icvNewSolution()
767 float temp1 = loop[i + 1]->val - min_val; in icvNewSolution()
/external/opencv3/modules/core/test/
Dtest_mat.cpp751 double min_val=0, max_val=0; in run() local
782 minMaxLoc(_all_vals, &min_val, &max_val); in run()
799 if( all_vals[i] == min_val ) in run()
913 if( val1 != min_val || val2 != max_val || s1 != min_sidx || s2 != max_sidx ) in run()
918 min_val, max_val, min_sidx.c_str(), max_sidx.c_str()); in run()
924 if( (min_val < 0 && (val1 != min_val || s1 != min_sidx)) || in run()
930 min_val, max_val, min_sidx.c_str(), max_sidx.c_str()); in run()
/external/speex/libspeex/
Dfilters.h70 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len);
/external/opencv3/modules/videoio/src/
Dcap_mjpeg_encoder.cpp273 int min_val = INT_MAX, max_val = INT_MIN; in createEncodeHuffmanTable() local
284 if( val < min_val ) in createEncodeHuffmanTable()
285 min_val = val; in createEncodeHuffmanTable()
291 size = max_val - min_val + 3; in createEncodeHuffmanTable()
301 table[0] = min_val; in createEncodeHuffmanTable()
313 table[val - min_val + 2] = (code << 8) | i; in createEncodeHuffmanTable()

12