max 290 3rdparty/include/ffmpeg_/libavutil/mem.h void av_max_alloc(size_t max); max 279 3rdparty/include/ffmpeg_/libavutil/opt.h double max; ///< maximum valid value for the option max 49 3rdparty/include/ffmpeg_/libavutil/parseutils.h int av_parse_ratio(AVRational *q, const char *str, int max, max 52 3rdparty/include/ffmpeg_/libavutil/parseutils.h #define av_parse_ratio_quiet(rate, str, max) \ max 53 3rdparty/include/ffmpeg_/libavutil/parseutils.h av_parse_ratio(rate, str, max, AV_LOG_MAX_OFFSET, NULL) max 83 3rdparty/include/ffmpeg_/libavutil/rational.h int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max); max 136 3rdparty/include/ffmpeg_/libavutil/rational.h AVRational av_d2q(double d, int max) av_const; max 183 3rdparty/libjasper/jasper/jas_seq.h (max((matrix)->numrows_, (matrix)->numcols_)) max 2540 3rdparty/libpng/png.c PNG_CONST unsigned int max = (1U << (16U - shift))-1U; max 2571 3rdparty/libpng/png.c double d = floor(65535*pow(ig/(double)max, gamma_val*.00001)+.5); max 2575 3rdparty/libpng/png.c ig = (ig * 65535U + max_by_2)/max; max 2591 3rdparty/libpng/png.c ig = (ig * 65535U + max_by_2)/max; max 2607 3rdparty/libpng/png.c PNG_CONST unsigned int max = (1U << (16U - shift))-1U; max 2648 3rdparty/libpng/png.c bound = (bound * max + 32768U)/65535U + 1U; max 179 3rdparty/libtiff/tif_color.c #define CLAMP(f,min,max) ((f)<(min)?(min):(f)>(max)?(max):(f)) max 180 3rdparty/libtiff/tif_color.c #define HICLAMP(f,max) ((f)>(max)?(max):(f)) max 26 3rdparty/libwebp/dsp/enc.c static WEBP_INLINE int clip_max(int v, int max) { max 27 3rdparty/libwebp/dsp/enc.c return (v > max) ? max : v; max 83 3rdparty/libwebp/enc/analysis.c int min = centers[0], max = centers[0]; max 89 3rdparty/libwebp/enc/analysis.c if (max < centers[n]) max = centers[n]; max 92 3rdparty/libwebp/enc/analysis.c if (max == min) max = min + 1; max 93 3rdparty/libwebp/enc/analysis.c assert(mid <= max && mid >= min); max 95 3rdparty/libwebp/enc/analysis.c const int alpha = 255 * (centers[n] - mid) / (max - min); max 96 3rdparty/libwebp/enc/analysis.c const int beta = 255 * (centers[n] - min) / (max - min); max 478 3rdparty/libwebp/mux/muxinternal.c int max, int* num) { max 482 3rdparty/libwebp/mux/muxinternal.c if (max > -1 && *num > max) return WEBP_MUX_INVALID_ARGUMENT; max 64 3rdparty/openexr/Half/halfLimits.h static half max () throw () {return HALF_MAX;} max 408 3rdparty/openexr/IlmImf/ImfAcesFile.cpp maxX = header.dataWindow().max.x; max 520 3rdparty/openexr/IlmImf/ImfAcesFile.cpp int maxY = max (scanLine1, scanLine2); max 536 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp _maxX = dataWindow.max.x; max 537 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp _maxY = dataWindow.max.y; max 654 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxX = min (range.max.x, _maxX); max 656 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxY = min (range.max.y, _maxY); max 887 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxX = min (range.max.x, _maxX); max 889 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp int maxY = min (range.max.y, _maxY); max 64 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.x); max 65 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.y); max 75 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.x); max 76 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.y); max 94 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.x); max 95 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::write <StreamIO> (os, _value.max.y); max 105 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.x); max 106 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp Xdr::read <StreamIO> (is, _value.max.y); max 240 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = dw.max.x; max 241 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = dw.max.y; max 262 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = dw.max.x; max 263 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = dw.max.y; max 556 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = box.max.x; max 557 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; max 612 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *xMax = box.max.x; max 613 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp *yMax = box.max.y; max 68 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (a > 0 && b > std::numeric_limits<T>::max() / a) max 104 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (a > std::numeric_limits<T>::max() - b) max 152 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (size_t (n) > std::numeric_limits<size_t>::max() / s) max 73 3rdparty/openexr/IlmImf/ImfEnvmap.cpp if (dataWindow.max.y > dataWindow.min.y) max 77 3rdparty/openexr/IlmImf/ImfEnvmap.cpp (dataWindow.max.y - dataWindow.min.y) - 0.5f); max 84 3rdparty/openexr/IlmImf/ImfEnvmap.cpp if (dataWindow.max.x > dataWindow.min.x) max 88 3rdparty/openexr/IlmImf/ImfEnvmap.cpp (dataWindow.max.x - dataWindow.min.x) - 0.5f); max 105 3rdparty/openexr/IlmImf/ImfEnvmap.cpp return V2f (x * (dataWindow.max.x - dataWindow.min.x) + dataWindow.min.x, max 106 3rdparty/openexr/IlmImf/ImfEnvmap.cpp y * (dataWindow.max.y - dataWindow.min.y) + dataWindow.min.y); max 135 3rdparty/openexr/IlmImf/ImfEnvmap.cpp return min ((dataWindow.max.x - dataWindow.min.x + 1), max 136 3rdparty/openexr/IlmImf/ImfEnvmap.cpp (dataWindow.max.y - dataWindow.min.y + 1) / 6); max 149 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dwf.max.x = dwf.min.x + sof - 1; max 150 3rdparty/openexr/IlmImf/ImfEnvmap.cpp dwf.max.y = dwf.min.y + sof - 1; max 167 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.x; max 172 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.x = dwf.max.x - positionInFace.y; max 173 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.x; max 179 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; max 190 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.x = dwf.max.x - positionInFace.x; max 191 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; max 197 3rdparty/openexr/IlmImf/ImfEnvmap.cpp pos.y = dwf.max.y - positionInFace.y; max 621 3rdparty/openexr/IlmImf/ImfHeader.cpp if (displayWindow.min.x > displayWindow.max.x || max 622 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.min.y > displayWindow.max.y || max 625 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.max.x >= (INT_MAX / 2) || max 626 3rdparty/openexr/IlmImf/ImfHeader.cpp displayWindow.max.y >= (INT_MAX / 2)) max 633 3rdparty/openexr/IlmImf/ImfHeader.cpp if (dataWindow.min.x > dataWindow.max.x || max 634 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.min.y > dataWindow.max.y || max 637 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.max.x >= (INT_MAX / 2) || max 638 3rdparty/openexr/IlmImf/ImfHeader.cpp dataWindow.max.y >= (INT_MAX / 2)) max 644 3rdparty/openexr/IlmImf/ImfHeader.cpp maxImageWidth < dataWindow.max.x - dataWindow.min.x + 1) max 651 3rdparty/openexr/IlmImf/ImfHeader.cpp maxImageHeight < dataWindow.max.y - dataWindow.min.y + 1) max 844 3rdparty/openexr/IlmImf/ImfHeader.cpp if ((dataWindow.max.x - dataWindow.min.x + 1) % max 853 3rdparty/openexr/IlmImf/ImfHeader.cpp if ((dataWindow.max.y - dataWindow.min.y + 1) % max 183 3rdparty/openexr/IlmImf/ImfInputFile.cpp int maxY = std::max (scanLine1, scanLine2); max 233 3rdparty/openexr/IlmImf/ImfInputFile.cpp int minYThisRow = std::max (minY, tileRange.min.y); max 234 3rdparty/openexr/IlmImf/ImfInputFile.cpp int maxYThisRow = std::min (maxY, tileRange.max.y); max 293 3rdparty/openexr/IlmImf/ImfInputFile.cpp x <= levelRange.max.x; max 375 3rdparty/openexr/IlmImf/ImfInputFile.cpp _data->maxY = dataWindow.max.y; max 465 3rdparty/openexr/IlmImf/ImfInputFile.cpp int tileRowSize = (dataWindow.max.x - dataWindow.min.x + 1) * max 70 3rdparty/openexr/IlmImf/ImfLut.cpp assert ((dataWindow.max.x - dataWindow.min.x + 1) % data.xSampling == 0); max 71 3rdparty/openexr/IlmImf/ImfLut.cpp assert ((dataWindow.max.y - dataWindow.min.y + 1) % data.ySampling == 0); max 77 3rdparty/openexr/IlmImf/ImfLut.cpp y <= dataWindow.max.y; max 84 3rdparty/openexr/IlmImf/ImfLut.cpp x <= dataWindow.max.x; max 126 3rdparty/openexr/IlmImf/ImfLut.cpp for (int y = dataWindow.min.y; y <= dataWindow.max.y; ++y) max 130 3rdparty/openexr/IlmImf/ImfLut.cpp for (int x = dataWindow.min.x; x <= dataWindow.max.x; ++x) max 107 3rdparty/openexr/IlmImf/ImfMisc.cpp bytesPerLine.resize (dataWindow.max.y - dataWindow.min.y + 1); max 114 3rdparty/openexr/IlmImf/ImfMisc.cpp (dataWindow.max.x - dataWindow.min.x + 1) / max 117 3rdparty/openexr/IlmImf/ImfMisc.cpp for (int y = dataWindow.min.y, i = 0; y <= dataWindow.max.y; ++y, ++i) max 124 3rdparty/openexr/IlmImf/ImfMisc.cpp for (int y = dataWindow.min.y, i = 0; y <= dataWindow.max.y; ++y, ++i) max 73 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::max; max 222 3rdparty/openexr/IlmImf/ImfOutputFile.cpp lineBuffers.resize (max (1, 2 * numThreads)); max 336 3rdparty/openexr/IlmImf/ImfOutputFile.cpp startY = max (lineBufferMinY, ofd->minY); max 343 3rdparty/openexr/IlmImf/ImfOutputFile.cpp endY = max (lineBufferMinY, ofd->minY) - 1; max 457 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _lineBuffer->scanLineMin = max (_lineBuffer->minY, scanLineMin); max 715 3rdparty/openexr/IlmImf/ImfOutputFile.cpp dataWindow.min.y: dataWindow.max.y; max 717 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->missingScanLines = dataWindow.max.y - dataWindow.min.y + 1; max 720 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->maxX = dataWindow.max.x; max 722 3rdparty/openexr/IlmImf/ImfOutputFile.cpp _data->maxY = dataWindow.max.y; max 743 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y + max 956 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int numTasks = max (min ((int)_data->lineBuffers.size(), max 979 3rdparty/openexr/IlmImf/ImfOutputFile.cpp int numTasks = max (min ((int)_data->lineBuffers.size(), max 1189 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (_data->missingScanLines != dataWindow.max.y - dataWindow.min.y + 1) max 217 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp _maxX = dataWindow.max.x; max 218 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp _maxY = dataWindow.max.y; max 333 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxX = range.max.x; max 335 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxY = range.max.y; max 509 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxX = range.max.x; max 511 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp int maxY = range.max.y; max 204 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp _maxX = dataWindow.max.x; max 205 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp _maxY = dataWindow.max.y; max 291 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxX = min (range.max.x, _maxX); max 293 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxY = min (range.max.y, _maxY); max 435 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxX = min (range.max.x, _maxX); max 437 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp int maxY = min (range.max.y, _maxY); max 249 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _width = dw.max.x - dw.min.x + 1; max 250 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _height = dw.max.y - dw.min.y + 1; max 258 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _currentScanLine = dw.max.y; max 859 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _yMax = dw.max.y; max 860 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _width = dw.max.x - dw.min.x + 1; max 861 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp _height = dw.max.y - dw.min.y + 1; max 953 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp int maxY = max (scanLine1, scanLine2); max 405 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float rgbMax = max (in.r, max (in.g, in.b)); max 418 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp float rgbMax = max (in.r, max (in.g, in.b)); max 420 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp out.r = max (float (rgbMax - (rgbMax - in.r) * f), 0.0f); max 421 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp out.g = max (float (rgbMax - (rgbMax - in.g) * f), 0.0f); max 422 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp out.b = max (float (rgbMax - (rgbMax - in.b) * f), 0.0f); max 71 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::max; max 222 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp lineBuffers.resize (max (1, 2 * numThreads)); max 652 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp scanLineMin = max (lineBuffer->minY, scanLineMin); max 678 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp _data->maxX = dataWindow.max.x; max 680 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp _data->maxY = dataWindow.max.y; max 708 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp int lineOffsetSize = (dataWindow.max.y - dataWindow.min.y + max 883 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp int scanLineMax = max (scanLine1, scanLine2); max 72 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp using std::max; max 251 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp tileBuffers.resize (max (1, 2 * numThreads)); max 459 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp int numPixelsPerScanLine = tileRange.max.x - tileRange.min.x + 1; max 462 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp (tileRange.max.y - tileRange.min.y + 1); max 504 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp for (int y = tileRange.min.y; y <= tileRange.max.y; ++y) max 729 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp _data->maxX = dataWindow.max.x; max 731 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp _data->maxY = dataWindow.max.y; max 56 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp levelSize (int min, int max, int l, LevelRoundingMode rmode) max 61 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int a = max - min + 1; max 68 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp return std::max (size, 1); max 101 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp (tileDesc, minX, maxX, minY, maxY, lx, ly).max; max 198 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; max 238 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; max 262 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp int min, int max, max 268 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp numTiles[i] = (levelSize (min, max, i, rmode) + size - 1) / size; max 51 3rdparty/openexr/IlmImf/ImfTiledMisc.h int levelSize (int min, int max, int l, LevelRoundingMode rmode); max 78 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::max; max 296 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp tileBuffers.resize (max (1, 2 * numThreads)); max 716 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int numScanLines = tileRange.max.y - tileRange.min.y + 1; max 717 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp int numPixelsPerScanLine = tileRange.max.x - tileRange.min.x + 1; max 723 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (int y = tileRange.min.y; y <= tileRange.max.y; ++y) max 909 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp _data->maxX = dataWindow.max.x; max 911 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp _data->maxY = dataWindow.max.y; max 227 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp int width = dw.max.x - dw.min.x + 1; max 229 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int y = dw.min.y, y1 = 0; y <= dw.max.y; ++y, ++y1) max 231 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int x = dw.min.x, x1 = 0; x <= dw.max.x; ++x, ++x1) max 751 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp int width = dw.max.x - dw.min.x + 1; max 753 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int y = dw.min.y, y1 = 0; y <= dw.max.y; ++y, ++y1) max 763 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp for (int x = dw.min.x, x1 = 0; x <= dw.max.x; ++x, ++x1) max 80 3rdparty/openexr/Imath/ImathBox.h T max; max 156 3rdparty/openexr/Imath/ImathBox.h max = point; max 164 3rdparty/openexr/Imath/ImathBox.h max = maxT; max 172 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); max 180 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); max 188 3rdparty/openexr/Imath/ImathBox.h max = T(T::baseTypeMin()); max 195 3rdparty/openexr/Imath/ImathBox.h max = T(T::baseTypeMax()); max 208 3rdparty/openexr/Imath/ImathBox.h if (point[i] > max[i]) max 209 3rdparty/openexr/Imath/ImathBox.h max[i] = point[i]; max 223 3rdparty/openexr/Imath/ImathBox.h if (box.max[i] > max[i]) max 224 3rdparty/openexr/Imath/ImathBox.h max[i] = box.max[i]; max 235 3rdparty/openexr/Imath/ImathBox.h if (point[i] < min[i] || point[i] > max[i]) max 249 3rdparty/openexr/Imath/ImathBox.h if (box.max[i] < min[i] || box.min[i] > max[i]) max 264 3rdparty/openexr/Imath/ImathBox.h return max - min; max 272 3rdparty/openexr/Imath/ImathBox.h return (max + min) / 2; max 282 3rdparty/openexr/Imath/ImathBox.h if (max[i] < min[i]) max 295 3rdparty/openexr/Imath/ImathBox.h if (min[i] != T::baseTypeMin() || max[i] != T::baseTypeMax()) max 309 3rdparty/openexr/Imath/ImathBox.h if (max[i] <= min[i]) max 351 3rdparty/openexr/Imath/ImathBox.h Vec2<T> max; max 412 3rdparty/openexr/Imath/ImathBox.h max = point; max 420 3rdparty/openexr/Imath/ImathBox.h max = maxT; max 428 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); max 436 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); max 444 3rdparty/openexr/Imath/ImathBox.h max = Vec2<T>(Vec2<T>::baseTypeMin()); max 451 3rdparty/openexr/Imath/ImathBox.h max = Vec2<T>(Vec2<T>::baseTypeMax()); max 462 3rdparty/openexr/Imath/ImathBox.h if (point[0] > max[0]) max 463 3rdparty/openexr/Imath/ImathBox.h max[0] = point[0]; max 468 3rdparty/openexr/Imath/ImathBox.h if (point[1] > max[1]) max 469 3rdparty/openexr/Imath/ImathBox.h max[1] = point[1]; max 480 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] > max[0]) max 481 3rdparty/openexr/Imath/ImathBox.h max[0] = box.max[0]; max 486 3rdparty/openexr/Imath/ImathBox.h if (box.max[1] > max[1]) max 487 3rdparty/openexr/Imath/ImathBox.h max[1] = box.max[1]; max 495 3rdparty/openexr/Imath/ImathBox.h if (point[0] < min[0] || point[0] > max[0] || max 496 3rdparty/openexr/Imath/ImathBox.h point[1] < min[1] || point[1] > max[1]) max 507 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] < min[0] || box.min[0] > max[0] || max 508 3rdparty/openexr/Imath/ImathBox.h box.max[1] < min[1] || box.min[1] > max[1]) max 522 3rdparty/openexr/Imath/ImathBox.h return max - min; max 530 3rdparty/openexr/Imath/ImathBox.h return (max + min) / 2; max 538 3rdparty/openexr/Imath/ImathBox.h if (max[0] < min[0] || max 539 3rdparty/openexr/Imath/ImathBox.h max[1] < min[1]) max 549 3rdparty/openexr/Imath/ImathBox.h if (min[0] != limits<T>::min() || max[0] != limits<T>::max() || max 550 3rdparty/openexr/Imath/ImathBox.h min[1] != limits<T>::min() || max[1] != limits<T>::max()) max 561 3rdparty/openexr/Imath/ImathBox.h if (max[0] <= min[0] || max 562 3rdparty/openexr/Imath/ImathBox.h max[1] <= min[1]) max 593 3rdparty/openexr/Imath/ImathBox.h Vec3<T> max; max 655 3rdparty/openexr/Imath/ImathBox.h max = point; max 663 3rdparty/openexr/Imath/ImathBox.h max = maxT; max 671 3rdparty/openexr/Imath/ImathBox.h return (min == src.min && max == src.max); max 679 3rdparty/openexr/Imath/ImathBox.h return (min != src.min || max != src.max); max 687 3rdparty/openexr/Imath/ImathBox.h max = Vec3<T>(Vec3<T>::baseTypeMin()); max 694 3rdparty/openexr/Imath/ImathBox.h max = Vec3<T>(Vec3<T>::baseTypeMax()); max 705 3rdparty/openexr/Imath/ImathBox.h if (point[0] > max[0]) max 706 3rdparty/openexr/Imath/ImathBox.h max[0] = point[0]; max 711 3rdparty/openexr/Imath/ImathBox.h if (point[1] > max[1]) max 712 3rdparty/openexr/Imath/ImathBox.h max[1] = point[1]; max 717 3rdparty/openexr/Imath/ImathBox.h if (point[2] > max[2]) max 718 3rdparty/openexr/Imath/ImathBox.h max[2] = point[2]; max 729 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] > max[0]) max 730 3rdparty/openexr/Imath/ImathBox.h max[0] = box.max[0]; max 735 3rdparty/openexr/Imath/ImathBox.h if (box.max[1] > max[1]) max 736 3rdparty/openexr/Imath/ImathBox.h max[1] = box.max[1]; max 741 3rdparty/openexr/Imath/ImathBox.h if (box.max[2] > max[2]) max 742 3rdparty/openexr/Imath/ImathBox.h max[2] = box.max[2]; max 750 3rdparty/openexr/Imath/ImathBox.h if (point[0] < min[0] || point[0] > max[0] || max 751 3rdparty/openexr/Imath/ImathBox.h point[1] < min[1] || point[1] > max[1] || max 752 3rdparty/openexr/Imath/ImathBox.h point[2] < min[2] || point[2] > max[2]) max 763 3rdparty/openexr/Imath/ImathBox.h if (box.max[0] < min[0] || box.min[0] > max[0] || max 764 3rdparty/openexr/Imath/ImathBox.h box.max[1] < min[1] || box.min[1] > max[1] || max 765 3rdparty/openexr/Imath/ImathBox.h box.max[2] < min[2] || box.min[2] > max[2]) max 779 3rdparty/openexr/Imath/ImathBox.h return max - min; max 787 3rdparty/openexr/Imath/ImathBox.h return (max + min) / 2; max 795 3rdparty/openexr/Imath/ImathBox.h if (max[0] < min[0] || max 796 3rdparty/openexr/Imath/ImathBox.h max[1] < min[1] || max 797 3rdparty/openexr/Imath/ImathBox.h max[2] < min[2]) max 807 3rdparty/openexr/Imath/ImathBox.h if (min[0] != limits<T>::min() || max[0] != limits<T>::max() || max 808 3rdparty/openexr/Imath/ImathBox.h min[1] != limits<T>::min() || max[1] != limits<T>::max() || max 809 3rdparty/openexr/Imath/ImathBox.h min[2] != limits<T>::min() || max[2] != limits<T>::max()) max 820 3rdparty/openexr/Imath/ImathBox.h if (max[0] <= min[0] || max 821 3rdparty/openexr/Imath/ImathBox.h max[1] <= min[1] || max 822 3rdparty/openexr/Imath/ImathBox.h max[2] <= min[2]) max 101 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (p[i] > box.max[i]) max 102 3rdparty/openexr/Imath/ImathBoxAlgo.h q[i] = box.max[i]; max 138 3rdparty/openexr/Imath/ImathBoxAlgo.h Vec3<T> d2 = box.max - p; max 146 3rdparty/openexr/Imath/ImathBoxAlgo.h q.x = (d1.x < d2.x)? box.min.x: box.max.x; max 150 3rdparty/openexr/Imath/ImathBoxAlgo.h q.y = (d1.y < d2.y)? box.min.y: box.max.y; max 154 3rdparty/openexr/Imath/ImathBoxAlgo.h q.z = (d1.z < d2.z)? box.min.z: box.max.z; max 194 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.min[i] = newBox.max[i] = (S) m[3][i]; max 201 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; max 206 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.max[i] += b; max 211 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.max[i] += a; max 228 3rdparty/openexr/Imath/ImathBoxAlgo.h points[4][0] = points[5][0] = points[6][0] = points[7][0] = box.max[0]; max 231 3rdparty/openexr/Imath/ImathBoxAlgo.h points[2][1] = points[3][1] = points[6][1] = points[7][1] = box.max[1]; max 234 3rdparty/openexr/Imath/ImathBoxAlgo.h points[1][2] = points[3][2] = points[5][2] = points[7][2] = box.max[2]; max 278 3rdparty/openexr/Imath/ImathBoxAlgo.h result.min[i] = result.max[i] = (S) m[3][i]; max 285 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; max 290 3rdparty/openexr/Imath/ImathBoxAlgo.h result.max[i] += b; max 295 3rdparty/openexr/Imath/ImathBoxAlgo.h result.max[i] += a; max 312 3rdparty/openexr/Imath/ImathBoxAlgo.h points[4][0] = points[5][0] = points[6][0] = points[7][0] = box.max[0]; max 315 3rdparty/openexr/Imath/ImathBoxAlgo.h points[2][1] = points[3][1] = points[6][1] = points[7][1] = box.max[1]; max 318 3rdparty/openexr/Imath/ImathBoxAlgo.h points[1][2] = points[3][2] = points[5][2] = points[7][2] = box.max[2]; max 351 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.min[i] = newBox.max[i] = (S) m[3][i]; max 358 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; max 363 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.max[i] += b; max 368 3rdparty/openexr/Imath/ImathBoxAlgo.h newBox.max[i] += a; max 411 3rdparty/openexr/Imath/ImathBoxAlgo.h result.min[i] = result.max[i] = (S) m[3][i]; max 418 3rdparty/openexr/Imath/ImathBoxAlgo.h b = (S) m[j][i] * box.max[j]; max 423 3rdparty/openexr/Imath/ImathBoxAlgo.h result.max[i] += b; max 428 3rdparty/openexr/Imath/ImathBoxAlgo.h result.max[i] += a; max 491 3rdparty/openexr/Imath/ImathBoxAlgo.h const T TMAX = limits<T>::max(); max 502 3rdparty/openexr/Imath/ImathBoxAlgo.h T d1 = b.max.x - r.pos.x; max 516 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = b.max.x; max 517 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); max 518 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); max 526 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); max 527 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); max 530 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.x < b.min.x || r.pos.x > b.max.x) max 538 3rdparty/openexr/Imath/ImathBoxAlgo.h T d2 = b.max.x - r.pos.x; max 552 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); max 553 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); max 560 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = b.max.x; max 561 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); max 562 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); max 565 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.x < b.min.x || r.pos.x > b.max.x) max 577 3rdparty/openexr/Imath/ImathBoxAlgo.h T d1 = b.max.y - r.pos.y; max 591 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); max 592 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = b.max.y; max 593 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); max 600 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); max 602 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); max 605 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.y < b.min.y || r.pos.y > b.max.y) max 613 3rdparty/openexr/Imath/ImathBoxAlgo.h T d2 = b.max.y - r.pos.y; max 626 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); max 628 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = clamp (r.pos.z + t1 * r.dir.z, b.min.z, b.max.z); max 635 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); max 636 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = b.max.y; max 637 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = clamp (r.pos.z + t2 * r.dir.z, b.min.z, b.max.z); max 640 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.y < b.min.y || r.pos.y > b.max.y) max 652 3rdparty/openexr/Imath/ImathBoxAlgo.h T d1 = b.max.z - r.pos.z; max 666 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); max 667 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); max 668 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.z = b.max.z; max 675 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); max 676 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); max 680 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.z < b.min.z || r.pos.z > b.max.z) max 688 3rdparty/openexr/Imath/ImathBoxAlgo.h T d2 = b.max.z - r.pos.z; max 701 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.x = clamp (r.pos.x + t1 * r.dir.x, b.min.x, b.max.x); max 702 3rdparty/openexr/Imath/ImathBoxAlgo.h exit.y = clamp (r.pos.y + t1 * r.dir.y, b.min.y, b.max.y); max 710 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.x = clamp (r.pos.x + t2 * r.dir.x, b.min.x, b.max.x); max 711 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.y = clamp (r.pos.y + t2 * r.dir.y, b.min.y, b.max.y); max 712 3rdparty/openexr/Imath/ImathBoxAlgo.h entry.z = b.max.z; max 715 3rdparty/openexr/Imath/ImathBoxAlgo.h else if (r.pos.z < b.min.z || r.pos.z > b.max.z) max 785 3rdparty/openexr/Imath/ImathBoxAlgo.h const T TMAX = limits<T>::max(); max 796 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.x > b.max.x) max 799 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.x - r.pos.x; max 819 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); max 820 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); max 839 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.x >= b.max.x) max 841 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.x - r.pos.x; max 848 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = b.max.x; max 849 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); max 850 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); max 856 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.x < b.min.x || r.pos.x > b.max.x) max 866 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y > b.max.y) max 869 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.y - r.pos.y; max 888 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); max 890 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); max 909 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y >= b.max.y) max 911 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.y - r.pos.y; max 918 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); max 919 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = b.max.y; max 920 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = clamp (r.pos.z + t * r.dir.z, b.min.z, b.max.z); max 926 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.y < b.min.y || r.pos.y > b.max.y) max 936 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.z > b.max.z) max 939 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.z - r.pos.z; max 958 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); max 959 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); max 979 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.z >= b.max.z) max 981 3rdparty/openexr/Imath/ImathBoxAlgo.h T d = b.max.z - r.pos.z; max 988 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.x = clamp (r.pos.x + t * r.dir.x, b.min.x, b.max.x); max 989 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.y = clamp (r.pos.y + t * r.dir.y, b.min.y, b.max.y); max 990 3rdparty/openexr/Imath/ImathBoxAlgo.h ip.z = b.max.z; max 996 3rdparty/openexr/Imath/ImathBoxAlgo.h if (r.pos.z < b.min.z || r.pos.z > b.max.z) max 240 3rdparty/openexr/Imath/ImathColor.h static T baseTypeMax() {return limits<T>::max();} max 119 3rdparty/openexr/Imath/ImathColorAlgo.cpp double max = (x > y) ? ((x > z) ? x : z) : ((y > z) ? y : z); max 121 3rdparty/openexr/Imath/ImathColorAlgo.cpp double range = max - min; max 122 3rdparty/openexr/Imath/ImathColorAlgo.cpp double val = max; max 126 3rdparty/openexr/Imath/ImathColorAlgo.cpp if (max != 0) sat = range/max; max 132 3rdparty/openexr/Imath/ImathColorAlgo.cpp if (x == max) h = (y - z) / range; max 133 3rdparty/openexr/Imath/ImathColorAlgo.cpp else if (y == max) h = 2 + (z - x) / range; max 152 3rdparty/openexr/Imath/ImathColorAlgo.cpp double max = (r > g) ? ((r > b) ? r : b) : ((g > b) ? g : b); max 154 3rdparty/openexr/Imath/ImathColorAlgo.cpp double range = max - min; max 155 3rdparty/openexr/Imath/ImathColorAlgo.cpp double val = max; max 159 3rdparty/openexr/Imath/ImathColorAlgo.cpp if (max != 0) sat = range/max; max 165 3rdparty/openexr/Imath/ImathColorAlgo.cpp if (r == max) h = (g - b) / range; max 166 3rdparty/openexr/Imath/ImathColorAlgo.cpp else if (g == max) h = 2 + (b - r) / range; max 76 3rdparty/openexr/Imath/ImathColorAlgo.h Vec3<double> v = Vec3<double>(hsv.x / double(limits<T>::max()), max 77 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.y / double(limits<T>::max()), max 78 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.z / double(limits<T>::max())); max 80 3rdparty/openexr/Imath/ImathColorAlgo.h return Vec3<T>((T) (c.x * limits<T>::max()), max 81 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.y * limits<T>::max()), max 82 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.z * limits<T>::max())); max 99 3rdparty/openexr/Imath/ImathColorAlgo.h Color4<double> v = Color4<double>(hsv.r / float(limits<T>::max()), max 100 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.g / float(limits<T>::max()), max 101 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.b / float(limits<T>::max()), max 102 3rdparty/openexr/Imath/ImathColorAlgo.h hsv.a / float(limits<T>::max())); max 104 3rdparty/openexr/Imath/ImathColorAlgo.h return Color4<T>((T) (c.r * limits<T>::max()), max 105 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.g * limits<T>::max()), max 106 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.b * limits<T>::max()), max 107 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.a * limits<T>::max())); max 124 3rdparty/openexr/Imath/ImathColorAlgo.h Vec3<double> v = Vec3<double>(rgb.x / double(limits<T>::max()), max 125 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.y / double(limits<T>::max()), max 126 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.z / double(limits<T>::max())); max 128 3rdparty/openexr/Imath/ImathColorAlgo.h return Vec3<T>((T) (c.x * limits<T>::max()), max 129 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.y * limits<T>::max()), max 130 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.z * limits<T>::max())); max 147 3rdparty/openexr/Imath/ImathColorAlgo.h Color4<double> v = Color4<double>(rgb.r / float(limits<T>::max()), max 148 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.g / float(limits<T>::max()), max 149 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.b / float(limits<T>::max()), max 150 3rdparty/openexr/Imath/ImathColorAlgo.h rgb.a / float(limits<T>::max())); max 152 3rdparty/openexr/Imath/ImathColorAlgo.h return Color4<T>((T) (c.r * limits<T>::max()), max 153 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.g * limits<T>::max()), max 154 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.b * limits<T>::max()), max 155 3rdparty/openexr/Imath/ImathColorAlgo.h (T) (c.a * limits<T>::max())); max 171 3rdparty/openexr/Imath/ImathColorAlgo.h float x = c.x / float(limits<T>::max()); max 172 3rdparty/openexr/Imath/ImathColorAlgo.h float y = c.y / float(limits<T>::max()); max 173 3rdparty/openexr/Imath/ImathColorAlgo.h float z = c.z / float(limits<T>::max()); max 190 3rdparty/openexr/Imath/ImathColorAlgo.h float r = c.r / float(limits<T>::max()); max 191 3rdparty/openexr/Imath/ImathColorAlgo.h float g = c.g / float(limits<T>::max()); max 192 3rdparty/openexr/Imath/ImathColorAlgo.h float b = c.b / float(limits<T>::max()); max 193 3rdparty/openexr/Imath/ImathColorAlgo.h float a = c.a / float(limits<T>::max()); max 217 3rdparty/openexr/Imath/ImathColorAlgo.h T f = limits<T>::max() / ((PackedColor)0xFF); max 237 3rdparty/openexr/Imath/ImathColorAlgo.h T f = limits<T>::max() / ((PackedColor)0xFF); max 159 3rdparty/openexr/Imath/ImathFrustum.h T ZToDepth(long zval, long min, long max) const; max 346 3rdparty/openexr/Imath/ImathFrustum.h abs(rightMinusLeft) > limits<T>::max() * abs(topMinusBottom)) max 368 3rdparty/openexr/Imath/ImathFrustum.h abs(rightPlusLeft) > limits<T>::max() * abs(rightMinusLeft)) || max 370 3rdparty/openexr/Imath/ImathFrustum.h abs(topPlusBottom) > limits<T>::max() * abs(topMinusBottom)) || max 372 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear))) max 385 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(rightMinusLeft)) || max 387 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(topMinusBottom)) || max 389 3rdparty/openexr/Imath/ImathFrustum.h 2 > limits<T>::max() * abs(farMinusNear))) max 412 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(farMinusNear)) max 423 3rdparty/openexr/Imath/ImathFrustum.h abs(twoTimesNear) > limits<T>::max() * abs(rightMinusLeft)) || max 425 3rdparty/openexr/Imath/ImathFrustum.h abs(twoTimesNear) > limits<T>::max() * abs(topMinusBottom))) max 477 3rdparty/openexr/Imath/ImathFrustum.h abs(leftPlusRight) > limits<T>::max() * abs(leftMinusRight)) || max 479 3rdparty/openexr/Imath/ImathFrustum.h abs(bottomPlusTop) > limits<T>::max() * abs(bottomMinusTop))) max 543 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(farMinusNear)) max 566 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear)) max 582 3rdparty/openexr/Imath/ImathFrustum.h abs(farTimesNear) > limits<T>::max() * abs(depth)) max 591 3rdparty/openexr/Imath/ImathFrustum.h abs(farPlusNear) > limits<T>::max() * abs(farMinusNear)) max 616 3rdparty/openexr/Imath/ImathFrustum.h if (abs(p.z) > 1 || abs(-_nearPlane) < limits<T>::max() * abs(p.z)) max 633 3rdparty/openexr/Imath/ImathFrustum.h if (abs(-_nearPlane) > 1 || abs(p.z) < limits<T>::max() * abs(-_nearPlane)) max 309 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> center = (box.min + box.max) / 2; max 310 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> extent = (box.max - center); max 347 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> center = (box.min + box.max) / 2; max 348 3rdparty/openexr/Imath/ImathFrustumTest.h Vec3<T> extent = (box.max - center); max 100 3rdparty/openexr/Imath/ImathFun.h if (abs(d) > T(1) || abs(n) < limits<T>::max() * abs(d)) max 56 3rdparty/openexr/Imath/ImathHalfLimits.h static float max() {return HALF_MAX;} max 67 3rdparty/openexr/Imath/ImathInterval.h T max; max 134 3rdparty/openexr/Imath/ImathInterval.h max = point; max 141 3rdparty/openexr/Imath/ImathInterval.h max = maxV; max 148 3rdparty/openexr/Imath/ImathInterval.h return (min == src.min && max == src.max); max 155 3rdparty/openexr/Imath/ImathInterval.h min = limits<T>::max(); max 156 3rdparty/openexr/Imath/ImathInterval.h max = limits<T>::min(); max 166 3rdparty/openexr/Imath/ImathInterval.h if ( point > max ) max 167 3rdparty/openexr/Imath/ImathInterval.h max = point; max 177 3rdparty/openexr/Imath/ImathInterval.h if ( interval.max > max ) max 178 3rdparty/openexr/Imath/ImathInterval.h max = interval.max; max 185 3rdparty/openexr/Imath/ImathInterval.h return point >= min && point <= max; max 192 3rdparty/openexr/Imath/ImathInterval.h return interval.max >= min && interval.min <= max; max 199 3rdparty/openexr/Imath/ImathInterval.h return max-min; max 206 3rdparty/openexr/Imath/ImathInterval.h return (max+min)/2; max 213 3rdparty/openexr/Imath/ImathInterval.h return max < min; max 219 3rdparty/openexr/Imath/ImathInterval.h return max > min; max 57 3rdparty/openexr/Imath/ImathLimits.h #ifdef max max 120 3rdparty/openexr/Imath/ImathLimits.h static T max(); max 136 3rdparty/openexr/Imath/ImathLimits.h static char max() {return CHAR_MAX;} max 147 3rdparty/openexr/Imath/ImathLimits.h static signed char max() {return SCHAR_MAX;} max 158 3rdparty/openexr/Imath/ImathLimits.h static unsigned char max() {return UCHAR_MAX;} max 169 3rdparty/openexr/Imath/ImathLimits.h static short max() {return SHRT_MAX;} max 180 3rdparty/openexr/Imath/ImathLimits.h static unsigned short max() {return USHRT_MAX;} max 191 3rdparty/openexr/Imath/ImathLimits.h static int max() {return INT_MAX;} max 202 3rdparty/openexr/Imath/ImathLimits.h static unsigned int max() {return UINT_MAX;} max 213 3rdparty/openexr/Imath/ImathLimits.h static long max() {return LONG_MAX;} max 224 3rdparty/openexr/Imath/ImathLimits.h static unsigned long max() {return ULONG_MAX;} max 235 3rdparty/openexr/Imath/ImathLimits.h static float max() {return FLT_MAX;} max 246 3rdparty/openexr/Imath/ImathLimits.h static double max() {return DBL_MAX;} max 257 3rdparty/openexr/Imath/ImathLimits.h static long double max() {return LDBL_MAX;} max 162 3rdparty/openexr/Imath/ImathLine.h if (absNum >= absDenom * limits<T>::max()) max 107 3rdparty/openexr/Imath/ImathLineAlgo.h (abs (n1) < limits<T>::max() * absD && max 108 3rdparty/openexr/Imath/ImathLineAlgo.h abs (n2) < limits<T>::max() * absD)) max 175 3rdparty/openexr/Imath/ImathLineAlgo.h if (abs (nd) > 1 || abs (d) < limits<T>::max() * abs (nd)) max 405 3rdparty/openexr/Imath/ImathMatrix.h static T baseTypeMax() {return limits<T>::max();} max 804 3rdparty/openexr/Imath/ImathMatrix.h static T baseTypeMax() {return limits<T>::max();} max 631 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][1])); max 632 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][2])); max 633 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][0])); max 634 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][2])); max 635 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][0])); max 636 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][1])); max 650 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); max 1095 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); max 802 3rdparty/openexr/Imath/ImathMatrixAlgo.h if ((abs (scl) < 1 && abs (row[i]) >= limits<T>::max() * abs (scl))) max 1299 3rdparty/openexr/Imath/ImathMatrixAlgo.h if ((abs (scl) < 1 && abs (row[i]) >= limits<T>::max() * abs (scl))) max 640 3rdparty/openexr/Imath/ImathQuat.h if (abs (sintheta) < 1 && abs (theta) >= limits<T>::max() * abs (sintheta)) max 663 3rdparty/openexr/Imath/ImathQuat.h if (abs (theta) < 1 && abs (sintheta) >= limits<T>::max() * abs (theta)) max 207 3rdparty/openexr/Imath/ImathShear.h static T baseTypeMax() {return limits<T>::max();} max 111 3rdparty/openexr/Imath/ImathSphere.h center = T(0.5) * (box.min + box.max); max 112 3rdparty/openexr/Imath/ImathSphere.h radius = (box.max - center).length(); max 247 3rdparty/openexr/Imath/ImathVec.h static T baseTypeMax() {return limits<T>::max();} max 459 3rdparty/openexr/Imath/ImathVec.h static T baseTypeMax() {return limits<T>::max();} max 641 3rdparty/openexr/Imath/ImathVec.h static T baseTypeMax() {return limits<T>::max();} max 1149 3rdparty/openexr/Imath/ImathVec.h T max = absX; max 1151 3rdparty/openexr/Imath/ImathVec.h if (max < absY) max 1152 3rdparty/openexr/Imath/ImathVec.h max = absY; max 1154 3rdparty/openexr/Imath/ImathVec.h if (max == T (0)) max 1163 3rdparty/openexr/Imath/ImathVec.h absX /= max; max 1164 3rdparty/openexr/Imath/ImathVec.h absY /= max; max 1166 3rdparty/openexr/Imath/ImathVec.h return max * Math<T>::sqrt (absX * absX + absY * absY); max 1636 3rdparty/openexr/Imath/ImathVec.h T max = absX; max 1638 3rdparty/openexr/Imath/ImathVec.h if (max < absY) max 1639 3rdparty/openexr/Imath/ImathVec.h max = absY; max 1641 3rdparty/openexr/Imath/ImathVec.h if (max < absZ) max 1642 3rdparty/openexr/Imath/ImathVec.h max = absZ; max 1644 3rdparty/openexr/Imath/ImathVec.h if (max == T (0)) max 1653 3rdparty/openexr/Imath/ImathVec.h absX /= max; max 1654 3rdparty/openexr/Imath/ImathVec.h absY /= max; max 1655 3rdparty/openexr/Imath/ImathVec.h absZ /= max; max 1657 3rdparty/openexr/Imath/ImathVec.h return max * Math<T>::sqrt (absX * absX + absY * absY + absZ * absZ); max 2035 3rdparty/openexr/Imath/ImathVec.h T max = absX; max 2037 3rdparty/openexr/Imath/ImathVec.h if (max < absY) max 2038 3rdparty/openexr/Imath/ImathVec.h max = absY; max 2040 3rdparty/openexr/Imath/ImathVec.h if (max < absZ) max 2041 3rdparty/openexr/Imath/ImathVec.h max = absZ; max 2043 3rdparty/openexr/Imath/ImathVec.h if (max < absW) max 2044 3rdparty/openexr/Imath/ImathVec.h max = absW; max 2046 3rdparty/openexr/Imath/ImathVec.h if (max == T (0)) max 2055 3rdparty/openexr/Imath/ImathVec.h absX /= max; max 2056 3rdparty/openexr/Imath/ImathVec.h absY /= max; max 2057 3rdparty/openexr/Imath/ImathVec.h absZ /= max; max 2058 3rdparty/openexr/Imath/ImathVec.h absW /= max; max 2060 3rdparty/openexr/Imath/ImathVec.h return max * max 42 3rdparty/zlib/inftrees.c unsigned min, max; /* minimum and maximum code lengths */ max 114 3rdparty/zlib/inftrees.c for (max = MAXBITS; max >= 1; max--) max 115 3rdparty/zlib/inftrees.c if (count[max] != 0) break; max 116 3rdparty/zlib/inftrees.c if (root > max) root = max; max 117 3rdparty/zlib/inftrees.c if (max == 0) { /* no symbols to code at all */ max 126 3rdparty/zlib/inftrees.c for (min = 1; min < max; min++) max 137 3rdparty/zlib/inftrees.c if (left > 0 && (type == CODES || max != 1)) max 255 3rdparty/zlib/inftrees.c if (len == max) break; max 271 3rdparty/zlib/inftrees.c while (curr + drop < max) { max 84 apps/traincascade/boost.cpp val = max( val, eps ); max 75 apps/traincascade/imagestorage.cpp scale = max( ((float)winSize.width + point.x) / ((float)src.cols), max 124 apps/traincascade/old_ml_data.cpp header_lines_number = std::max(0, idx); max 644 apps/traincascade/old_ml_data.cpp train_sample_count = std::max(1, cvFloor( train_sample_portion * sample_count )); max 2283 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx1/(cx1_0 - inner1.x), (double)cy1/(cy1_0 - inner1.y)), max 2286 modules/calib3d/src/calibration.cpp s0 = std::max(std::max(std::max(std::max((double)cx2/(cx2_0 - inner2.x), (double)cy2/(cy2_0 - inner2.y)), max 2370 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx/(cx0 - inner.x), (double)cy/(cy0 - inner.y)), max 112 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(minLoc.x, minLoc.y); max 272 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(maxLoc.x, maxLoc.y); max 764 modules/calib3d/src/circlesgrid.cpp while (holesRow.size() > std::max(patternSize.width, patternSize.height)) max 868 modules/calib3d/src/circlesgrid.cpp double minDist = std::numeric_limits<double>::max(); max 20 modules/calib3d/src/dls.cpp N = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); max 178 modules/calib3d/src/dls.h for (int j = std::max(i - 1, 0); j < nn; j++) { max 557 modules/calib3d/src/dls.h t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); max 15 modules/calib3d/src/epnp.cpp number_of_correspondences = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); max 518 modules/calib3d/src/fisheye.cpp balance = std::min(std::max(balance, 0.0), 1.0); max 557 modules/calib3d/src/fisheye.cpp maxy = std::max(maxy, pptr[i][1]); max 559 modules/calib3d/src/fisheye.cpp maxx = std::max(maxx, pptr[i][0]); max 566 modules/calib3d/src/fisheye.cpp if (i % 4 == 0) miny = std::max(miny, pptr[i][1]); max 568 modules/calib3d/src/fisheye.cpp if (i % 4 == 2) minx = std::max(minx, pptr[i][0]); max 579 modules/calib3d/src/fisheye.cpp double fmax = std::max(f1, std::max(f2, std::max(f3, f4))); max 744 modules/calib3d/src/fisheye.cpp finalParam.Init(Vec2d(max(image_size.width, image_size.height) / CV_PI, max(image_size.width, image_size.height) / CV_PI), max 719 modules/calib3d/src/fundam.cpp err[i] = (float)std::max(d1*d1*s1, d2*d2*s2); max 154 modules/calib3d/src/levmarq.cpp nu = std::min(std::max(nu, 2.), 10.); max 160 modules/calib3d/src/levmarq.cpp maxval = std::max(maxval, std::abs(Ap.at<double>(i,i))); max 295 modules/calib3d/src/opencl/stereobm.cl int cov1 = input[ max(y-1, 0) * cols + x] * 1 + max 296 modules/calib3d/src/opencl/stereobm.cl input[y * cols + max(x-1,0)] * 1 + input[ y * cols + x] * 4 + input[y * cols + min(x+1, cols-1)] * 1 + max 64 modules/calib3d/src/quadsubpix.cpp double min_dist = std::numeric_limits<double>::max(); max 98 modules/calib3d/src/quadsubpix.cpp double min_dist = std::numeric_limits<double>::max(); max 60 modules/calib3d/src/solvepnp.cpp int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); max 61 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); max 229 modules/calib3d/src/solvepnp.cpp int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); max 230 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); max 626 modules/calib3d/src/stereobm.cpp lptr = lptr0 + std::min(std::max(x, -lofs), width-lofs-1) - dy0*sstep; max 627 modules/calib3d/src/stereobm.cpp rptr = rptr0 + std::min(std::max(x, -rofs), width-rofs-1) - dy0*sstep; max 908 modules/calib3d/src/stereobm.cpp int sizeX = devDef.isIntel() ? 32 : std::max(11, 27 - devDef.maxComputeUnits()), max 1109 modules/calib3d/src/stereobm.cpp int lofs = std::max(ndisp - 1 + mindisp, 0); max 1145 modules/calib3d/src/stereobm.cpp double maxStripeSize = std::min(std::max(N0 / (width * ndisp), (wsz-1) * SAD_overhead_coeff), (double)height); max 1147 modules/calib3d/src/stereobm.cpp int bufSize = std::max(bufSize0 * nstripes, std::max(bufSize1 * 2, bufSize2)); max 128 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); max 129 modules/calib3d/src/stereosgbm.cpp int minX2 = std::max(minX1 - maxD, 0), maxX2 = std::min(maxX1 - minD, width); max 201 modules/calib3d/src/stereosgbm.cpp int v1 = std::max(vl, vr); v1 = std::max(v1, v); max 212 modules/calib3d/src/stereosgbm.cpp int u1 = std::max(ul, ur); u1 = std::max(u1, u); max 245 modules/calib3d/src/stereosgbm.cpp int c0 = std::max(0, u - v1); c0 = std::max(c0, v0 - u); max 246 modules/calib3d/src/stereosgbm.cpp int c1 = std::max(0, v - u1); c1 = std::max(c1, u0 - v); max 338 modules/calib3d/src/stereosgbm.cpp int ftzero = std::max(params.preFilterCap, 15) | 1; max 341 modules/calib3d/src/stereosgbm.cpp int P1 = params.P1 > 0 ? params.P1 : 2, P2 = std::max(params.P2 > 0 ? params.P2 : 5, P1+1); max 343 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); max 353 modules/calib3d/src/stereosgbm.cpp clipTab[k] = (PixType)(std::min(std::max(k - TAB_OFS, -ftzero), ftzero) + ftzero); max 463 modules/calib3d/src/stereosgbm.cpp const CostType* hsumSub = hsumBuf + (std::max(y - SH2 - 1, 0) % hsumBufNRows)*costBufSize; max 469 modules/calib3d/src/stereosgbm.cpp const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0); max 504 modules/calib3d/src/stereosgbm.cpp const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0); max 800 modules/calib3d/src/stereosgbm.cpp int denom2 = std::max(Sp[d-1] + Sp[d+1] - 2*Sp[d], 1); max 964 modules/calib3d/src/stereosgbm.cpp int xmin = std::max(roi1.x, roi2.x + maxD) + SW2; max 966 modules/calib3d/src/stereosgbm.cpp int ymin = std::max(roi1.y, roi2.y) + SW2; max 1129 modules/calib3d/src/stereosgbm.cpp int x, minX1 = std::max(maxD, 0), maxX1 = cols + std::min(minD, 0); max 62 modules/calib3d/src/upnp.cpp number_of_correspondences = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); max 376 modules/calib3d/src/upnp.cpp double min_error = std::numeric_limits<double>::max(); max 1636 modules/calib3d/test/test_cameracalibration.cpp maxDiff_c = max(maxDiff_c, diff_c); max 1637 modules/calib3d/test/test_cameracalibration.cpp maxDiff_uc = max(maxDiff_uc, diff_uc); max 104 modules/calib3d/test/test_chesscorners.cpp double err = numeric_limits<double>::max(); max 337 modules/calib3d/test/test_chesscorners.cpp double minNeibDist = std::numeric_limits<double>::max(); max 362 modules/calib3d/test/test_chesscorners.cpp double cbsize = (max(cornersSize.width, cornersSize.height) + 1) * minNeibDist; max 76 modules/calib3d/test/test_cornerssubpix.cpp double min_dist = std::numeric_limits<double>::max(); max 292 modules/calib3d/test/test_fisheye.cpp param.Init(cv::Vec2d(cv::max(imageSize.width, imageSize.height) / CV_PI, cv::max(imageSize.width, imageSize.height) / CV_PI), max 113 modules/calib3d/test/test_reproject_image_to_3d.cpp template<class InT, class OutT> void runCase(int caseId, InT min, InT max) max 120 modules/calib3d/test/test_reproject_image_to_3d.cpp randu(disp, Scalar(min), Scalar(max)); max 133 modules/calib3d/test/test_reproject_image_to_3d.cpp if (numeric_limits<OutT>::max() == numeric_limits<float>::max()) max 178 modules/calib3d/test/test_stereomatching.cpp rightDisp.at<float>(rightY,rightX) = max(rightDisp.at<float>(rightY,rightX), leftDispVal); max 244 modules/calib3d/test/test_stereomatching.cpp curDisp.setTo( Scalar(numeric_limits<float>::max()), unknDispMask ); max 246 modules/calib3d/test/test_stereomatching.cpp depthDiscontMask = max( (Mat)(maxNeighbDisp-disp), (Mat)(disp-minNeighbDisp) ) > dispGap; max 477 modules/calib3d/test/test_stereomatching.cpp int ignBorder = max(runStereoMatchingAlgorithm(leftImg, rightImg, leftDisp, rightDisp, ci), EVAL_IGNORE_BORDER); max 1324 modules/core/include/opencv2/core.hpp CV_EXPORTS_W void max(InputArray src1, InputArray src2, OutputArray dst); max 1328 modules/core/include/opencv2/core.hpp CV_EXPORTS void max(const Mat& src1, const Mat& src2, Mat& dst); max 1332 modules/core/include/opencv2/core.hpp CV_EXPORTS void max(const UMat& src1, const UMat& src2, UMat& dst); max 356 modules/core/include/opencv2/core/affine.hpp rx = std::sqrt(std::max(t, 0.0)); max 358 modules/core/include/opencv2/core/affine.hpp ry = std::sqrt(std::max(t, 0.0)) * (R.val[1] < 0 ? -1.0 : 1.0); max 360 modules/core/include/opencv2/core/affine.hpp rz = std::sqrt(std::max(t, 0.0)) * (R.val[2] < 0 ? -1.0 : 1.0); max 471 modules/core/include/opencv2/core/base.hpp s = std::max(s, (_AccTp)cv_abs(a[i])); max 553 modules/core/include/opencv2/core/base.hpp s = std::max(s, std::abs(v0)); max 146 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(x, 0); max 186 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(y, 0); max 226 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(y, 0); max 241 modules/core/include/opencv2/core/cuda/border_interpolate.hpp return ::max(x, 0); max 65 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ T max() { return numeric_limits<T>::max(); } max 66 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp static __device__ __forceinline__ T half() { return (T)(max()/2 + 1); } max 87 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return ColorChannel<T>::max(); max 323 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 603 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 761 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 912 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 959 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp v = ::max(v, g); max 960 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp v = ::max(v, r); max 991 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp v = ::max(v, g); max 992 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp v = ::max(v, r); max 1190 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 1463 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<T>::max()); max 1576 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int ix = ::min(::max(int(x), 0), n-1); max 1711 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<float>::max()); max 1728 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 1911 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<float>::max()); max 1928 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 319 modules/core/include/opencv2/core/cuda/functional.hpp return max(lhs, rhs); max 325 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, uchar, ::max) max 326 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, schar, ::max) max 327 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, char, ::max) max 328 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, ushort, ::max) max 329 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, short, ::max) max 330 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, int, ::max) max 331 modules/core/include/opencv2/core/cuda/functional.hpp OPENCV_CUDA_IMPLEMENT_MINMAX(maximum, uint, ::max) max 143 modules/core/include/opencv2/core/cuda/simd_functions.hpp u = ::max(r, s); // maximum of low halfwords max 147 modules/core/include/opencv2/core/cuda/simd_functions.hpp t = ::max(r, s); // maximum of high halfwords max 443 modules/core/include/opencv2/core/cuda/simd_functions.hpp t = ::max(r, s); // maximum of low halfwords max 446 modules/core/include/opencv2/core/cuda/simd_functions.hpp u = ::max(r, s); // maximum of high halfwords max 774 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, uchar, uchar) max 775 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, char, char) max 776 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, ushort, ushort) max 777 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, short, short) max 778 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, uint, uint) max 779 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, int, int) max 780 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::fmaxf, float, float) max 781 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::fmax, double, double) max 848 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, uchar, uchar, uchar) max 849 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, uchar, float, float) max 850 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, uchar, double, double) max 851 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, char, char, char) max 852 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, char, float, float) max 853 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, char, double, double) max 854 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, ushort, ushort, ushort) max 855 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, ushort, float, float) max 856 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, ushort, double, double) max 857 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, short, short, short) max 858 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, short, float, float) max 859 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, short, double, double) max 860 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, uint, uint, uint) max 861 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, uint, float, float) max 862 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, uint, double, double) max 863 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, int, int, int) max 864 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, int, float, float) max 865 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, int, double, double) max 866 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, float, float, float) max 867 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, float, double, double) max 868 modules/core/include/opencv2/core/cuda/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, double, double, double) max 71 modules/core/include/opencv2/core/cvstd.hpp using std::max; max 158 modules/core/include/opencv2/core/cvstd.hpp size_type max_size() const { return cv::max(static_cast<_Tp>(-1)/sizeof(_Tp), 1); } max 90 modules/core/include/opencv2/core/cvstd.inl.hpp pos = max(pos, strlen); max 3370 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr max(const Mat& a, const Mat& b); max 3371 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr max(const Mat& a, double s); max 3372 modules/core/include/opencv2/core/mat.hpp CV_EXPORTS MatExpr max(double s, const Mat& a); max 2982 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, (const Mat&)b); max 2988 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); max 2994 modules/core/include/opencv2/core/mat.inl.hpp return cv::max((const Mat&)a, s); max 1682 modules/core/include/opencv2/core/types.hpp width = std::max(pt1.x, pt2.x) - x; max 1683 modules/core/include/opencv2/core/types.hpp height = std::max(pt1.y, pt2.y) - y; max 1768 modules/core/include/opencv2/core/types.hpp _Tp x1 = std::max(a.x, b.x); max 1769 modules/core/include/opencv2/core/types.hpp _Tp y1 = std::max(a.y, b.y); max 1784 modules/core/include/opencv2/core/types.hpp a.width = std::max(a.x + a.width, b.x + b.width) - x1; max 1785 modules/core/include/opencv2/core/types.hpp a.height = std::max(a.y + a.height, b.y + b.height) - y1; max 1899 modules/core/include/opencv2/core/types.hpp Range r(std::max(r1.start, r2.start), std::min(r1.end, r2.end)); max 1900 modules/core/include/opencv2/core/types.hpp r.end = std::max(r.end, r.start); max 30 modules/core/misc/java/src/cpp/core_manual.hpp CV_EXPORTS_W void max(InputArray src1, Scalar src2, OutputArray dst); max 45 modules/core/misc/java/src/java/core+Range.java Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end)); max 46 modules/core/misc/java/src/java/core+Range.java r.end = Math.max(r.end, r.start); max 72 modules/core/misc/java/src/java/core+RotatedRect.java (int) Math.ceil(Math.max(Math.max(Math.max(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), max 73 modules/core/misc/java/src/java/core+RotatedRect.java (int) Math.ceil(Math.max(Math.max(Math.max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); max 957 modules/core/misc/java/test/CoreTest.java Core.max(gray0, gray255, dst); max 966 modules/core/misc/java/test/CoreTest.java Core.max(x, y, dst); max 899 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() cv::max(src1, src2, dst); max 43 modules/core/perf/perf_arithm.cpp PERF_TEST_P(Size_MatType, max, TYPICAL_MATS_CORE_ARITHM) max 53 modules/core/perf/perf_arithm.cpp TEST_CYCLE() max(a, b, c); max 68 modules/core/perf/perf_arithm.cpp TEST_CYCLE() max(a, b, c); max 1818 modules/core/src/arithm.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), wdepth = std::max(CV_32S, CV_MAT_DEPTH(wtype)); max 1953 modules/core/src/arithm.cpp (!usrdata ? type1 : std::max(depth1, CV_32F)), max 2022 modules/core/src/arithm.cpp depth1 <= CV_32S && depth2 <= CV_32S ? CV_32S : std::max(depth1, depth2); max 2023 modules/core/src/arithm.cpp wtype = std::max(wtype, dtype); max 2033 modules/core/src/arithm.cpp wtype = std::max(depth1, std::max(depth2, CV_32F)); max 2034 modules/core/src/arithm.cpp wtype = std::max(wtype, dtype); max 5600 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn); max 6028 modules/core/src/arithm.cpp cv::max( src1, cv::cvarrToMat(srcarr2), dst ); max 6048 modules/core/src/arithm.cpp cv::max( src1, value, dst ); max 3022 modules/core/src/array.cpp rect.x = std::max(rect.x, 0); max 3023 modules/core/src/array.cpp rect.y = std::max(rect.y, 0); max 5504 modules/core/src/convert.cpp int wdepth = std::max(depth, CV_32F); max 5959 modules/core/src/convert.cpp parallel_for_(all, *body, (double)std::max((size_t)1, dst.total()>>16)); max 5995 modules/core/src/convert.cpp ddepth = CV_MAT_DEPTH(dtype), wdepth = std::max(CV_32F, std::max(sdepth, ddepth)), max 698 modules/core/src/copy.cpp kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn; max 1374 modules/core/src/copy.cpp int pair[] = { std::max(coi1-1, 0), std::max(coi2-1, 0) }; max 226 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows); max 227 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - step * (wholeSize.height - 1)) / esz), ofs.x + cols); max 238 modules/core/src/cuda_gpu_mat.cpp int row1 = std::max(ofs.y - dtop, 0); max 241 modules/core/src/cuda_gpu_mat.cpp int col1 = std::max(ofs.x - dleft, 0); max 308 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / static_cast<size_t>(obj.step) + 1), obj.rows); max 309 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - static_cast<size_t>(obj.step) * (wholeSize.height - 1)) / esz), obj.cols); max 183 modules/core/src/downhill_simplex.cpp std::max(_step.cols, _step.rows) >= 2 && max 337 modules/core/src/downhill_simplex.cpp maxval = std::max(maxval, pval); max 339 modules/core/src/downhill_simplex.cpp range = std::max(range, fabs(maxval - minval)); max 229 modules/core/src/kmeans.cpp attempts = std::max(attempts, 1); max 266 modules/core/src/kmeans.cpp criteria.epsilon = std::max(criteria.epsilon, 0.); max 272 modules/core/src/kmeans.cpp criteria.maxCount = std::min(std::max(criteria.maxCount, 2), 100); max 293 modules/core/src/kmeans.cpp box[j][1] = std::max(box[j][1], v); max 426 modules/core/src/kmeans.cpp max_center_shift = std::max(max_center_shift, dist); max 399 modules/core/src/lapack.cpp int i, j, k, iter, max_iter = std::max(m, 30); max 1595 modules/core/src/lapack.cpp int m = a.rows, n = a.cols, type = a.type(), mn = std::max(m, n), nm = std::min(m, n); max 340 modules/core/src/lda.cpp for (int j = std::max(i - 1, 0); j < nn; j++) { max 719 modules/core/src/lda.cpp t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); max 1185 modules/core/src/mathfuncs.cpp std::numeric_limits<T>::max(), 1, power == -1 ? 1 : 0 max 1656 modules/core/src/mathfuncs.cpp a.f = (float)std::max(minVal, (double)-FLT_MAX); max 2095 modules/core/src/mathfuncs.cpp maxDiff = std::max(maxDiff, cv::abs(num)); max 2278 modules/core/src/matmul.cpp int cn = CV_MAT_CN(type), wdepth = std::max(depth, CV_32F); max 2367 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); max 2412 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); max 2462 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), mean.depth()), CV_32F); max 2474 modules/core/src/matmul.cpp ctype = std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), CV_32F); max 2782 modules/core/src/matmul.cpp dtype = std::max(std::max(CV_MAT_DEPTH(dtype >= 0 ? dtype : stype), delta.depth()), CV_32F); max 1349 modules/core/src/matop.cpp cv::max(e.a, e.b, dst); max 1351 modules/core/src/matop.cpp cv::max(e.a, e.s[0], dst); max 728 modules/core/src/matrix.cpp reserve( std::max(r + 1, (r*3+1)/2) ); max 751 modules/core/src/matrix.cpp size.p[0] = std::max((int)nelems, 1); max 826 modules/core/src/matrix.cpp reserve( std::max(r + delta, (r*3+1)/2) ); max 900 modules/core/src/matrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); max 902 modules/core/src/matrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); max 911 modules/core/src/matrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); max 912 modules/core/src/matrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); max 3549 modules/core/src/matrix.cpp int wdepth = std::max(ddepth, CV_32F); max 3620 modules/core/src/matrix.cpp size_t globalsize = std::max(dsize.width, dsize.height); max 4338 modules/core/src/matrix.cpp iterdepth = std::max(iterdepth, j); max 4517 modules/core/src/matrix.cpp int y1 = std::min(std::max((int)y, 0), m->rows-1); max 5078 modules/core/src/matrix.cpp newsize = std::max(newsize, (size_t)8); max 5111 modules/core/src/matrix.cpp resizeHashTab(std::max(hsize*2, (size_t)8)); max 5118 modules/core/src/matrix.cpp newpsize = std::max(psize*3/2, 8*nsz); max 5122 modules/core/src/matrix.cpp hdr->freeList = std::max(psize, nsz); max 5230 modules/core/src/matrix.cpp result = std::max(result, std::abs((double)it.value<float>())); max 5245 modules/core/src/matrix.cpp result = std::max(result, std::abs(it.value<double>())); max 5389 modules/core/src/matrix.cpp cvCeil(std::max(std::max(std::max(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), max 5390 modules/core/src/matrix.cpp cvCeil(std::max(std::max(std::max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); max 190 modules/core/src/opencl/arithm.cl #define PROCESS_ELEM storedst(max(srcelem1, srcelem2)) max 46 modules/core/src/opencl/minmaxloc.cl #define MAX(a, b) max(a, b) max 84 modules/core/src/opencl/reduce2.cl #define PROCESS_ELEM(acc, value) acc = max(value, acc) max 452 modules/core/src/parallel.cpp return std::max(0, (int)Concurrency::Context::VirtualProcessorId()); // zero for master thread, unique number for others but not necessary 1,2,3,... max 422 modules/core/src/parallel_pthreads.cpp nstripes = std::max(nstripes, min_stripes); max 563 modules/core/src/parallel_pthreads.cpp result = std::max(1u, result); max 97 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); max 197 modules/core/src/pca.cpp L = std::max(2, L); max 234 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); max 151 modules/core/src/precomp.hpp T operator ()(const T a, const T b) const { return std::max(a, b); } max 543 modules/core/src/rand.cpp double b = std::max(p1[j], p2[j]); max 546 modules/core/src/rand.cpp a = std::max(a, depth == CV_8U || depth == CV_16U ? 0. : max 579 modules/core/src/rand.cpp ds[j].sh2 = std::max(l - 1, 0); max 1059 modules/core/src/stat.cpp mcn = std::max(cn, kercn); max 1069 modules/core/src/stat.cpp int ddepth = std::max(sum_op == OCL_OP_SUM_SQR ? CV_32F : CV_32S, depth), max 1525 modules/core/src/stat.cpp int ddepth = std::max(CV_32S, depth), sqddepth = std::max(CV_32F, depth), max 1591 modules/core/src/stat.cpp stddev[i] = std::sqrt(std::max(stddev[i] * total - mean[i] * mean[i] , 0.)); max 1809 modules/core/src/stat.cpp sq[k] = std::sqrt(std::max(sq[k]*scale - s[k]*s[k], 0.)); max 1959 modules/core/src/stat.cpp uint index_max = std::numeric_limits<uint>::max(); max 1960 modules/core/src/stat.cpp T minval = std::numeric_limits<T>::max(); max 1961 modules/core/src/stat.cpp T maxval = std::numeric_limits<T>::min() > 0 ? -std::numeric_limits<T>::max() : std::numeric_limits<T>::min(), maxval2 = maxval; max 2223 modules/core/src/stat.cpp Ipp32f min, max; max 2225 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], mask.ptr(), (int)mask.step[0], sz, &min, &max, &minp, &maxp) >= 0 ) max 2230 modules/core/src/stat.cpp *maxVal = (double)max; max 2266 modules/core/src/stat.cpp Ipp32f min, max; max 2268 modules/core/src/stat.cpp if( ippFuncC1(src.ptr(), (int)src.step[0], sz, &min, &max, &minp, &maxp) >= 0 ) max 2273 modules/core/src/stat.cpp *maxVal = (double)max; max 2360 modules/core/src/stat.cpp result = std::max(result, normInf<T, ST>(src, len*cn)); max 2368 modules/core/src/stat.cpp result = std::max(result, ST(cv_abs(src[k]))); max 2426 modules/core/src/stat.cpp result = std::max(result, normInf<T, ST>(src1, src2, len*cn)); max 2434 modules/core/src/stat.cpp result = std::max(result, (ST)std::abs(src1[k] - src2[k])); max 2587 modules/core/src/stat.cpp std::max(depth, CV_32S), depth != CV_8U && depth != CV_16U)) max 2784 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : max 2964 modules/core/src/stat.cpp if (!ocl_minMaxIdx(_src1, NULL, &sc1[0], NULL, NULL, _mask, std::max(CV_32S, depth), max 3200 modules/core/src/stat.cpp normType == NORM_INF ? std::max(std::max(norm1, norm2), norm3) : max 3280 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : max 3443 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); max 3461 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); max 3479 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); max 535 modules/core/src/system.cpp buf.resize(std::max(bsize << 1, len + 1)); max 111 modules/core/src/types.cpp if( std::min( a, b ) + c <= std::max( a, b ) ) max 112 modules/core/src/types.cpp return std::min( a_2, b_2 ) / std::max( a_2, b_2 ); max 454 modules/core/src/umatrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); max 456 modules/core/src/umatrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); max 466 modules/core/src/umatrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); max 467 modules/core/src/umatrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); max 732 modules/core/src/umatrix.cpp int wdepth = std::max(CV_32F, sdepth), rowsPerWI = 4; max 779 modules/core/src/umatrix.cpp int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), max 868 modules/core/src/umatrix.cpp int ddepth = std::max(CV_32F, depth); max 149 modules/core/test/ocl/test_arithm.cpp randomSubMat(src2, src2_roi, roiSize, src2Border, type, std::max(-1540., minV), std::min(1740., maxV)); max 450 modules/core/test/ocl/test_arithm.cpp OCL_OFF(cv::max(src1_roi, src2_roi, dst1_roi)); max 451 modules/core/test/ocl/test_arithm.cpp OCL_ON(cv::max(usrc1_roi, usrc2_roi, udst1_roi)); max 201 modules/core/test/test_arithm.cpp minval = std::max(minval, -30000.); max 363 modules/core/test/test_arithm.cpp cv::max(src[0], src[1], dst); max 367 modules/core/test/test_arithm.cpp cvtest::max(src[0], src[1], dst); max 397 modules/core/test/test_arithm.cpp cv::max(src[0], gamma[0], dst); max 401 modules/core/test/test_arithm.cpp cvtest::max(src[0], gamma[0], dst); max 672 modules/core/test/test_arithm.cpp gamma1[i] = std::max(gamma[i], temp[i]); max 687 modules/core/test/test_arithm.cpp cvtest::max(src[1], src[2], rb); max 695 modules/core/test/test_arithm.cpp cvtest::max(src[1], src[2], rb); max 1212 modules/core/test/test_arithm.cpp sqmean[c] = std::sqrt(std::max(sqmean[c] - mean[c]*mean[c], 0.)); max 1223 modules/core/test/test_arithm.cpp err = std::max(err, sqmeanRef[i]); max 174 modules/core/test/test_eigen.cpp if (!( (evalues.rows == n - max<int>(0, low_index) - ((int)((n/2.0)*(s*s-s)) + (1+s-s*s)*(n - (high_index+1)))) && (evalues.cols == 1))) max 188 modules/core/test/test_eigen.cpp int right_eigen_pair_count = n - max<int>(0, low_index) - ((int)((n/2.0)*(s*s-s)) + (1+s-s*s)*(n - (high_index+1))); max 22 modules/core/test/test_mat.cpp void testReduce( const Mat& src, Mat& sum, Mat& avg, Mat& max, Mat& min, int dim ) max 28 modules/core/test/test_mat.cpp max.create( 1, src.cols, CV_64FC1 ); max 34 modules/core/test/test_mat.cpp max.create( src.rows, 1, CV_64FC1 ); max 38 modules/core/test/test_mat.cpp max.setTo(Scalar(-DBL_MAX)); max 44 modules/core/test/test_mat.cpp Mat_<double>& max_ = (Mat_<double>&)max; max 53 modules/core/test/test_mat.cpp max_(0, ci) = std::max( max_(0, ci), (double)src_(ri, ci) ); max 65 modules/core/test/test_mat.cpp max_(ri, 0) = std::max( max_(ri, 0), (double)src_(ri, ci) ); max 168 modules/core/test/test_mat.cpp Mat src, sum, avg, max, min; max 174 modules/core/test/test_mat.cpp testReduce<uchar>( src, sum, avg, max, min, dim ); max 176 modules/core/test/test_mat.cpp testReduce<char>( src, sum, avg, max, min, dim ); max 178 modules/core/test/test_mat.cpp testReduce<unsigned short int>( src, sum, avg, max, min, dim ); max 180 modules/core/test/test_mat.cpp testReduce<short int>( src, sum, avg, max, min, dim ); max 182 modules/core/test/test_mat.cpp testReduce<int>( src, sum, avg, max, min, dim ); max 184 modules/core/test/test_mat.cpp testReduce<float>( src, sum, avg, max, min, dim ); max 186 modules/core/test/test_mat.cpp testReduce<double>( src, sum, avg, max, min, dim ); max 199 modules/core/test/test_mat.cpp tempCode = checkOp( src, dstType, CV_REDUCE_MAX, max, dim ); max 762 modules/core/test/test_mat.cpp int nz0 = (unsigned)rng % max(p/5,10); max 763 modules/core/test/test_mat.cpp nz0 = min(max(nz0, 1), p); max 843 modules/core/test/test_mat.cpp int n = (unsigned)rng % max(p/5,10); max 844 modules/core/test/test_mat.cpp n = min(max(n, 1), p) + nz0; max 233 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, max(maskMat1, maskMat5)); max 234 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, max(Mat(maskMat1 | maskMat1), maskMat5 | maskMat5)); max 238 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, max(maskMat1 | maskMat1, maskMat5)); max 239 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, max(maskMat1, maskMat5 | maskMat5)); max 604 modules/core/test/test_operations.cpp CHECK_DIFF(maskMat5, max(maskMat1, maskMat5)); max 419 modules/core/test/test_umat.cpp roi_shift_x = std::max(0, roi.x-adjLeft); max 420 modules/core/test/test_umat.cpp roi_shift_y = std::max(0, roi.y-adjTop); max 637 modules/core/test/test_umat.cpp cv::max(ra, rb, rc); max 638 modules/core/test/test_umat.cpp cv::max(ura, urb, urc); max 649 modules/core/test/test_umat.cpp cv::max(ura, urb, tmp); max 654 modules/core/test/test_umat.cpp cv::max(urc, urb, urc); max 303 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void max(InputArray src1, InputArray src2, OutputArray dst, Stream& stream = Stream::Null()); max 1129 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::max(d_src1, d_src2, dst); max 1137 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::max(src1, src2, dst); max 1164 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::cuda::max(d_src, val[0], dst); max 1172 modules/cudaarithm/perf/perf_element_operations.cpp TEST_CYCLE() cv::max(src, val[0], dst); max 337 modules/cudaarithm/src/arithm.cpp dft_size_opt.width = std::max(dft_size.width, dft_size.height); max 445 modules/cudaarithm/src/arithm.cpp dft_size.width = std::max(dft_size.width, 512); max 446 modules/cudaarithm/src/arithm.cpp dft_size.height = std::max(dft_size.height, 512); max 2025 modules/cudaarithm/test/test_element_operations.cpp src1 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); max 2026 modules/cudaarithm/test/test_element_operations.cpp src2 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); max 2098 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar_<int> ival = randomScalar(0.0, std::numeric_limits<int>::max()); max 2412 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src1), loadMat(src2), dst); max 2422 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src1, useRoi), loadMat(src2, useRoi), dst); max 2424 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::max(src1, src2); max 2440 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src), val, dst); max 2450 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::max(loadMat(src, useRoi), val, dst); max 2452 modules/cudaarithm/test/test_element_operations.cpp cv::Mat dst_gold = cv::max(src, val); max 770 modules/cudacodec/src/video_writer.cpp int buf_size = std::max(frameSize.area() * 4, 1024 * 1024); max 898 modules/cudafeatures2d/src/brute_force_matcher.cpp const int cols = std::max((nTrain / 100), nQuery); max 483 modules/cudafilters/src/filtering.cpp sigma1 = std::max(sigma1, 0.0); max 484 modules/cudafilters/src/filtering.cpp sigma2 = std::max(sigma2, 0.0); max 83 modules/cudaimgproc/src/bilateral_filter.cpp kernel_size = std::max(radius, 1)*2 + 1; max 197 modules/cudaimgproc/src/canny.cpp CV_Assert(image_size.width < std::numeric_limits<short>::max() && image_size.height < std::numeric_limits<short>::max()); max 384 modules/cudaimgproc/src/generalized_hough.cpp x1 = std::max(0, x1); max 385 modules/cudaimgproc/src/generalized_hough.cpp y1 = std::max(0, y1); max 768 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(histRows + 2, std::max(angleRange + 1, std::max(scaleRange + 1, histCols + 2)), CV_32SC1, hist_); max 769 modules/cudaimgproc/src/generalized_hough.cpp h_buf_.resize(std::max(angleRange + 1, scaleRange + 1)); max 116 modules/cudaimgproc/src/gftt.cpp ensureSizeIsEnough(1, std::max(1000, static_cast<int>(image.size().area() * 0.05)), CV_32FC2, tmpCorners_); max 162 modules/cudaimgproc/src/gftt.cpp x1 = std::max(0, x1); max 163 modules/cudaimgproc/src/gftt.cpp y1 = std::max(0, y1); max 215 modules/cudaimgproc/src/histogram.cpp clipLimit = std::max(clipLimit, 1); max 151 modules/cudaimgproc/src/hough_circles.cpp canny_ = cuda::createCannyEdgeDetector(std::max(cannyThreshold_ / 2, 1), cannyThreshold_); max 168 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); max 169 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); max 181 modules/cudaimgproc/src/hough_circles.cpp canny_->setLowThreshold(std::max(cannyThreshold_ / 2, 1)); max 257 modules/cudaimgproc/src/hough_circles.cpp x1 = std::max(0, x1); max 258 modules/cudaimgproc/src/hough_circles.cpp y1 = std::max(0, y1); max 139 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); max 140 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); max 143 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); max 144 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); max 80 modules/cudaimgproc/src/mean_shift.cpp int maxIter = std::min(std::max(criteria.maxCount, 1), 100); max 85 modules/cudaimgproc/src/mean_shift.cpp float eps = (float) std::max(criteria.epsilon, 0.0); max 118 modules/cudaimgproc/src/mean_shift.cpp int maxIter = std::min(std::max(criteria.maxCount, 1), 100); max 123 modules/cudaimgproc/src/mean_shift.cpp float eps = (float) std::max(criteria.epsilon, 0.0); max 428 modules/cudalegacy/src/NCV.cpp this->_maxSize = std::max(this->_maxSize, this->currentSize); max 536 modules/cudalegacy/src/NCV.cpp this->_maxSize = std::max(this->_maxSize, this->currentSize); max 203 modules/cudalegacy/src/fgd.cpp count[0] = std::max(count[0], 1); max 204 modules/cudalegacy/src/fgd.cpp count[1] = std::max(count[1], 1); max 205 modules/cudalegacy/src/fgd.cpp count[2] = std::max(count[2], 1); max 253 modules/cudalegacy/src/fgd.cpp bestThres[0] = std::max(bestThres[0], relativeVariance[0][i]); max 254 modules/cudalegacy/src/fgd.cpp bestThres[1] = std::max(bestThres[1], relativeVariance[1][i]); max 255 modules/cudalegacy/src/fgd.cpp bestThres[2] = std::max(bestThres[2], relativeVariance[2][i]); max 109 modules/cudalegacy/src/gmg.cpp void initialize(Size frameSize, float min, float max); max 203 modules/cudalegacy/src/gmg.cpp maxVal = frame.depth() == CV_8U ? 255.0 : frame.depth() == CV_16U ? std::numeric_limits<ushort>::max() : 1.0; max 238 modules/cudalegacy/src/gmg.cpp void GMGImpl::initialize(Size frameSize, float min, float max) max 249 modules/cudalegacy/src/gmg.cpp maxVal_ = max; max 206 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVVectorAlloc<Ncv8u> d_tmpIIbuf(*this->allocatorGPU.get(), std::max(szTmpBufIntegral, szTmpBufSqIntegral)); max 388 modules/cudaobjdetect/src/hog.cpp levels = std::max(levels, 1); max 351 modules/cudaoptflow/src/farneback.cpp smoothSize = std::max(smoothSize, 3); max 348 modules/cudaoptflow/src/tvl1flow.cpp double error = std::numeric_limits<double>::max(); max 363 modules/cudaoptflow/src/tvl1flow.cpp error = std::numeric_limits<double>::max(); max 156 modules/cudastereo/src/disparity_bilateral_filter.cpp const short edge_disc = std::max<short>(short(1), short(ndisp * edge_threshold + 0.5)); max 180 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); max 212 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); max 373 modules/cudastereo/src/stereobp.cpp int mm = std::max(width, height); max 348 modules/cudastereo/src/stereocsbp.cpp int mm = std::max(width, height); max 65 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ __forceinline__ static T max() { return numeric_limits<T>::max(); } max 66 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ __forceinline__ static T half() { return (T)(max()/2 + 1); } max 86 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp return ColorChannel<T>::max(); max 251 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<T>::max()); max 397 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<T>::max()); max 417 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 491 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<T>::max()); max 511 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 579 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<T>::max()); max 599 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 629 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp v = ::max(v, g); max 630 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp v = ::max(v, r); max 742 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 767 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 896 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 921 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 950 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp int ix = ::min(::max(int(x), 0), n-1); max 1098 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 1123 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 1248 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<float>::max()); max 1273 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp setAlpha(dst, ColorChannel<uchar>::max()); max 315 modules/cudev/include/opencv2/cudev/functional/functional.hpp return max(a, b); max 339 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(uchar, ::max, ::min) max 340 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(schar, ::max, ::min) max 341 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(ushort, ::max, ::min) max 342 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(short, ::max, ::min) max 343 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(int, ::max, ::min) max 344 modules/cudev/include/opencv2/cudev/functional/functional.hpp CV_CUDEV_MINMAX_INST(uint, ::max, ::min) max 70 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp ResType myMin = numeric_limits<ResType>::max(); max 71 modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp ResType myMax = -numeric_limits<ResType>::max(); max 294 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return numeric_limits<T>::max(); max 307 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp return -numeric_limits<T>::max(); max 357 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp mymin = numeric_limits<work_type>::max(); max 358 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp mymax = -numeric_limits<work_type>::max(); max 109 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); max 127 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); max 143 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); max 161 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); max 177 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); max 178 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); max 196 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); max 197 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); max 116 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp return VecTraits<T>::all(numeric_limits<typename VecTraits<T>::elem_type>::max()); max 136 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp return VecTraits<T>::all(-numeric_limits<typename VecTraits<T>::elem_type>::max()); max 124 modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp return ::max(i, 0); max 191 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp u = ::max(r, s); // maximum of low halfwords max 195 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp t = ::max(r, s); // maximum of high halfwords max 491 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp t = ::max(r, s); // maximum of low halfwords max 494 modules/cudev/include/opencv2/cudev/util/simd_functions.hpp u = ::max(r, s); // maximum of high halfwords max 785 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, uchar, uchar) max 786 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, char, char) max 787 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, ushort, ushort) max 788 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, short, short) max 789 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, uint, uint) max 790 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::max, int, int) max 791 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::fmaxf, float, float) max 792 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(max, ::fmax, double, double) max 859 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, uchar, uchar, uchar) max 860 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, uchar, float, float) max 861 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, uchar, double, double) max 862 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, char, char, char) max 863 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, char, float, float) max 864 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, char, double, double) max 865 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, ushort, ushort, ushort) max 866 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, ushort, float, float) max 867 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, ushort, double, double) max 868 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, short, short, short) max 869 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, short, float, float) max 870 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, short, double, double) max 871 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, uint, uint, uint) max 872 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, uint, float, float) max 873 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, uint, double, double) max 874 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::max, int, int, int) max 875 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, int, float, float) max 876 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, int, double, double) max 877 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmaxf, float, float, float) max 878 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, float, double, double) max 879 modules/cudev/include/opencv2/cudev/util/vec_math.hpp CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(max, ::fmax, double, double, double) max 104 modules/features2d/src/blobdetector.cpp maxCircularity = std::numeric_limits<float>::max(); max 109 modules/features2d/src/blobdetector.cpp maxInertiaRatio = std::numeric_limits<float>::max(); max 114 modules/features2d/src/blobdetector.cpp maxConvexity = std::numeric_limits<float>::max(); max 239 modules/features2d/src/brisk.cpp refine1D(const float s_05, const float s0, const float s05, float& max) const; // around octave max 241 modules/features2d/src/brisk.cpp refine1D_1(const float s_05, const float s0, const float s05, float& max) const; // around intra max 243 modules/features2d/src/brisk.cpp refine1D_2(const float s_05, const float s0, const float s05, float& max) const; // around octave 0 only max 656 modules/features2d/src/brisk.cpp scale = std::max((int) (scales_ / lb_scalerange * (std::log(keypoints[k].size / (basicSize06)) / log2) + 0.5), 0); max 721 modules/features2d/src/brisk.cpp const BriskLongPair* max = longPairs_ + noLongPairs_; max 722 modules/features2d/src/brisk.cpp for (BriskLongPair* iter = longPairs_; iter < max; ++iter) max 777 modules/features2d/src/brisk.cpp const BriskShortPair* max = shortPairs_ + noShortPairs_; max 778 modules/features2d/src/brisk.cpp for (BriskShortPair* iter = shortPairs_; iter < max; ++iter) max 906 modules/features2d/src/brisk.cpp float max = subpixel2D(s_0_0, s_0_1, s_0_2, s_1_0, s_1_1, s_1_2, s_2_0, s_2_1, s_2_2, delta_x, delta_y); max 909 modules/features2d/src/brisk.cpp keypoints.push_back(cv::KeyPoint(float(point.x) + delta_x, float(point.y) + delta_y, basicSize_, -1, max, 0)); max 947 modules/features2d/src/brisk.cpp float max = subpixel2D(s_0_0, s_0_1, s_0_2, s_1_0, s_1_1, s_1_2, s_2_0, s_2_1, s_2_2, delta_x, delta_y); max 952 modules/features2d/src/brisk.cpp (float(point.y) + delta_y) * l.scale() + l.offset(), basicSize_ * l.scale(), -1, max, i)); max 1263 modules/features2d/src/brisk.cpp float max; // to be returned max 1278 modules/features2d/src/brisk.cpp max_below = std::max(s_1_0, max_below); max 1280 modules/features2d/src/brisk.cpp max_below = std::max(s_2_0, max_below); max 1282 modules/features2d/src/brisk.cpp max_below = std::max(s_2_1, max_below); max 1284 modules/features2d/src/brisk.cpp max_below = std::max(s_1_1, max_below); max 1286 modules/features2d/src/brisk.cpp max_below = std::max(s_0_1, max_below); max 1288 modules/features2d/src/brisk.cpp max_below = std::max(s_0_2, max_below); max 1290 modules/features2d/src/brisk.cpp max_below = std::max(s_1_2, max_below); max 1292 modules/features2d/src/brisk.cpp max_below = std::max(s_2_2, max_below); max 1322 modules/features2d/src/brisk.cpp scale = refine1D_2(max_below_float, std::max(float(center), max_layer), max_above, max); max 1325 modules/features2d/src/brisk.cpp scale = refine1D(max_below_float, std::max(float(center), max_layer), max_above, max); max 1379 modules/features2d/src/brisk.cpp scale = refine1D_1(max_below, std::max(float(center), max_layer), max_above, max); max 1402 modules/features2d/src/brisk.cpp return max; max 1581 modules/features2d/src/brisk.cpp return std::max(refined_max, maxval); max 1622 modules/features2d/src/brisk.cpp float max = (float)layerBelow.getAgastScore(x_1, y_1, 1); max 1623 modules/features2d/src/brisk.cpp if (max > threshold) max 1630 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1632 modules/features2d/src/brisk.cpp max = tmp_max; max 1639 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1641 modules/features2d/src/brisk.cpp max = tmp_max; max 1651 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1653 modules/features2d/src/brisk.cpp max = tmp_max; max 1662 modules/features2d/src/brisk.cpp if (tmp_max == max) max 1682 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1684 modules/features2d/src/brisk.cpp max = tmp_max; max 1692 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1694 modules/features2d/src/brisk.cpp max = tmp_max; max 1702 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1704 modules/features2d/src/brisk.cpp max = tmp_max; max 1711 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1713 modules/features2d/src/brisk.cpp max = tmp_max; max 1719 modules/features2d/src/brisk.cpp if (tmp_max > max) max 1721 modules/features2d/src/brisk.cpp max = tmp_max; max 1780 modules/features2d/src/brisk.cpp return std::max(refined_max, max); max 1782 modules/features2d/src/brisk.cpp return max; max 1786 modules/features2d/src/brisk.cpp BriskScaleSpace::refine1D(const float s_05, const float s0, const float s05, float& max) const max 1802 modules/features2d/src/brisk.cpp max = s0; max 1807 modules/features2d/src/brisk.cpp max = s_05; max 1812 modules/features2d/src/brisk.cpp max = s05; max 1826 modules/features2d/src/brisk.cpp max = float(three_c) + float(three_a) * ret_val * ret_val + float(three_b) * ret_val; max 1827 modules/features2d/src/brisk.cpp max /= 3072.0f; max 1832 modules/features2d/src/brisk.cpp BriskScaleSpace::refine1D_1(const float s_05, const float s0, const float s05, float& max) const max 1848 modules/features2d/src/brisk.cpp max = s0; max 1853 modules/features2d/src/brisk.cpp max = s_05; max 1858 modules/features2d/src/brisk.cpp max = s05; max 1872 modules/features2d/src/brisk.cpp max = float(two_c) + float(two_a) * ret_val * ret_val + float(two_b) * ret_val; max 1873 modules/features2d/src/brisk.cpp max /= 2048.0f; max 1878 modules/features2d/src/brisk.cpp BriskScaleSpace::refine1D_2(const float s_05, const float s0, const float s05, float& max) const max 1894 modules/features2d/src/brisk.cpp max = s0; max 1899 modules/features2d/src/brisk.cpp max = s_05; max 1904 modules/features2d/src/brisk.cpp max = s05; max 1918 modules/features2d/src/brisk.cpp max = float(c) + float(a) * ret_val * ret_val + float(b) * ret_val; max 1919 modules/features2d/src/brisk.cpp max /= 1024; max 91 modules/features2d/src/evaluation.cpp return Point2f( std::numeric_limits<float>::max(), std::numeric_limits<float>::max() ); max 110 modules/features2d/src/evaluation.cpp A.setTo(Scalar::all(std::numeric_limits<double>::max())); max 69 modules/features2d/src/fast.cpp threshold = std::min(std::max(threshold, 0), 255); max 90 modules/features2d/src/fast_score.cpp int v1 = std::max(ptr[0] - threshold - delta, 0); max 113 modules/features2d/src/fast_score.cpp CV_Assert( (delta == 0 && std::max(c0, c1) > K) || max 114 modules/features2d/src/fast_score.cpp (delta == 1 && std::max(c0, c1) <= K) ); max 179 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); max 180 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+9])); max 186 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); max 187 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); max 188 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); max 189 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+5]); max 192 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+6]); max 193 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+7]); max 194 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+8]); max 196 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); max 197 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+9])); max 265 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); max 266 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+7])); max 272 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); max 273 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); max 274 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); max 277 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+5]); max 278 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+6]); max 280 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); max 281 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+7])); max 333 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); max 334 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+5])); max 340 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); max 341 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); max 344 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); max 346 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); max 347 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+5])); max 791 modules/features2d/src/kaze/AKAZEFeatures.cpp float sumX = 0.0, sumY = 0.0, max = 0.0, ang1 = 0.0, ang2 = 0.0; max 839 modules/features2d/src/kaze/AKAZEFeatures.cpp if (sumX*sumX + sumY*sumY > max) { max 841 modules/features2d/src/kaze/AKAZEFeatures.cpp max = sumX*sumX + sumY*sumY; max 584 modules/features2d/src/kaze/KAZEFeatures.cpp float sumX = 0.0, sumY = 0.0, max = 0.0, ang1 = 0.0, ang2 = 0.0; max 638 modules/features2d/src/kaze/KAZEFeatures.cpp if (sumX*sumX + sumY*sumY > max) { max 640 modules/features2d/src/kaze/KAZEFeatures.cpp max = sumX*sumX + sumY*sumY; max 286 modules/features2d/src/matchers.cpp ensureSizeIsEnough(query_rows, std::max((train_rows / 100), 10), CV_32SC1, trainIdx); max 287 modules/features2d/src/matchers.cpp ensureSizeIsEnough(query_rows, std::max((train_rows / 100), 10), CV_32FC1, distance); max 604 modules/features2d/src/matchers.cpp size_t imageCount = std::max(trainDescCollection.size(), utrainDescCollection.size() ); max 229 modules/features2d/src/mser.cpp xmax = std::max(xmax, x); max 231 modules/features2d/src/mser.cpp ymax = std::max(ymax, y); max 321 modules/features2d/src/mser.cpp gray_level = std::max(comp1->gray_level, comp2->gray_level); max 1006 modules/features2d/src/mser.cpp xmax = std::max(xmax, pt.x); max 1008 modules/features2d/src/mser.cpp ymax = std::max(ymax, pt.y); max 29 modules/features2d/src/opencl/fast.cl a0 = max(a0, min(a, (int)d[k&15])); max 30 modules/features2d/src/opencl/fast.cl a0 = max(a0, min(a, (int)d[(k+9)&15])); max 37 modules/features2d/src/opencl/fast.cl int b = max((int)d[(k+1)&15], (int)d[(k+2)&15]); max 38 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+3)&15]); max 39 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+4)&15]); max 40 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+5)&15]); max 41 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+6)&15]); max 42 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+7)&15]); max 43 modules/features2d/src/opencl/fast.cl b = max(b, (int)d[(k+8)&15]); max 45 modules/features2d/src/opencl/fast.cl b0 = min(b0, max(b, (int)d[k])); max 46 modules/features2d/src/opencl/fast.cl b0 = min(b0, max(b, (int)d[(k+9)&15])); max 732 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); max 750 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); max 793 modules/features2d/src/orb.cpp nfeaturesPerLevel[nlevels-1] = std::max(nfeatures - sumFeatures, 0); max 960 modules/features2d/src/orb.cpp int border = std::max(edgeThreshold, std::max(halfPatchSize, HARRIS_BLOCK_SIZE/2))+1; max 989 modules/features2d/src/orb.cpp nLevels = std::max(nLevels, level); max 142 modules/features2d/test/test_detectors_regression.cpp int badPointCount = 0, commonPointCount = max((int)validKeypoints.size(), (int)calcKeypoints.size()); max 146 modules/features2d/test/test_detectors_regression.cpp float minDist = std::numeric_limits<float>::max(); max 126 modules/features2d/test/test_rotation_and_scale_invariance.cpp float maxR = std::max(r0, r1); max 257 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angleDiff = std::max(rotAngle0, angle1) - std::min(rotAngle0, angle1); max 464 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(std::min(size0, size1) > maxSizeDiff * std::max(size0, size1)) max 382 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].high = std::max(left_bbox[i].high, right_bbox[i].high); max 358 modules/flann/include/opencv2/flann/kmeans_index.h iterations_ = (std::numeric_limits<int>::max)(); max 1068 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType minVariance = (std::numeric_limits<DistanceType>::max)(); max 203 modules/flann/include/opencv2/flann/lsh_index.h std::fill_n(dists[i], knn, std::numeric_limits<DistanceType>::max()); max 269 modules/flann/include/opencv2/flann/lsh_index.h unsigned int worst_score = std::numeric_limits<unsigned int>::max(); max 299 modules/flann/include/opencv2/flann/lsh_table.h if (((std::max(buckets_space_.size(), buckets_speed_.size()) * CHAR_BIT * 3 * sizeof(BucketKey)) / 10 max 103 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); max 170 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); max 306 modules/flann/include/opencv2/flann/result_set.h worst_distance_(std::numeric_limits<DistanceType>::max()) max 428 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = std::numeric_limits<DistanceType>::max(); max 623 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(schar v) { return (uchar)std::max((int)v, 0); } max 643 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(schar v) { return (ushort)std::max((int)v, 0); } max 644 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(short v) { return (ushort)std::max((int)v, 0); } max 219 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MINMAX_FUNC(v_max, v_reduce_max, std::max) max 228 modules/hal/include/opencv2/hal/intrin_cpp.hpp maxval.s[i] = std::max(a.s[i], b.s[i]); max 573 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_uint32x4, unsigned, max, std::max) max 576 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_int32x4, int, max, std::max) max 579 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_float32x4, float, max, std::max) max 1003 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_uint32x4, unsigned, max, std::max) max 1006 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_int32x4, int, max, std::max) max 1009 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_float32x4, float, max, std::max) max 1323 modules/highgui/src/window_QT.cpp int max = slider->maximum(); max 1336 modules/highgui/src/window_QT.cpp max, max 119 modules/imgcodecs/src/grfmt_exr.cpp m_width = m_datawindow.max.x - m_datawindow.min.x + 1; max 120 modules/imgcodecs/src/grfmt_exr.cpp m_height = m_datawindow.max.y - m_datawindow.min.y + 1; max 301 modules/imgcodecs/src/grfmt_exr.cpp m_file->readPixels( m_datawindow.min.y, m_datawindow.max.y ); max 319 modules/imgcodecs/src/grfmt_exr.cpp for( y = m_datawindow.min.y; y <= m_datawindow.max.y; y++ ) max 247 modules/imgcodecs/src/grfmt_tiff.cpp (!is_tiled && tile_height0 == std::numeric_limits<uint32>::max()) ) max 132 modules/imgcodecs/src/loadsave.cpp maxlen = std::max(maxlen, len); max 169 modules/imgcodecs/src/loadsave.cpp maxlen = std::max(maxlen, len); max 509 modules/imgcodecs/test/test_drawing.cpp bigSize.width = max(bigSize.width, img.size().width); max 861 modules/imgcodecs/test/test_grfmt.cpp double min = 0.0, max = 1.0; max 862 modules/imgcodecs/test/test_grfmt.cpp minMaxLoc(abs(img_rle - img_no_rle), &min, &max); max 863 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(max > DBL_EPSILON); max 871 modules/imgcodecs/test/test_grfmt.cpp minMaxLoc(abs(img_rle - written_img), &min, &max); max 872 modules/imgcodecs/test/test_grfmt.cpp ASSERT_FALSE(max > DBL_EPSILON); max 67 modules/imgproc/src/canny.cpp size = std::max(size, size1); max 71 modules/imgproc/src/canny.cpp size = std::max(size, size1); max 330 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * (boundaries.end - boundaries.start) / 10); max 458 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); max 721 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * src.rows / 10); max 865 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); max 256 modules/imgproc/src/clahe.cpp tx1 = std::max(tx1, 0); max 297 modules/imgproc/src/clahe.cpp ty1 = std::max(ty1, 0); max 395 modules/imgproc/src/clahe.cpp clipLimit = std::max(clipLimit, 1); max 138 modules/imgproc/src/color.cpp int ix = std::min(std::max(int(x), 0), n-1); max 148 modules/imgproc/src/color.cpp static _Tp max() { return std::numeric_limits<_Tp>::max(); } max 149 modules/imgproc/src/color.cpp static _Tp half() { return (_Tp)(max()/2 + 1); } max 567 modules/imgproc/src/color.cpp _Tp alpha = ColorChannel<_Tp>::max(); max 597 modules/imgproc/src/color.cpp v_alpha = vdupq_n_u8(ColorChannel<uchar>::max()); max 681 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 947 modules/imgproc/src/color.cpp _Tp alpha = ColorChannel<_Tp>::max(); max 2442 modules/imgproc/src/color.cpp const _Tp delta = ColorChannel<_Tp>::half(), alpha = ColorChannel<_Tp>::max(); max 2482 modules/imgproc/src/color.cpp v_alpha = vdupq_n_f32(ColorChannel<float>::max()); max 2488 modules/imgproc/src/color.cpp const float delta = ColorChannel<float>::half(), alpha = ColorChannel<float>::max(); max 2555 modules/imgproc/src/color.cpp v_alpha = _mm_set1_ps(ColorChannel<float>::max()); max 2581 modules/imgproc/src/color.cpp const float delta = ColorChannel<float>::half(), alpha = ColorChannel<float>::max(); max 2665 modules/imgproc/src/color.cpp const _Tp delta = ColorChannel<_Tp>::half(), alpha = ColorChannel<_Tp>::max(); max 2708 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 2714 modules/imgproc/src/color.cpp const uchar delta = ColorChannel<uchar>::half(), alpha = ColorChannel<uchar>::max(); max 2813 modules/imgproc/src/color.cpp v_alpha = vdupq_n_u16(ColorChannel<ushort>::max()); max 2820 modules/imgproc/src/color.cpp const ushort delta = ColorChannel<ushort>::half(), alpha = ColorChannel<ushort>::max(); max 2957 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 2960 modules/imgproc/src/color.cpp useSSE = coeffs[0] <= std::numeric_limits<short>::max(); max 3013 modules/imgproc/src/color.cpp const uchar delta = ColorChannel<uchar>::half(), alpha = ColorChannel<uchar>::max(); max 3654 modules/imgproc/src/color.cpp _Tp alpha = ColorChannel<_Tp>::max(); max 3701 modules/imgproc/src/color.cpp v_alpha = _mm_set1_ps(ColorChannel<float>::max()); max 3725 modules/imgproc/src/color.cpp float alpha = ColorChannel<float>::max(); max 3824 modules/imgproc/src/color.cpp _Tp alpha = ColorChannel<_Tp>::max(); max 3880 modules/imgproc/src/color.cpp v_alpha = vmovn_u16(vdupq_n_u16(ColorChannel<uchar>::max())); max 3886 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 3998 modules/imgproc/src/color.cpp v_alpha = vdupq_n_u16(ColorChannel<ushort>::max()); max 4005 modules/imgproc/src/color.cpp ushort alpha = ColorChannel<ushort>::max(); max 4248 modules/imgproc/src/color.cpp float alpha = ColorChannel<float>::max(); max 4310 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 4352 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 4568 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 4757 modules/imgproc/src/color.cpp float alpha = ColorChannel<float>::max(); max 4820 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 4862 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 5249 modules/imgproc/src/color.cpp float alpha = ColorChannel<float>::max(); max 5320 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 5366 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 5579 modules/imgproc/src/color.cpp float d = (4*13) / std::max(X + 15 * Y + 3 * Z, FLT_EPSILON); max 5628 modules/imgproc/src/color.cpp float alpha = ColorChannel<float>::max(); max 5648 modules/imgproc/src/color.cpp R = std::min(std::max(R, 0.f), 1.f); max 5649 modules/imgproc/src/color.cpp G = std::min(std::max(G, 0.f), 1.f); max 5650 modules/imgproc/src/color.cpp B = std::min(std::max(B, 0.f), 1.f); max 5686 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 5888 modules/imgproc/src/color.cpp v_alpha = vdup_n_u8(ColorChannel<uchar>::max()); max 5936 modules/imgproc/src/color.cpp uchar alpha = ColorChannel<uchar>::max(); max 6150 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[i]) - 16) * ITUR_BT_601_CY; max 6155 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[i + 1]) - 16) * ITUR_BT_601_CY; max 6160 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[i]) - 16) * ITUR_BT_601_CY; max 6165 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[i + 1]) - 16) * ITUR_BT_601_CY; max 6219 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[i]) - 16) * ITUR_BT_601_CY; max 6225 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[i + 1]) - 16) * ITUR_BT_601_CY; max 6231 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[i]) - 16) * ITUR_BT_601_CY; max 6237 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[i + 1]) - 16) * ITUR_BT_601_CY; max 6291 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[2 * i]) - 16) * ITUR_BT_601_CY; max 6296 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[2 * i + 1]) - 16) * ITUR_BT_601_CY; max 6301 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[2 * i]) - 16) * ITUR_BT_601_CY; max 6306 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[2 * i + 1]) - 16) * ITUR_BT_601_CY; max 6359 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[2 * i]) - 16) * ITUR_BT_601_CY; max 6365 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[2 * i + 1]) - 16) * ITUR_BT_601_CY; max 6371 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[2 * i]) - 16) * ITUR_BT_601_CY; max 6377 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[2 * i + 1]) - 16) * ITUR_BT_601_CY; max 6541 modules/imgproc/src/color.cpp int y00 = std::max(0, int(yuv_src[i + yIdx]) - 16) * ITUR_BT_601_CY; max 6546 modules/imgproc/src/color.cpp int y01 = std::max(0, int(yuv_src[i + yIdx + 2]) - 16) * ITUR_BT_601_CY; max 6587 modules/imgproc/src/color.cpp int y00 = std::max(0, int(yuv_src[i + yIdx]) - 16) * ITUR_BT_601_CY; max 6593 modules/imgproc/src/color.cpp int y01 = std::max(0, int(yuv_src[i + yIdx + 2]) - 16) * ITUR_BT_601_CY; max 6634 modules/imgproc/src/color.cpp _Tp max_val = ColorChannel<_Tp>::max(); max 6659 modules/imgproc/src/color.cpp _Tp max_val = ColorChannel<_Tp>::max(); max 653 modules/imgproc/src/demosaicing.cpp static T value() { return std::numeric_limits<T>::max(); } max 1049 modules/imgproc/src/demosaicing.cpp int maxGrad = std::max(std::max(std::max(gradN, gradS), gradW), gradE); max 1060 modules/imgproc/src/demosaicing.cpp maxGrad = std::max(std::max(std::max(std::max(maxGrad, gradNE), gradSW), gradNW), gradSE); max 1132 modules/imgproc/src/demosaicing.cpp maxGrad = std::max(std::max(std::max(std::max(maxGrad, gradNE), gradSW), gradNW), gradSE); max 106 modules/imgproc/src/deriv.cpp std::vector<int> kerI(std::max(ksizeX, ksizeY) + 1); max 596 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); max 641 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); max 759 modules/imgproc/src/deriv.cpp int wdepth = std::max(depth, floatCoeff ? CV_32F : CV_32S), kercn = 1; max 902 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); max 923 modules/imgproc/src/deriv.cpp int dy0 = std::min(std::max((int)(STRIPE_SIZE/(CV_ELEM_SIZE(stype)*src.cols)), 1), src.rows); max 565 modules/imgproc/src/distransform.cpp cv::AutoBuffer<uchar> _buf(std::max(m*2*sizeof(float) + (m*3+1)*sizeof(int), n*2*sizeof(float))); max 993 modules/imgproc/src/drawing.cpp int delta = (std::max(axes.width,axes.height)+(XY_ONE>>1))>>XY_SHIFT; max 1077 modules/imgproc/src/drawing.cpp ymax = std::max( ymax, p.y ); max 1078 modules/imgproc/src/drawing.cpp xmax = std::max( xmax, p.x ); max 1282 modules/imgproc/src/drawing.cpp y_max = std::max( y_max, e1.y1 ); max 1284 modules/imgproc/src/drawing.cpp x_max = std::max( x_max, e1.x ); max 1286 modules/imgproc/src/drawing.cpp x_max = std::max( x_max, x1 ); max 1468 modules/imgproc/src/drawing.cpp x11 = std::max( x11, 0 ); max 1506 modules/imgproc/src/drawing.cpp x21 = std::max( x21, 0 ); max 85 modules/imgproc/src/featureselect.cpp std::max(1024, static_cast<int>(imgsize.area() * 0.1)); max 204 modules/imgproc/src/featureselect.cpp x1 = std::max(0, x1); max 205 modules/imgproc/src/featureselect.cpp y1 = std::max(0, y1); max 348 modules/imgproc/src/featureselect.cpp x1 = std::max(0, x1); max 349 modules/imgproc/src/featureselect.cpp y1 = std::max(0, y1); max 142 modules/imgproc/src/filter.cpp int borderLength = std::max(ksize.width - 1, 1); max 177 modules/imgproc/src/filter.cpp _maxBufRows = std::max(_maxBufRows, std::max(anchor.y, ksize.height-anchor.y-1)*2+1); max 182 modules/imgproc/src/filter.cpp maxWidth = std::max(maxWidth, roi.width); max 212 modules/imgproc/src/filter.cpp dx1 = std::max(anchor.x - roi.x, 0); max 213 modules/imgproc/src/filter.cpp dx2 = std::max(ksize.width - anchor.x - 1 + roi.x + roi.width - wholeSize.width, 0); max 252 modules/imgproc/src/filter.cpp startY = startY0 = std::max(roi.y - anchor.y, 0); max 3631 modules/imgproc/src/filter.cpp ddepth >= std::max(sdepth, CV_32S) && max 3686 modules/imgproc/src/filter.cpp sdepth >= std::max(ddepth, CV_32S) && max 3799 modules/imgproc/src/filter.cpp int bdepth = std::max(CV_32F,std::max(sdepth, ddepth)); max 4011 modules/imgproc/src/filter.cpp int dtype = CV_MAKE_TYPE(ddepth, cn), wdepth = std::max(std::max(sdepth, ddepth), CV_32F), max 4313 modules/imgproc/src/filter.cpp esz = CV_ELEM_SIZE(stype), wdepth = std::max(std::max(sdepth, ddepth), bdepth), max 63 modules/imgproc/src/gabor.cpp xmax = cvRound(std::max(fabs(nstds*sigma_x*c), fabs(nstds*sigma_y*s))); max 68 modules/imgproc/src/gabor.cpp ymax = cvRound(std::max(fabs(nstds*sigma_x*s), fabs(nstds*sigma_y*c))); max 261 modules/imgproc/src/generalized_hough.cpp x1 = std::max(0, x1); max 262 modules/imgproc/src/generalized_hough.cpp y1 = std::max(0, y1); max 137 modules/imgproc/src/grabcut.cpp double max = 0; max 142 modules/imgproc/src/grabcut.cpp if( p > max ) max 145 modules/imgproc/src/grabcut.cpp max = p; max 350 modules/imgproc/src/grabcut.cpp rect.x = std::max(0, rect.x); max 351 modules/imgproc/src/grabcut.cpp rect.y = std::max(0, rect.y); max 2471 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); max 2566 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); max 1733 modules/imgproc/src/imgwarp.cpp for( k1 = std::max(k1, k); k1 < ksize; k1++ ) max 2919 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S); max 2981 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); max 3001 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); max 3030 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, is_area_fast ? CV_32S : CV_32F); max 3043 modules/imgproc/src/imgwarp.cpp int wdepth2 = std::max(CV_32F, depth), wtype2 = CV_MAKE_TYPE(wdepth2, cn); max 3820 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-1, 0), height1 = std::max(ssize.height-1, 0); max 3824 modules/imgproc/src/imgwarp.cpp width1 = std::max(ssize.width-2, 0); max 4032 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-3, 0), height1 = std::max(ssize.height-3, 0); max 4137 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-7, 0), height1 = std::max(ssize.height-7, 0); max 4536 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(CV_32F, depth); max 5488 modules/imgproc/src/imgwarp.cpp int wdepth = interpolation == INTER_NEAREST ? depth : std::max(is32f ? CV_32F : CV_32S, depth); max 5859 modules/imgproc/src/imgwarp.cpp double fX = std::max((double)INT_MIN, std::min((double)INT_MAX, (X0 + M[0]*x1)*W)); max 5860 modules/imgproc/src/imgwarp.cpp double fY = std::max((double)INT_MIN, std::min((double)INT_MAX, (Y0 + M[3]*x1)*W)); max 6000 modules/imgproc/src/imgwarp.cpp double fX = std::max((double)INT_MIN, std::min((double)INT_MAX, (X0 + M[0]*x1)*W)); max 6001 modules/imgproc/src/imgwarp.cpp double fY = std::max((double)INT_MIN, std::min((double)INT_MAX, (Y0 + M[3]*x1)*W)); max 656 modules/imgproc/src/lsd.cpp int xx_min = std::max(rpoint.x - 1, 0), xx_max = std::min(rpoint.x + 1, img_width - 1); max 657 modules/imgproc/src/lsd.cpp int yy_min = std::max(rpoint.y - 1, 0), yy_max = std::min(rpoint.y + 1, img_height - 1); max 383 modules/imgproc/src/min_enclosing_triangle.cpp area = std::numeric_limits<double>::max(); max 1530 modules/imgproc/src/min_enclosing_triangle.cpp return std::max(std::max(number1, number2), number3); max 67 modules/imgproc/src/morph.cpp T operator ()(const T a, const T b) const { return std::max(a, b); } max 1065 modules/imgproc/src/morph.cpp j1 = std::max( c - dx, 0 ); max 1583 modules/imgproc/src/morph.cpp int wdepth = std::max(depth, CV_32F), scalarcn = cn == 3 ? 4 : cn; max 66 modules/imgproc/src/opencl/boxFilter.cl x = max(min(x, maxX - 1), minX); \ max 67 modules/imgproc/src/opencl/boxFilter.cl y = max(min(y, maxY - 1), minY); \ max 101 modules/imgproc/src/opencl/canny.cl res.z = max(magN.x, max(magN.y, magN.z)); max 231 modules/imgproc/src/opencl/clahe.cl ty1 = max(ty1, 0); max 238 modules/imgproc/src/opencl/clahe.cl tx1 = max(tx1, 0); max 54 modules/imgproc/src/opencl/corner.cl x = max(min(x, maxV - 1), 0); \ max 31 modules/imgproc/src/opencl/covardata.cl (x) = min( mad24((maxV)-1,2,-(x))+1 , max((x),-(x)-1) ); \ max 37 modules/imgproc/src/opencl/covardata.cl (x) = min( mad24((maxV)-1,2,-(x)), max((x),-(x)) ); \ max 339 modules/imgproc/src/opencl/cvtcolor.cl Y1 = max(0.f, Y1 - 16.f) * coeffs[0]; max 347 modules/imgproc/src/opencl/cvtcolor.cl Y2 = max(0.f, Y2 - 16.f) * coeffs[0]; max 355 modules/imgproc/src/opencl/cvtcolor.cl Y3 = max(0.f, Y3 - 16.f) * coeffs[0]; max 363 modules/imgproc/src/opencl/cvtcolor.cl Y4 = max(0.f, Y4 - 16.f) * coeffs[0]; max 417 modules/imgproc/src/opencl/cvtcolor.cl Y1 = max(0.f, Y1 - 16.f) * coeffs[0]; max 425 modules/imgproc/src/opencl/cvtcolor.cl Y2 = max(0.f, Y2 - 16.f) * coeffs[0]; max 433 modules/imgproc/src/opencl/cvtcolor.cl Y3 = max(0.f, Y3 - 16.f) * coeffs[0]; max 441 modules/imgproc/src/opencl/cvtcolor.cl Y4 = max(0.f, Y4 - 16.f) * coeffs[0]; max 581 modules/imgproc/src/opencl/cvtcolor.cl float y00 = max(0.f, ((float) src[yidx]) - 16.f) * coeffs[0]; max 582 modules/imgproc/src/opencl/cvtcolor.cl float y01 = max(0.f, ((float) src[yidx + 2]) - 16.f) * coeffs[0]; max 588 modules/imgproc/src/opencl/cvtcolor.cl float y00 = max(0.f, vec_src[yidx] - 16.f) * coeffs[0]; max 589 modules/imgproc/src/opencl/cvtcolor.cl float y01 = max(0.f, vec_src[yidx + 2] - 16.f) * coeffs[0]; max 1058 modules/imgproc/src/opencl/cvtcolor.cl v = max(v, g); max 1059 modules/imgproc/src/opencl/cvtcolor.cl v = max(v, r); max 88 modules/imgproc/src/opencl/filter2DSmall.cl x = max(min(x, maxX - 1), minX); \ max 89 modules/imgproc/src/opencl/filter2DSmall.cl y = max(min(y, maxY - 1), minY); \ max 79 modules/imgproc/src/opencl/filterSepRow.cl t = max(min(t, (maxT) - 1), (minT)); \ max 65 modules/imgproc/src/opencl/filterSep_singlePass.cl (x) = min(((maxV)-1)*2-(x)+1, max((x),-(x)-1) ); \ max 71 modules/imgproc/src/opencl/filterSep_singlePass.cl (x) = min(((maxV)-1)*2-(x), max((x),-(x)) ); \ max 53 modules/imgproc/src/opencl/filterSmall.cl x = max(min(x, maxX - 1), minX); \ max 54 modules/imgproc/src/opencl/filterSmall.cl y = max(min(y, maxY - 1), minY); \ max 275 modules/imgproc/src/opencl/filterSmall.cl #define MORPH_OP(A, B) max((A), (B)) max 69 modules/imgproc/src/opencl/gftt.cl maxval = max(maxval, *(__global const float *)(srcptr + src_index)); max 77 modules/imgproc/src/opencl/gftt.cl localmem_max[lid - WGS2_ALIGNED] = max(maxval, localmem_max[lid - WGS2_ALIGNED]); max 85 modules/imgproc/src/opencl/gftt.cl localmem_max[lid] = max(localmem_max[lid], localmem_max[lid2]); max 101 modules/imgproc/src/opencl/gftt.cl maxval = max(maxval, dst[x]); max 136 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x - 1), maxVal); max 137 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x ), maxVal); max 138 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y - 1, x + 1), maxVal); max 140 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y , x - 1), maxVal); max 141 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y , x + 1), maxVal); max 143 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x - 1), maxVal); max 144 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x ), maxVal); max 145 modules/imgproc/src/opencl/gftt.cl maxVal = max(GET_SRC_32F(y + 1, x + 1), maxVal); max 264 modules/imgproc/src/opencl/hough_lines.cl dir /= max(fabs(dir.x), fabs(dir.y)); max 64 modules/imgproc/src/opencl/laplacian5.cl (x) = min(((maxV)-1)*2-(x)+1, max((x),-(x)-1) ); \ max 70 modules/imgproc/src/opencl/laplacian5.cl (x) = min(((maxV)-1)*2-(x), max((x),-(x)) ); \ max 42 modules/imgproc/src/opencl/medianFilter.cl #define OP(a,b) { mid=a; a=min(a,b); b=max(mid,b);} max 110 modules/imgproc/src/opencl/medianFilter.cl int x_left = mad24(max(gx-1, 0), TSIZE, srcOffset); max 117 modules/imgproc/src/opencl/medianFilter.cl int src_index = max(gy-1, 0)*srcStep; max 173 modules/imgproc/src/opencl/medianFilter.cl int x_leftmost = mad24(max(gx-2, 0), TSIZE, srcOffset); max 174 modules/imgproc/src/opencl/medianFilter.cl int x_left = mad24(max(gx-1, 0), TSIZE, srcOffset); max 182 modules/imgproc/src/opencl/medianFilter.cl int src_index = max(gy-2, 0)*srcStep; max 190 modules/imgproc/src/opencl/medianFilter.cl src_index = max(gy-1, 0)*srcStep; max 97 modules/imgproc/src/opencl/morph.cl #define MORPH_OP(A, B) max((A), (B)) max 62 modules/imgproc/src/opencl/pyr_down.cl #define EXTRAPOLATE(x, maxV) clamp(min(((maxV)-1)*2-(x)+1, max((x),-(x)-1) ), 0, (maxV)-1) max 65 modules/imgproc/src/opencl/pyr_down.cl #define EXTRAPOLATE(x, maxV) clamp(min(((maxV)-1)*2-(x), max((x),-(x)) ), 0, (maxV)-1) max 84 modules/imgproc/src/opencl/remap.cl v2 = max(min(v2, (int2)(src_cols - 1, src_rows - 1)), (int2)(0)); \ max 60 modules/imgproc/src/opencl/warp_affine.cl #define AB_BITS max(10, (int)INTER_BITS) max 60 modules/imgproc/src/opencl/warp_perspective.cl #define AB_BITS max(10, (int)INTER_BITS) max 1056 modules/imgproc/src/smooth.cpp int wdepth = std::max(CV_32F, std::max(ddepth, sdepth)), max 1605 modules/imgproc/src/smooth.cpp sigma1 = std::max( sigma1, 0. ); max 1606 modules/imgproc/src/smooth.cpp sigma2 = std::max( sigma2, 0. ); max 1608 modules/imgproc/src/smooth.cpp kx = getGaussianKernel( ksize.width, sigma1, std::max(depth, CV_32F) ); max 1612 modules/imgproc/src/smooth.cpp ky = getGaussianKernel( ksize.height, sigma2, std::max(depth, CV_32F) ); max 1873 modules/imgproc/src/smooth.cpp const uchar* p0 = src + sstep * std::max( 0, i-r-1 ); max 2194 modules/imgproc/src/smooth.cpp b = std::max(b, t); max 2209 modules/imgproc/src/smooth.cpp b = std::max(b, t); max 2224 modules/imgproc/src/smooth.cpp b = std::max(b, t); max 2411 modules/imgproc/src/smooth.cpp const T* row0 = src + std::max(i - 1, 0)*sstep; max 2484 modules/imgproc/src/smooth.cpp row[0] = src + std::max(i - 2, 0)*sstep; max 2485 modules/imgproc/src/smooth.cpp row[1] = src + std::max(i - 1, 0)*sstep; max 139 modules/imgproc/src/templmatch.cpp block_size.width = std::max( block_size.width, minBlockSize - templ_size.width + 1 ); max 142 modules/imgproc/src/templmatch.cpp block_size.height = std::max( block_size.height, minBlockSize - templ_size.height + 1 ); max 145 modules/imgproc/src/templmatch.cpp dft_size.width = std::max(getOptimalDFTSize(block_size.width + templ_size.width - 1), 2); max 650 modules/imgproc/src/templmatch.cpp if( depth != tdepth && tdepth != std::max(CV_32F, depth) ) max 652 modules/imgproc/src/templmatch.cpp _templ.convertTo(templ, std::max(CV_32F, depth)); max 664 modules/imgproc/src/templmatch.cpp int maxDepth = depth > CV_8S ? CV_64F : std::max(std::max(CV_32F, tdepth), cdepth); max 668 modules/imgproc/src/templmatch.cpp blocksize.width = std::max( blocksize.width, minBlockSize - templ.cols + 1 ); max 671 modules/imgproc/src/templmatch.cpp blocksize.height = std::max( blocksize.height, minBlockSize - templ.rows + 1 ); max 674 modules/imgproc/src/templmatch.cpp dftsize.width = std::max(getOptimalDFTSize(blocksize.width + templ.cols - 1), 2); max 693 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, (blocksize.width + templ.cols - 1)* max 697 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, blocksize.width*blocksize.height*CV_ELEM_SIZE(cdepth)); max 753 modules/imgproc/src/templmatch.cpp int x1 = std::max(0, x0), y1 = std::max(0, y0); max 973 modules/imgproc/src/thresh.cpp if( std::min(q1,q2) < FLT_EPSILON || std::max(q1,q2) > 1. - FLT_EPSILON ) max 1020 modules/imgproc/src/thresh.cpp int left_bound = 0, right_bound = 0, max_ind = 0, max = 0; max 1048 modules/imgproc/src/thresh.cpp if( h[i] > max) max 1050 modules/imgproc/src/thresh.cpp max = h[i]; max 1075 modules/imgproc/src/thresh.cpp a = max; b = left_bound-max_ind; max 181 modules/imgproc/src/undistort.cpp int stripe_size0 = std::min(std::max(1, (1 << 12) / std::max(src.cols, 1)), src.rows); max 441 modules/imgproc/src/undistort.cpp double x1 = std::max(std::min(x*k*iR, 1.), -1.); max 442 modules/imgproc/src/undistort.cpp double y1 = std::max(std::min(y*k*iR, 1.), -1.); max 537 modules/imgproc/src/undistort.cpp Size dsize(destImageWidth, cvCeil(std::max(scale*fabs(ymin)*2, scale*fabs(ymax)*2))); max 209 modules/imgproc/test/ocl/test_histogram.cpp int nDiffs = std::max((int)(0.07f*dstSize.area()), 1); max 405 modules/imgproc/test/ocl/test_imgproc.cpp Size roiSize = randomSize(std::max(gridSize.height, gridSize.width), MAX_VALUE); max 81 modules/imgproc/test/test_boundingrect.cpp T min_w = std::numeric_limits<T>::max(), max_w = std::numeric_limits<T>::min(); max 87 modules/imgproc/test/test_boundingrect.cpp max_w = std::max<T>(src.at(i).x, max_w); max 89 modules/imgproc/test/test_boundingrect.cpp max_h = std::max<T>(src.at(i).y, max_h); max 1381 modules/imgproc/test/test_convhull.cpp const int dim = max(height, width); max 324 modules/imgproc/test/test_cvtyuv.cpp int y = std::max(0, yuv[0] - 16); max 528 modules/imgproc/test/test_imgwarp.cpp cv::max(tmp, 0.9, tmp); max 453 modules/imgproc/test/test_imgwarp_strict.cpp double w = std::min(static_cast<double>(x + 1), b) - std::max(static_cast<double>(x), a); max 688 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[0] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.cols + n - 1, 0))); max 689 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[1] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.rows + n - 1, 0))); max 722 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), max 723 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); max 736 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), max 737 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); max 889 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _src.channels(), width1 = std::max(ssize.width - ksize + 1, 0), max 890 modules/imgproc/test/test_imgwarp_strict.cpp height1 = std::max(ssize.height - ksize + 1, 0); max 72 modules/ml/src/ann_mlp.cpp return std::min(std::max(val, min_val), max_val); max 118 modules/ml/src/ann_mlp.cpp params.rpDWMin = std::max( param2, 0. ); max 229 modules/ml/src/ann_mlp.cpp max_lsize = std::max( max_lsize, n ); max 261 modules/ml/src/ann_mlp.cpp dn0 = std::max( dn0, 1 ); max 706 modules/ml/src/ann_mlp.cpp termcrit.maxCount = std::max((params.termCrit.type & CV_TERMCRIT_ITER ? params.termCrit.maxCount : MAX_ITER), 1); max 707 modules/ml/src/ann_mlp.cpp termcrit.epsilon = std::max((params.termCrit.type & CV_TERMCRIT_EPS ? params.termCrit.epsilon : DEFAULT_EPSILON), DBL_EPSILON); max 1016 modules/ml/src/ann_mlp.cpp dcount0 = std::max( dcount0, 1 ); max 1078 modules/ml/src/ann_mlp.cpp dval = std::max( dval, dw_min ); max 51 modules/ml/src/boost.cpp val = std::max( val, eps ); max 293 modules/ml/src/boost.cpp double wval = std::max( p*(1 - p), lb_weight_thresh ), z; max 304 modules/ml/src/em.cpp max(probs, 0., probs); max 389 modules/ml/src/em.cpp max(covsEigenValues[clusterIndex], minEigenValue, covsEigenValues[clusterIndex]); max 458 modules/ml/src/em.cpp cv::max(weights, DBL_MIN, weights); max 736 modules/ml/src/em.cpp max(covsEigenValues[clusterIndex], minEigenValue, covsEigenValues[clusterIndex]); max 866 modules/ml/src/gbt.cpp float max = sum[0]; max 869 modules/ml/src/gbt.cpp if (sum[i] > max) max 871 modules/ml/src/gbt.cpp max = sum[i]; max 989 modules/ml/src/gbt.cpp float max = sum[0]; max 992 modules/ml/src/gbt.cpp if (sum[i] > max) max 994 modules/ml/src/gbt.cpp max = sum[i]; max 49 modules/ml/src/inner_functions.cpp maxVal = std::max(_minVal, _maxVal); max 50 modules/ml/src/inner_functions.cpp logStep = std::max(_logStep, 1.); max 136 modules/ml/src/inner_functions.cpp S.at<float>(i,i) = std::sqrt(std::max(A.at<float>(i,i) - sum, 0.f)); max 229 modules/ml/src/kdtree.cpp _maxDepth = std::max(_maxDepth, depth); max 295 modules/ml/src/kdtree.cpp emax = std::max(emax, 1); max 176 modules/ml/src/nbayes.cpp cv::max(w, min_variation, w); max 146 modules/ml/src/precomp.hpp minSampleCount = std::max(val, 1); max 111 modules/ml/src/rtrees.cpp m = std::min(std::max(m, 1), nvars); max 163 modules/ml/src/rtrees.cpp max_response = std::max(max_response, val); max 279 modules/ml/src/rtrees.cpp varImportance[vi_] = std::max(varImportance[vi_], 0.f); max 517 modules/ml/src/svm.cpp csize = std::max(csize, (int64)(MIN_CACHE_SIZE/sizeof(Qfloat)) ); max 520 modules/ml/src/svm.cpp max_cache_size = std::min(std::max(max_cache_size, 1), sample_count); max 1339 modules/ml/src/svm.cpp params.termCrit.epsilon = std::max(params.termCrit.epsilon, DBL_EPSILON); max 1342 modules/ml/src/svm.cpp params.termCrit.maxCount = std::max(params.termCrit.maxCount, 1); max 104 modules/ml/src/testset.cpp max_dst = std::max( max_dst, dis[i].d ); max 163 modules/ml/src/tree.cpp w->maxSubsetSize = std::max(w->maxSubsetSize, getCatCount(varIdx[i])); max 165 modules/ml/src/tree.cpp w->maxSubsetSize = std::max((w->maxSubsetSize + 31)/32, 1); max 470 modules/ml/src/tree.cpp cv::AutoBuffer<double> buf(std::max(m, 3)*(cv_n+1)); max 627 modules/ml/src/tree.cpp double r = si/std::max(ci, DBL_EPSILON); max 85 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void setMaxObjectSize(const cv::Size& max) max 87 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp maxObjSize = max; max 154 modules/objdetect/src/cascadedetect.cpp (n2 > std::max(3, n1) || n1 < 3) ) max 437 modules/objdetect/src/cascadedetect.cpp sbufSize.width = std::max(sbufSize.width, (int)alignSize(cvRound(imgsz.width/_scales[0]) + 31, 32)); max 468 modules/objdetect/src/cascadedetect.cpp sbufSize.height = std::max(sbufSize.height, layer_ofs.y); max 485 modules/objdetect/src/cascadedetect.cpp sz0 = Size(std::max(rbuf.cols, (int)alignSize(sz0.width, 16)), std::max(rbuf.rows, sz0.height)); max 1302 modules/objdetect/src/cascadedetect.cpp stripeSizes[i] = std::max((szw.height/s[i].ystep + nstripes-1)/nstripes, 1)*s[i].ystep; max 1469 modules/objdetect/src/cascadedetect.cpp maxNodesPerTree = std::max(maxNodesPerTree, tree.nodeCount); max 26 modules/objdetect/src/cascadedetect.hpp return Size(std::max(szi.width - winSize.width, 0), max 27 modules/objdetect/src/cascadedetect.hpp std::max(szi.height - winSize.height, 0)); max 203 modules/objdetect/src/cascadedetect_convert.cpp maxWeakCount = std::max(maxWeakCount, (int)stages[i].weaks.size()); max 1610 modules/objdetect/src/haar.cpp stripCount = std::min(std::max(stripCount, 1), 100); max 1660 modules/objdetect/src/haar.cpp const double ystep = std::max( 2., factor ); max 1729 modules/objdetect/src/haar.cpp groupRectangles(rectList, std::max(minNeighbors, 1), GROUP_EPS); max 1747 modules/objdetect/src/haar.cpp scanROI.x = std::max(scanROI.x - dx, 0); max 1748 modules/objdetect/src/haar.cpp scanROI.y = std::max(scanROI.y - dy, 0); max 1772 modules/objdetect/src/haar.cpp groupRectangles(rectList, rweights, std::max(minNeighbors, 1), GROUP_EPS); max 1406 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); max 1407 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); max 1474 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); max 1475 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); max 1585 modules/objdetect/src/hog.cpp double minScale = i1 > 0 ? levelScale[i1] : i2 > 1 ? levelScale[i1+1] : std::max(img.cols, img.rows); max 1853 modules/objdetect/src/hog.cpp levels = std::max(levels, 1); max 3342 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); max 3343 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); max 3541 modules/objdetect/src/hog.cpp std::vector<double> foundWeights(nclasses, -std::numeric_limits<double>::max()); max 3551 modules/objdetect/src/hog.cpp foundWeights[cls] = max(foundWeights[cls], weights[i]); max 3593 modules/objdetect/src/hog.cpp (n2 > std::max(3, n1) || n1 < 3) ) max 122 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); max 166 modules/objdetect/src/opencl/cascadedetect.cl float nf = (float)normarea * sqrt(max(sqval - sval * sval, 0.f)); max 393 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); max 491 modules/objdetect/src/opencl/cascadedetect.cl int2 worksize = (int2)(max(s->szi_width - windowsize.x, 0), max(s->szi_height - windowsize.y, 0)); max 592 modules/objdetect/src/opencl/objdetect_hog.cl val = row[max(x - 1, 1)]; max 685 modules/objdetect/src/opencl/objdetect_hog.cl sh_row[0] = row[max(x - 1, 1)]; max 1018 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); max 1019 modules/objdetect/test/test_cascadeandhog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); max 1120 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); max 1121 modules/objdetect/test/test_cascadeandhog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); max 93 modules/photo/src/align.cpp Point max(0, 0), min(0, 0); max 95 modules/photo/src/align.cpp if(shifts[i].x > max.x) { max 96 modules/photo/src/align.cpp max.x = shifts[i].x; max 98 modules/photo/src/align.cpp if(shifts[i].y > max.y) { max 99 modules/photo/src/align.cpp max.y = shifts[i].y; max 110 modules/photo/src/align.cpp dst[i] = dst[i](Rect(max, min + size)); max 122 modules/photo/src/align.cpp int maxlevel = static_cast<int>(log((double)max(img0.rows, img0.cols)) / log(2.0)) - 1; max 170 modules/photo/src/align.cpp Rect dst_rect(max(shift.x, 0), max(shift.y, 0), width, height); max 171 modules/photo/src/align.cpp Rect src_rect(max(-shift.x, 0), max(-shift.y, 0), width, height); max 111 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::sqrt(dx*dx + dy*dy), 1.0); max 116 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::abs(dy), 1.0); max 129 modules/photo/src/denoise_tvl1.cpp max(Rs[count],-clambda,Rs[count]); max 136 modules/photo/src/denoise_tvl1.cpp const Point2d* p_prev = P.ptr<Point2d>(std::max(y - 1, 0)); max 53 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 17)); max 248 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 16)); max 122 modules/photo/src/fast_nlmeans_denoising_invoker.hpp fixed_point_mult_ = (int)std::min<IT>(std::numeric_limits<IT>::max() / max_estimate_sum_value, max 73 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::numeric_limits<sampleType>::max(); max 38 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<ST>::max(); max 39 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int fixedPointMult = (int)std::min<WT>(std::numeric_limits<WT>::max() / maxEstimateSumValue, max 40 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<int>::max()); max 55 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn : max 56 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max() * cn; max 130 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp fixed_point_mult_ = (int)std::min<IT>(std::numeric_limits<IT>::max() / max_estimate_sum_value, max 79 modules/photo/src/seamless_cloning.cpp maxx = std::max(maxx,i); max 81 modules/photo/src/seamless_cloning.cpp maxy = std::max(maxy,j); max 52 modules/photo/src/tonemap.cpp max(src, Scalar::all(1e-4), dst); max 70 modules/photo/src/tonemap.cpp double min, max; max 71 modules/photo/src/tonemap.cpp minMaxLoc(src, &min, &max); max 72 modules/photo/src/tonemap.cpp if(max - min > DBL_EPSILON) { max 73 modules/photo/src/tonemap.cpp dst = (src - min) / (max - min); max 136 modules/photo/src/tonemap.cpp double max; max 137 modules/photo/src/tonemap.cpp minMaxLoc(gray_img, NULL, &max); max 142 modules/photo/src/tonemap.cpp pow(gray_img / static_cast<float>(max), logf(bias) / logf(0.5f), div); max 218 modules/photo/src/tonemap.cpp double min, max; max 219 modules/photo/src/tonemap.cpp minMaxLoc(map_img, &min, &max); max 220 modules/photo/src/tonemap.cpp float scale = contrast / static_cast<float>(max - min); max 55 modules/photo/test/test_hdr.cpp double max = 1.0; max 56 modules/photo/test/test_hdr.cpp minMaxLoc(abs(img0 - img1), NULL, &max); max 57 modules/photo/test/test_hdr.cpp ASSERT_FALSE(max > threshold) << "max=" << max << " threshold=" << threshold << " method=" << name; max 238 modules/photo/test/test_hdr.cpp double max; max 239 modules/photo/test/test_hdr.cpp minMaxLoc(diff, NULL, &max); max 240 modules/photo/test/test_hdr.cpp ASSERT_FALSE(max > 0.1); max 396 modules/shape/src/emdL1.cpp f1 = (i1<(binsDim1-1))?fabs(dFlow+d1s[i1+1]):std::numeric_limits<float>::max(); max 397 modules/shape/src/emdL1.cpp f2 = (i2<(binsDim2-1))?fabs(dFlow+d2s[i2+1]):std::numeric_limits<float>::max(); max 398 modules/shape/src/emdL1.cpp f3 = (i3<(binsDim3-1))?fabs(dFlow+d3s[i3+1]):std::numeric_limits<float>::max(); max 455 modules/shape/src/emdL1.cpp int nBin = binsDim1*binsDim2*std::max(binsDim3,1); max 682 modules/shape/src/emdL1.cpp float minFlow = std::numeric_limits<float>::max(); max 138 modules/shape/src/haus_dis.cpp return std::max( _apply(set1, set2, distanceFlag, rankProportion), max 130 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; max 255 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; max 376 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; max 492 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; max 549 modules/shape/src/sc_dis.cpp min=std::numeric_limits<float>::max(); max 578 modules/shape/src/sc_dis.cpp usubmin = std::numeric_limits<float>::max(); max 753 modules/shape/src/sc_dis.cpp minMatchCost = std::max(leftcost,rightcost); max 153 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_uf = std::numeric_limits<float>::max(); max 154 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_vf = std::numeric_limits<float>::max(); max 155 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_uf = -std::numeric_limits<float>::max(); max 156 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_vf = -std::numeric_limits<float>::max(); max 165 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 179 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_uf = std::numeric_limits<float>::max(); max 180 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_vf = std::numeric_limits<float>::max(); max 181 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_uf = -std::numeric_limits<float>::max(); max 182 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_vf = -std::numeric_limits<float>::max(); max 189 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 193 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 199 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 203 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 222 modules/stitching/src/blenders.cpp double max_len = static_cast<double>(std::max(dst_roi.width, dst_roi.height)); max 287 modules/stitching/src/blenders.cpp Point tl_new(std::max(dst_roi_.x, tl.x - gap), max 288 modules/stitching/src/blenders.cpp std::max(dst_roi_.y, tl.y - gap)); max 305 modules/stitching/src/blenders.cpp int dy = std::max(br_new.y - dst_roi_.br().y, 0); max 306 modules/stitching/src/blenders.cpp int dx = std::max(br_new.x - dst_roi_.br().x, 0); max 103 modules/stitching/src/exposure_compensate.cpp N(i, j) = N(j, i) = std::max(1, countNonZero(intersect)); max 865 modules/stitching/src/motion_estimators.cpp max_dists[j] = std::max(max_dists[j], cur_dists[j]); max 209 modules/stitching/src/seam_finders.cpp Point intersectTl(std::max(tl1.x, tl2.x), std::max(tl1.y, tl2.y)); max 219 modules/stitching/src/seam_finders.cpp unionBr_ = Point(std::max(tl1.x + image1.cols, tl2.x + image2.cols), max 220 modules/stitching/src/seam_finders.cpp std::max(tl1.y + image1.rows, tl2.y + image2.rows)); max 282 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max(); max 284 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-1; max 286 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-2; max 296 modules/stitching/src/seam_finders.cpp if (labels_(y, x) >= std::numeric_limits<int>::max()-2) max 298 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == std::numeric_limits<int>::max()) max 300 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-1) max 302 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-2) max 318 modules/stitching/src/seam_finders.cpp brs_[ci].x = std::max(brs_[ci].x, x+1); max 319 modules/stitching/src/seam_finders.cpp brs_[ci].y = std::max(brs_[ci].y, y+1); max 467 modules/stitching/src/seam_finders.cpp tls_[c[i]] = Point(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); max 479 modules/stitching/src/seam_finders.cpp brs_[c[i]].x = std::max(brs_[c[i]].x, x+1); max 480 modules/stitching/src/seam_finders.cpp brs_[c[i]].y = std::max(brs_[c[i]].y, y+1); max 556 modules/stitching/src/seam_finders.cpp end = upper_bound(edges_.begin(), edges_.end(), std::make_pair(comp, std::numeric_limits<int>::max())); max 633 modules/stitching/src/seam_finders.cpp double maxDist = -std::numeric_limits<double>::max(); max 664 modules/stitching/src/seam_finders.cpp double minDist = std::numeric_limits<double>::max(); max 103 modules/stitching/src/util.cpp int x_tl = std::max(tl1.x, tl2.x); max 104 modules/stitching/src/util.cpp int y_tl = std::max(tl1.y, tl2.y); max 128 modules/stitching/src/util.cpp Point tl(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); max 134 modules/stitching/src/util.cpp br.x = std::max(br.x, corners[i].x + sizes[i].width); max 135 modules/stitching/src/util.cpp br.y = std::max(br.y, corners[i].y + sizes[i].height); max 144 modules/stitching/src/util.cpp Point br(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); max 147 modules/stitching/src/util.cpp tl.x = std::max(tl.x, corners[i].x); max 148 modules/stitching/src/util.cpp tl.y = std::max(tl.y, corners[i].y); max 158 modules/stitching/src/util.cpp Point tl(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); max 193 modules/stitching/src/warpers.cpp float tl_uf = std::numeric_limits<float>::max(); max 194 modules/stitching/src/warpers.cpp float tl_vf = std::numeric_limits<float>::max(); max 195 modules/stitching/src/warpers.cpp float br_uf = -std::numeric_limits<float>::max(); max 196 modules/stitching/src/warpers.cpp float br_vf = -std::numeric_limits<float>::max(); max 202 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 206 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 210 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 214 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); max 242 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(CV_PI * projector_.scale)); max 256 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(0)); max 285 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(CV_PI * projector_.scale)); max 299 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(0)); max 67 modules/stitching/test/test_blenders.cpp blender.prepare(Rect(0, 0, max(image1s.cols, image2s.cols), max(image1s.rows, image2s.rows))); max 1034 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); max 1071 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); max 547 modules/superres/src/btv_l1_cuda.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); max 208 modules/superres/src/input_array_utility.cpp std::numeric_limits<uchar>::max(), max 209 modules/superres/src/input_array_utility.cpp std::numeric_limits<schar>::max(), max 210 modules/superres/src/input_array_utility.cpp std::numeric_limits<ushort>::max(), max 211 modules/superres/src/input_array_utility.cpp std::numeric_limits<short>::max(), max 212 modules/superres/src/input_array_utility.cpp std::numeric_limits<int>::max(), max 157 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void max(const Mat& src1, const Mat& src2, Mat& dst); max 158 modules/ts/include/opencv2/ts.hpp CV_EXPORTS void max(const Mat& src, double s, Mat& dst); max 293 modules/ts/include/opencv2/ts/ocl_test.hpp std::max((double)std::numeric_limits<float>::epsilon(), max 294 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); max 301 modules/ts/include/opencv2/ts/ocl_test.hpp std::max((double)std::numeric_limits<float>::epsilon(), max 302 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); max 267 modules/ts/src/cuda_test.cpp double minVal = std::numeric_limits<double>::max(); max 270 modules/ts/src/cuda_test.cpp double maxVal = -std::numeric_limits<double>::max(); max 146 modules/ts/src/ts_arrtest.cpp size_t sizei = std::max(test_array[i].size(), (size_t)1); max 113 modules/ts/src/ts_func.cpp size0.width += std::max(rng.uniform(0, 10) - 5, 0); max 114 modules/ts/src/ts_func.cpp size0.height += std::max(rng.uniform(0, 10) - 5, 0); max 137 modules/ts/src/ts_func.cpp size0[i] += std::max(rng.uniform(0, 5) - 2, 0); max 186 modules/ts/src/ts_func.cpp int total = (int)planes[0].total(), maxsize = std::min(12*12*std::max(12/cn, 1), total); max 630 modules/ts/src/ts_func.cpp result = std::max(result, sptr[x + ofs[i]]); max 1139 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i]));// trick with 0 used to quiet gcc warning max 1145 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i*cn + c])); max 1196 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i] - src2[i])); max 1202 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i*cn + c] - src2[i*cn + c])); max 1858 modules/ts/src/ts_func.cpp *_realmaxdiff = std::max(*_realmaxdiff, realmaxdiff); max 2372 modules/ts/src/ts_func.cpp dst[i] = std::max(src1[i], src2[i]); max 2441 modules/ts/src/ts_func.cpp dst[i] = std::max(src1[i], val); max 2648 modules/ts/src/ts_func.cpp return sum * (1./std::max(nz, 1)); max 2832 modules/ts/src/ts_func.cpp r[i].start = std::max(0, ofs0[i] - border); max 319 modules/ts/src/ts_perf.cpp double min, max; max 320 modules/ts/src/ts_perf.cpp cv::minMaxIdx(m, &min, &max); max 321 modules/ts/src/ts_perf.cpp write() << "min" << min << "max" << max; max 350 modules/ts/src/ts_perf.cpp eps *= std::max(std::abs(expect_min), std::abs(expect_max)); max 433 modules/ts/src/ts_perf.cpp cv::max(expected_abs, actual_abs, maximum); max 496 modules/ts/src/ts_perf.cpp double max; max 497 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); max 499 modules/ts/src/ts_perf.cpp FAIL() << " Absolute difference (=" << max << ") between argument \"" max 553 modules/ts/src/ts_perf.cpp double max; max 554 modules/ts/src/ts_perf.cpp cv::minMaxIdx(diff.reshape(1), 0, &max); max 556 modules/ts/src/ts_perf.cpp FAIL() << " Difference (=" << max << ") between argument1 \"" << node.name() max 809 modules/ts/src/ts_perf.cpp param_max_outliers = std::min(100., std::max(0., args.get<double>("perf_max_outliers"))); max 810 modules/ts/src/ts_perf.cpp param_min_samples = std::max(1u, args.get<unsigned int>("perf_min_samples")); max 811 modules/ts/src/ts_perf.cpp param_max_deviation = std::max(0., args.get<double>("perf_max_deviation")); max 813 modules/ts/src/ts_perf.cpp param_time_limit = std::max(0., args.get<double>("perf_time_limit")); max 866 modules/ts/src/ts_perf.cpp param_cuda_device = std::max(0, std::min(cv::cuda::getCudaEnabledDeviceCount(), args.get<int>("perf_cuda_device"))); max 1175 modules/ts/src/ts_perf.cpp unsigned int new_minIters = std::max(minIters * 5, currentIter * 3); max 1415 modules/ts/src/ts_perf.cpp EXPECT_LE(m.outliers, std::max((unsigned int)cvCeil(m.samples * param_max_outliers / 100.), 1u)) max 66 modules/video/src/camshift.cpp double eps = (criteria.type & TermCriteria::EPS) ? std::max(criteria.epsilon, 0.) : 1.; max 68 modules/video/src/camshift.cpp int i, niters = (criteria.type & TermCriteria::MAX_ITER) ? std::max(criteria.maxCount, 1) : 100; max 78 modules/video/src/camshift.cpp cur_rect.width = std::max(cur_rect.width, 1); max 79 modules/video/src/camshift.cpp cur_rect.height = std::max(cur_rect.height, 1); max 90 modules/video/src/camshift.cpp int nx = std::min(std::max(cur_rect.x + dx, 0), size.width - cur_rect.width); max 91 modules/video/src/camshift.cpp int ny = std::min(std::max(cur_rect.y + dy, 0), size.height - cur_rect.height); max 56 modules/video/src/kalman.cpp CP = std::max(CP, 0); max 863 modules/video/src/lkpyramid.cpp iters = std::min(std::max(iters, 0), 100); max 865 modules/video/src/lkpyramid.cpp derivLambda = std::min(std::max(derivLambda, 0.0), 1.0); max 1217 modules/video/src/lkpyramid.cpp criteria.maxCount = std::min(std::max(criteria.maxCount, 0), 100); max 1221 modules/video/src/lkpyramid.cpp criteria.epsilon = std::min(std::max(criteria.epsilon, 0.), 10.); max 1390 modules/video/src/lkpyramid.cpp scale = std::max(1., std::max( (double)sz1.width/sz0.width, (double)sz1.height/sz0.height )); max 1532 modules/video/src/lkpyramid.cpp std::abs( m[3]*pA[i].x + m[4]*pA[i].y + m[5] - pB[i].y ) < std::max(brect.width,brect.height)*0.05 ) max 89 modules/video/src/opencl/optical_flow_farneback.cl xWarped = min(max(x, 0), cols - 1); max 98 modules/video/src/opencl/optical_flow_farneback.cl float t0 = src[mad24(max(y - k, 0), srcStep, xWarped)]; max 369 modules/video/src/opencl/optical_flow_farneback.cl xExt = min(max(xExt, 0), cols - 1); max 379 modules/video/src/opencl/optical_flow_farneback.cl src[mad24(k*rows + max(y - j, 0), srcStep, xExt)] + max 150 modules/video/src/optflowgf.cpp srow0 = src.ptr<float>(std::max(y-k,0)); max 321 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); max 345 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::max(y-m-1,0)); max 414 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); max 455 modules/video/src/optflowgf.cpp srow[m-i] = matM.ptr<float>(std::max(y-i,0)); max 666 modules/video/src/optflowgf.cpp smoothSize = std::max(smoothSize, 3); max 1118 modules/video/src/optflowgf.cpp smooth_sz = std::max(smooth_sz, 3); max 1236 modules/video/src/tvl1flow.cpp double error = std::numeric_limits<double>::max(); max 1260 modules/video/src/tvl1flow.cpp error = std::numeric_limits<double>::max(); max 1336 modules/video/src/tvl1flow.cpp float error = std::numeric_limits<float>::max(); max 76 modules/video/test/test_accum.cpp int accdepth = std::max((int)(cvtest::randInt(rng) % 2 + 1), depth); max 827 modules/videoio/src/cap_dc1394_v2.cpp else if (value > act_feature->max) max 829 modules/videoio/src/cap_dc1394_v2.cpp value = act_feature->max; max 543 modules/videoio/src/cap_dshow.cpp bool getVideoSettingFilter(int deviceID, long Property, long &min, long &max, long &SteppingDelta, long ¤tValue, long &flags, long &defaultValue); max 547 modules/videoio/src/cap_dshow.cpp bool getVideoSettingCamera(int deviceID, long Property, long &min, long &max, long &SteppingDelta, long ¤tValue, long &flags, long &defaultValue); max 1660 modules/videoio/src/cap_dshow.cpp bool videoInput::getVideoSettingFilter(int deviceID, long Property, long &min, long &max, long &SteppingDelta, long ¤tValue, long &flags, long &defaultValue){ max 1689 modules/videoio/src/cap_dshow.cpp pAMVideoProcAmp->GetRange(Property, &min, &max, &SteppingDelta, &defaultValue, &flags); max 1690 modules/videoio/src/cap_dshow.cpp DebugPrintOut("Range for video setting %s: Min:%ld Max:%ld SteppingDelta:%ld Default:%ld Flags:%ld\n", propStr, min, max, SteppingDelta, defaultValue, flags); max 1706 modules/videoio/src/cap_dshow.cpp long min, max, currentValue, flags, defaultValue, stepAmnt; max 1708 modules/videoio/src/cap_dshow.cpp if( !getVideoSettingFilter(deviceID, Property, min, max, stepAmnt, currentValue, flags, defaultValue) )return false; max 1713 modules/videoio/src/cap_dshow.cpp float range = (float)max - (float)min; max 1724 modules/videoio/src/cap_dshow.cpp else rasterValue = max; max 1796 modules/videoio/src/cap_dshow.cpp long min, max, currentValue, flags, defaultValue, stepAmnt; max 1798 modules/videoio/src/cap_dshow.cpp if( !getVideoSettingCamera(deviceID, Property, min, max, stepAmnt, currentValue, flags, defaultValue) )return false; max 1803 modules/videoio/src/cap_dshow.cpp float range = (float)max - (float)min; max 1814 modules/videoio/src/cap_dshow.cpp else rasterValue = max; max 1872 modules/videoio/src/cap_dshow.cpp bool videoInput::getVideoSettingCamera(int deviceID, long Property, long &min, long &max, long &SteppingDelta, long ¤tValue, long &flags, long &defaultValue){ max 1900 modules/videoio/src/cap_dshow.cpp pIAMCameraControl->GetRange(Property, &min, &max, &SteppingDelta, &defaultValue, &flags); max 1901 modules/videoio/src/cap_dshow.cpp DebugPrintOut("Range for video setting %s: Min:%ld Max:%ld SteppingDelta:%ld Default:%ld Flags:%ld\n", propStr, min, max, SteppingDelta, defaultValue, flags); max 909 modules/videoio/src/cap_ffmpeg_impl.hpp int64_t _frame_number_temp = std::max(_frame_number-delta, (int64_t)0); max 1991 modules/videoio/src/cap_ffmpeg_impl.hpp lbit_rate = std::min(lbit_rate, static_cast<unsigned long long>(std::numeric_limits<int>::max())); max 1155 modules/videoio/src/cap_gphoto2.cpp id = std::max(id, collectWidgets(os, child)); max 171 modules/videostab/src/inpainting.cpp var /= std::max(n - 1, 1); max 110 modules/videostab/src/motion_stabilizing.cpp int iMin = std::max(idx - radius_, range.first); max 447 modules/videostab/src/stabilizer.cpp trimRatio_ = std::max(trimRatio_, estimateOptimalTrimRatio(S, frameSize_)); max 241 modules/viz/src/clouds.cpp actor->SetNumberOfCloudPoints(std::max<vtkIdType>(1, actor->GetNumberOfCloudPoints() + polydata->GetNumberOfPoints()/10)); max 311 modules/viz/src/shapes.cpp bounds[1] = std::max(min_point.x, max_point.x); max 313 modules/viz/src/shapes.cpp bounds[3] = std::max(min_point.y, max_point.y); max 315 modules/viz/src/shapes.cpp bounds[5] = std::max(min_point.z, max_point.z); max 273 modules/viz/src/vizcore.cpp start = max(0, std::min(start, end)); max 274 modules/viz/src/vizcore.cpp end = std::max(start, end); max 301 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < v.size(); ++i, ++index) max 319 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < traj.total(); ++i, ++index) max 323 modules/viz/src/vizcore.cpp for(size_t i = 0, index = max(0, start); i < traj.total(); ++i, ++index) max 185 modules/viz/src/vizimpl.cpp timer_callback_->timer_id = local->CreateRepeatingTimer(std::max(1, time)); max 143 modules/viz/src/vtk/vtkVizInteractorStyle.cpp psize = std::max(1.f, std::min(63.f, psize)); max 343 modules/viz/src/vtk/vtkVizInteractorStyle.cpp MotionUserScale = std::max(MotionUserScale * 0.5, 0.0625); max 387 samples/cpp/autofocus.cpp max(stepToCorrect, state.minFocusStep) * state.direction); max 190 samples/cpp/calibration.cpp fs << "nframes" << (int)std::max(rvecs.size(), reprojErrs.size()); max 117 samples/cpp/cloning_gui.cpp maxx = max(maxx,pts[i].x); max 119 samples/cpp/cloning_gui.cpp maxy = max(maxy,pts[i].y); max 226 samples/cpp/cloning_gui.cpp maxxd = max(maxxd,pts2[i].x); max 228 samples/cpp/cloning_gui.cpp maxyd = max(maxyd,pts2[i].y); max 475 samples/cpp/cloning_gui.cpp maxx = max(maxx,pts[i].x); max 477 samples/cpp/cloning_gui.cpp maxy = max(maxy,pts[i].y); max 83 samples/cpp/create_mask.cpp maxx = max(maxx,pts[i].x); max 85 samples/cpp/create_mask.cpp maxy = max(maxy,pts[i].y); max 138 samples/cpp/grabcut.cpp rect.x = max(0, rect.x); max 139 samples/cpp/grabcut.cpp rect.y = max(0, rect.y); max 71 samples/cpp/openni_capture.cpp uchar b = (uchar)(std::max(0.f, std::min (res.x, 1.f)) * 255.f); max 72 samples/cpp/openni_capture.cpp uchar g = (uchar)(std::max(0.f, std::min (res.y, 1.f)) * 255.f); max 73 samples/cpp/openni_capture.cpp uchar r = (uchar)(std::max(0.f, std::min (res.z, 1.f)) * 255.f); max 54 samples/cpp/train_HOG.cpp const int cols = (int)std::max( train_samples[0].cols, train_samples[0].rows ); max 98 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp cannyThreshold = std::max(cannyThreshold, 1); max 99 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp accumulatorThreshold = std::max(accumulatorThreshold, 1); max 503 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "nr_of_frames" << (int)std::max(rvecs.size(), reprojErrs.size()); max 116 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxx = max(maxx,pts[i].x); max 118 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxy = max(maxy,pts[i].y); max 225 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxxd = max(maxxd,pts2[i].x); max 227 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxyd = max(maxyd,pts2[i].y); max 474 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxx = max(maxx,pts[i].x); max 476 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp maxy = max(maxy,pts[i].y); max 107 samples/cpp/tvl1_optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); max 310 samples/gpu/cascadeclassifier_nvidia_api.cpp ratioSmallest = max((Ncv32u)(ratioSmallest / 2.5f), (Ncv32u)1); max 19 samples/gpu/farneback_optical_flow.cpp x = ::max(::min(x, b), a); max 31 samples/gpu/farneback_optical_flow.cpp float dMax = static_cast<float>(::max(::max(uMin, uMax), ::max(vMin, vMax))); max 407 samples/gpu/hog.cpp nlevels = max(nlevels - 1, 1); max 416 samples/gpu/hog.cpp gr_threshold = max(0, gr_threshold - 1); max 425 samples/gpu/hog.cpp hit_threshold = max(0.0, hit_threshold - 0.25); max 109 samples/gpu/optical_flow.cpp maxrad = max(maxrad, sqrt(u.x * u.x + u.y * u.y)); max 209 samples/gpu/opticalflow_nvidia_api.cpp float d = std::max ( fabsf(*ptr_u), fabsf(*ptr_v) ); max 67 samples/gpu/performance/performance.cpp double speedup = static_cast<double>(cpu_elapsed_) / std::max(1.0, gpu_elapsed_); max 101 samples/gpu/performance/performance.cpp << setprecision(3) << speedup_total_ / std::max(1, num_subtests_called_) max 313 samples/gpu/stereo_match.cpp p.ndisp = max(p.ndisp - 8, 1); max 329 samples/gpu/stereo_match.cpp bm->setBlockSize(max(bm->getBlockSize() - 1, 2)); max 348 samples/gpu/stereo_match.cpp bp->setNumIters(max(bp->getNumIters() - 1, 1)); max 353 samples/gpu/stereo_match.cpp csbp->setNumIters(max(csbp->getNumIters() - 1, 1)); max 372 samples/gpu/stereo_match.cpp bp->setNumLevels(max(bp->getNumLevels() - 1, 1)); max 377 samples/gpu/stereo_match.cpp csbp->setNumLevels(max(csbp->getNumLevels() - 1, 1)); max 125 samples/tapi/camshift.cpp cv::Scalar(180, 256, std::max(_vmin, _vmax)), mask); max 297 samples/tapi/hog.cpp nlevels = max(nlevels - 1, 1); max 306 samples/tapi/hog.cpp gr_threshold = max(0, gr_threshold - 1); max 315 samples/tapi/hog.cpp hit_threshold = max(0.0, hit_threshold - 0.25); max 55 samples/tapi/tvl1_optical_flow.cpp float d = max(fabsf(ptr_u[j]), fabsf(ptr_v[j]));