Searched refs:maxval (Results 1 - 25 of 48) sorted by relevance

12

/external/libpng/contrib/gregbook/
H A Dreadppm.c84 int maxval; local
114 sscanf(ppmline, "%d", &maxval);
115 if (maxval != 255) {
116 fprintf(stderr, "ERROR: maxval = %d\n", maxval);
/external/libvorbis/vq/
H A Dhuffbuild.c67 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);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DCPPTarget.java133 int maxval = 255; // codegen.grammar.get????();
134 if ( maxval <= 255 )
137 return maxval;
/external/libpng/contrib/pngminus/
H A Dpnm2png.c206 png_uint_32 maxval; local
256 maxval = (png_uint_32) ul_maxval;
258 if (maxval <= 1)
260 else if (maxval <= 3)
262 else if (maxval <= 15)
264 else if (maxval <= 255)
266 else /* if (maxval <= 65535) */
281 maxval = (png_uint_32) ul_maxval;
282 if (maxval <= 1)
284 else if (maxval <
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dmathops.h50 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 Dfixed_c5x.h76 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, len)))
H A Dfixed_c6x.h67 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, len)))
/external/libopus/celt/
H A Dmathops.h50 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);
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg2000.h74 int maxval, int offset, int ncmpts );
76 int maxval, int offset, int ncmpts );
H A Dgrfmt_jpeg2000.cpp221 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/chromium_org/third_party/opus/src/src/
H A Dopus.c72 float maxval; local
87 maxval=ABS16(x[i*C]);
95 if (ABS16(x[end*C])>maxval)
97 maxval = ABS16(x[end*C]);
105 /* Compute a such that maxval + a*maxval^2 = 1 */
106 a=(maxval-1)/(maxval*maxval);
/external/libopus/src/
H A Dopus.c72 float maxval; local
87 maxval=ABS16(x[i*C]);
95 if (ABS16(x[end*C])>maxval)
97 maxval = ABS16(x[end*C]);
105 /* Compute a such that maxval + a*maxval^2 = 1 */
106 a=(maxval-1)/(maxval*maxval);
/external/chromium_org/third_party/libjpeg_turbo/
H A Drdppm.c78 JSAMPLE *rescale; /* => maxval-remapping array, or NULL */
137 * maxval = MAXJSAMPLE, which is the normal case for 8-bit data.
143 /* This version is for reading text-format PGM files with any maxval */
161 /* This version is for reading text-format PPM files with any maxval */
181 /* This version is for reading raw-byte-format PGM files with any maxval */
202 /* This version is for reading raw-byte-format PPM files with any maxval */
225 /* This version is for reading raw-byte-format files with maxval = MAXJSAMPLE.
240 /* This version is for reading raw-word-format PGM files with any maxval */
264 /* This version is for reading raw-word-format PPM files with any maxval */
301 unsigned int w, h, maxval; local
[all...]
H A Drdcolmap.c20 * 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/jpeg/
H A Drdppm.c77 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 Drdcolmap.c20 * 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 Drdppm.c77 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 Drdcolmap.c20 * 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 Dcvthresh.cpp46 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/fio/
H A Dparse.h52 unsigned int maxval; /* max and min value */ member in struct:fio_option
H A Dparse.c61 if (!o->minval && !o->maxval)
65 if (o->maxval)
66 logger(", max=%d", o->maxval);
479 if (o->maxval && ull > o->maxval) {
481 " (%u max)\n", ull, o->maxval);
744 if (o->maxval && il > (int) o->maxval) {
746 il, o->maxval);
1160 o->maxval
[all...]
/external/libcxx/test/
H A Druntests.py23 def __init__(self, maxval):
26 self.pb = progressbar.ProgressBar(maxval=maxval)
99 pb = ProgressBarWrapper(maxval=len(tests))
/external/fonttools/Lib/fontTools/misc/
H A DxmlReader.py121 def __init__(self, title, maxval=100):
124 def set(self, val, maxval=None):
/external/fonttools/Tools/fontTools/misc/
H A DxmlReader.py121 def __init__(self, title, maxval=100):
124 def set(self, val, maxval=None):
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DTypeConversion.c431 const long maxval = 1114111; local
433 const long maxval = 65535; local
436 static long maxval = 0; local
452 if (unlikely(!maxval))
453 maxval = (long)PyUnicode_GetMax();
462 } else if (unlikely(ival > maxval)) {

Completed in 3987 milliseconds

12