Home
last modified time | relevance | path

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

/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp99 G2Y = 9617, enumerator
290 …return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 2) & 0xf8) * G2Y + ((src >> 7… in operator ()()
299 …return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 3) & 0xfc) * G2Y + ((src >> 8… 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.hpp100 G2Y = 9617, enumerator
409 …return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 3) & 0xfc) * G2Y + ((t >> 8) & 0xf8) * R… in cvt()
417 …return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 2) & 0xf8) * G2Y + ((t >> 7) & 0xf8) * R… 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/
Ddemosaicing.cpp517 const int G2Y = 9617; in operator ()() local
557 t2 = bayer[bayer_step+1]*(2*G2Y); in operator ()()
564 int delta = vecOp.bayer2Gray(bayer, bayer_step, dst, size.width, bcoeff, G2Y, rcoeff); in operator ()()
571 … t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y; in operator ()()
577 t2 = bayer[bayer_step+2]*(2*G2Y); in operator ()()
584 … t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y; in operator ()()
Dcolor.cpp1067 #undef G2Y
1075 G2Y = 9617, enumerator
1089 v_g2y = vdup_n_u16(G2Y); in RGB5x52Gray()
1097 v_g2y = _mm_set1_epi16(G2Y); in RGB5x52Gray()
1168 ((t >> 3) & 0xfc)*G2Y + in operator ()()
1232 ((t >> 2) & 0xf8)*G2Y + 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 …]
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl82 G2Y = 9617,
156 …dst[0] = (DATA_TYPE)CV_DESCALE(mad24(src_pix.B_COMP, B2Y, mad24(src_pix.G_COMP, G2Y, mul24(src_pix…
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 …ex] = (uchar)CV_DESCALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 3) & 0xfc, G2Y, ((t >> 8) & 0xf8) …
979 …ex] = (uchar)CV_DESCALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 2) & 0xf8, G2Y, ((t >> 7) & 0xf8) …