Home
last modified time | relevance | path

Searched refs:max_val (Results 1 – 25 of 42) sorted by relevance

12

/external/speex/libspeex/
Dfilters_arm4.h38 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()
Dfilters.c65 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 …]
Dfftwrap.c48 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()
Dfilters_bfin.h38 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()
Dfilters.h70 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len);
/external/opencv/cvaux/src/
Dcamshift.cpp159 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/chromium_org/v8/test/mjsunit/
Dmath-imul.js136 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/chromium_org/third_party/speex/libspeex/
Dfilters.c65 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 …]
Dfilters.h70 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len);
/external/opencv/ml/src/
Dmlsvm.cpp109 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 …]
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()
1323 cvWriteReal( fs, "max_val", max_val ); in write_params()
1422 max_val = cvReadRealByName( fs, node, "max_val", 1. ); in read_params()
/external/opencv/cxcore/src/
Dcxminmaxloc.cpp49 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/
Dlfsr.c129 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()
Dlfsr.h18 uint64_t max_val; member
/external/webp/src/enc/
Dhistogram.c149 static WEBP_INLINE double BitsEntropyRefine(int nonzeros, int sum, int max_val, in BitsEntropyRefine() argument
176 double min_limit = 2 * sum - max_val; in BitsEntropyRefine()
186 uint32_t max_val = 0; in BitsEntropy() local
193 if (max_val < array[i]) { in BitsEntropy()
194 max_val = array[i]; in BitsEntropy()
199 return BitsEntropyRefine(nonzeros, sum, max_val, retval); in BitsEntropy()
207 int max_val = 0; in BitsEntropyCombined() local
215 if (max_val < xy) { in BitsEntropyCombined()
216 max_val = xy; in BitsEntropyCombined()
221 return BitsEntropyRefine(nonzeros, sum, max_val, retval); in BitsEntropyCombined()
/external/chromium_org/third_party/libwebp/enc/
Dhistogram.c149 static WEBP_INLINE double BitsEntropyRefine(int nonzeros, int sum, int max_val, in BitsEntropyRefine() argument
176 double min_limit = 2 * sum - max_val; in BitsEntropyRefine()
186 uint32_t max_val = 0; in BitsEntropy() local
193 if (max_val < array[i]) { in BitsEntropy()
194 max_val = array[i]; in BitsEntropy()
199 return BitsEntropyRefine(nonzeros, sum, max_val, retval); in BitsEntropy()
207 int max_val = 0; in BitsEntropyCombined() local
215 if (max_val < xy) { in BitsEntropyCombined()
216 max_val = xy; in BitsEntropyCombined()
221 return BitsEntropyRefine(nonzeros, sum, max_val, retval); in BitsEntropyCombined()
/external/fio/t/
Dlfsr-test.c68 printf("Max val is %lu\n", fl->max_val); in main()
90 while (!lfsr_next(fl, &i, fl->max_val)) { in main()
/external/opencv/cv/src/
Dcvfeatureselect.cpp61 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()
Dcvemd.cpp1012 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()
Dcvthresh.cpp199 double max_val = 0; in icvGetThreshVal_Otsu() local
279 max_val = val_i; in icvGetThreshVal_Otsu()
285 return max_val; in icvGetThreshVal_Otsu()
/external/chromium_org/ui/gfx/
Dcolor_analysis.cc519 float max_val = std::numeric_limits<float>::min(); in ApplyColorReduction() local
536 max_val = std::max(max_val, gray_level); in ApplyColorReduction()
544 if (max_val > min_val) in ApplyColorReduction()
545 scale = 255.0 / (max_val - min_val); in ApplyColorReduction()
/external/opencv/ml/include/
Dml.h150 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
/external/opencv/cvaux/include/
Dcvaux.hpp90 bool set_hist_bin_range( int dim, int min_val, int max_val );
/external/fio/
Diolog.h13 uint64_t max_val; member
/external/opencv/otherlibs/highgui/
Dbitstrm.cpp1061 int min_val = INT_MAX, max_val = INT_MIN; in bsCreateEncodeHuffmanTable() local
1074 if( val > max_val ) in bsCreateEncodeHuffmanTable()
1075 max_val = val; in bsCreateEncodeHuffmanTable()
1079 size = max_val - min_val + 3; in bsCreateEncodeHuffmanTable()

12