Home
last modified time | relevance | path

Searched refs:R2Y (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp98 R2Y = 4899, enumerator
290 …CALE(((src << 3) & 0xf8) * B2Y + ((src >> 2) & 0xf8) * G2Y + ((src >> 7) & 0xf8) * R2Y, yuv_shift); in operator ()()
299 …CALE(((src << 3) & 0xf8) * B2Y + ((src >> 3) & 0xfc) * G2Y + ((src >> 8) & 0xf8) * R2Y, yuv_shift); in operator ()()
313 return (T) CV_CUDEV_DESCALE(b * B2Y + g * G2Y + r * R2Y, yuv_shift); in operator ()()
332 __constant__ int c_RGB2YUVCoeffs_i[5] = { B2Y, G2Y, R2Y, 8061, 14369 };
426 __constant__ int c_RGB2YCrCbCoeffs_i[5] = { R2Y, G2Y, B2Y, 11682, 9241 };
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp99 R2Y = 4899, enumerator
409 …CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 3) & 0xfc) * G2Y + ((t >> 8) & 0xf8) * R2Y, yuv_shift); in cvt()
417 …CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 2) & 0xf8) * G2Y + ((t >> 7) & 0xf8) * R2Y, yuv_shift); in cvt()
446 … return (T)CV_DESCALE((unsigned)(src[bidx] * B2Y + src[1] * G2Y + src[bidx^2] * R2Y), yuv_shift); in RGB2GrayConvert()
454 return CV_DESCALE((uint)(b * B2Y + g * G2Y + r * R2Y), yuv_shift); in RGB2GrayConvert()
498 __constant__ int c_RGB2YUVCoeffs_i[5] = { B2Y, G2Y, R2Y, 8061, 14369 };
637 __constant__ int c_RGB2YCrCbCoeffs_i[5] = {R2Y, G2Y, B2Y, 11682, 9241};
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl81 R2Y = 4899,
156 …ALE(mad24(src_pix.B_COMP, B2Y, mad24(src_pix.G_COMP, G2Y, mul24(src_pix.R_COMP, R2Y))), yuv_shift);
205 __constant int c_RGB2YUVCoeffs_i[5] = { B2Y, G2Y, R2Y, 8061, 14369 };
620 __constant int c_RGB2YCrCbCoeffs_i[5] = {R2Y, G2Y, B2Y, 11682, 9241};
977 …CALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 3) & 0xfc, G2Y, ((t >> 8) & 0xf8) * R2Y)), yuv_shift);
979 …CALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 2) & 0xf8, G2Y, ((t >> 7) & 0xf8) * R2Y)), yuv_shift);
/external/opencv3/modules/imgproc/src/
Dcolor.cpp1066 #undef R2Y
1074 R2Y = 4899, enumerator
1090 v_r2y = vdup_n_u16(R2Y); in RGB5x52Gray()
1098 v_r2y = _mm_set1_epi16(R2Y); in RGB5x52Gray()
1169 ((t >> 8) & 0xf8)*R2Y, yuv_shift); in operator ()()
1233 ((t >> 7) & 0xf8)*R2Y, yuv_shift); in operator ()()
1281 const int coeffs0[] = { R2Y, G2Y, B2Y }; in RGB2Gray()
1315 static const int coeffs0[] = { R2Y, G2Y, B2Y }; in RGB2Gray()
1476 static const int coeffs0[] = { R2Y, G2Y, B2Y }; in RGB2Gray()
1685 static const int coeffs0[] = { R2Y, G2Y, B2Y }; in RGB2Gray()
[all …]
Ddemosaicing.cpp612 const int R2Y = 4899; in Bayer2Gray_() local
616 int bcoeff = B2Y, rcoeff = R2Y; in Bayer2Gray_()