/external/openssh/openbsd-compat/ |
H A D | strtonum.c | 34 strtonum(const char *numstr, long long minval, long long maxval, argument 52 if (minval > maxval) 60 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
|
/external/libpng/contrib/gregbook/ |
H A D | readppm.c | 84 int maxval; local 114 sscanf(ppmline, "%d", &maxval); 115 if (maxval != 255) { 116 fprintf(stderr, "ERROR: maxval = %d\n", maxval);
|
H A D | wpng.c | 6 maxval = 255) to PNG. Non-interlaced PNGs are written progressively; 170 int maxval; local 353 sscanf(pnmline, "%d", &maxval); 355 maxval != 255) 358 ": only positive width/height, maxval == 255 allowed \n"); 361 wpng_info.sample_depth = 8; /* <==> maxval 255 */ 422 "to have maxval == 255 (i.e., no scaling). If pnmfile is specified, it\n"
|
/external/chromium_org/third_party/opus/src/src/ |
H A D | opus.c | 70 float maxval; local 85 maxval=ABS16(x[i*C]); 93 if (ABS16(x[end*C])>maxval) 95 maxval = ABS16(x[end*C]); 103 /* Compute a such that maxval + a*maxval^2 = 1 */ 104 a=(maxval-1)/(maxval*maxval);
|
/external/libvorbis/vq/ |
H A D | huffbuild.c | 67 int maxval=0; local 83 maxval=atoi(dpos+1); 108 if(!maxval) 115 if(!maxval){ 120 if(v>maxval)maxval=v; 125 maxval++; 129 long vals=pow(maxval,subn); 139 long val=getval(file,begin,n,subn,maxval);
|
H A D | bookutil.c | 55 int maxval = book->minval + book->delta*(book->quantvals-1); local 70 while(e[j]>=maxval)
|
/external/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 202 png_uint_32 maxval; local 234 sscanf (maxval_token, "%lu", &maxval); 235 if (maxval <= 1) 237 else if (maxval <= 3) 239 else if (maxval <= 15) 241 else if (maxval <= 255) 243 else /* if (maxval <= 65535) */ 255 sscanf (maxval_token, "%lu", &maxval); 256 if (maxval <= 1) 258 else if (maxval < [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CPPTarget.java | 133 int maxval = 255; // codegen.grammar.get????(); 134 if ( maxval <= 255 ) 137 return maxval;
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | mathops.h | 50 opus_val16 maxval = 0; local 54 maxval = MAX16(maxval, x[i]); 57 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); 66 opus_val32 maxval = 0; local 70 maxval = MAX32(maxval, x[i]); 73 return MAX32(maxval, -minval);
|
H A D | fixed_c5x.h | 76 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, len)))
|
H A D | fixed_c6x.h | 67 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, len)))
|
/external/opencv/otherlibs/highgui/ |
H A D | grfmt_jpeg2000.h | 74 int maxval, int offset, int ncmpts ); 76 int maxval, int offset, int ncmpts );
|
H A D | grfmt_jpeg2000.cpp | 221 int maxval = 1 << jas_image_cmptprec( m_image, cmptlut[i] ); local 222 int offset = jas_image_cmptsgnd( m_image, cmptlut[i] ) ? maxval / 2 : 0; 235 result = ReadComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); 237 result = ReadComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); 261 int maxval, int offset, int ncmpts ) 272 int rshift = cvRound(log(maxval/256.)/log(2.)); 284 if( maxval == 256 && offset == 0 ) 323 int maxval, int offset, int ncmpts ) 334 int rshift = cvRound(log(maxval/65536.)/log(2.)); 346 if( maxval 259 ReadComponent8u( uchar *data, jas_matrix_t *buffer, int step, int cmpt, int maxval, int offset, int ncmpts ) argument 321 ReadComponent16u( unsigned short *data, jas_matrix_t *buffer, int step, int cmpt, int maxval, int offset, int ncmpts ) argument [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/ |
H A D | GeoMap.java | 51 protected int width, height, maxval; field in class:GeoMap 56 public GeoMap(FloatBuffer heightData, int width, int height, int maxval){ argument 61 this.maxval = maxval; 64 public GeoMap(float[] heightData, int width, int height, int maxval){ argument 68 this.maxval = maxval; 89 return maxval; 346 oc.write(maxval, "maxval", [all...] |
/external/jpeg/ |
H A D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ 136 * maxval = MAXJSAMPLE, which is the normal case for 8-bit data. 142 /* This version is for reading text-format PGM files with any maxval */ 160 /* This version is for reading text-format PPM files with any maxval */ 180 /* This version is for reading raw-byte-format PGM files with any maxval */ 201 /* This version is for reading raw-byte-format PPM files with any maxval */ 224 /* This version is for reading raw-byte-format files with maxval = MAXJSAMPLE. 239 /* This version is for reading raw-word-format PGM files with any maxval */ 263 /* This version is for reading raw-word-format PPM files with any maxval */ 300 unsigned int w, h, maxval; local [all...] |
H A D | rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 174 unsigned int w, h, maxval, row, col; local 183 maxval = read_pbm_integer(cinfo, infile); 185 if (w <= 0 || h <= 0 || maxval <= 0) /* error check */ 188 /* For now, we don't support rescaling from an unusual maxval. */ 189 if (maxval != (unsigned int) MAXJSAMPLE)
|
/external/qemu/distrib/jpeg-6b/ |
H A D | rdppm.c | 77 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */ 136 * maxval = MAXJSAMPLE, which is the normal case for 8-bit data. 142 /* This version is for reading text-format PGM files with any maxval */ 160 /* This version is for reading text-format PPM files with any maxval */ 180 /* This version is for reading raw-byte-format PGM files with any maxval */ 201 /* This version is for reading raw-byte-format PPM files with any maxval */ 224 /* This version is for reading raw-byte-format files with maxval = MAXJSAMPLE. 239 /* This version is for reading raw-word-format PGM files with any maxval */ 263 /* This version is for reading raw-word-format PPM files with any maxval */ 300 unsigned int w, h, maxval; local [all...] |
H A D | rdcolmap.c | 20 * Rescaling a PPM that has a maxval unequal to MAXJSAMPLE is not 174 unsigned int w, h, maxval, row, col; local 183 maxval = read_pbm_integer(cinfo, infile); 185 if (w <= 0 || h <= 0 || maxval <= 0) /* error check */ 188 /* For now, we don't support rescaling from an unusual maxval. */ 189 if (maxval != (unsigned int) MAXJSAMPLE)
|
/external/opencv/cv/src/ |
H A D | cvthresh.cpp | 46 CvSize roi, uchar thresh, uchar maxval, int type ) 57 tab[i] = maxval; 61 tab[i] = maxval; 114 CvSize roi, float thresh, float maxval, int type ) 123 v.f = maxval; iMax = v.i; 297 cvThreshold( const void* srcarr, void* dstarr, double thresh, double maxval, int type ) argument 358 if( maxval < 0 ) 365 if( maxval < 255 ) 366 CV_CALL( cvAndS( dst, cvScalarAll( maxval ), dst )); 392 imaxval = cvRound(maxval); 45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize roi, uchar thresh, uchar maxval, int type ) argument 113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step, CvSize roi, float thresh, float maxval, int type ) argument [all...] |
/external/srec/srec/cfront/ |
H A D | sp_fft.c | 646 unsigned maxval = 0; local 753 maxval |= data[0]; 757 maxval |= last; 769 maxval |= data[i]; 797 ASSERT(maxval >= 0); 798 ASSERT(!(maxval & 0xC0000000));
|
/external/openfst/src/include/fst/ |
H A D | interval-set.h | 137 // Complements the set w.r.t [0, maxval). Requires intervals be 139 void Complement(T maxval, IntervalSet<T> *oset) const; 229 // Complements the set w.r.t [0, maxval). Requires intervals be normalized. 232 void IntervalSet<T>::Complement(T maxval, IntervalSet<T> *oset) const { argument 242 interval.end = min(it->begin, maxval); 249 interval.end = maxval;
|
/external/chromium_org/tools/telemetry/third_party/png/ |
H A D | png.py | 335 maxval=None, 2045 maxval = 2**meta['bitdepth']-1 2055 # 0/maxval (by multiplication), and add it as the extra 2059 opa = map(maxval.__mul__, opa) 2084 def asFloat(self, maxval=1.0): 2087 *maxval*. 2093 info['maxval'] = float(maxval) 2094 factor = float(maxval)/float(sourcemaxval) 2104 maxval [all...] |
/external/libvorbis/lib/ |
H A D | floor0.c | 164 long maxval=(1<<info->ampbits)-1; local 165 float amp=(float)ampraw/maxval*info->ampdB;
|
/external/opencv/ml/src/ |
H A D | mlrtrees.cpp | 350 double minval, maxval; local 352 cvMinMaxLoc( &responses, &minval, &maxval ); 353 maximal_response = (float)MAX( MAX( fabs(minval), fabs(maxval) ), 0 );
|
/external/tremolo/Tremolo/ |
H A D | floor0.c | 407 long maxval=(1<<info->ampbits)-1; local 408 int amp=((ampraw*info->ampdB)<<4)/maxval;
|