Home
last modified time | relevance | path

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

/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp100 B2Y = 1868, 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.hpp101 B2Y = 1868, 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/opencl/
Dcvtcolor.cl83 B2Y = 1868,
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 …dst[dst_index] = (uchar)CV_DESCALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 3) & 0xfc, G2Y, ((t >> …
979 …dst[dst_index] = (uchar)CV_DESCALE(mad24((t << 3) & 0xf8, B2Y, mad24((t >> 2) & 0xf8, G2Y, ((t >> …
/external/opencv3/modules/imgproc/src/
Dcolor.cpp1068 #undef B2Y
1076 B2Y = 1868, enumerator
1088 v_b2y = vdup_n_u16(B2Y); in RGB5x52Gray()
1096 v_b2y = _mm_set1_epi16(B2Y); in RGB5x52Gray()
1167 dst[i] = (uchar)CV_DESCALE(((t << 3) & 0xf8)*B2Y + in operator ()()
1231 dst[i] = (uchar)CV_DESCALE(((t << 3) & 0xf8)*B2Y + 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.cpp613 const int B2Y = 1868; in Bayer2Gray_() local
616 int bcoeff = B2Y, rcoeff = R2Y; in Bayer2Gray_()