Lines Matching full:maxval
241 int maxval = 1 << jas_image_cmptprec( image, cmptlut[i] );
242 int offset = jas_image_cmptsgnd( image, cmptlut[i] ) ? maxval / 2 : 0;
255 result = readComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts );
257 result = readComponent16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts );
288 int maxval, int offset, int ncmpts )
301 int rshift = cvRound(std::log(maxval/256.)/std::log(2.));
313 if( maxval == 256 && offset == 0 )
352 int maxval, int offset, int ncmpts )
365 int rshift = cvRound(std::log(maxval/65536.)/std::log(2.));
377 if( maxval == 65536 && offset == 0 )