saturate_cast    2713 modules/calib3d/src/calibration.cpp                 dptr0[x] = cv::saturate_cast<short>(ival);
saturate_cast     475 modules/calib3d/src/fisheye.cpp                 int iu = cv::saturate_cast<int>(u*cv::INTER_TAB_SIZE);
saturate_cast     476 modules/calib3d/src/fisheye.cpp                 int iv = cv::saturate_cast<int>(v*cv::INTER_TAB_SIZE);
saturate_cast     220 modules/calib3d/src/stereobm.cpp         uint8x8_t ftz2 = vdup_n_u8 (cv::saturate_cast<uchar>(ftzero*2));
saturate_cast     257 modules/calib3d/src/stereobm.cpp             ftz2 = _mm_set1_epi8(cv::saturate_cast<uchar>(ftzero*2));
saturate_cast     662 modules/calib3d/src/stereosgbm.cpp                         Sp[d] = saturate_cast<CostType>(Sp[d] + L0 + L1 + L2 + L3);
saturate_cast     757 modules/calib3d/src/stereosgbm.cpp                                 int Sval = Sp[d] = saturate_cast<CostType>(Sp[d] + L0);
saturate_cast     823 modules/calib3d/test/test_undistort.cpp         int u = saturate_cast<int>(sptr[i].x);
saturate_cast     824 modules/calib3d/test/test_undistort.cpp         int v = saturate_cast<int>(sptr[i].y);
saturate_cast      69 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return x >= 0 ? saturate_cast<D>(data[x]) : val;
saturate_cast      74 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return x < width ? saturate_cast<D>(data[x]) : val;
saturate_cast      79 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return (x >= 0 && x < width) ? saturate_cast<D>(data[x]) : val;
saturate_cast      94 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return y >= 0 ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val;
saturate_cast      99 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return y < height ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val;
saturate_cast     104 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return (y >= 0 && y < height) ? saturate_cast<D>(*(const T*)((const char*)data + y * step)) : val;
saturate_cast     121 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(((const T*)((const uchar*)data + y * step))[x]) : val;
saturate_cast     126 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val;
saturate_cast     161 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_low(x)]);
saturate_cast     166 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_high(x)]);
saturate_cast     171 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col(x)]);
saturate_cast     201 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const T*)((const char*)data + idx_row_low(y) * step));
saturate_cast     206 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const T*)((const char*)data + idx_row_high(y) * step));
saturate_cast     211 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const T*)((const char*)data + idx_row(y) * step));
saturate_cast     256 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]);
saturate_cast     261 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(src(idx_row(y), idx_col(x)));
saturate_cast     295 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_low(x)]);
saturate_cast     300 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_high(x)]);
saturate_cast     305 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col(x)]);
saturate_cast     335 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step));
saturate_cast     340 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step));
saturate_cast     345 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step));
saturate_cast     390 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]);
saturate_cast     395 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(src(idx_row(y), idx_col(x)));
saturate_cast     429 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_low(x)]);
saturate_cast     434 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_high(x)]);
saturate_cast     439 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col(x)]);
saturate_cast     469 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step));
saturate_cast     474 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step));
saturate_cast     479 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step));
saturate_cast     524 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]);
saturate_cast     529 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(src(idx_row(y), idx_col(x)));
saturate_cast     563 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_low(x)]);
saturate_cast     568 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col_high(x)]);
saturate_cast     573 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(data[idx_col(x)]);
saturate_cast     603 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_low(y) * step));
saturate_cast     608 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row_high(y) * step));
saturate_cast     613 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(*(const D*)((const char*)data + idx_row(y) * step));
saturate_cast     665 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(((const T*)((const char*)data + idx_row(y) * step))[idx_col(x)]);
saturate_cast     670 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return saturate_cast<D>(src(idx_row(y), idx_col(x)));
saturate_cast     710 modules/core/include/opencv2/core/cuda/border_interpolate.hpp             return (x >= 0 && x < width && y >= 0 && y < height) ? saturate_cast<D>(src(y, x)) : val;
saturate_cast     508 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<T>(Y);
saturate_cast     509 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<T>(Cr);
saturate_cast     510 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<T>(Cb);
saturate_cast     558 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx] = saturate_cast<D>(b);
saturate_cast     559 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[1] = saturate_cast<D>(g);
saturate_cast     560 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx^2] = saturate_cast<D>(r);
saturate_cast     578 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(b) << (bidx * 8);
saturate_cast     579 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(g) << 8;
saturate_cast     580 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(r) << ((bidx ^ 2) * 8);
saturate_cast     647 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<T>(Y);
saturate_cast     648 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<T>(Cr);
saturate_cast     649 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<T>(Cb);
saturate_cast     662 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(Y);
saturate_cast     663 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(Cr) << 8;
saturate_cast     664 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(Cb) << 16;
saturate_cast     722 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx] = saturate_cast<D>(b);
saturate_cast     723 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[1] = saturate_cast<D>(g);
saturate_cast     724 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx^2] = saturate_cast<D>(r);
saturate_cast     739 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(b) << (bidx * 8);
saturate_cast     740 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(g) << 8;
saturate_cast     741 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(r) << ((bidx ^ 2) * 8);
saturate_cast     799 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[6] + src[1] * c_RGB2XYZ_D65i[7] + src[bidx] * c_RGB2XYZ_D65i[8], xyz_shift));
saturate_cast     800 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[0] + src[1] * c_RGB2XYZ_D65i[1] + src[bidx] * c_RGB2XYZ_D65i[2], xyz_shift));
saturate_cast     801 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<T>(CV_DESCALE(src[bidx^2] * c_RGB2XYZ_D65i[3] + src[1] * c_RGB2XYZ_D65i[4] + src[bidx] * c_RGB2XYZ_D65i[5], xyz_shift));
saturate_cast     810 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint x = saturate_cast<uchar>(CV_DESCALE(r * c_RGB2XYZ_D65i[0] + g * c_RGB2XYZ_D65i[1] + b * c_RGB2XYZ_D65i[2], xyz_shift));
saturate_cast     811 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint y = saturate_cast<uchar>(CV_DESCALE(r * c_RGB2XYZ_D65i[3] + g * c_RGB2XYZ_D65i[4] + b * c_RGB2XYZ_D65i[5], xyz_shift));
saturate_cast     812 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint z = saturate_cast<uchar>(CV_DESCALE(r * c_RGB2XYZ_D65i[6] + g * c_RGB2XYZ_D65i[7] + b * c_RGB2XYZ_D65i[8], xyz_shift));
saturate_cast     873 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx^2] = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[0] + src.y * c_XYZ2sRGB_D65i[1] + src.z * c_XYZ2sRGB_D65i[2], xyz_shift));
saturate_cast     874 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[1]      = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[3] + src.y * c_XYZ2sRGB_D65i[4] + src.z * c_XYZ2sRGB_D65i[5], xyz_shift));
saturate_cast     875 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[bidx]   = saturate_cast<D>(CV_DESCALE(src.x * c_XYZ2sRGB_D65i[6] + src.y * c_XYZ2sRGB_D65i[7] + src.z * c_XYZ2sRGB_D65i[8], xyz_shift));
saturate_cast     884 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint r = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[0] + y * c_XYZ2sRGB_D65i[1] + z * c_XYZ2sRGB_D65i[2], xyz_shift));
saturate_cast     885 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint g = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[3] + y * c_XYZ2sRGB_D65i[4] + z * c_XYZ2sRGB_D65i[5], xyz_shift));
saturate_cast     886 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             const uint b = saturate_cast<uchar>(CV_DESCALE(x * c_XYZ2sRGB_D65i[6] + y * c_XYZ2sRGB_D65i[7] + z * c_XYZ2sRGB_D65i[8], xyz_shift));
saturate_cast     973 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(h);
saturate_cast    1007 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(h);
saturate_cast    1158 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[0] = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1159 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[1] = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast    1160 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[2] = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast    1175 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1176 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.y * 255.f) << 8;
saturate_cast    1177 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.z * 255.f) << 16;
saturate_cast    1292 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(buf.x);
saturate_cast    1293 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<uchar>(buf.y*255.f);
saturate_cast    1294 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<uchar>(buf.z*255.f);
saturate_cast    1309 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.x);
saturate_cast    1310 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.y * 255.f) << 8;
saturate_cast    1311 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.z * 255.f) << 16;
saturate_cast    1431 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[0] = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1432 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[1] = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast    1433 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst[2] = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast    1448 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1449 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.y * 255.f) << 8;
saturate_cast    1450 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst |= saturate_cast<uchar>(buf.z * 255.f) << 16;
saturate_cast    1569 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(L);
saturate_cast    1570 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<uchar>(a);
saturate_cast    1571 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<uchar>(b);
saturate_cast    1725 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(dstf.x * 255.f);
saturate_cast    1726 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<uchar>(dstf.y * 255.f);
saturate_cast    1727 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<uchar>(dstf.z * 255.f);
saturate_cast    1825 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(dstf.x * 2.55f);
saturate_cast    1826 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<uchar>(dstf.y * 0.72033898305084743f + 96.525423728813564f);
saturate_cast    1827 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<uchar>(dstf.z * 0.9732824427480916f + 136.259541984732824f);
saturate_cast    1925 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.x = saturate_cast<uchar>(dstf.x * 255.f);
saturate_cast    1926 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.y = saturate_cast<uchar>(dstf.y * 255.f);
saturate_cast    1927 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp             dst.z = saturate_cast<uchar>(dstf.z * 255.f);
saturate_cast     113 modules/core/include/opencv2/core/cuda/filters.hpp             return saturate_cast<elem_type>(out);
saturate_cast     172 modules/core/include/opencv2/core/cuda/filters.hpp             return saturate_cast<elem_type>(res);
saturate_cast     209 modules/core/include/opencv2/core/cuda/filters.hpp             return saturate_cast<elem_type>(out);
saturate_cast     275 modules/core/include/opencv2/core/cuda/filters.hpp             return saturate_cast<elem_type>(out);
saturate_cast     543 modules/core/include/opencv2/core/cuda/functional.hpp             return saturate_cast<D>(v);
saturate_cast      65 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v)
saturate_cast      72 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(short v)
saturate_cast      78 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(ushort v)
saturate_cast      84 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(int v)
saturate_cast      90 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(uint v)
saturate_cast      96 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(float v)
saturate_cast     102 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uchar saturate_cast<uchar>(double v)
saturate_cast     109 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<uchar>((float)v);
saturate_cast     113 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(uchar v)
saturate_cast     120 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(short v)
saturate_cast     126 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(ushort v)
saturate_cast     132 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(int v)
saturate_cast     138 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(uint v)
saturate_cast     144 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(float v)
saturate_cast     150 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ schar saturate_cast<schar>(double v)
saturate_cast     157 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<schar>((float)v);
saturate_cast     161 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(schar v)
saturate_cast     168 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(short v)
saturate_cast     174 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(int v)
saturate_cast     180 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(uint v)
saturate_cast     186 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(float v)
saturate_cast     192 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ ushort saturate_cast<ushort>(double v)
saturate_cast     199 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<ushort>((float)v);
saturate_cast     203 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ short saturate_cast<short>(ushort v)
saturate_cast     209 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ short saturate_cast<short>(int v)
saturate_cast     215 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ short saturate_cast<short>(uint v)
saturate_cast     221 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ short saturate_cast<short>(float v)
saturate_cast     227 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ short saturate_cast<short>(double v)
saturate_cast     234 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<short>((float)v);
saturate_cast     238 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ int saturate_cast<int>(uint v)
saturate_cast     244 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ int saturate_cast<int>(float v)
saturate_cast     248 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ int saturate_cast<int>(double v)
saturate_cast     253 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<int>((float)v);
saturate_cast     257 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uint saturate_cast<uint>(schar v)
saturate_cast     264 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uint saturate_cast<uint>(short v)
saturate_cast     270 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uint saturate_cast<uint>(int v)
saturate_cast     276 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uint saturate_cast<uint>(float v)
saturate_cast     280 modules/core/include/opencv2/core/cuda/saturate_cast.hpp     template<> __device__ __forceinline__ uint saturate_cast<uint>(double v)
saturate_cast     285 modules/core/include/opencv2/core/cuda/saturate_cast.hpp         return saturate_cast<uint>((float)v);
saturate_cast     176 modules/core/include/opencv2/core/cuda/utility.hpp             x[0] = saturate_cast<T>(invdet * (b[0] * A[1][1] - b[1] * A[0][1]));
saturate_cast     178 modules/core/include/opencv2/core/cuda/utility.hpp             x[1] = saturate_cast<T>(invdet * (A[0][0] * b[1] - A[1][0] * b[0]));
saturate_cast     197 modules/core/include/opencv2/core/cuda/utility.hpp             x[0] = saturate_cast<T>(invdet *
saturate_cast     202 modules/core/include/opencv2/core/cuda/utility.hpp             x[1] = saturate_cast<T>(invdet *
saturate_cast     207 modules/core/include/opencv2/core/cuda/utility.hpp             x[2] = saturate_cast<T>(invdet *
saturate_cast      68 modules/core/include/opencv2/core/cuda/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x));
saturate_cast      76 modules/core/include/opencv2/core/cuda/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y));
saturate_cast      84 modules/core/include/opencv2/core/cuda/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z));
saturate_cast      92 modules/core/include/opencv2/core/cuda/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z), saturate_cast<D>(v.w));
saturate_cast     657 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < m*n; i++ ) M.val[i] = saturate_cast<T2>(val[i]);
saturate_cast     740 modules/core/include/opencv2/core/matx.hpp         val[i] = saturate_cast<_Tp>(a.val[i] + b.val[i]);
saturate_cast     747 modules/core/include/opencv2/core/matx.hpp         val[i] = saturate_cast<_Tp>(a.val[i] - b.val[i]);
saturate_cast     754 modules/core/include/opencv2/core/matx.hpp         val[i] = saturate_cast<_Tp>(a.val[i] * alpha);
saturate_cast     761 modules/core/include/opencv2/core/matx.hpp         val[i] = saturate_cast<_Tp>(a.val[i] * b.val[i]);
saturate_cast     768 modules/core/include/opencv2/core/matx.hpp         val[i] = saturate_cast<_Tp>(a.val[i] / b.val[i]);
saturate_cast     866 modules/core/include/opencv2/core/matx.hpp     dst->val[idx++] = saturate_cast<_Tp>(value);
saturate_cast     956 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) w.val[i] = saturate_cast<_Tp>(this->val[i]*v.val[i]);
saturate_cast    1011 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) v.val[i] = saturate_cast<T2>(this->val[i]);
saturate_cast    1071 modules/core/include/opencv2/core/matx.hpp     this->dst->val[this->idx++] = saturate_cast<_Tp>(value);
saturate_cast    1093 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp1>(a.val[i] + b.val[i]);
saturate_cast    1101 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp1>(a.val[i] - b.val[i]);
saturate_cast    1121 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp>(a.val[i] * alpha);
saturate_cast    1129 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp>(a.val[i] * alpha);
saturate_cast    1137 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp>(a.val[i] * alpha);
saturate_cast    1221 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp1>(a.val[i] + b.val[i]);
saturate_cast    1229 modules/core/include/opencv2/core/matx.hpp         a.val[i] = saturate_cast<_Tp1>(a.val[i] - b.val[i]);
saturate_cast    1249 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*alpha);
saturate_cast    1257 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*alpha);
saturate_cast    1265 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*alpha);
saturate_cast    1274 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*ialpha);
saturate_cast    1283 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*ialpha);
saturate_cast    1292 modules/core/include/opencv2/core/matx.hpp         a[i] = saturate_cast<_Tp>(a[i]*ialpha);
saturate_cast    1354 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) t.val[i] = saturate_cast<_Tp>(-a.val[i]);
saturate_cast    1360 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, 4>(saturate_cast<_Tp>(v1[0]*v2[0] - v1[1]*v2[1] - v1[2]*v2[2] - v1[3]*v2[3]),
saturate_cast    1361 modules/core/include/opencv2/core/matx.hpp                        saturate_cast<_Tp>(v1[0]*v2[1] + v1[1]*v2[0] + v1[2]*v2[3] - v1[3]*v2[2]),
saturate_cast    1362 modules/core/include/opencv2/core/matx.hpp                        saturate_cast<_Tp>(v1[0]*v2[2] - v1[1]*v2[3] + v1[2]*v2[0] + v1[3]*v2[1]),
saturate_cast    1363 modules/core/include/opencv2/core/matx.hpp                        saturate_cast<_Tp>(v1[0]*v2[3] + v1[1]*v2[2] - v1[2]*v2[1] + v1[3]*v2[0]));
saturate_cast     687 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 2 ? default_value : Point_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]));
saturate_cast     693 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 3 ? default_value : Point3_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]),
saturate_cast     694 modules/core/include/opencv2/core/persistence.hpp                                                             saturate_cast<_Tp>(temp[2]));
saturate_cast     700 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 2 ? default_value : Size_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]));
saturate_cast     706 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 2 ? default_value : Complex<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]));
saturate_cast     712 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 4 ? default_value : Rect_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]),
saturate_cast     713 modules/core/include/opencv2/core/persistence.hpp                                                           saturate_cast<_Tp>(temp[2]), saturate_cast<_Tp>(temp[3]));
saturate_cast     725 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != 4 ? default_value : Scalar_<_Tp>(saturate_cast<_Tp>(temp[0]), saturate_cast<_Tp>(temp[1]),
saturate_cast     726 modules/core/include/opencv2/core/persistence.hpp                                                             saturate_cast<_Tp>(temp[2]), saturate_cast<_Tp>(temp[3]));
saturate_cast    1005 modules/core/include/opencv2/core/persistence.hpp     value = saturate_cast<uchar>(temp);
saturate_cast    1013 modules/core/include/opencv2/core/persistence.hpp     value = saturate_cast<schar>(temp);
saturate_cast    1021 modules/core/include/opencv2/core/persistence.hpp     value = saturate_cast<ushort>(temp);
saturate_cast    1029 modules/core/include/opencv2/core/persistence.hpp     value = saturate_cast<short>(temp);
saturate_cast     905 modules/core/include/opencv2/core/types.hpp     return Complex<T2>(saturate_cast<T2>(re), saturate_cast<T2>(im));
saturate_cast    1091 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y));
saturate_cast    1103 modules/core/include/opencv2/core/types.hpp     return saturate_cast<_Tp>(x*pt.x + y*pt.y);
saturate_cast    1144 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1145 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1152 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1153 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1160 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1161 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1168 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1169 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1176 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1177 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1184 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1185 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1210 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(a.x + b.x), saturate_cast<_Tp>(a.y + b.y) );
saturate_cast    1216 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(a.x - b.x), saturate_cast<_Tp>(a.y - b.y) );
saturate_cast    1222 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(-a.x), saturate_cast<_Tp>(-a.y) );
saturate_cast    1228 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) );
saturate_cast    1234 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) );
saturate_cast    1240 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) );
saturate_cast    1246 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) );
saturate_cast    1252 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b) );
saturate_cast    1258 modules/core/include/opencv2/core/types.hpp     return Point_<_Tp>( saturate_cast<_Tp>(b.x*a), saturate_cast<_Tp>(b.y*a) );
saturate_cast    1326 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y), saturate_cast<_Tp2>(z));
saturate_cast    1345 modules/core/include/opencv2/core/types.hpp     return saturate_cast<_Tp>(x*pt.x + y*pt.y + z*pt.z);
saturate_cast    1382 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1383 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1384 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z * b);
saturate_cast    1391 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1392 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1393 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z * b);
saturate_cast    1400 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x * b);
saturate_cast    1401 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y * b);
saturate_cast    1402 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z * b);
saturate_cast    1409 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1410 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1411 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z / b);
saturate_cast    1418 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1419 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1420 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z / b);
saturate_cast    1427 modules/core/include/opencv2/core/types.hpp     a.x = saturate_cast<_Tp>(a.x / b);
saturate_cast    1428 modules/core/include/opencv2/core/types.hpp     a.y = saturate_cast<_Tp>(a.y / b);
saturate_cast    1429 modules/core/include/opencv2/core/types.hpp     a.z = saturate_cast<_Tp>(a.z / b);
saturate_cast    1454 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(a.x + b.x), saturate_cast<_Tp>(a.y + b.y), saturate_cast<_Tp>(a.z + b.z));
saturate_cast    1460 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(a.x - b.x), saturate_cast<_Tp>(a.y - b.y), saturate_cast<_Tp>(a.z - b.z));
saturate_cast    1466 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(-a.x), saturate_cast<_Tp>(-a.y), saturate_cast<_Tp>(-a.z) );
saturate_cast    1472 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(a.x*b), saturate_cast<_Tp>(a.y*b), saturate_cast<_Tp>(a.z*b) );
saturate_cast    1478 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) );
saturate_cast    1484 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(a.x * b), saturate_cast<_Tp>(a.y * b), saturate_cast<_Tp>(a.z * b) );
saturate_cast    1490 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) );
saturate_cast    1496 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(a.x * b), saturate_cast<_Tp>(a.y * b), saturate_cast<_Tp>(a.z * b) );
saturate_cast    1502 modules/core/include/opencv2/core/types.hpp     return Point3_<_Tp>( saturate_cast<_Tp>(b.x * a), saturate_cast<_Tp>(b.y * a), saturate_cast<_Tp>(b.z * a) );
saturate_cast    1565 modules/core/include/opencv2/core/types.hpp     return Size_<_Tp2>(saturate_cast<_Tp2>(width), saturate_cast<_Tp2>(height));
saturate_cast    1723 modules/core/include/opencv2/core/types.hpp     return Rect_<_Tp2>(saturate_cast<_Tp2>(x), saturate_cast<_Tp2>(y), saturate_cast<_Tp2>(width), saturate_cast<_Tp2>(height));
saturate_cast    1953 modules/core/include/opencv2/core/types.hpp         this->val[i] = cv::saturate_cast<_Tp>(v.val[i]);
saturate_cast    1975 modules/core/include/opencv2/core/types.hpp     return Scalar_<_Tp>(saturate_cast<_Tp>(this->val[0] * a.val[0] * scale),
saturate_cast    1976 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(this->val[1] * a.val[1] * scale),
saturate_cast    1977 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(this->val[2] * a.val[2] * scale),
saturate_cast    1978 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(this->val[3] * a.val[3] * scale));
saturate_cast    1984 modules/core/include/opencv2/core/types.hpp     return Scalar_<_Tp>(saturate_cast<_Tp>( this->val[0]),
saturate_cast    1985 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-this->val[1]),
saturate_cast    1986 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-this->val[2]),
saturate_cast    1987 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-this->val[3]));
saturate_cast    2000 modules/core/include/opencv2/core/types.hpp     return Scalar_<T2>(saturate_cast<T2>(this->val[0]),
saturate_cast    2001 modules/core/include/opencv2/core/types.hpp                        saturate_cast<T2>(this->val[1]),
saturate_cast    2002 modules/core/include/opencv2/core/types.hpp                        saturate_cast<T2>(this->val[2]),
saturate_cast    2003 modules/core/include/opencv2/core/types.hpp                        saturate_cast<T2>(this->val[3]));
saturate_cast    2063 modules/core/include/opencv2/core/types.hpp     return Scalar_<_Tp>(saturate_cast<_Tp>(a.val[0] - b.val[0]),
saturate_cast    2064 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a.val[1] - b.val[1]),
saturate_cast    2065 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a.val[2] - b.val[2]),
saturate_cast    2066 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a.val[3] - b.val[3]));
saturate_cast    2087 modules/core/include/opencv2/core/types.hpp     return Scalar_<_Tp>(saturate_cast<_Tp>(-a.val[0]),
saturate_cast    2088 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-a.val[1]),
saturate_cast    2089 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-a.val[2]),
saturate_cast    2090 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(-a.val[3]));
saturate_cast    2097 modules/core/include/opencv2/core/types.hpp     return Scalar_<_Tp>(saturate_cast<_Tp>(a[0]*b[0] - a[1]*b[1] - a[2]*b[2] - a[3]*b[3]),
saturate_cast    2098 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a[0]*b[1] + a[1]*b[0] + a[2]*b[3] - a[3]*b[2]),
saturate_cast    2099 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a[0]*b[2] - a[1]*b[3] + a[2]*b[0] + a[3]*b[1]),
saturate_cast    2100 modules/core/include/opencv2/core/types.hpp                         saturate_cast<_Tp>(a[0]*b[3] + a[1]*b[2] - a[2]*b[1] + a[3]*b[0]));
saturate_cast     788 modules/core/include/opencv2/core/types_c.h     CvRect(const cv::Rect_<_Tp>& r): x(cv::saturate_cast<int>(r.x)), y(cv::saturate_cast<int>(r.y)), width(cv::saturate_cast<int>(r.width)), height(cv::saturate_cast<int>(r.height)) {}
saturate_cast     876 modules/core/include/opencv2/core/types_c.h     operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); }
saturate_cast     903 modules/core/include/opencv2/core/types_c.h     operator cv::Point_<_Tp>() const { return cv::Point_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y)); }
saturate_cast     947 modules/core/include/opencv2/core/types_c.h     operator cv::Point3_<_Tp>() const { return cv::Point3_<_Tp>(cv::saturate_cast<_Tp>(x), cv::saturate_cast<_Tp>(y), cv::saturate_cast<_Tp>(z)); }
saturate_cast    1015 modules/core/include/opencv2/core/types_c.h     CvSize(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<int>(sz.width)), height(cv::saturate_cast<int>(sz.height)) {}
saturate_cast    1017 modules/core/include/opencv2/core/types_c.h     operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); }
saturate_cast    1041 modules/core/include/opencv2/core/types_c.h     CvSize2D32f(const cv::Size_<_Tp>& sz): width(cv::saturate_cast<float>(sz.width)), height(cv::saturate_cast<float>(sz.height)) {}
saturate_cast    1043 modules/core/include/opencv2/core/types_c.h     operator cv::Size_<_Tp>() const { return cv::Size_<_Tp>(cv::saturate_cast<_Tp>(width), cv::saturate_cast<_Tp>(height)); }
saturate_cast    1134 modules/core/include/opencv2/core/types_c.h     operator cv::Scalar_<_Tp>() const { return cv::Scalar_<_Tp>(cv::saturate_cast<_Tp>(val[0]), cv::saturate_cast<_Tp>(val[1]), cv::saturate_cast<_Tp>(val[2]), cv::saturate_cast<_Tp>(val[3])); }
saturate_cast     702 modules/core/src/arithm.cpp { return saturate_cast<short>(std::abs(a - b)); }
saturate_cast     705 modules/core/src/arithm.cpp { return saturate_cast<schar>(std::abs(a - b)); }
saturate_cast     712 modules/core/src/arithm.cpp     T operator()(T a, WT b) const { return saturate_cast<T>(std::abs(a - b)); }
saturate_cast    2737 modules/core/src/arithm.cpp                 t0 = saturate_cast<T>(src1[i  ] * src2[i  ]);
saturate_cast    2738 modules/core/src/arithm.cpp                 t1 = saturate_cast<T>(src1[i+1] * src2[i+1]);
saturate_cast    2742 modules/core/src/arithm.cpp                 t0 = saturate_cast<T>(src1[i+2] * src2[i+2]);
saturate_cast    2743 modules/core/src/arithm.cpp                 t1 = saturate_cast<T>(src1[i+3] * src2[i+3]);
saturate_cast    2749 modules/core/src/arithm.cpp                 dst[i] = saturate_cast<T>(src1[i] * src2[i]);
saturate_cast    2760 modules/core/src/arithm.cpp                 T t0 = saturate_cast<T>(scale*(WT)src1[i]*src2[i]);
saturate_cast    2761 modules/core/src/arithm.cpp                 T t1 = saturate_cast<T>(scale*(WT)src1[i+1]*src2[i+1]);
saturate_cast    2764 modules/core/src/arithm.cpp                 t0 = saturate_cast<T>(scale*(WT)src1[i+2]*src2[i+2]);
saturate_cast    2765 modules/core/src/arithm.cpp                 t1 = saturate_cast<T>(scale*(WT)src1[i+3]*src2[i+3]);
saturate_cast    2770 modules/core/src/arithm.cpp                 dst[i] = saturate_cast<T>(scale*(WT)src1[i]*src2[i]);
saturate_cast    3394 modules/core/src/arithm.cpp             dst[i] = denom != 0 ? saturate_cast<T>(num*scale_f/denom) : (T)0;
saturate_cast    3416 modules/core/src/arithm.cpp             dst[i] = denom != 0 ? saturate_cast<T>(num*scale_f/denom) : (T)0;
saturate_cast    3437 modules/core/src/arithm.cpp             dst[i] = denom != 0 ? saturate_cast<T>(scale_f/denom) : (T)0;
saturate_cast    3458 modules/core/src/arithm.cpp             dst[i] = denom != 0 ? saturate_cast<T>(scale_f/denom) : (T)0;
saturate_cast    3981 modules/core/src/arithm.cpp             T t0 = saturate_cast<T>(src1[x]*alpha + src2[x]*beta + gamma);
saturate_cast    3982 modules/core/src/arithm.cpp             T t1 = saturate_cast<T>(src1[x+1]*alpha + src2[x+1]*beta + gamma);
saturate_cast    3985 modules/core/src/arithm.cpp             t0 = saturate_cast<T>(src1[x+2]*alpha + src2[x+2]*beta + gamma);
saturate_cast    3986 modules/core/src/arithm.cpp             t1 = saturate_cast<T>(src1[x+3]*alpha + src2[x+3]*beta + gamma);
saturate_cast    3991 modules/core/src/arithm.cpp             dst[x] = saturate_cast<T>(src1[x]*alpha + src2[x]*beta + gamma);
saturate_cast    4071 modules/core/src/arithm.cpp             dst[x] = saturate_cast<uchar>(t0);
saturate_cast    4072 modules/core/src/arithm.cpp             dst[x+1] = saturate_cast<uchar>(t1);
saturate_cast    4077 modules/core/src/arithm.cpp             dst[x+2] = saturate_cast<uchar>(t0);
saturate_cast    4078 modules/core/src/arithm.cpp             dst[x+3] = saturate_cast<uchar>(t1);
saturate_cast    4085 modules/core/src/arithm.cpp             dst[x] = saturate_cast<uchar>(t0);
saturate_cast    1476 modules/core/src/array.cpp             ((uchar*)data)[cn] = cv::saturate_cast<uchar>(t);
saturate_cast    1483 modules/core/src/array.cpp             ((char*)data)[cn] = cv::saturate_cast<schar>(t);
saturate_cast    1490 modules/core/src/array.cpp             ((ushort*)data)[cn] = cv::saturate_cast<ushort>(t);
saturate_cast    1497 modules/core/src/array.cpp             ((short*)data)[cn] = cv::saturate_cast<short>(t);
saturate_cast    1614 modules/core/src/array.cpp             *(uchar*)data = cv::saturate_cast<uchar>(ivalue);
saturate_cast    1617 modules/core/src/array.cpp             *(schar*)data = cv::saturate_cast<schar>(ivalue);
saturate_cast    1620 modules/core/src/array.cpp             *(ushort*)data = cv::saturate_cast<ushort>(ivalue);
saturate_cast    1623 modules/core/src/array.cpp             *(short*)data = cv::saturate_cast<short>(ivalue);
saturate_cast    1626 modules/core/src/array.cpp             *(int*)data = cv::saturate_cast<int>(ivalue);
saturate_cast    1926 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(std::abs(src[x]*scale + shift));
saturate_cast    1927 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(std::abs(src[x+1]*scale + shift));
saturate_cast    1929 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(std::abs(src[x+2]*scale + shift));
saturate_cast    1930 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(std::abs(src[x+3]*scale + shift));
saturate_cast    1935 modules/core/src/convert.cpp             dst[x] = saturate_cast<DT>(std::abs(src[x]*scale + shift));
saturate_cast    4250 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(src[x]*scale + shift);
saturate_cast    4251 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(src[x+1]*scale + shift);
saturate_cast    4253 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(src[x+2]*scale + shift);
saturate_cast    4254 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(src[x+3]*scale + shift);
saturate_cast    4260 modules/core/src/convert.cpp             dst[x] = saturate_cast<DT>(src[x]*scale + shift);
saturate_cast    4312 modules/core/src/convert.cpp             dst[x] = saturate_cast<short>(src[x]*scale + shift);
saturate_cast    4383 modules/core/src/convert.cpp             dst[x] = saturate_cast<int>(src[x]*scale + shift);
saturate_cast    5113 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(src[x]);
saturate_cast    5114 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(src[x+1]);
saturate_cast    5116 modules/core/src/convert.cpp             t0 = saturate_cast<DT>(src[x+2]);
saturate_cast    5117 modules/core/src/convert.cpp             t1 = saturate_cast<DT>(src[x+3]);
saturate_cast    5122 modules/core/src/convert.cpp             dst[x] = saturate_cast<DT>(src[x]);
saturate_cast    5162 modules/core/src/convert.cpp             dst[x] = saturate_cast<short>(src[x]);
saturate_cast    1184 modules/core/src/mathfuncs.cpp             power == -1 ? saturate_cast<T>(-1) : 0, (power & 1) ? -1 : 1,
saturate_cast    1211 modules/core/src/mathfuncs.cpp             dst[i] = saturate_cast<T>(a);
saturate_cast    1481 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]);
saturate_cast    1482 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[3]*v0 + m[4]*v1 + m[5]);
saturate_cast    1491 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]);
saturate_cast    1492 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]);
saturate_cast    1493 modules/core/src/matmul.cpp             T t2 = saturate_cast<T>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]);
saturate_cast    1500 modules/core/src/matmul.cpp             dst[x] = saturate_cast<T>(m[0]*src[0] + m[1]*src[1] + m[2]*src[2] + m[3]);
saturate_cast    1507 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]*v3 + m[4]);
saturate_cast    1508 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[5]*v0 + m[6]*v1 + m[7]*v2 + m[8]*v3 + m[9]);
saturate_cast    1510 modules/core/src/matmul.cpp             t0 = saturate_cast<T>(m[10]*v0 + m[11]*v1 + m[12]*v2 + m[13]*v3 + m[14]);
saturate_cast    1511 modules/core/src/matmul.cpp             t1 = saturate_cast<T>(m[15]*v0 + m[16]*v1 + m[17]*v2 + m[18]*v3 + m[19]);
saturate_cast    1526 modules/core/src/matmul.cpp                 dst[j] = saturate_cast<T>(s);
saturate_cast    1568 modules/core/src/matmul.cpp         short m00 = saturate_cast<short>(m[0]*SCALE), m01 = saturate_cast<short>(m[1]*SCALE),
saturate_cast    1569 modules/core/src/matmul.cpp             m02 = saturate_cast<short>(m[2]*SCALE), m10 = saturate_cast<short>(m[4]*SCALE),
saturate_cast    1570 modules/core/src/matmul.cpp             m11 = saturate_cast<short>(m[5]*SCALE), m12 = saturate_cast<short>(m[6]*SCALE),
saturate_cast    1571 modules/core/src/matmul.cpp             m20 = saturate_cast<short>(m[8]*SCALE), m21 = saturate_cast<short>(m[9]*SCALE),
saturate_cast    1572 modules/core/src/matmul.cpp             m22 = saturate_cast<short>(m[10]*SCALE);
saturate_cast    1573 modules/core/src/matmul.cpp         int m03 = saturate_cast<int>((m[3]+0.5f)*SCALE), m13 = saturate_cast<int>((m[7]+0.5f)*SCALE ),
saturate_cast    1574 modules/core/src/matmul.cpp             m23 = saturate_cast<int>((m[11]+0.5f)*SCALE);
saturate_cast    1664 modules/core/src/matmul.cpp             uchar t0 = saturate_cast<uchar>((m00*v0 + m01*v1 + m02*v2 + m03)>>BITS);
saturate_cast    1665 modules/core/src/matmul.cpp             uchar t1 = saturate_cast<uchar>((m10*v0 + m11*v1 + m12*v2 + m13)>>BITS);
saturate_cast    1666 modules/core/src/matmul.cpp             uchar t2 = saturate_cast<uchar>((m20*v0 + m21*v1 + m22*v2 + m23)>>BITS);
saturate_cast    1730 modules/core/src/matmul.cpp             ushort t0 = saturate_cast<ushort>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]);
saturate_cast    1731 modules/core/src/matmul.cpp             ushort t1 = saturate_cast<ushort>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]);
saturate_cast    1732 modules/core/src/matmul.cpp             ushort t2 = saturate_cast<ushort>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]);
saturate_cast    1769 modules/core/src/matmul.cpp                 float t0 = saturate_cast<float>(m[0]*v0 + m[1]*v1 + m[2]*v2 + m[3]);
saturate_cast    1770 modules/core/src/matmul.cpp                 float t1 = saturate_cast<float>(m[4]*v0 + m[5]*v1 + m[6]*v2 + m[7]);
saturate_cast    1771 modules/core/src/matmul.cpp                 float t2 = saturate_cast<float>(m[8]*v0 + m[9]*v1 + m[10]*v2 + m[11]);
saturate_cast    1834 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*src[x] + m[2]);
saturate_cast    1835 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[4]*src[x+1] + m[5]);
saturate_cast    1843 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*src[x] + m[3]);
saturate_cast    1844 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[5]*src[x+1] + m[7]);
saturate_cast    1845 modules/core/src/matmul.cpp             T t2 = saturate_cast<T>(m[10]*src[x+2] + m[11]);
saturate_cast    1853 modules/core/src/matmul.cpp             T t0 = saturate_cast<T>(m[0]*src[x] + m[4]);
saturate_cast    1854 modules/core/src/matmul.cpp             T t1 = saturate_cast<T>(m[6]*src[x+1] + m[9]);
saturate_cast    1856 modules/core/src/matmul.cpp             t0 = saturate_cast<T>(m[12]*src[x+2] + m[14]);
saturate_cast    1857 modules/core/src/matmul.cpp             t1 = saturate_cast<T>(m[18]*src[x+3] + m[19]);
saturate_cast    1867 modules/core/src/matmul.cpp                 dst[j] = saturate_cast<T>(src[j]*_m[j] + _m[cn]);
saturate_cast    1046 modules/core/src/matrix.cpp             buf[i] = saturate_cast<uchar>(s.val[i]);
saturate_cast    1055 modules/core/src/matrix.cpp             buf[i] = saturate_cast<schar>(s.val[i]);
saturate_cast    1064 modules/core/src/matrix.cpp             buf[i] = saturate_cast<ushort>(s.val[i]);
saturate_cast    1073 modules/core/src/matrix.cpp             buf[i] = saturate_cast<short>(s.val[i]);
saturate_cast    1082 modules/core/src/matrix.cpp             buf[i] = saturate_cast<int>(s.val[i]);
saturate_cast    1091 modules/core/src/matrix.cpp             buf[i] = saturate_cast<float>(s.val[i]);
saturate_cast    1100 modules/core/src/matrix.cpp             buf[i] = saturate_cast<double>(s.val[i]);
saturate_cast    4578 modules/core/src/matrix.cpp         *to = saturate_cast<T2>(*from);
saturate_cast    4581 modules/core/src/matrix.cpp             to[i] = saturate_cast<T2>(from[i]);
saturate_cast    4590 modules/core/src/matrix.cpp         *to = saturate_cast<T2>(*from*alpha + beta);
saturate_cast    4593 modules/core/src/matrix.cpp             to[i] = saturate_cast<T2>(from[i]*alpha + beta);
saturate_cast    3259 modules/core/src/persistence.cpp                         *(uchar*)data = cv::saturate_cast<uchar>(ival);
saturate_cast    3263 modules/core/src/persistence.cpp                         *(char*)data = cv::saturate_cast<schar>(ival);
saturate_cast    3267 modules/core/src/persistence.cpp                         *(ushort*)data = cv::saturate_cast<ushort>(ival);
saturate_cast    3271 modules/core/src/persistence.cpp                         *(short*)data = cv::saturate_cast<short>(ival);
saturate_cast    3304 modules/core/src/persistence.cpp                         *(uchar*)data = cv::saturate_cast<uchar>(ival);
saturate_cast    3309 modules/core/src/persistence.cpp                         *(char*)data = cv::saturate_cast<schar>(ival);
saturate_cast    3314 modules/core/src/persistence.cpp                         *(ushort*)data = cv::saturate_cast<ushort>(ival);
saturate_cast    3319 modules/core/src/persistence.cpp                         *(short*)data = cv::saturate_cast<short>(ival);
saturate_cast     119 modules/core/src/precomp.hpp     T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(a + b); }
saturate_cast     127 modules/core/src/precomp.hpp     T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(a - b); }
saturate_cast     135 modules/core/src/precomp.hpp     T3 operator ()(const T1 a, const T2 b) const { return saturate_cast<T3>(b - a); }
saturate_cast      99 modules/core/src/rand.cpp             arr[i] = saturate_cast<T>(t0);
saturate_cast     100 modules/core/src/rand.cpp             arr[i+1] = saturate_cast<T>(t1);
saturate_cast     106 modules/core/src/rand.cpp             arr[i+2] = saturate_cast<T>(t0);
saturate_cast     107 modules/core/src/rand.cpp             arr[i+3] = saturate_cast<T>(t1);
saturate_cast     119 modules/core/src/rand.cpp             arr[i] = saturate_cast<T>(t0);
saturate_cast     120 modules/core/src/rand.cpp             arr[i+1] = saturate_cast<T>(t1);
saturate_cast     124 modules/core/src/rand.cpp             arr[i+2] = saturate_cast<T>(t0);
saturate_cast     125 modules/core/src/rand.cpp             arr[i+3] = saturate_cast<T>(t1);
saturate_cast     135 modules/core/src/rand.cpp         arr[i] = saturate_cast<T>(t0);
saturate_cast     168 modules/core/src/rand.cpp         arr[i] = saturate_cast<T>((int)v0);
saturate_cast     169 modules/core/src/rand.cpp         arr[i+1] = saturate_cast<T>((int)v1);
saturate_cast     181 modules/core/src/rand.cpp         arr[i+2] = saturate_cast<T>((int)v0);
saturate_cast     182 modules/core/src/rand.cpp         arr[i+3] = saturate_cast<T>((int)v1);
saturate_cast     192 modules/core/src/rand.cpp         arr[i] = saturate_cast<T>((int)v0);
saturate_cast     419 modules/core/src/rand.cpp                 dst[i] = saturate_cast<T>(src[i]*a + b);
saturate_cast     425 modules/core/src/rand.cpp                     dst[k] = saturate_cast<T>(src[k]*stddev[k] + mean[k]);
saturate_cast     437 modules/core/src/rand.cpp                 dst[j] = saturate_cast<T>(s);
saturate_cast     554 modules/core/src/stat.cpp     nz += i - saturate_cast<int>(buf[0] + buf[1] + buf[2] + buf[3]);
saturate_cast     607 modules/core/src/stat.cpp     nz += i - saturate_cast<int>(buf[0] + buf[1] + buf[2] + buf[3]);
saturate_cast     660 modules/core/src/stat.cpp     nz += i - saturate_cast<int>(buf[0] + buf[1] + buf[2] + buf[3]);
saturate_cast     714 modules/core/src/stat.cpp     nz += i - saturate_cast<int>(buf[0] + buf[1] + buf[2] + buf[3]);
saturate_cast    1286 modules/core/src/stat.cpp         return res = saturate_cast<int>(cv::sum(db.getMat(ACCESS_READ))[0]), true;
saturate_cast    1581 modules/core/src/stat.cpp             nz = saturate_cast<int>(funcs[0](Mat(1, groups, CV_32SC1, dbm.ptr() +
saturate_cast    1176 modules/core/test/test_arithm.cpp         dst.at<int>(0,0) = saturate_cast<int>(cvtest::mean(temp)[0]/255*temp.total());
saturate_cast      20 modules/core/test/test_io.cpp             *(uchar*)ptr = saturate_cast<uchar>(val);
saturate_cast      22 modules/core/test/test_io.cpp             *(schar*)ptr = saturate_cast<schar>(val);
saturate_cast      24 modules/core/test/test_io.cpp             *(ushort*)ptr = saturate_cast<ushort>(val);
saturate_cast      26 modules/core/test/test_io.cpp             *(short*)ptr = saturate_cast<short>(val);
saturate_cast      28 modules/core/test/test_io.cpp             *(int*)ptr = saturate_cast<int>(val);
saturate_cast      30 modules/core/test/test_io.cpp             *(float*)ptr = saturate_cast<float>(val);
saturate_cast      32 modules/core/test/test_io.cpp             *(double*)ptr = saturate_cast<double>(val);
saturate_cast     243 modules/core/test/test_math.cpp                         ((uchar*)b_data)[j] = saturate_cast<uchar>(val);
saturate_cast     260 modules/core/test/test_math.cpp                         ((schar*)b_data)[j] = saturate_cast<schar>(val);
saturate_cast     277 modules/core/test/test_math.cpp                         ((ushort*)b_data)[j] = saturate_cast<ushort>(val);
saturate_cast     294 modules/core/test/test_math.cpp                         ((short*)b_data)[j] = saturate_cast<short>(val);
saturate_cast      25 modules/core/test/test_misc.cpp     unsigned int val = cv::saturate_cast<unsigned int>(d);
saturate_cast     793 modules/cudaarithm/test/test_element_operations.cpp             gold[0] = cv::saturate_cast<uchar>(val1[0] * val2);
saturate_cast     794 modules/cudaarithm/test/test_element_operations.cpp             gold[1] = cv::saturate_cast<uchar>(val1[1] * val2);
saturate_cast     795 modules/cudaarithm/test/test_element_operations.cpp             gold[2] = cv::saturate_cast<uchar>(val1[2] * val2);
saturate_cast     796 modules/cudaarithm/test/test_element_operations.cpp             gold[3] = cv::saturate_cast<uchar>(val1[3] * val2);
saturate_cast     830 modules/cudaarithm/test/test_element_operations.cpp             gold[0] = cv::saturate_cast<short>(val1[0] * val2);
saturate_cast     831 modules/cudaarithm/test/test_element_operations.cpp             gold[1] = cv::saturate_cast<short>(val1[1] * val2);
saturate_cast     832 modules/cudaarithm/test/test_element_operations.cpp             gold[2] = cv::saturate_cast<short>(val1[2] * val2);
saturate_cast     833 modules/cudaarithm/test/test_element_operations.cpp             gold[3] = cv::saturate_cast<short>(val1[3] * val2);
saturate_cast    1160 modules/cudaarithm/test/test_element_operations.cpp             gold[0] = cv::saturate_cast<uchar>(val1[0] / val2);
saturate_cast    1161 modules/cudaarithm/test/test_element_operations.cpp             gold[1] = cv::saturate_cast<uchar>(val1[1] / val2);
saturate_cast    1162 modules/cudaarithm/test/test_element_operations.cpp             gold[2] = cv::saturate_cast<uchar>(val1[2] / val2);
saturate_cast    1163 modules/cudaarithm/test/test_element_operations.cpp             gold[3] = cv::saturate_cast<uchar>(val1[3] / val2);
saturate_cast    1197 modules/cudaarithm/test/test_element_operations.cpp             gold[0] = cv::saturate_cast<short>(val1[0] / val2);
saturate_cast    1198 modules/cudaarithm/test/test_element_operations.cpp             gold[1] = cv::saturate_cast<short>(val1[1] / val2);
saturate_cast    1199 modules/cudaarithm/test/test_element_operations.cpp             gold[2] = cv::saturate_cast<short>(val1[2] / val2);
saturate_cast    1200 modules/cudaarithm/test/test_element_operations.cpp             gold[3] = cv::saturate_cast<short>(val1[3] / val2);
saturate_cast    1705 modules/cudaarithm/test/test_element_operations.cpp                 dst.at<T>(y, x) = cv::saturate_cast<T>(static_cast<int>(std::exp(static_cast<float>(src.at<T>(y, x)))));
saturate_cast    1915 modules/cudaarithm/test/test_element_operations.cpp                     T sc_val = cv::saturate_cast<T>(sc.val[c]);
saturate_cast      90 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, x));
saturate_cast      97 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_low(yStart - (HALO_SIZE - j) * BLOCK_DIM_Y, src_col, src.step));
saturate_cast     105 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + j * BLOCK_DIM_Y, x));
saturate_cast     110 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(src(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, x));
saturate_cast     117 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + HALO_SIZE * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + j * BLOCK_DIM_Y, src_col, src.step));
saturate_cast     122 modules/cudafilters/src/cuda/column_filter.hpp                 smem[threadIdx.y + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_Y + j * BLOCK_DIM_Y][threadIdx.x] = saturate_cast<sum_t>(brd.at_high(yStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_Y, src_col, src.step));
saturate_cast     140 modules/cudafilters/src/cuda/column_filter.hpp                 dst(y, x) = saturate_cast<D>(sum);
saturate_cast      90 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart - (HALO_SIZE - j) * BLOCK_DIM_X]);
saturate_cast      97 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_low(xStart - (HALO_SIZE - j) * BLOCK_DIM_X, src_row));
saturate_cast     105 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + j * BLOCK_DIM_X]);
saturate_cast     110 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_X]);
saturate_cast     117 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + j * BLOCK_DIM_X, src_row));
saturate_cast     122 modules/cudafilters/src/cuda/row_filter.hpp                 smem[threadIdx.y][threadIdx.x + (PATCH_PER_BLOCK + HALO_SIZE) * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_X, src_row));
saturate_cast     140 modules/cudafilters/src/cuda/row_filter.hpp                 dst(y, x) = saturate_cast<D>(sum);
saturate_cast     758 modules/cudaobjdetect/src/cascadeclassifier.cpp             features.push_back(saturate_cast<uchar>((int)*(r_it++)));
saturate_cast     759 modules/cudaobjdetect/src/cascadeclassifier.cpp             features.push_back(saturate_cast<uchar>((int)*(r_it++)));
saturate_cast     760 modules/cudaobjdetect/src/cascadeclassifier.cpp             features.push_back(saturate_cast<uchar>((int)*(r_it++)));
saturate_cast     761 modules/cudaobjdetect/src/cascadeclassifier.cpp             features.push_back(saturate_cast<uchar>((int)*(r_it++)));
saturate_cast      78 modules/cudawarping/src/resize.cpp         dsize = Size(saturate_cast<int>(src.cols * fx), saturate_cast<int>(src.rows * fy));
saturate_cast      52 modules/cudawarping/test/interpolation.hpp         return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]);
saturate_cast      81 modules/cudawarping/test/interpolation.hpp         return cv::saturate_cast<T>(res);
saturate_cast     127 modules/cudawarping/test/interpolation.hpp         return cv::saturate_cast<T>(res);
saturate_cast      59 modules/cudawarping/test/test_resize.cpp         cv::Size dsize(cv::saturate_cast<int>(src.cols * fx), cv::saturate_cast<int>(src.rows * fy));
saturate_cast     146 modules/cudawarping/test/test_resize.cpp     cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi);
saturate_cast     192 modules/cudawarping/test/test_resize.cpp     cv::cuda::GpuMat dst = createMat(cv::Size(cv::saturate_cast<int>(src.cols * coeff), cv::saturate_cast<int>(src.rows * coeff)), type, useRoi);
saturate_cast     351 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(Y);
saturate_cast     352 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(Cr);
saturate_cast     353 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(Cb);
saturate_cast     394 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(bidx == 0 ? b : r);
saturate_cast     395 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(g);
saturate_cast     396 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(bidx == 0 ? r : b);
saturate_cast     445 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(Y);
saturate_cast     446 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(Cr);
saturate_cast     447 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(Cb);
saturate_cast     488 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(bidx == 0 ? b : r);
saturate_cast     489 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(g);
saturate_cast     490 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(bidx == 0 ? r : b);
saturate_cast     533 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(CV_CUDEV_DESCALE(r * c_RGB2XYZ_D65i[6] + g * c_RGB2XYZ_D65i[7] + b * c_RGB2XYZ_D65i[8], xyz_shift));
saturate_cast     534 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(CV_CUDEV_DESCALE(r * c_RGB2XYZ_D65i[0] + g * c_RGB2XYZ_D65i[1] + b * c_RGB2XYZ_D65i[2], xyz_shift));
saturate_cast     535 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(CV_CUDEV_DESCALE(r * c_RGB2XYZ_D65i[3] + g * c_RGB2XYZ_D65i[4] + b * c_RGB2XYZ_D65i[5], xyz_shift));
saturate_cast     576 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<T>(bidx == 0 ? b : r);
saturate_cast     577 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<T>(g);
saturate_cast     578 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<T>(bidx == 0 ? r : b);
saturate_cast     645 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(h);
saturate_cast     646 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(s);
saturate_cast     647 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(v);
saturate_cast     764 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast     765 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast     766 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast     838 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x);
saturate_cast     839 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast     840 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast     918 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast     919 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast     920 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast     993 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(L);
saturate_cast     994 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(a);
saturate_cast     995 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(b);
saturate_cast    1120 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1121 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast    1122 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast    1192 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x * 2.55f);
saturate_cast    1193 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 0.72033898305084743f + 96.525423728813564f);
saturate_cast    1194 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 0.9732824427480916f + 136.259541984732824f);
saturate_cast    1270 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.x = saturate_cast<uchar>(buf.x * 255.f);
saturate_cast    1271 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.y = saturate_cast<uchar>(buf.y * 255.f);
saturate_cast    1272 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp             dst.z = saturate_cast<uchar>(buf.z * 255.f);
saturate_cast      82 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(a + b);
saturate_cast      91 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(a - b);
saturate_cast     100 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(a * b);
saturate_cast     109 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(a / b);
saturate_cast     118 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(a % b);
saturate_cast     126 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(-a);
saturate_cast     642 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(angle);
saturate_cast     667 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<D>(v);
saturate_cast     680 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(src > thresh) * maxVal;
saturate_cast     700 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(src <= thresh) * maxVal;
saturate_cast     738 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(src > thresh) * src;
saturate_cast     756 modules/cudev/include/opencv2/cudev/functional/functional.hpp         return saturate_cast<T>(src <= thresh) * src;
saturate_cast      68 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp         dst(y, x) = saturate_cast<DstType>(src(y, x));
saturate_cast      92 modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp             get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(src)(y, x));
saturate_cast     181 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp                 dst(y, dst_x) = saturate_cast<DstType>(sum);
saturate_cast      85 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp             s_srcPatch[threadIdx.y][threadIdx.x] = saturate_cast<work_type>(src(srcy, srcx));
saturate_cast     153 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp             dst(y, x) = saturate_cast<DstType>(4.0f * sum);
saturate_cast     273 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp             sum = sum + saturate_cast<work_type>(srcVal);
saturate_cast     114 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp                 myVal = op(myVal, saturate_cast<work_type>(src(y, x)));
saturate_cast     121 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp             dst[y] = saturate_cast<ResType>(Reductor::result(myVal, cols));
saturate_cast      76 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp                     myVal = op(myVal, saturate_cast<work_type>(src(y, x)));
saturate_cast      96 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp             dst[x] = saturate_cast<ResType>(Reductor::result(smem[threadIdx.x * BLOCK_SIZE_X], rows));
saturate_cast      74 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src1(y, x)),
saturate_cast      75 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src2(y, x))
saturate_cast     104 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src1(y, x)),
saturate_cast     105 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src2(y, x)),
saturate_cast     106 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src3(y, x))
saturate_cast     135 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src1(y, x)),
saturate_cast     136 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src2(y, x)),
saturate_cast     137 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src3(y, x)),
saturate_cast     138 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp                     saturate_cast<dst_elem_type>(src4(y, x))
saturate_cast     167 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp         dst(y, x) = saturate_cast<DstType>(op(src(y, x)));
saturate_cast     179 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp         dst(y, x) = saturate_cast<DstType>(op(src1(y, x), src2(y, x)));
saturate_cast     381 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp             get<count - 1>(dst)(y, x) = saturate_cast<dst_type>(get<count - 1>(op)(srcVal));
saturate_cast     105 modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp                     dst(yIndex + i, xIndex) = saturate_cast<DstType>(tile[threadIdx.x][threadIdx.y + i]);
saturate_cast     101 modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp         return saturate_cast<T>(r / sz);
saturate_cast     130 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         return saturate_cast<typename PtrTraits<SrcPtr>::value_type>(out);
saturate_cast     209 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         return saturate_cast<typename PtrTraits<SrcPtr>::value_type>(res);
saturate_cast     261 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(dy, dx));
saturate_cast     267 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         return saturate_cast<typename PtrTraits<SrcPtr>::value_type>(out * scale);
saturate_cast     326 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(dy, dx));
saturate_cast     329 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(dy, sx1 - 1)) * static_cast<work_elem_type>(sx1 - fsx1);
saturate_cast     332 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(dy, sx2)) * static_cast<work_elem_type>(fsx2 - sx2);
saturate_cast     338 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(sy1 - 1, dx)) * static_cast<work_elem_type>(sy1 - fsy1);
saturate_cast     344 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp                 out = out + saturate_cast<work_type>(src(sy2, dx)) * static_cast<work_elem_type>(fsy2 - sy2);
saturate_cast     348 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp             out = out + saturate_cast<work_type>(src(sy1 - 1, sx1 - 1)) * static_cast<work_elem_type>((sy1 - fsy1) * (sx1 - fsx1));
saturate_cast     351 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp             out = out + saturate_cast<work_type>(src(sy1 - 1, sx2)) * static_cast<work_elem_type>((sy1 - fsy1) * (fsx2 - sx2));
saturate_cast     354 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp             out = out + saturate_cast<work_type>(src(sy2, sx2)) * static_cast<work_elem_type>((fsy2 - sy2) * (fsx2 - sx2));
saturate_cast     357 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp             out = out + saturate_cast<work_type>(src(sy2, sx1 - 1)) * static_cast<work_elem_type>((fsy2 - sy2) * (sx1 - fsx1));
saturate_cast     361 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         return saturate_cast<typename PtrTraits<SrcPtr>::value_type>(out * scale);
saturate_cast      95 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp     r.rows = cv::saturate_cast<int>(getRows(src) * fy);
saturate_cast      96 modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp     r.cols = cv::saturate_cast<int>(getCols(src) * fx);
saturate_cast      65 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(schar v)
saturate_cast      72 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(short v)
saturate_cast      78 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(ushort v)
saturate_cast      84 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(int v)
saturate_cast      90 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(uint v)
saturate_cast      96 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(float v)
saturate_cast     102 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uchar saturate_cast<uchar>(double v)
saturate_cast     109 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(uchar v)
saturate_cast     116 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(short v)
saturate_cast     122 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(ushort v)
saturate_cast     128 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(int v)
saturate_cast     134 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(uint v)
saturate_cast     140 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(float v)
saturate_cast     146 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ schar saturate_cast<schar>(double v)
saturate_cast     153 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(schar v)
saturate_cast     160 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(short v)
saturate_cast     166 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(int v)
saturate_cast     172 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(uint v)
saturate_cast     178 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(float v)
saturate_cast     184 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ ushort saturate_cast<ushort>(double v)
saturate_cast     191 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ short saturate_cast<short>(ushort v)
saturate_cast     197 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ short saturate_cast<short>(int v)
saturate_cast     203 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ short saturate_cast<short>(uint v)
saturate_cast     209 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ short saturate_cast<short>(float v)
saturate_cast     215 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ short saturate_cast<short>(double v)
saturate_cast     222 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ int saturate_cast<int>(uint v)
saturate_cast     228 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ int saturate_cast<int>(float v)
saturate_cast     232 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ int saturate_cast<int>(double v)
saturate_cast     237 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp     return saturate_cast<int>((float) v);
saturate_cast     241 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uint saturate_cast<uint>(schar v)
saturate_cast     248 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uint saturate_cast<uint>(short v)
saturate_cast     254 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uint saturate_cast<uint>(int v)
saturate_cast     260 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uint saturate_cast<uint>(float v)
saturate_cast     264 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp template <> __device__ __forceinline__ uint saturate_cast<uint>(double v)
saturate_cast     269 modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp     return saturate_cast<uint>((float) v);
saturate_cast      68 modules/cudev/include/opencv2/cudev/util/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x));
saturate_cast      77 modules/cudev/include/opencv2/cudev/util/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y));
saturate_cast      86 modules/cudev/include/opencv2/cudev/util/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z));
saturate_cast      95 modules/cudev/include/opencv2/cudev/util/vec_math.hpp             return VecTraits<VecD>::make(saturate_cast<D>(v.x), saturate_cast<D>(v.y), saturate_cast<D>(v.z), saturate_cast<D>(v.w));
saturate_cast    2114 modules/features2d/src/brisk.cpp     scores_((int)keypoints[i].pt.y, (int)keypoints[i].pt.x) = saturate_cast<uchar>(keypoints[i].response);
saturate_cast     503 modules/flann/src/miniflann.cpp                                             saturate_cast<float>(radius),
saturate_cast     601 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(uchar v)    { return _Tp(v); }
saturate_cast     603 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(schar v)    { return _Tp(v); }
saturate_cast     605 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(ushort v)   { return _Tp(v); }
saturate_cast     607 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(short v)    { return _Tp(v); }
saturate_cast     609 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(unsigned v) { return _Tp(v); }
saturate_cast     611 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(int v)      { return _Tp(v); }
saturate_cast     613 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(float v)    { return _Tp(v); }
saturate_cast     615 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(double v)   { return _Tp(v); }
saturate_cast     617 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(int64 v)    { return _Tp(v); }
saturate_cast     619 modules/hal/include/opencv2/hal/defs.h template<typename _Tp> static inline _Tp saturate_cast(uint64 v)   { return _Tp(v); }
saturate_cast     623 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(schar v)        { return (uchar)std::max((int)v, 0); }
saturate_cast     624 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(ushort v)       { return (uchar)std::min((unsigned)v, (unsigned)UCHAR_MAX); }
saturate_cast     625 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(int v)          { return (uchar)((unsigned)v <= UCHAR_MAX ? v : v > 0 ? UCHAR_MAX : 0); }
saturate_cast     626 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(short v)        { return saturate_cast<uchar>((int)v); }
saturate_cast     627 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(unsigned v)     { return (uchar)std::min(v, (unsigned)UCHAR_MAX); }
saturate_cast     628 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(float v)        { int iv = cvRound(v); return saturate_cast<uchar>(iv); }
saturate_cast     629 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(double v)       { int iv = cvRound(v); return saturate_cast<uchar>(iv); }
saturate_cast     630 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(int64 v)        { return (uchar)((uint64)v <= (uint64)UCHAR_MAX ? v : v > 0 ? UCHAR_MAX : 0); }
saturate_cast     631 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(uint64 v)       { return (uchar)std::min(v, (uint64)UCHAR_MAX); }
saturate_cast     633 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(uchar v)        { return (schar)std::min((int)v, SCHAR_MAX); }
saturate_cast     634 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(ushort v)       { return (schar)std::min((unsigned)v, (unsigned)SCHAR_MAX); }
saturate_cast     635 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(int v)          { return (schar)((unsigned)(v-SCHAR_MIN) <= (unsigned)UCHAR_MAX ? v : v > 0 ? SCHAR_MAX : SCHAR_MIN); }
saturate_cast     636 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(short v)        { return saturate_cast<schar>((int)v); }
saturate_cast     637 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(unsigned v)     { return (schar)std::min(v, (unsigned)SCHAR_MAX); }
saturate_cast     638 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(float v)        { int iv = cvRound(v); return saturate_cast<schar>(iv); }
saturate_cast     639 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(double v)       { int iv = cvRound(v); return saturate_cast<schar>(iv); }
saturate_cast     640 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(int64 v)        { return (schar)((uint64)((int64)v-SCHAR_MIN) <= (uint64)UCHAR_MAX ? v : v > 0 ? SCHAR_MAX : SCHAR_MIN); }
saturate_cast     641 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(uint64 v)       { return (schar)std::min(v, (uint64)SCHAR_MAX); }
saturate_cast     643 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(schar v)      { return (ushort)std::max((int)v, 0); }
saturate_cast     644 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(short v)      { return (ushort)std::max((int)v, 0); }
saturate_cast     645 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(int v)        { return (ushort)((unsigned)v <= (unsigned)USHRT_MAX ? v : v > 0 ? USHRT_MAX : 0); }
saturate_cast     646 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(unsigned v)   { return (ushort)std::min(v, (unsigned)USHRT_MAX); }
saturate_cast     647 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(float v)      { int iv = cvRound(v); return saturate_cast<ushort>(iv); }
saturate_cast     648 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(double v)     { int iv = cvRound(v); return saturate_cast<ushort>(iv); }
saturate_cast     649 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(int64 v)      { return (ushort)((uint64)v <= (uint64)USHRT_MAX ? v : v > 0 ? USHRT_MAX : 0); }
saturate_cast     650 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(uint64 v)     { return (ushort)std::min(v, (uint64)USHRT_MAX); }
saturate_cast     652 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(ushort v)       { return (short)std::min((int)v, SHRT_MAX); }
saturate_cast     653 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(int v)          { return (short)((unsigned)(v - SHRT_MIN) <= (unsigned)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
saturate_cast     654 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(unsigned v)     { return (short)std::min(v, (unsigned)SHRT_MAX); }
saturate_cast     655 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(float v)        { int iv = cvRound(v); return saturate_cast<short>(iv); }
saturate_cast     656 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(double v)       { int iv = cvRound(v); return saturate_cast<short>(iv); }
saturate_cast     657 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(int64 v)        { return (short)((uint64)((int64)v - SHRT_MIN) <= (uint64)USHRT_MAX ? v : v > 0 ? SHRT_MAX : SHRT_MIN); }
saturate_cast     658 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(uint64 v)       { return (short)std::min(v, (uint64)SHRT_MAX); }
saturate_cast     660 modules/hal/include/opencv2/hal/defs.h template<> inline int saturate_cast<int>(float v)            { return cvRound(v); }
saturate_cast     661 modules/hal/include/opencv2/hal/defs.h template<> inline int saturate_cast<int>(double v)           { return cvRound(v); }
saturate_cast     664 modules/hal/include/opencv2/hal/defs.h template<> inline unsigned saturate_cast<unsigned>(float v)  { return cvRound(v); }
saturate_cast     665 modules/hal/include/opencv2/hal/defs.h template<> inline unsigned saturate_cast<unsigned>(double v) { return cvRound(v); }
saturate_cast     132 modules/hal/include/opencv2/hal/intrin_cpp.hpp         c.s[i] = saturate_cast<_Tp>(a.s[i] bin_op b.s[i]); \
saturate_cast     139 modules/hal/include/opencv2/hal/intrin_cpp.hpp         a.s[i] = saturate_cast<_Tp>(a.s[i] bin_op b.s[i]); \
saturate_cast     764 modules/hal/include/opencv2/hal/intrin_cpp.hpp         c.s[i] = saturate_cast<_Tpn>(a.s[i]); \
saturate_cast     765 modules/hal/include/opencv2/hal/intrin_cpp.hpp         c.s[i+_Tpvec::nlanes] = saturate_cast<_Tpn>(b.s[i]); \
saturate_cast     774 modules/hal/include/opencv2/hal/intrin_cpp.hpp         c.s[i] = saturate_cast<_Tpn>((a.s[i] + ((_Tp)1 << (n - 1))) >> n); \
saturate_cast     775 modules/hal/include/opencv2/hal/intrin_cpp.hpp         c.s[i+_Tpvec::nlanes] = saturate_cast<_Tpn>((b.s[i] + ((_Tp)1 << (n - 1))) >> n); \
saturate_cast     782 modules/hal/include/opencv2/hal/intrin_cpp.hpp         ptr[i] = saturate_cast<_Tpn>(a.s[i]); \
saturate_cast     787 modules/hal/include/opencv2/hal/intrin_cpp.hpp         ptr[i] = saturate_cast<_Tpn>((a.s[i] + ((_Tp)1 << (n - 1))) >> n); \
saturate_cast     351 modules/imgcodecs/src/grfmt_exr.cpp                         out[x] = cv::saturate_cast<uchar>(fi[x]*5);
saturate_cast     359 modules/imgcodecs/src/grfmt_exr.cpp                         out[x] = cv::saturate_cast<uchar>(ui[x]);
saturate_cast     488 modules/imgcodecs/src/grfmt_exr.cpp                 ((uchar *)data)[y * step + x * 3 + 0] = cv::saturate_cast<uchar>(b);
saturate_cast     489 modules/imgcodecs/src/grfmt_exr.cpp                 ((uchar *)data)[y * step + x * 3 + 1] = cv::saturate_cast<uchar>(Y);
saturate_cast     490 modules/imgcodecs/src/grfmt_exr.cpp                 ((uchar *)data)[y * step + x * 3 + 2] = cv::saturate_cast<uchar>(r);
saturate_cast     317 modules/imgcodecs/src/grfmt_jpeg2000.cpp                     dst[x*ncmpts] = cv::saturate_cast<uchar>(pix);
saturate_cast     323 modules/imgcodecs/src/grfmt_jpeg2000.cpp                     dst[x*ncmpts] = cv::saturate_cast<uchar>(pix);
saturate_cast     330 modules/imgcodecs/src/grfmt_jpeg2000.cpp                 dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<uchar>(pix);
saturate_cast     336 modules/imgcodecs/src/grfmt_jpeg2000.cpp                 pix = cv::saturate_cast<uchar>(pix);
saturate_cast     381 modules/imgcodecs/src/grfmt_jpeg2000.cpp                     dst[x*ncmpts] = cv::saturate_cast<ushort>(pix);
saturate_cast     387 modules/imgcodecs/src/grfmt_jpeg2000.cpp                     dst[x*ncmpts] = cv::saturate_cast<ushort>(pix);
saturate_cast     394 modules/imgcodecs/src/grfmt_jpeg2000.cpp                 dst[x*ncmpts] = dst[(x+1)*ncmpts] = cv::saturate_cast<ushort>(pix);
saturate_cast     400 modules/imgcodecs/src/grfmt_jpeg2000.cpp                 pix = cv::saturate_cast<ushort>(pix);
saturate_cast      81 modules/imgproc/src/blend.cpp                 dst_row[x] = saturate_cast<T>(num / den);
saturate_cast     225 modules/imgproc/src/clahe.cpp                 tileLut[i] = cv::saturate_cast<T>(sum * lutScale_);
saturate_cast     313 modules/imgproc/src/clahe.cpp                 dstRow[x] = cv::saturate_cast<T>(res);
saturate_cast    1269 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<_Tp>(src[0]*cb + src[1]*cg + src[2]*cr);
saturate_cast    1724 modules/imgproc/src/color.cpp             _Tp Y = saturate_cast<_Tp>(src[0]*C0 + src[1]*C1 + src[2]*C2);
saturate_cast    1725 modules/imgproc/src/color.cpp             _Tp Cr = saturate_cast<_Tp>((src[bidx^2] - Y)*C3 + delta);
saturate_cast    1726 modules/imgproc/src/color.cpp             _Tp Cb = saturate_cast<_Tp>((src[bidx] - Y)*C4 + delta);
saturate_cast    1920 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<_Tp>(Y);
saturate_cast    1921 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<_Tp>(Cr);
saturate_cast    1922 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<_Tp>(Cb);
saturate_cast    2015 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<uchar>(Y);
saturate_cast    2016 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<uchar>(Cr);
saturate_cast    2017 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<uchar>(Cb);
saturate_cast    2137 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<ushort>(Y);
saturate_cast    2138 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<ushort>(Cr);
saturate_cast    2139 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<ushort>(Cb);
saturate_cast    2285 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<uchar>(Y);
saturate_cast    2286 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<uchar>(Cr);
saturate_cast    2287 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<uchar>(Cb);
saturate_cast    2414 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<ushort>(Y);
saturate_cast    2415 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<ushort>(Cr);
saturate_cast    2416 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<ushort>(Cb);
saturate_cast    2451 modules/imgproc/src/color.cpp             _Tp b = saturate_cast<_Tp>(Y + (Cb - delta)*C3);
saturate_cast    2452 modules/imgproc/src/color.cpp             _Tp g = saturate_cast<_Tp>(Y + (Cb - delta)*C2 + (Cr - delta)*C1);
saturate_cast    2453 modules/imgproc/src/color.cpp             _Tp r = saturate_cast<_Tp>(Y + (Cr - delta)*C0);
saturate_cast    2678 modules/imgproc/src/color.cpp             dst[bidx] = saturate_cast<_Tp>(b);
saturate_cast    2679 modules/imgproc/src/color.cpp             dst[1] = saturate_cast<_Tp>(g);
saturate_cast    2680 modules/imgproc/src/color.cpp             dst[bidx^2] = saturate_cast<_Tp>(r);
saturate_cast    2781 modules/imgproc/src/color.cpp             dst[bidx] = saturate_cast<uchar>(b);
saturate_cast    2782 modules/imgproc/src/color.cpp             dst[1] = saturate_cast<uchar>(g);
saturate_cast    2783 modules/imgproc/src/color.cpp             dst[bidx^2] = saturate_cast<uchar>(r);
saturate_cast    2921 modules/imgproc/src/color.cpp             dst[bidx] = saturate_cast<ushort>(b);
saturate_cast    2922 modules/imgproc/src/color.cpp             dst[1] = saturate_cast<ushort>(g);
saturate_cast    2923 modules/imgproc/src/color.cpp             dst[bidx^2] = saturate_cast<ushort>(r);
saturate_cast    3099 modules/imgproc/src/color.cpp             dst[bidx] = saturate_cast<uchar>(b);
saturate_cast    3100 modules/imgproc/src/color.cpp             dst[1] = saturate_cast<uchar>(g);
saturate_cast    3101 modules/imgproc/src/color.cpp             dst[bidx^2] = saturate_cast<uchar>(r);
saturate_cast    3156 modules/imgproc/src/color.cpp             _Tp X = saturate_cast<_Tp>(src[0]*C0 + src[1]*C1 + src[2]*C2);
saturate_cast    3157 modules/imgproc/src/color.cpp             _Tp Y = saturate_cast<_Tp>(src[0]*C3 + src[1]*C4 + src[2]*C5);
saturate_cast    3158 modules/imgproc/src/color.cpp             _Tp Z = saturate_cast<_Tp>(src[0]*C6 + src[1]*C7 + src[2]*C8);
saturate_cast    3225 modules/imgproc/src/color.cpp             float X = saturate_cast<float>(src[0]*C0 + src[1]*C1 + src[2]*C2);
saturate_cast    3226 modules/imgproc/src/color.cpp             float Y = saturate_cast<float>(src[0]*C3 + src[1]*C4 + src[2]*C5);
saturate_cast    3227 modules/imgproc/src/color.cpp             float Z = saturate_cast<float>(src[0]*C6 + src[1]*C7 + src[2]*C8);
saturate_cast    3335 modules/imgproc/src/color.cpp             float X = saturate_cast<float>(src[0]*C0 + src[1]*C1 + src[2]*C2);
saturate_cast    3336 modules/imgproc/src/color.cpp             float Y = saturate_cast<float>(src[0]*C3 + src[1]*C4 + src[2]*C5);
saturate_cast    3337 modules/imgproc/src/color.cpp             float Z = saturate_cast<float>(src[0]*C6 + src[1]*C7 + src[2]*C8);
saturate_cast    3385 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<_Tp>(X); dst[i+1] = saturate_cast<_Tp>(Y);
saturate_cast    3386 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<_Tp>(Z);
saturate_cast    3490 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<uchar>(X);
saturate_cast    3491 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<uchar>(Y);
saturate_cast    3492 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<uchar>(Z);
saturate_cast    3622 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<ushort>(X);
saturate_cast    3623 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<ushort>(Y);
saturate_cast    3624 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<ushort>(Z);
saturate_cast    3661 modules/imgproc/src/color.cpp             _Tp B = saturate_cast<_Tp>(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2);
saturate_cast    3662 modules/imgproc/src/color.cpp             _Tp G = saturate_cast<_Tp>(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5);
saturate_cast    3663 modules/imgproc/src/color.cpp             _Tp R = saturate_cast<_Tp>(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8);
saturate_cast    3834 modules/imgproc/src/color.cpp             dst[0] = saturate_cast<_Tp>(B); dst[1] = saturate_cast<_Tp>(G);
saturate_cast    3835 modules/imgproc/src/color.cpp             dst[2] = saturate_cast<_Tp>(R);
saturate_cast    3950 modules/imgproc/src/color.cpp             dst[0] = saturate_cast<uchar>(B); dst[1] = saturate_cast<uchar>(G);
saturate_cast    3951 modules/imgproc/src/color.cpp             dst[2] = saturate_cast<uchar>(R);
saturate_cast    4101 modules/imgproc/src/color.cpp             dst[0] = saturate_cast<ushort>(B); dst[1] = saturate_cast<ushort>(G);
saturate_cast    4102 modules/imgproc/src/color.cpp             dst[2] = saturate_cast<ushort>(R);
saturate_cast    4149 modules/imgproc/src/color.cpp                 sdiv_table[i] = saturate_cast<int>((255 << hsv_shift)/(1.*i));
saturate_cast    4150 modules/imgproc/src/color.cpp                 hdiv_table180[i] = saturate_cast<int>((180 << hsv_shift)/(6.*i));
saturate_cast    4151 modules/imgproc/src/color.cpp                 hdiv_table256[i] = saturate_cast<int>((256 << hsv_shift)/(6.*i));
saturate_cast    4178 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<uchar>(h);
saturate_cast    4480 modules/imgproc/src/color.cpp                 dst[0] = saturate_cast<uchar>(buf[j]*255.f);
saturate_cast    4481 modules/imgproc/src/color.cpp                 dst[1] = saturate_cast<uchar>(buf[j+1]*255.f);
saturate_cast    4482 modules/imgproc/src/color.cpp                 dst[2] = saturate_cast<uchar>(buf[j+2]*255.f);
saturate_cast    4726 modules/imgproc/src/color.cpp                 dst[j] = saturate_cast<uchar>(buf[j]);
saturate_cast    4727 modules/imgproc/src/color.cpp                 dst[j+1] = saturate_cast<uchar>(buf[j+1]*255.f);
saturate_cast    4728 modules/imgproc/src/color.cpp                 dst[j+2] = saturate_cast<uchar>(buf[j+2]*255.f);
saturate_cast    4989 modules/imgproc/src/color.cpp                 dst[0] = saturate_cast<uchar>(buf[j]*255.f);
saturate_cast    4990 modules/imgproc/src/color.cpp                 dst[1] = saturate_cast<uchar>(buf[j+1]*255.f);
saturate_cast    4991 modules/imgproc/src/color.cpp                 dst[2] = saturate_cast<uchar>(buf[j+2]*255.f);
saturate_cast    5057 modules/imgproc/src/color.cpp             sRGBGammaTab_b[i] = saturate_cast<ushort>(255.f*(1 << gamma_shift)*(x <= 0.04045f ? x*(1.f/12.92f) : (float)std::pow((double)(x + 0.055)*(1./1.055), 2.4)));
saturate_cast    5064 modules/imgproc/src/color.cpp             LabCbrtTab_b[i] = saturate_cast<ushort>((1 << lab_shift2)*(x < 0.008856f ? x*7.787f + 0.13793103448275862f : cvCbrt(x)));
saturate_cast    5126 modules/imgproc/src/color.cpp             dst[i] = saturate_cast<uchar>(L);
saturate_cast    5127 modules/imgproc/src/color.cpp             dst[i+1] = saturate_cast<uchar>(a);
saturate_cast    5128 modules/imgproc/src/color.cpp             dst[i+2] = saturate_cast<uchar>(b);
saturate_cast    5494 modules/imgproc/src/color.cpp                 dst[0] = saturate_cast<uchar>(buf[j]*255.f);
saturate_cast    5495 modules/imgproc/src/color.cpp                 dst[1] = saturate_cast<uchar>(buf[j+1]*255.f);
saturate_cast    5496 modules/imgproc/src/color.cpp                 dst[2] = saturate_cast<uchar>(buf[j+2]*255.f);
saturate_cast    5852 modules/imgproc/src/color.cpp                 dst[j] = saturate_cast<uchar>(buf[j]*2.55f);
saturate_cast    5853 modules/imgproc/src/color.cpp                 dst[j+1] = saturate_cast<uchar>(buf[j+1]*0.72033898305084743f + 96.525423728813564f);
saturate_cast    5854 modules/imgproc/src/color.cpp                 dst[j+2] = saturate_cast<uchar>(buf[j+2]*0.9732824427480916f + 136.259541984732824f);
saturate_cast    6063 modules/imgproc/src/color.cpp                 dst[0] = saturate_cast<uchar>(buf[j]*255.f);
saturate_cast    6064 modules/imgproc/src/color.cpp                 dst[1] = saturate_cast<uchar>(buf[j+1]*255.f);
saturate_cast    6065 modules/imgproc/src/color.cpp                 dst[2] = saturate_cast<uchar>(buf[j+2]*255.f);
saturate_cast    6151 modules/imgproc/src/color.cpp                 row1[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6152 modules/imgproc/src/color.cpp                 row1[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6153 modules/imgproc/src/color.cpp                 row1[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6156 modules/imgproc/src/color.cpp                 row1[5-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6157 modules/imgproc/src/color.cpp                 row1[4]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6158 modules/imgproc/src/color.cpp                 row1[3+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6161 modules/imgproc/src/color.cpp                 row2[2-bIdx] = saturate_cast<uchar>((y10 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6162 modules/imgproc/src/color.cpp                 row2[1]      = saturate_cast<uchar>((y10 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6163 modules/imgproc/src/color.cpp                 row2[bIdx]   = saturate_cast<uchar>((y10 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6166 modules/imgproc/src/color.cpp                 row2[5-bIdx] = saturate_cast<uchar>((y11 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6167 modules/imgproc/src/color.cpp                 row2[4]      = saturate_cast<uchar>((y11 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6168 modules/imgproc/src/color.cpp                 row2[3+bIdx] = saturate_cast<uchar>((y11 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6220 modules/imgproc/src/color.cpp                 row1[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6221 modules/imgproc/src/color.cpp                 row1[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6222 modules/imgproc/src/color.cpp                 row1[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6226 modules/imgproc/src/color.cpp                 row1[6-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6227 modules/imgproc/src/color.cpp                 row1[5]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6228 modules/imgproc/src/color.cpp                 row1[4+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6232 modules/imgproc/src/color.cpp                 row2[2-bIdx] = saturate_cast<uchar>((y10 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6233 modules/imgproc/src/color.cpp                 row2[1]      = saturate_cast<uchar>((y10 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6234 modules/imgproc/src/color.cpp                 row2[bIdx]   = saturate_cast<uchar>((y10 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6238 modules/imgproc/src/color.cpp                 row2[6-bIdx] = saturate_cast<uchar>((y11 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6239 modules/imgproc/src/color.cpp                 row2[5]      = saturate_cast<uchar>((y11 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6240 modules/imgproc/src/color.cpp                 row2[4+bIdx] = saturate_cast<uchar>((y11 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6292 modules/imgproc/src/color.cpp                 row1[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6293 modules/imgproc/src/color.cpp                 row1[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6294 modules/imgproc/src/color.cpp                 row1[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6297 modules/imgproc/src/color.cpp                 row1[5-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6298 modules/imgproc/src/color.cpp                 row1[4]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6299 modules/imgproc/src/color.cpp                 row1[3+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6302 modules/imgproc/src/color.cpp                 row2[2-bIdx] = saturate_cast<uchar>((y10 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6303 modules/imgproc/src/color.cpp                 row2[1]      = saturate_cast<uchar>((y10 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6304 modules/imgproc/src/color.cpp                 row2[bIdx]   = saturate_cast<uchar>((y10 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6307 modules/imgproc/src/color.cpp                 row2[5-bIdx] = saturate_cast<uchar>((y11 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6308 modules/imgproc/src/color.cpp                 row2[4]      = saturate_cast<uchar>((y11 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6309 modules/imgproc/src/color.cpp                 row2[3+bIdx] = saturate_cast<uchar>((y11 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6360 modules/imgproc/src/color.cpp                 row1[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6361 modules/imgproc/src/color.cpp                 row1[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6362 modules/imgproc/src/color.cpp                 row1[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6366 modules/imgproc/src/color.cpp                 row1[6-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6367 modules/imgproc/src/color.cpp                 row1[5]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6368 modules/imgproc/src/color.cpp                 row1[4+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6372 modules/imgproc/src/color.cpp                 row2[2-bIdx] = saturate_cast<uchar>((y10 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6373 modules/imgproc/src/color.cpp                 row2[1]      = saturate_cast<uchar>((y10 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6374 modules/imgproc/src/color.cpp                 row2[bIdx]   = saturate_cast<uchar>((y10 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6378 modules/imgproc/src/color.cpp                 row2[6-bIdx] = saturate_cast<uchar>((y11 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6379 modules/imgproc/src/color.cpp                 row2[5]      = saturate_cast<uchar>((y11 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6380 modules/imgproc/src/color.cpp                 row2[4+bIdx] = saturate_cast<uchar>((y11 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6469 modules/imgproc/src/color.cpp                 y[2*k + 0]            = saturate_cast<uchar>(y00 >> ITUR_BT_601_SHIFT);
saturate_cast    6470 modules/imgproc/src/color.cpp                 y[2*k + 1]            = saturate_cast<uchar>(y01 >> ITUR_BT_601_SHIFT);
saturate_cast    6471 modules/imgproc/src/color.cpp                 y[2*k + dst_->step + 0] = saturate_cast<uchar>(y10 >> ITUR_BT_601_SHIFT);
saturate_cast    6472 modules/imgproc/src/color.cpp                 y[2*k + dst_->step + 1] = saturate_cast<uchar>(y11 >> ITUR_BT_601_SHIFT);
saturate_cast    6478 modules/imgproc/src/color.cpp                 u[k] = saturate_cast<uchar>(u00 >> ITUR_BT_601_SHIFT);
saturate_cast    6479 modules/imgproc/src/color.cpp                 v[k] = saturate_cast<uchar>(v00 >> ITUR_BT_601_SHIFT);
saturate_cast    6542 modules/imgproc/src/color.cpp                 row[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6543 modules/imgproc/src/color.cpp                 row[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6544 modules/imgproc/src/color.cpp                 row[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6547 modules/imgproc/src/color.cpp                 row[5-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6548 modules/imgproc/src/color.cpp                 row[4]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6549 modules/imgproc/src/color.cpp                 row[3+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6588 modules/imgproc/src/color.cpp                 row[2-bIdx] = saturate_cast<uchar>((y00 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6589 modules/imgproc/src/color.cpp                 row[1]      = saturate_cast<uchar>((y00 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6590 modules/imgproc/src/color.cpp                 row[bIdx]   = saturate_cast<uchar>((y00 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    6594 modules/imgproc/src/color.cpp                 row[6-bIdx] = saturate_cast<uchar>((y01 + ruv) >> ITUR_BT_601_SHIFT);
saturate_cast    6595 modules/imgproc/src/color.cpp                 row[5]      = saturate_cast<uchar>((y01 + guv) >> ITUR_BT_601_SHIFT);
saturate_cast    6596 modules/imgproc/src/color.cpp                 row[4+bIdx] = saturate_cast<uchar>((y01 + buv) >> ITUR_BT_601_SHIFT);
saturate_cast    7054 modules/imgproc/src/color.cpp                         sdiv_table[i] = saturate_cast<int>(v/(1.*i));
saturate_cast    7060 modules/imgproc/src/color.cpp                     hdiv_table[i] = saturate_cast<int>(v/(6.*i));
saturate_cast    1196 modules/imgproc/src/demosaicing.cpp                 dstrow[blueIdx] = cv::saturate_cast<uchar>(B);
saturate_cast    1197 modules/imgproc/src/demosaicing.cpp                 dstrow[1] = cv::saturate_cast<uchar>(G);
saturate_cast    1198 modules/imgproc/src/demosaicing.cpp                 dstrow[blueIdx^2] = cv::saturate_cast<uchar>(R);
saturate_cast     816 modules/imgproc/src/deriv.cpp             int iscale = saturate_cast<int>(scale), idelta = saturate_cast<int>(delta);
saturate_cast     622 modules/imgproc/src/distransform.cpp         lut[x] = cv::saturate_cast<uchar>(x+1);
saturate_cast    2517 modules/imgproc/src/drawing.cpp             scalar.val[0] = cv::saturate_cast<uchar>( icolor );
saturate_cast    2533 modules/imgproc/src/drawing.cpp             scalar.val[0] = cv::saturate_cast<schar>( icolor );
saturate_cast     451 modules/imgproc/src/filter.cpp         if( a != saturate_cast<int>(a) )
saturate_cast    3274 modules/imgproc/src/filter.cpp         delta = saturate_cast<ST>(_delta);
saturate_cast    3598 modules/imgproc/src/filter.cpp     DT operator()(ST val) const { return saturate_cast<DT>(val); }
saturate_cast    3607 modules/imgproc/src/filter.cpp     DT operator()(ST val) const { return saturate_cast<DT>((val + DELTA)>>SHIFT); }
saturate_cast    3617 modules/imgproc/src/filter.cpp     DT operator()(ST val) const { return saturate_cast<DT>((val + DELTA)>>SHIFT); }
saturate_cast    3911 modules/imgproc/src/filter.cpp         delta = saturate_cast<KT>(_delta);
saturate_cast     443 modules/imgproc/src/floodfill.cpp         region->label = saturate_cast<int>(newMaskVal);
saturate_cast     569 modules/imgproc/src/floodfill.cpp             ld_buf.b[i] = saturate_cast<uchar>(cvFloor(loDiff[i]));
saturate_cast     570 modules/imgproc/src/floodfill.cpp             ud_buf.b[i] = saturate_cast<uchar>(cvFloor(upDiff[i]));
saturate_cast    1622 modules/imgproc/src/histogram.cpp                     bproj[x] = (unsigned)idx < (unsigned)sz ? saturate_cast<BT>(((const float*)H)[idx]*scale) : 0;
saturate_cast    1645 modules/imgproc/src/histogram.cpp                         saturate_cast<BT>(((const float*)(H + hstep0*idx0))[idx1]*scale) : 0;
saturate_cast    1673 modules/imgproc/src/histogram.cpp                         saturate_cast<BT>(((const float*)(H + hstep0*idx0 + hstep1*idx1))[idx2]*scale) : 0;
saturate_cast    1694 modules/imgproc/src/histogram.cpp                         bproj[x] = saturate_cast<BT>(*(const float*)Hptr*scale);
saturate_cast    1736 modules/imgproc/src/histogram.cpp                     bproj[x] = saturate_cast<BT>(*(const float*)Hptr*scale);
saturate_cast    1778 modules/imgproc/src/histogram.cpp                 matH[i] = saturate_cast<uchar>(*(float*)(H + hidx)*scale);
saturate_cast    1821 modules/imgproc/src/histogram.cpp                 bproj[x] = idx < OUT_OF_RANGE ? saturate_cast<uchar>(*(const float*)(H + idx)*scale) : 0;
saturate_cast    1839 modules/imgproc/src/histogram.cpp                 bproj[x] = idx < OUT_OF_RANGE ? saturate_cast<uchar>(*(const float*)(H + idx)*scale) : 0;
saturate_cast    1860 modules/imgproc/src/histogram.cpp                     bproj[x] = saturate_cast<uchar>(*(const float*)Hptr*scale);
saturate_cast    1939 modules/imgproc/src/histogram.cpp                     bproj[x] = saturate_cast<BT>(hist_(idx)*scale);
saturate_cast    1978 modules/imgproc/src/histogram.cpp                     bproj[x] = saturate_cast<BT>(hist_(idx)*scale);
saturate_cast    2024 modules/imgproc/src/histogram.cpp                 bproj[x] = saturate_cast<uchar>(hist.value<float>(idx)*scale);
saturate_cast    3667 modules/imgproc/src/histogram.cpp         lut[i] = saturate_cast<uchar>(sum * scale);
saturate_cast      75 modules/imgproc/src/imgwarp.cpp             values[i] = saturate_cast<Type>(value[i]);
saturate_cast      86 modules/imgproc/src/imgwarp.cpp                 return ippiSet_8u_C1R(saturate_cast<Ipp8u>(value[0]), (Ipp8u *)dataPointer, step, size) >= 0;
saturate_cast      88 modules/imgproc/src/imgwarp.cpp                 return ippiSet_16u_C1R(saturate_cast<Ipp16u>(value[0]), (Ipp16u *)dataPointer, step, size) >= 0;
saturate_cast      90 modules/imgproc/src/imgwarp.cpp                 return ippiSet_32f_C1R(saturate_cast<Ipp32f>(value[0]), (Ipp32f *)dataPointer, step, size) >= 0;
saturate_cast     249 modules/imgproc/src/imgwarp.cpp                         isum += itab[k1*ksize + k2] = saturate_cast<short>(v*INTER_REMAP_COEF_SCALE);
saturate_cast     310 modules/imgproc/src/imgwarp.cpp     DT operator()(ST val) const { return saturate_cast<DT>(val); }
saturate_cast     319 modules/imgproc/src/imgwarp.cpp     DT operator()(ST val) const { return saturate_cast<DT>((val + DELTA)>>SHIFT); }
saturate_cast    2458 modules/imgproc/src/imgwarp.cpp                 D[dx] = saturate_cast<T>(sum * scale);
saturate_cast    2482 modules/imgproc/src/imgwarp.cpp                 D[dx] = saturate_cast<T>((float)sum/count);
saturate_cast    2616 modules/imgproc/src/imgwarp.cpp                     D[dx] = saturate_cast<T>(sum[dx]);
saturate_cast    2631 modules/imgproc/src/imgwarp.cpp             D[dx] = saturate_cast<T>(sum[dx]);
saturate_cast    2887 modules/imgproc/src/imgwarp.cpp     int iscale_x = saturate_cast<int>(inv_fx), iscale_y = saturate_cast<int>(inv_fx);
saturate_cast    2966 modules/imgproc/src/imgwarp.cpp                 ialpha[dx*2 + 0] = saturate_cast<short>((1.f - fxx) * INTER_RESIZE_COEF_SCALE);
saturate_cast    2967 modules/imgproc/src/imgwarp.cpp                 ialpha[dx*2 + 1] = saturate_cast<short>(fxx         * INTER_RESIZE_COEF_SCALE);
saturate_cast    2977 modules/imgproc/src/imgwarp.cpp                 ibeta[dy*2 + 0] = saturate_cast<short>((1.f - fyy) * INTER_RESIZE_COEF_SCALE);
saturate_cast    2978 modules/imgproc/src/imgwarp.cpp                 ibeta[dy*2 + 1] = saturate_cast<short>(fyy         * INTER_RESIZE_COEF_SCALE);
saturate_cast    3212 modules/imgproc/src/imgwarp.cpp         dsize = Size(saturate_cast<int>(ssize.width*inv_scale_x),
saturate_cast    3213 modules/imgproc/src/imgwarp.cpp                      saturate_cast<int>(ssize.height*inv_scale_y));
saturate_cast    3238 modules/imgproc/src/imgwarp.cpp     int iscale_x = saturate_cast<int>(scale_x);
saturate_cast    3239 modules/imgproc/src/imgwarp.cpp     int iscale_y = saturate_cast<int>(scale_y);
saturate_cast    3421 modules/imgproc/src/imgwarp.cpp                 ialpha[dx*cn*ksize + k] = saturate_cast<short>(cbuf[k]*INTER_RESIZE_COEF_SCALE);
saturate_cast    3463 modules/imgproc/src/imgwarp.cpp                 ibeta[dy*ksize + k] = saturate_cast<short>(cbuf[k]*INTER_RESIZE_COEF_SCALE);
saturate_cast    3492 modules/imgproc/src/imgwarp.cpp     Scalar_<T> cval(saturate_cast<T>(_borderValue[0]),
saturate_cast    3493 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[1]),
saturate_cast    3494 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[2]),
saturate_cast    3495 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[3]));
saturate_cast    3818 modules/imgproc/src/imgwarp.cpp         cval[k] = saturate_cast<T>(_borderValue[k & 3]);
saturate_cast    4024 modules/imgproc/src/imgwarp.cpp     Scalar_<T> cval(saturate_cast<T>(_borderValue[0]),
saturate_cast    4025 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[1]),
saturate_cast    4026 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[2]),
saturate_cast    4027 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[3]));
saturate_cast    4129 modules/imgproc/src/imgwarp.cpp     Scalar_<T> cval(saturate_cast<T>(_borderValue[0]),
saturate_cast    4130 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[1]),
saturate_cast    4131 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[2]),
saturate_cast    4132 modules/imgproc/src/imgwarp.cpp         saturate_cast<T>(_borderValue[3]));
saturate_cast    4328 modules/imgproc/src/imgwarp.cpp                                 XY[x1*2] = saturate_cast<short>(sX[x1]);
saturate_cast    4329 modules/imgproc/src/imgwarp.cpp                                 XY[x1*2+1] = saturate_cast<short>(sY[x1]);
saturate_cast    4428 modules/imgproc/src/imgwarp.cpp                             XY[x1*2] = saturate_cast<short>(sx >> INTER_BITS);
saturate_cast    4429 modules/imgproc/src/imgwarp.cpp                             XY[x1*2+1] = saturate_cast<short>(sy >> INTER_BITS);
saturate_cast    4462 modules/imgproc/src/imgwarp.cpp                             XY[x1*2] = saturate_cast<short>(sx >> INTER_BITS);
saturate_cast    4463 modules/imgproc/src/imgwarp.cpp                             XY[x1*2+1] = saturate_cast<short>(sy >> INTER_BITS);
saturate_cast    4894 modules/imgproc/src/imgwarp.cpp                     dst1[x*2] = saturate_cast<short>(src1f[x]);
saturate_cast    4895 modules/imgproc/src/imgwarp.cpp                     dst1[x*2+1] = saturate_cast<short>(src2f[x]);
saturate_cast    4974 modules/imgproc/src/imgwarp.cpp                     int ix = saturate_cast<int>(src1f[x]*INTER_TAB_SIZE);
saturate_cast    4975 modules/imgproc/src/imgwarp.cpp                     int iy = saturate_cast<int>(src2f[x]*INTER_TAB_SIZE);
saturate_cast    4976 modules/imgproc/src/imgwarp.cpp                     dst1[x*2] = saturate_cast<short>(ix >> INTER_BITS);
saturate_cast    4977 modules/imgproc/src/imgwarp.cpp                     dst1[x*2+1] = saturate_cast<short>(iy >> INTER_BITS);
saturate_cast    4999 modules/imgproc/src/imgwarp.cpp                     dst1[x*2] = saturate_cast<short>(src1f[x*2]);
saturate_cast    5000 modules/imgproc/src/imgwarp.cpp                     dst1[x*2+1] = saturate_cast<short>(src1f[x*2+1]);
saturate_cast    5058 modules/imgproc/src/imgwarp.cpp                     int ix = saturate_cast<int>(src1f[x*2]*INTER_TAB_SIZE);
saturate_cast    5059 modules/imgproc/src/imgwarp.cpp                     int iy = saturate_cast<int>(src1f[x*2+1]*INTER_TAB_SIZE);
saturate_cast    5060 modules/imgproc/src/imgwarp.cpp                     dst1[x*2] = saturate_cast<short>(ix >> INTER_BITS);
saturate_cast    5061 modules/imgproc/src/imgwarp.cpp                     dst1[x*2+1] = saturate_cast<short>(iy >> INTER_BITS);
saturate_cast    5260 modules/imgproc/src/imgwarp.cpp                     int X0 = saturate_cast<int>((M[1]*(y + y1) + M[2])*AB_SCALE) + round_delta;
saturate_cast    5261 modules/imgproc/src/imgwarp.cpp                     int Y0 = saturate_cast<int>((M[4]*(y + y1) + M[5])*AB_SCALE) + round_delta;
saturate_cast    5308 modules/imgproc/src/imgwarp.cpp                             xy[x1*2] = saturate_cast<short>(X);
saturate_cast    5309 modules/imgproc/src/imgwarp.cpp                             xy[x1*2+1] = saturate_cast<short>(Y);
saturate_cast    5375 modules/imgproc/src/imgwarp.cpp                             xy[x1*2] = saturate_cast<short>(X >> INTER_BITS);
saturate_cast    5376 modules/imgproc/src/imgwarp.cpp                             xy[x1*2+1] = saturate_cast<short>(Y >> INTER_BITS);
saturate_cast    5675 modules/imgproc/src/imgwarp.cpp         adelta[x] = saturate_cast<int>(M[0]*x*AB_SCALE);
saturate_cast    5676 modules/imgproc/src/imgwarp.cpp         bdelta[x] = saturate_cast<int>(M[3]*x*AB_SCALE);
saturate_cast    5861 modules/imgproc/src/imgwarp.cpp                             int X = saturate_cast<int>(fX);
saturate_cast    5862 modules/imgproc/src/imgwarp.cpp                             int Y = saturate_cast<int>(fY);
saturate_cast    5864 modules/imgproc/src/imgwarp.cpp                             xy[x1*2] = saturate_cast<short>(X);
saturate_cast    5865 modules/imgproc/src/imgwarp.cpp                             xy[x1*2+1] = saturate_cast<short>(Y);
saturate_cast    6002 modules/imgproc/src/imgwarp.cpp                             int X = saturate_cast<int>(fX);
saturate_cast    6003 modules/imgproc/src/imgwarp.cpp                             int Y = saturate_cast<int>(fY);
saturate_cast    6005 modules/imgproc/src/imgwarp.cpp                             xy[x1*2] = saturate_cast<short>(X >> INTER_BITS);
saturate_cast    6006 modules/imgproc/src/imgwarp.cpp                             xy[x1*2+1] = saturate_cast<short>(Y >> INTER_BITS);
saturate_cast    1064 modules/imgproc/src/morph.cpp                 int dx = saturate_cast<int>(c*std::sqrt((r*r - dy*dy)*inv_r2));
saturate_cast     167 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<T>(s0*_scale);
saturate_cast     168 modules/imgproc/src/smooth.cpp                     D[i+1] = saturate_cast<T>(s1*_scale);
saturate_cast     176 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<T>(s0*_scale);
saturate_cast     185 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<T>(s0);
saturate_cast     186 modules/imgproc/src/smooth.cpp                     D[i+1] = saturate_cast<T>(s1);
saturate_cast     194 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<T>(s0);
saturate_cast     325 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<uchar>(s0*_scale);
saturate_cast     370 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<uchar>(s0);
saturate_cast     495 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<short>(s0*_scale);
saturate_cast     538 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<short>(s0);
saturate_cast     662 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<ushort>(s0*_scale);
saturate_cast     704 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<ushort>(s0);
saturate_cast     820 modules/imgproc/src/smooth.cpp                     D[i] = saturate_cast<int>(s0*_scale);
saturate_cast    1217 modules/imgproc/src/thresh.cpp         imaxval = saturate_cast<uchar>(imaxval);
saturate_cast    1244 modules/imgproc/src/thresh.cpp         imaxval = saturate_cast<short>(imaxval);
saturate_cast    1307 modules/imgproc/src/thresh.cpp     uchar imaxval = saturate_cast<uchar>(maxValue);
saturate_cast     149 modules/imgproc/src/undistort.cpp                 int iu = saturate_cast<int>(u*INTER_TAB_SIZE);
saturate_cast     150 modules/imgproc/src/undistort.cpp                 int iv = saturate_cast<int>(v*INTER_TAB_SIZE);
saturate_cast     241 modules/imgproc/test/test_color.cpp                     dst_row[j] = saturate_cast<uchar>(t);
saturate_cast     262 modules/imgproc/test/test_color.cpp                     dst_row[j] = saturate_cast<ushort>(t);
saturate_cast     334 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = saturate_cast<uchar>(b);
saturate_cast     335 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = saturate_cast<uchar>(g);
saturate_cast     336 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = saturate_cast<uchar>(r);
saturate_cast     357 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = saturate_cast<ushort>(b);
saturate_cast     358 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = saturate_cast<ushort>(g);
saturate_cast     359 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = saturate_cast<ushort>(r);
saturate_cast     327 modules/imgproc/test/test_cvtyuv.cpp         uchar r = saturate_cast<uchar>(1.164f * y + 1.596f * v);
saturate_cast     328 modules/imgproc/test/test_cvtyuv.cpp         uchar g = saturate_cast<uchar>(1.164f * y - 0.813f * v - 0.391f * u);
saturate_cast     329 modules/imgproc/test/test_cvtyuv.cpp         uchar b = saturate_cast<uchar>(1.164f * y + 2.018f * u);
saturate_cast     353 modules/imgproc/test/test_cvtyuv.cpp         uchar y = saturate_cast<uchar>((int)( 0.257f*r + 0.504f*g + 0.098f*b + 0.5f) + 16);
saturate_cast     354 modules/imgproc/test/test_cvtyuv.cpp         uchar u = saturate_cast<uchar>((int)(-0.148f*r - 0.291f*g + 0.439f*b + 0.5f) + 128);
saturate_cast     355 modules/imgproc/test/test_cvtyuv.cpp         uchar v = saturate_cast<uchar>((int)( 0.439f*r - 0.368f*g - 0.071f*b + 0.5f) + 128);
saturate_cast     413 modules/imgproc/test/test_floodfill.cpp             u0 = saturate_cast<uchar>(s0);
saturate_cast     414 modules/imgproc/test/test_floodfill.cpp             u1 = saturate_cast<uchar>(s1);
saturate_cast     415 modules/imgproc/test/test_floodfill.cpp             u2 = saturate_cast<uchar>(s2);
saturate_cast    1523 modules/imgproc/test/test_histograms.cpp                 CV_IMAGE_ELEM( dst, uchar, y, x ) = saturate_cast<uchar>(t);
saturate_cast    1555 modules/imgproc/test/test_imgwarp.cpp         return cv::saturate_cast<T>(val >> 2);
saturate_cast    1564 modules/imgproc/test/test_imgwarp.cpp         return cv::saturate_cast<T>(val * 0.25);
saturate_cast     207 modules/imgproc/test/test_imgwarp_strict.cpp     dsize.width = saturate_cast<int>((ssize.width + scale_x - 1) / scale_x);
saturate_cast     208 modules/imgproc/test/test_imgwarp_strict.cpp     dsize.height = saturate_cast<int>((ssize.height + scale_y - 1) / scale_y);
saturate_cast     857 modules/imgproc/test/test_imgwarp_strict.cpp                         xyD[r] = saturate_cast<float>(borderValue[r]);
saturate_cast     951 modules/imgproc/test/test_imgwarp_strict.cpp                                 ix[i] += saturate_cast<float>((ar_x[j] >= 0 ? yS[ar_x[j] + r] : borderValue[r]) * w[j]);
saturate_cast     955 modules/imgproc/test/test_imgwarp_strict.cpp                                 ix[i] += saturate_cast<float>(borderValue[r] * w[j]);
saturate_cast     958 modules/imgproc/test/test_imgwarp_strict.cpp                         xyD[r] += saturate_cast<float>(w[ksize + i] * ix[i]);
saturate_cast    1085 modules/imgproc/test/test_imgwarp_strict.cpp             int v1 = saturate_cast<int>(saturate_cast<int>(data_tM[0] * dx * AB_SCALE) +
saturate_cast    1086 modules/imgproc/test/test_imgwarp_strict.cpp                     saturate_cast<int>((data_tM[1] * dy + data_tM[2]) * AB_SCALE) + round_delta),
saturate_cast    1087 modules/imgproc/test/test_imgwarp_strict.cpp                    v2 = saturate_cast<int>(saturate_cast<int>(data_tM[3] * dx * AB_SCALE) +
saturate_cast    1088 modules/imgproc/test/test_imgwarp_strict.cpp                     saturate_cast<int>((data_tM[4] * dy + data_tM[5]) * AB_SCALE) + round_delta);
saturate_cast    1092 modules/imgproc/test/test_imgwarp_strict.cpp             yM[0] = saturate_cast<short>(v1 >> INTER_BITS);
saturate_cast    1093 modules/imgproc/test/test_imgwarp_strict.cpp             yM[1] = saturate_cast<short>(v2 >> INTER_BITS);
saturate_cast    1211 modules/imgproc/test/test_imgwarp_strict.cpp                 yMx[0] = saturate_cast<short>((tM[0] * dx + tM[1] * dy + tM[2]) * den);
saturate_cast    1212 modules/imgproc/test/test_imgwarp_strict.cpp                 yMx[1] = saturate_cast<short>((tM[3] * dx + tM[4] * dy + tM[5]) * den);
saturate_cast    1217 modules/imgproc/test/test_imgwarp_strict.cpp             int v0 = saturate_cast<int>((tM[0] * dx + tM[1] * dy + tM[2]) * den);
saturate_cast    1218 modules/imgproc/test/test_imgwarp_strict.cpp             int v1 = saturate_cast<int>((tM[3] * dx + tM[4] * dy + tM[5]) * den);
saturate_cast    1220 modules/imgproc/test/test_imgwarp_strict.cpp             yMx[0] = saturate_cast<short>(v0 >> INTER_BITS);
saturate_cast    1221 modules/imgproc/test/test_imgwarp_strict.cpp             yMx[1] = saturate_cast<short>(v1 >> INTER_BITS);
saturate_cast    1222 modules/imgproc/test/test_imgwarp_strict.cpp             mapy.ptr<short>(dy)[dx] = saturate_cast<short>((v1 & (INTER_TAB_SIZE - 1)) *
saturate_cast     133 modules/imgproc/test/test_thresh.cpp         ithresh2 = saturate_cast<uchar>(ithresh);
saturate_cast     134 modules/imgproc/test/test_thresh.cpp         imaxval = saturate_cast<uchar>(maxval);
saturate_cast     138 modules/imgproc/test/test_thresh.cpp         ithresh2 = saturate_cast<short>(ithresh);
saturate_cast     139 modules/imgproc/test/test_thresh.cpp         imaxval = saturate_cast<short>(maxval);
saturate_cast    1756 modules/java/generator/src/cpp/Mat.cpp #define PUT_ITEM(T, R, C) { T*dst = (T*)me->ptr(R, C); for(int ch=0; ch<me->channels() && count>0; count--,ch++,src++,dst++) *dst = cv::saturate_cast<T>(*src); }
saturate_cast     115 modules/objdetect/src/cascadedetect.cpp         rrects[i] = Rect(saturate_cast<int>(r.x*s),
saturate_cast     116 modules/objdetect/src/cascadedetect.cpp              saturate_cast<int>(r.y*s),
saturate_cast     117 modules/objdetect/src/cascadedetect.cpp              saturate_cast<int>(r.width*s),
saturate_cast     118 modules/objdetect/src/cascadedetect.cpp              saturate_cast<int>(r.height*s));
saturate_cast     146 modules/objdetect/src/cascadedetect.cpp             int dx = saturate_cast<int>( r2.width * eps );
saturate_cast     147 modules/objdetect/src/cascadedetect.cpp             int dy = saturate_cast<int>( r2.height * eps );
saturate_cast    3560 modules/objdetect/src/hog.cpp         rrects[i] = cv::Rect_<double>(cv::saturate_cast<double>(r.x*s),
saturate_cast    3561 modules/objdetect/src/hog.cpp             cv::saturate_cast<double>(r.y*s),
saturate_cast    3562 modules/objdetect/src/hog.cpp             cv::saturate_cast<double>(r.width*s),
saturate_cast    3563 modules/objdetect/src/hog.cpp             cv::saturate_cast<double>(r.height*s));
saturate_cast    3586 modules/objdetect/src/hog.cpp             int dx = cv::saturate_cast<int>( r2.width * eps );
saturate_cast    3587 modules/objdetect/src/hog.cpp             int dy = cv::saturate_cast<int>( r2.height * eps );
saturate_cast     444 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         return saturate_cast<T>(estimation[0]);
saturate_cast     453 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[0] = saturate_cast<ET>(estimation[0]);
saturate_cast     454 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[1] = saturate_cast<ET>(estimation[1]);
saturate_cast     464 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[0] = saturate_cast<ET>(estimation[0]);
saturate_cast     465 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[1] = saturate_cast<ET>(estimation[1]);
saturate_cast     466 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[2] = saturate_cast<ET>(estimation[2]);
saturate_cast     476 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[0] = saturate_cast<ET>(estimation[0]);
saturate_cast     477 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[1] = saturate_cast<ET>(estimation[1]);
saturate_cast     478 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[2] = saturate_cast<ET>(estimation[2]);
saturate_cast     479 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp         res[3] = saturate_cast<ET>(estimation[3]);
saturate_cast     388 modules/photo/src/inpaint.cpp                   CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>(sat);
saturate_cast     500 modules/photo/src/inpaint.cpp                   CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>(sat);
saturate_cast     597 modules/photo/src/inpaint.cpp                   CV_MAT_3COLOR_ELEM(*out,uchar,i-1,j-1,color) = cv::saturate_cast<uchar>((double)Ia/s);
saturate_cast     685 modules/photo/src/inpaint.cpp                   CV_MAT_ELEM(*out,uchar,i-1,j-1) = cv::saturate_cast<uchar>((double)Ia/s);
saturate_cast     539 modules/python/src2/cv2.cpp     value = cv::saturate_cast<uchar>(ivalue);
saturate_cast     665 modules/python/src2/cv2.cpp         p.x = saturate_cast<int>(c.real);
saturate_cast     666 modules/python/src2/cv2.cpp         p.y = saturate_cast<int>(c.imag);
saturate_cast     681 modules/python/src2/cv2.cpp         p.x = saturate_cast<float>(c.real);
saturate_cast     682 modules/python/src2/cv2.cpp         p.y = saturate_cast<float>(c.imag);
saturate_cast     697 modules/python/src2/cv2.cpp         p.x = saturate_cast<double>(c.real);
saturate_cast     698 modules/python/src2/cv2.cpp         p.y = saturate_cast<double>(c.imag);
saturate_cast     779 modules/python/src2/cv2.cpp                 data[0] = saturate_cast<_Cp>(c.real);
saturate_cast     780 modules/python/src2/cv2.cpp                 data[1] = saturate_cast<_Cp>(c.imag);
saturate_cast     817 modules/python/src2/cv2.cpp                     data[j] = saturate_cast<_Cp>(v);
saturate_cast     824 modules/python/src2/cv2.cpp                     data[j] = saturate_cast<_Cp>(v);
saturate_cast     831 modules/python/src2/cv2.cpp                     data[j] = saturate_cast<_Cp>(v);
saturate_cast     244 modules/stitching/src/exposure_compensate.cpp             row[x].x = saturate_cast<uchar>(row[x].x * gain_row[x]);
saturate_cast     245 modules/stitching/src/exposure_compensate.cpp             row[x].y = saturate_cast<uchar>(row[x].y * gain_row[x]);
saturate_cast     246 modules/stitching/src/exposure_compensate.cpp             row[x].z = saturate_cast<uchar>(row[x].z * gain_row[x]);
saturate_cast    1489 modules/stitching/src/seam_finders.cpp             terminals_(y, x) = saturate_cast<int>((source - sink) * 255.f);
saturate_cast    1507 modules/stitching/src/seam_finders.cpp                 leftT_(x, y) = saturate_cast<int>(weight * 255.f);
saturate_cast    1520 modules/stitching/src/seam_finders.cpp                 rightT_(x, y) = saturate_cast<int>(weight * 255.f);
saturate_cast    1533 modules/stitching/src/seam_finders.cpp                 top_(y, x) = saturate_cast<int>(weight * 255.f);
saturate_cast    1546 modules/stitching/src/seam_finders.cpp                 bottom_(y, x) = saturate_cast<int>(weight * 255.f);
saturate_cast    1581 modules/stitching/src/seam_finders.cpp             terminals_(y, x) = saturate_cast<int>((source - sink) * 255.f);
saturate_cast    1601 modules/stitching/src/seam_finders.cpp                 leftT_(x, y) = saturate_cast<int>(weight * 255.f);
saturate_cast    1616 modules/stitching/src/seam_finders.cpp                 rightT_(x, y) = saturate_cast<int>(weight * 255.f);
saturate_cast    1631 modules/stitching/src/seam_finders.cpp                 top_(y, x) = saturate_cast<int>(weight * 255.f);
saturate_cast    1646 modules/stitching/src/seam_finders.cpp                 bottom_(y, x) = saturate_cast<int>(weight * 255.f);
saturate_cast     239 modules/ts/src/ts_func.cpp             dst[i] = saturate_cast<_Tp2>(src[i]);
saturate_cast     242 modules/ts/src/ts_func.cpp             dst[i] = saturate_cast<_Tp2>(src[i]*alpha);
saturate_cast     245 modules/ts/src/ts_func.cpp             dst[i] = saturate_cast<_Tp2>(src[i]*alpha + beta);
saturate_cast     517 modules/ts/src/ts_func.cpp             data[i + k] = saturate_cast<_Tp>(val);
saturate_cast     529 modules/ts/src/ts_func.cpp             data[i + k] = saturate_cast<_Tp>(val);
saturate_cast     975 modules/ts/src/ts_func.cpp     _Tp maxval = saturate_cast<_Tp>(*_maxval), minval = saturate_cast<_Tp>(*_minval);
saturate_cast    1691 modules/ts/src/ts_func.cpp     int ivalue = saturate_cast<int>(value);
saturate_cast    2282 modules/ts/src/ts_func.cpp             dptr[j] = saturate_cast<_Tp>(s);
saturate_cast    2456 modules/ts/src/ts_func.cpp     int ival = saturate_cast<int>(val);
saturate_cast    2466 modules/ts/src/ts_func.cpp             minmax_((const uchar*)sptr1, saturate_cast<uchar>(ival), (uchar*)dptr, total, op);
saturate_cast    2469 modules/ts/src/ts_func.cpp             minmax_((const schar*)sptr1, saturate_cast<schar>(ival), (schar*)dptr, total, op);
saturate_cast    2472 modules/ts/src/ts_func.cpp             minmax_((const ushort*)sptr1, saturate_cast<ushort>(ival), (ushort*)dptr, total, op);
saturate_cast    2475 modules/ts/src/ts_func.cpp             minmax_((const short*)sptr1, saturate_cast<short>(ival), (short*)dptr, total, op);
saturate_cast    2478 modules/ts/src/ts_func.cpp             minmax_((const int*)sptr1, saturate_cast<int>(ival), (int*)dptr, total, op);
saturate_cast    2481 modules/ts/src/ts_func.cpp             minmax_((const float*)sptr1, saturate_cast<float>(val), (float*)dptr, total, op);
saturate_cast    2484 modules/ts/src/ts_func.cpp             minmax_((const double*)sptr1, saturate_cast<double>(val), (double*)dptr, total, op);
saturate_cast    2509 modules/ts/src/ts_func.cpp             dst[i] = saturate_cast<_Tp>((scale*src1[i])*src2[i]);
saturate_cast    2512 modules/ts/src/ts_func.cpp             dst[i] = src2[i] ? saturate_cast<_Tp>((scale*src1[i])/src2[i]) : 0;
saturate_cast    2515 modules/ts/src/ts_func.cpp             dst[i] = src2[i] ? saturate_cast<_Tp>(scale/src2[i]) : 0;
saturate_cast     204 modules/video/src/bgfg_KNN.cpp         nShadowDetection = saturate_cast<uchar>((int)fn["shadowValue"]);
saturate_cast     309 modules/video/src/bgfg_gaussmix2.cpp         nShadowDetection = saturate_cast<uchar>((int)fn["shadowValue"]);
saturate_cast     143 samples/cpp/camshiftdemo.cpp                         buf.at<Vec3b>(i) = Vec3b(saturate_cast<uchar>(i*180./hsize), 255, 255);
saturate_cast     148 samples/cpp/camshiftdemo.cpp                         int val = saturate_cast<int>(hist.at<float>(i)*histimg.rows/255);
saturate_cast      68 samples/cpp/image.cpp         *it = saturate_cast<uchar>(v*v/255.);
saturate_cast      78 samples/cpp/image.cpp             Uptr[x] = saturate_cast<uchar>((Uptr[x]-128)/2 + 128);
saturate_cast      80 samples/cpp/image.cpp             Vxy = saturate_cast<uchar>((Vxy-128)/2 + 128);
saturate_cast     144 samples/cpp/points_classifier.cpp         circle( imgDst, Point(saturate_cast<int>(supportVector[0]),saturate_cast<int>(supportVector[1])), 5, Scalar(255,255,255), -1 );
saturate_cast      33 samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp                 new_image.at<Vec3b>(y,x)[c] = saturate_cast<uchar>( alpha*( image.at<Vec3b>(y,x)[c] ) + beta );
saturate_cast      41 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp           new_image.at<Vec3b>(y,x)[c] = saturate_cast<uchar>( alpha*( image.at<Vec3b>(y,x)[c] ) + beta );
saturate_cast      74 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp         *it = saturate_cast<uchar>(v*v/255);
saturate_cast      83 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp             Uptr[x] = saturate_cast<uchar>((Uptr[x]-128)/2 + 128);
saturate_cast      87 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp             Vxy =        saturate_cast<uchar>((Vxy-128)/2 + 128);
saturate_cast      79 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp             *output++ = saturate_cast<uchar>(5*current[i]
saturate_cast     145 samples/tapi/camshift.cpp                         buf.at<cv::Vec3b>(i) = cv::Vec3b(cv::saturate_cast<uchar>(i*180./hsize), 255, 255);
saturate_cast     152 samples/tapi/camshift.cpp                             int val = cv::saturate_cast<int>(_hist.at<float>(i)*histimg.rows/255);