CV_DESCALE 56 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #ifndef CV_DESCALE CV_DESCALE 409 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 3) & 0xfc) * G2Y + ((t >> 8) & 0xf8) * R2Y, yuv_shift); CV_DESCALE 417 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 2) & 0xf8) * G2Y + ((t >> 7) & 0xf8) * R2Y, yuv_shift); CV_DESCALE 446 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return (T)CV_DESCALE((unsigned)(src[bidx] * B2Y + src[1] * G2Y + src[bidx^2] * R2Y), yuv_shift); CV_DESCALE 454 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp return CV_DESCALE((uint)(b * B2Y + g * G2Y + r * R2Y), yuv_shift); CV_DESCALE 504 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE(src[0] * c_RGB2YUVCoeffs_i[bidx^2] + src[1] * c_RGB2YUVCoeffs_i[1] + src[2] * c_RGB2YUVCoeffs_i[bidx], yuv_shift); CV_DESCALE 505 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE((src[bidx^2] - Y) * c_RGB2YUVCoeffs_i[3] + delta, yuv_shift); CV_DESCALE 506 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE((src[bidx] - Y) * c_RGB2YUVCoeffs_i[4] + delta, yuv_shift); CV_DESCALE 551 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); CV_DESCALE 553 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2] CV_DESCALE 556 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); CV_DESCALE 569 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift); CV_DESCALE 571 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[2] CV_DESCALE 574 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = x + CV_DESCALE((y - ColorChannel<uchar>::half()) * c_YUV2RGBCoeffs_i[0], yuv_shift); CV_DESCALE 643 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE(src[0] * c_RGB2YCrCbCoeffs_i[bidx^2] + src[1] * c_RGB2YCrCbCoeffs_i[1] + src[2] * c_RGB2YCrCbCoeffs_i[bidx], yuv_shift); CV_DESCALE 644 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE((src[bidx^2] - Y) * c_RGB2YCrCbCoeffs_i[3] + delta, yuv_shift); CV_DESCALE 645 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE((src[bidx] - Y) * c_RGB2YCrCbCoeffs_i[4] + delta, yuv_shift); CV_DESCALE 656 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Y = CV_DESCALE((0xffu & src) * c_RGB2YCrCbCoeffs_i[bidx^2] + (0xffu & (src >> 8)) * c_RGB2YCrCbCoeffs_i[1] + (0xffu & (src >> 16)) * c_RGB2YCrCbCoeffs_i[bidx], yuv_shift); CV_DESCALE 657 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cr = CV_DESCALE(((0xffu & (src >> ((bidx ^ 2) * 8))) - Y) * c_RGB2YCrCbCoeffs_i[3] + delta, yuv_shift); CV_DESCALE 658 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int Cb = CV_DESCALE(((0xffu & (src >> (bidx * 8))) - Y) * c_RGB2YCrCbCoeffs_i[4] + delta, yuv_shift); CV_DESCALE 718 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[3], yuv_shift); CV_DESCALE 719 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[2] + (src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); CV_DESCALE 720 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = src.x + CV_DESCALE((src.y - ColorChannel<D>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); CV_DESCALE 733 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int b = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[3], yuv_shift); CV_DESCALE 734 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int g = x + CV_DESCALE((z - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[2] + (y - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[1], yuv_shift); CV_DESCALE 735 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp const int r = x + CV_DESCALE((y - ColorChannel<uchar>::half()) * c_YCrCb2RGBCoeffs_i[0], yuv_shift); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 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)); CV_DESCALE 1561 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int fX = LabCbrt_b(CV_DESCALE(B * 778 + G * 1541 + R * 1777, lab_shift)); CV_DESCALE 1562 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int fY = LabCbrt_b(CV_DESCALE(B * 296 + G * 2929 + R * 871, lab_shift)); CV_DESCALE 1563 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int fZ = LabCbrt_b(CV_DESCALE(B * 3575 + G * 448 + R * 73, lab_shift)); CV_DESCALE 1565 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int L = CV_DESCALE(Lscale * fY + Lshift, lab_shift2); CV_DESCALE 1566 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int a = CV_DESCALE(500 * (fX - fY) + 128 * (1 << lab_shift2), lab_shift2); CV_DESCALE 1567 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp int b = CV_DESCALE(200 * (fY - fZ) + 128 * (1 << lab_shift2), lab_shift2); CV_DESCALE 1167 modules/imgproc/src/color.cpp dst[i] = (uchar)CV_DESCALE(((t << 3) & 0xf8)*B2Y + CV_DESCALE 1231 modules/imgproc/src/color.cpp dst[i] = (uchar)CV_DESCALE(((t << 3) & 0xf8)*B2Y + CV_DESCALE 1390 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); CV_DESCALE 1571 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); CV_DESCALE 1695 modules/imgproc/src/color.cpp dst[i] = (ushort)CV_DESCALE((unsigned)(src[0]*cb + src[1]*cg + src[2]*cr), yuv_shift); CV_DESCALE 1917 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); CV_DESCALE 1918 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); CV_DESCALE 1919 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); CV_DESCALE 2012 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); CV_DESCALE 2013 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); CV_DESCALE 2014 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); CV_DESCALE 2134 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); CV_DESCALE 2135 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); CV_DESCALE 2136 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); CV_DESCALE 2282 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); CV_DESCALE 2283 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); CV_DESCALE 2284 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); CV_DESCALE 2411 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, yuv_shift); CV_DESCALE 2412 modules/imgproc/src/color.cpp int Cr = CV_DESCALE((src[bidx^2] - Y)*C3 + delta, yuv_shift); CV_DESCALE 2413 modules/imgproc/src/color.cpp int Cb = CV_DESCALE((src[bidx] - Y)*C4 + delta, yuv_shift); CV_DESCALE 2674 modules/imgproc/src/color.cpp int b = Y + CV_DESCALE((Cb - delta)*C3, yuv_shift); CV_DESCALE 2675 modules/imgproc/src/color.cpp int g = Y + CV_DESCALE((Cb - delta)*C2 + (Cr - delta)*C1, yuv_shift); CV_DESCALE 2676 modules/imgproc/src/color.cpp int r = Y + CV_DESCALE((Cr - delta)*C0, yuv_shift); CV_DESCALE 2777 modules/imgproc/src/color.cpp int b = Y + CV_DESCALE((Cb - delta)*C3, yuv_shift); CV_DESCALE 2778 modules/imgproc/src/color.cpp int g = Y + CV_DESCALE((Cb - delta)*C2 + (Cr - delta)*C1, yuv_shift); CV_DESCALE 2779 modules/imgproc/src/color.cpp int r = Y + CV_DESCALE((Cr - delta)*C0, yuv_shift); CV_DESCALE 2917 modules/imgproc/src/color.cpp int b = Y + CV_DESCALE((Cb - delta)*C3, yuv_shift); CV_DESCALE 2918 modules/imgproc/src/color.cpp int g = Y + CV_DESCALE((Cb - delta)*C2 + (Cr - delta)*C1, yuv_shift); CV_DESCALE 2919 modules/imgproc/src/color.cpp int r = Y + CV_DESCALE((Cr - delta)*C0, yuv_shift); CV_DESCALE 3095 modules/imgproc/src/color.cpp int b = Y + CV_DESCALE((Cb - delta)*C3, yuv_shift); CV_DESCALE 3096 modules/imgproc/src/color.cpp int g = Y + CV_DESCALE((Cb - delta)*C2 + (Cr - delta)*C1, yuv_shift); CV_DESCALE 3097 modules/imgproc/src/color.cpp int r = Y + CV_DESCALE((Cr - delta)*C0, yuv_shift); CV_DESCALE 3382 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); CV_DESCALE 3383 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); CV_DESCALE 3384 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); CV_DESCALE 3487 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); CV_DESCALE 3488 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); CV_DESCALE 3489 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); CV_DESCALE 3619 modules/imgproc/src/color.cpp int X = CV_DESCALE(src[0]*C0 + src[1]*C1 + src[2]*C2, xyz_shift); CV_DESCALE 3620 modules/imgproc/src/color.cpp int Y = CV_DESCALE(src[0]*C3 + src[1]*C4 + src[2]*C5, xyz_shift); CV_DESCALE 3621 modules/imgproc/src/color.cpp int Z = CV_DESCALE(src[0]*C6 + src[1]*C7 + src[2]*C8, xyz_shift); CV_DESCALE 3831 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); CV_DESCALE 3832 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); CV_DESCALE 3833 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); CV_DESCALE 3947 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); CV_DESCALE 3948 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); CV_DESCALE 3949 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); CV_DESCALE 4098 modules/imgproc/src/color.cpp int B = CV_DESCALE(src[i]*C0 + src[i+1]*C1 + src[i+2]*C2, xyz_shift); CV_DESCALE 4099 modules/imgproc/src/color.cpp int G = CV_DESCALE(src[i]*C3 + src[i+1]*C4 + src[i+2]*C5, xyz_shift); CV_DESCALE 4100 modules/imgproc/src/color.cpp int R = CV_DESCALE(src[i]*C6 + src[i+1]*C7 + src[i+2]*C8, xyz_shift); CV_DESCALE 5118 modules/imgproc/src/color.cpp int fX = LabCbrtTab_b[CV_DESCALE(R*C0 + G*C1 + B*C2, lab_shift)]; CV_DESCALE 5119 modules/imgproc/src/color.cpp int fY = LabCbrtTab_b[CV_DESCALE(R*C3 + G*C4 + B*C5, lab_shift)]; CV_DESCALE 5120 modules/imgproc/src/color.cpp int fZ = LabCbrtTab_b[CV_DESCALE(R*C6 + G*C7 + B*C8, lab_shift)]; CV_DESCALE 5122 modules/imgproc/src/color.cpp int L = CV_DESCALE( Lscale*fY + Lshift, lab_shift2 ); CV_DESCALE 5123 modules/imgproc/src/color.cpp int a = CV_DESCALE( 500*(fX - fY) + 128*(1 << lab_shift2), lab_shift2 ); CV_DESCALE 5124 modules/imgproc/src/color.cpp int b = CV_DESCALE( 200*(fY - fZ) + 128*(1 << lab_shift2), lab_shift2 ); CV_DESCALE 559 modules/imgproc/src/demosaicing.cpp dst[0] = (T)CV_DESCALE(t0 + t1 + t2, SHIFT+1); CV_DESCALE 573 modules/imgproc/src/demosaicing.cpp dst[0] = (T)CV_DESCALE(t0 + t1 + t2, SHIFT+2); CV_DESCALE 578 modules/imgproc/src/demosaicing.cpp dst[1] = (T)CV_DESCALE(t0 + t1 + t2, SHIFT+1); CV_DESCALE 586 modules/imgproc/src/demosaicing.cpp dst[0] = (T)CV_DESCALE(t0 + t1 + t2, SHIFT+2); CV_DESCALE 449 modules/video/src/lkpyramid.cpp int ival = CV_DESCALE(src[x]*iw00 + src[x+cn]*iw01 + CV_DESCALE 451 modules/video/src/lkpyramid.cpp int ixval = CV_DESCALE(dsrc[0]*iw00 + dsrc[cn2]*iw01 + CV_DESCALE 453 modules/video/src/lkpyramid.cpp int iyval = CV_DESCALE(dsrc[1]*iw00 + dsrc[cn2+1]*iw01 + dsrc[dstep+1]*iw10 + CV_DESCALE 659 modules/video/src/lkpyramid.cpp int diff = CV_DESCALE(Jptr[x]*iw00 + Jptr[x+cn]*iw01 + CV_DESCALE 733 modules/video/src/lkpyramid.cpp int diff = CV_DESCALE(Jptr[x]*iw00 + Jptr[x+cn]*iw01 +