/external/libjpeg-turbo/ |
D | rdppm.c | 71 int maxval; member 95 read_pbm_integer (j_compress_ptr cinfo, FILE * infile, int maxval) in read_pbm_integer() argument 120 if (val > maxval) in read_pbm_integer() 147 int maxval = source->maxval; in get_text_gray_row() local 151 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_gray_row() 166 int maxval = source->maxval; in get_text_rgb_row() local 170 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row() 171 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row() 172 *ptr++ = rescale[read_pbm_integer(cinfo, infile, maxval)]; in get_text_rgb_row() 300 unsigned int w, h, maxval; in start_input_ppm() local [all …]
|
D | rdcolmap.c | 174 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/libvorbis/vq/ |
D | huffbuild.c | 67 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/ |
D | pnm2png.c | 210 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/libopus/celt/ |
D | mathops.h | 50 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()
|
/external/opencv3/modules/imgproc/src/ |
D | thresh.cpp | 50 thresh_8u( const Mat& _src, Mat& _dst, uchar thresh, uchar maxval, int type ) in thresh_8u() argument 67 …if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) in thresh_8u() 134 tab[i] = maxval; in thresh_8u() 138 tab[i] = maxval; in thresh_8u() 170 __m128i maxval_ = _mm_set1_epi8(maxval); in thresh_8u() 289 uint8x16_t v_thresh = vdupq_n_u8(thresh), v_maxval = vdupq_n_u8(maxval); in thresh_8u() 389 thresh_16s( const Mat& _src, Mat& _dst, short thresh, short maxval, int type ) in thresh_16s() argument 411 …if (tegra::useTegra() && tegra::thresh_16s(_src, _dst, roi.width, roi.height, thresh, maxval, type… in thresh_16s() 481 __m128i thresh8 = _mm_set1_epi16(thresh), maxval8 = _mm_set1_epi16(maxval); in thresh_16s() 496 int16x8_t v_thresh = vdupq_n_s16(thresh), v_maxval = vdupq_n_s16(maxval); in thresh_16s() [all …]
|
/external/libpng/contrib/gregbook/ |
D | readppm.c | 84 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()
|
/external/opencv3/modules/core/src/opencl/ |
D | minmaxloc.cl | 86 if (maxval < temp.p) \ 88 maxval = temp.p; \ 93 maxval = MAX(maxval, temp.p); 147 dstT1 maxval = MIN_VAL; 224 if (maxval < temp) 226 maxval = temp; 230 maxval = MAX(maxval, temp); 271 localmem_max[lid] = maxval; 304 if (localmem_max[lid3] <= maxval) 306 if (localmem_max[lid3] == maxval) [all …]
|
/external/llvm/test/CodeGen/Hexagon/ |
D | maxw.ll | 4 define i32 @f(i32 %src, i32 %maxval) nounwind readnone { 6 %cmp = icmp slt i32 %maxval, %src 7 %cond = select i1 %cmp, i32 %src, i32 %maxval
|
D | maxud.ll | 4 define i64 @f(i64 %src, i64 %maxval) nounwind readnone { 6 %cmp = icmp ult i64 %maxval, %src 7 %cond = select i1 %cmp, i64 %src, i64 %maxval
|
D | maxuw.ll | 4 define i32 @f(i32 %src, i32 %maxval) nounwind readnone { 6 %cmp = icmp ult i32 %maxval, %src 7 %cond = select i1 %cmp, i32 %src, i32 %maxval
|
D | maxd.ll | 4 define i64 @f(i64 %src, i64 %maxval) nounwind readnone { 6 %cmp = icmp slt i64 %maxval, %src 7 %cond = select i1 %cmp, i64 %src, i64 %maxval
|
D | minw.ll | 4 define i32 @f(i32 %src, i32 %maxval) nounwind readnone { 6 %cmp = icmp sgt i32 %maxval, %src 7 %cond = select i1 %cmp, i32 %src, i32 %maxval
|
D | minud.ll | 4 define i64 @f(i64 %src, i64 %maxval) nounwind readnone { 6 %cmp = icmp ugt i64 %maxval, %src 7 %cond = select i1 %cmp, i64 %src, i64 %maxval
|
D | minuw.ll | 4 define i32 @f(i32 %src, i32 %maxval) nounwind readnone { 6 %cmp = icmp ugt i32 %maxval, %src 7 %cond = select i1 %cmp, i32 %src, i32 %maxval
|
D | mind.ll | 4 define i64 @f(i64 %src, i64 %maxval) nounwind readnone { 6 %cmp = icmp sgt i64 %maxval, %src 7 %cond = select i1 %cmp, i64 %src, i64 %maxval
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | gftt.cl | 60 float maxval = -FLT_MAX; 69 maxval = max(maxval, *(__global const float *)(srcptr + src_index)); 73 localmem_max[lid] = maxval; 77 localmem_max[lid - WGS2_ALIGNED] = max(maxval, localmem_max[lid - WGS2_ALIGNED]); 97 float maxval = -FLT_MAX; 101 maxval = max(maxval, dst[x]); 103 dst[0] = maxval * qualityLevel;
|
/external/opencv/cv/src/ |
D | cvthresh.cpp | 46 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/ |
D | opus.c | 72 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/opencv/otherlibs/highgui/ |
D | grfmt_jpeg2000.cpp | 221 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()
|
/external/opencv3/modules/imgproc/perf/ |
D | perf_threshold.cpp | 31 double maxval = theRNG().uniform(1, 254); in PERF_TEST_P() local 36 TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, thresh, maxval, threshType); in PERF_TEST_P() 50 double maxval = theRNG().uniform(1, 254); in PERF_TEST_P() local 55 TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, 0, maxval, THRESH_BINARY|THRESH_OTSU); in PERF_TEST_P()
|
/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_jpeg2000.cpp | 241 int maxval = 1 << jas_image_cmptprec( image, cmptlut[i] ); in readData() local 242 int offset = jas_image_cmptsgnd( image, cmptlut[i] ) ? maxval / 2 : 0; in readData() 255 … result = readComponent8u( data + i, buffer, step, cmptlut[i], maxval, offset, ncmpts ); in readData() 257 …Component16u( ((unsigned short *)data) + i, buffer, step / 2, cmptlut[i], maxval, offset, ncmpts ); in readData() 288 int maxval, int offset, int ncmpts ) in readComponent8u() argument 301 int rshift = cvRound(std::log(maxval/256.)/std::log(2.)); in readComponent8u() 313 if( maxval == 256 && offset == 0 ) in readComponent8u() 352 int maxval, int offset, int ncmpts ) in readComponent16u() argument 365 int rshift = cvRound(std::log(maxval/65536.)/std::log(2.)); in readComponent16u() 377 if( maxval == 65536 && offset == 0 ) in readComponent16u()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | CPPTarget.java | 133 int maxval = 255; // codegen.grammar.get????(); in getMaxCharValue() local 134 if ( maxval <= 255 ) in getMaxCharValue() 137 return maxval; in getMaxCharValue()
|
/external/opencv3/modules/imgproc/test/ |
D | test_thresh.cpp | 123 float thresh, float maxval, int thresh_type ) in test_threshold() argument 134 imaxval = saturate_cast<uchar>(maxval); in test_threshold() 139 imaxval = saturate_cast<short>(maxval); in test_threshold() 144 imaxval = cvRound(maxval); in test_threshold() 173 dst[j] = src[j] > thresh ? maxval : 0.f; in test_threshold() 199 dst[j] = src[j] > thresh ? 0.f : maxval; in test_threshold()
|
/external/opencv3/modules/calib3d/src/ |
D | levmarq.cpp | 158 double maxval = DBL_EPSILON; in run() local 160 maxval = std::max(maxval, std::abs(Ap.at<double>(i,i))); in run() 161 lambda = lc = 1./maxval; in run()
|