Home
last modified time | relevance | path

Searched refs:maxval (Results 1 – 25 of 38) sorted by relevance

12

/external/libvorbis/vq/
Dhuffbuild.c67 int maxval=0; in main() local
83 maxval=atoi(dpos+1); in main()
108 if(!maxval) in main()
115 if(!maxval){ in main()
120 if(v>maxval)maxval=v; in main()
125 maxval++; in main()
129 long vals=pow(maxval,subn); in main()
139 long val=getval(file,begin,n,subn,maxval); in main()
/external/libpng/contrib/pngminus/
Dpnm2png.c210 png_uint_32 maxval; in pnm2png() local
260 maxval = (png_uint_32) ul_maxval; in pnm2png()
262 if (maxval <= 1) in pnm2png()
264 else if (maxval <= 3) in pnm2png()
266 else if (maxval <= 15) in pnm2png()
268 else if (maxval <= 255) in pnm2png()
285 maxval = (png_uint_32) ul_maxval; in pnm2png()
286 if (maxval <= 1) in pnm2png()
288 else if (maxval <= 3) in pnm2png()
290 else if (maxval <= 15) in pnm2png()
[all …]
/external/jpeg/
Drdppm.c300 unsigned int w, h, maxval; in start_input_ppm() local
323 maxval = read_pbm_integer(cinfo, source->pub.input_file); in start_input_ppm()
325 if (w <= 0 || h <= 0 || maxval <= 0) /* error check */ in start_input_ppm()
358 if (maxval > 255) { in start_input_ppm()
360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
373 if (maxval > 255) { in start_input_ppm()
375 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
388 ((maxval<=255) ? SIZEOF(U_CHAR) : (2*SIZEOF(U_CHAR))); in start_input_ppm()
417 (size_t) (((long) maxval + 1L) * SIZEOF(JSAMPLE))); in start_input_ppm()
418 half_maxval = maxval / 2; in start_input_ppm()
[all …]
Drdcolmap.c174 unsigned int w, h, maxval, row, col; in read_ppm_map() local
183 maxval = read_pbm_integer(cinfo, infile); in read_ppm_map()
185 if (w <= 0 || h <= 0 || maxval <= 0) /* error check */ in read_ppm_map()
189 if (maxval != (unsigned int) MAXJSAMPLE) in read_ppm_map()
/external/libopus/celt/
Dmathops.h50 opus_val16 maxval = 0; in celt_maxabs16() local
54 maxval = MAX16(maxval, x[i]); in celt_maxabs16()
57 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); in celt_maxabs16()
66 opus_val32 maxval = 0; in celt_maxabs32() local
70 maxval = MAX32(maxval, x[i]); in celt_maxabs32()
73 return MAX32(maxval, -minval); in celt_maxabs32()
Dbands.c104 opus_val32 maxval=0; in compute_band_energies() local
108 maxval = MAX32(maxval, X[j+c*N]); in compute_band_energies()
109 maxval = MAX32(maxval, -X[j+c*N]); in compute_band_energies()
112 if (maxval > 0) in compute_band_energies()
114 int shift = celt_ilog2(maxval)-10; in compute_band_energies()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
DGeoMap.java51 protected int width, height, maxval; field in GeoMap
56 public GeoMap(FloatBuffer heightData, int width, int height, int maxval){ in GeoMap() argument
61 this.maxval = maxval; in GeoMap()
64 public GeoMap(float[] heightData, int width, int height, int maxval){ in GeoMap() argument
68 this.maxval = maxval; in GeoMap()
89 return maxval; in getMaximumValue()
346 oc.write(maxval, "maxval", 0); in write()
361 maxval = ic.readInt("maxval", 0); in read()
/external/libpng/contrib/gregbook/
Dreadppm.c84 int maxval; in readpng_init() local
114 sscanf(ppmline, "%d", &maxval); in readpng_init()
115 if (maxval != 255) { in readpng_init()
116 fprintf(stderr, "ERROR: maxval = %d\n", maxval); in readpng_init()
Dwpng.c170 int maxval; in main() local
353 sscanf(pnmline, "%d", &maxval); in main()
355 maxval != 255) in main()
/external/opencv/cv/src/
Dcvthresh.cpp46 CvSize roi, uchar thresh, uchar maxval, int type ) in icvThresh_8u_C1R() argument
57 tab[i] = maxval; in icvThresh_8u_C1R()
61 tab[i] = maxval; in icvThresh_8u_C1R()
114 CvSize roi, float thresh, float maxval, int type ) in icvThresh_32f_C1R() argument
123 v.f = maxval; iMax = v.i; in icvThresh_32f_C1R()
297 cvThreshold( const void* srcarr, void* dstarr, double thresh, double maxval, int type ) in cvThreshold() argument
358 if( maxval < 0 ) in cvThreshold()
365 if( maxval < 255 ) in cvThreshold()
366 CV_CALL( cvAndS( dst, cvScalarAll( maxval ), dst )); in cvThreshold()
392 imaxval = cvRound(maxval); in cvThreshold()
[all …]
/external/libopus/src/
Dopus.c72 float maxval; in opus_pcm_soft_clip() local
87 maxval=ABS16(x[i*C]); in opus_pcm_soft_clip()
95 if (ABS16(x[end*C])>maxval) in opus_pcm_soft_clip()
97 maxval = ABS16(x[end*C]); in opus_pcm_soft_clip()
106 a=(maxval-1)/(maxval*maxval); in opus_pcm_soft_clip()
/external/openssh/openbsd-compat/
Dstrtonum.c34 strtonum(const char *numstr, long long minval, long long maxval, in strtonum() argument
52 if (minval > maxval) in strtonum()
60 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval) in strtonum()
/external/opencv/otherlibs/highgui/
Dgrfmt_jpeg2000.cpp221 int maxval = 1 << jas_image_cmptprec( m_image, cmptlut[i] ); in ReadData() local
222 int offset = jas_image_cmptsgnd( m_image, cmptlut[i] ) ? maxval / 2 : 0; in ReadData()
235 … result = ReadComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in ReadData()
237 …Component16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); in ReadData()
261 int maxval, int offset, int ncmpts ) in ReadComponent8u() argument
272 int rshift = cvRound(log(maxval/256.)/log(2.)); in ReadComponent8u()
284 if( maxval == 256 && offset == 0 ) in ReadComponent8u()
323 int maxval, int offset, int ncmpts ) in ReadComponent16u() argument
334 int rshift = cvRound(log(maxval/65536.)/log(2.)); in ReadComponent16u()
346 if( maxval == 65536 && offset == 0 ) in ReadComponent16u()
Dgrfmt_jpeg2000.h74 int maxval, int offset, int ncmpts );
76 int maxval, int offset, int ncmpts );
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCPPTarget.java133 int maxval = 255; // codegen.grammar.get????(); in getMaxCharValue() local
134 if ( maxval <= 255 ) in getMaxCharValue()
137 return maxval; in getMaxCharValue()
/external/fio/
Dparse.c65 if (!o->minval && !o->maxval) in show_option_range()
69 if (o->maxval) in show_option_range()
70 logger(", max=%d", o->maxval); in show_option_range()
525 if (o->maxval && ull > o->maxval) { in __handle_option()
527 " (%u max)\n", ull, o->maxval); in __handle_option()
791 if (o->maxval && il > (int) o->maxval) { in __handle_option()
793 il, o->maxval); in __handle_option()
1209 o->maxval = 1; in option_init()
1212 if (!o->maxval) in option_init()
1213 o->maxval = UINT_MAX; in option_init()
Dgoptions.c506 guint maxval, interval; in __gopt_new_int() local
516 maxval = o->maxval; in __gopt_new_int()
517 if (!maxval) in __gopt_new_int()
518 maxval = UINT_MAX; in __gopt_new_int()
534 i->spin = gtk_spin_button_new_with_range(o->minval, maxval, interval); in __gopt_new_int()
714 gint maxval; in gopt_new_int_range() local
725 maxval = o->maxval; in gopt_new_int_range()
726 if (!maxval) in gopt_new_int_range()
727 maxval = INT_MAX; in gopt_new_int_range()
743 r->spins[i] = gtk_spin_button_new_with_range(o->minval, maxval, interval); in gopt_new_int_range()
Dparse.h52 unsigned int maxval; /* max and min value */ member
Doptions.c1889 .maxval = 100,
2374 .maxval = 131072,
2526 .maxval = 100,
2692 .maxval = 100,
2706 .maxval = 100,
2728 .maxval = 20,
2742 .maxval = 7,
2754 .maxval = 3,
3158 .maxval = 512 * 1024 * 1024ULL,
3252 .maxval = 100,
[all …]
/external/openfst/src/include/fst/
Dinterval-set.h139 void Complement(T maxval, IntervalSet<T> *oset) const;
232 void IntervalSet<T>::Complement(T maxval, IntervalSet<T> *oset) const { in Complement() argument
242 interval.end = min(it->begin, maxval); in Complement()
249 interval.end = maxval; in Complement()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dintset.py178 def _iterranges(self,r1,r2,minval=_MININF,maxval=_MAXINF): argument
193 if cur_r > maxval:
198 if curval < maxval:
199 yield curstates, (curval,maxval)
/external/fonttools/Lib/fontTools/misc/
DxmlReader.py121 def __init__(self, title, maxval=100): argument
124 def set(self, val, maxval=None): argument
/external/libpng/contrib/libtests/
Dmakepng.c1365 bval(png_const_structrp png_ptr, png_charp param, unsigned int maxval) in bval() argument
1370 if (param[0] && *endptr == 0 && l <= maxval) in bval()
1384 const unsigned int maxval = in insert_sBIT() local
1393 sBIT.red = bval(png_ptr, params[0], maxval); in insert_sBIT()
1394 sBIT.green = bval(png_ptr, params[1], maxval); in insert_sBIT()
1395 sBIT.blue = bval(png_ptr, params[2], maxval); in insert_sBIT()
1402 sBIT.gray = bval(png_ptr, params[0], maxval); in insert_sBIT()
1406 sBIT.alpha = bval(png_ptr, params[nparams-1], maxval); in insert_sBIT()
/external/libvorbis/lib/
Dfloor0.c164 long maxval=(1<<info->ampbits)-1; in floor0_inverse1() local
165 float amp=(float)ampraw/maxval*info->ampdB; in floor0_inverse1()
/external/opencv/ml/src/
Dmlrtrees.cpp350 double minval, maxval; in grow_forest() local
352 cvMinMaxLoc( &responses, &minval, &maxval ); in grow_forest()
353 maximal_response = (float)MAX( MAX( fabs(minval), fabs(maxval) ), 0 ); in grow_forest()

12