HomeSort by relevance Sort by last modified time
    Searched full:yuv_shift (Results 1 - 6 of 6) sorted by null

  /external/opencv3/modules/imgproc/src/
color.cpp 1072 yuv_shift = 14, enumerator in enum:cv::__anon21720
    [all...]
  /external/opencv3/modules/imgproc/src/opencl/
cvtcolor.cl 78 yuv_shift = 14,
156 dst[0] = (DATA_TYPE)CV_DESCALE(mad24(src_pix.B_COMP, B2Y, mad24(src_pix.G_COMP, G2Y, mul24(src_pix.R_COMP, R2Y))), yuv_shift);
236 const int delta = HALF_MAX * (1 << yuv_shift);
237 const int Y = CV_DESCALE(mad24(b, coeffs[0], mad24(g, coeffs[1], mul24(r, coeffs[2]))), yuv_shift);
238 const int U = CV_DESCALE(mad24(b - Y, coeffs[3], delta), yuv_shift);
239 const int V = CV_DESCALE(mad24(r - Y, coeffs[4], delta), yuv_shift);
286 const int r = Y + CV_DESCALE(mul24(V - HALF_MAX, coeffs[3]), yuv_shift);
287 const int g = Y + CV_DESCALE(mad24(V - HALF_MAX, coeffs[2], mul24(U - HALF_MAX, coeffs[1])), yuv_shift);
288 const int b = Y + CV_DESCALE(mul24(U - HALF_MAX, coeffs[0]), yuv_shift);
651 int delta = HALF_MAX * (1 << yuv_shift);
    [all...]
  /external/opencv/cv/src/
cvcolor.cpp 681 #define yuv_shift 14 macro
682 #define yuvYr fix(yuvYr_32f,yuv_shift)
683 #define yuvYg fix(yuvYg_32f,yuv_shift)
684 #define yuvYb fix(yuvYb_32f,yuv_shift)
685 #define yuvCr fix(yuvCr_32f,yuv_shift)
686 #define yuvCb fix(yuvCb_32f,yuv_shift)
688 #define yuv_descale(x) CV_DESCALE((x), yuv_shift)
689 #define yuv_prescale(x) ((x) << yuv_shift)
696 #define yuvRCr fix(yuvRCr_32f,yuv_shift)
697 #define yuvGCr (-fix(-yuvGCr_32f,yuv_shift))
    [all...]
  /external/opencv3/modules/core/include/opencv2/core/cuda/detail/
color_detail.hpp 97 yuv_shift = 14, enumerator in enum:cv::cuda::device::color_detail::__anon21212
409 return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 3) & 0xfc) * G2Y + ((t >> 8) & 0xf8) * R2Y, yuv_shift);
417 return (uchar)CV_DESCALE(((t << 3) & 0xf8) * B2Y + ((t >> 2) & 0xf8) * G2Y + ((t >> 7) & 0xf8) * R2Y, yuv_shift);
446 return (T)CV_DESCALE((unsigned)(src[bidx] * B2Y + src[1] * G2Y + src[bidx^2] * R2Y), yuv_shift);
454 return CV_DESCALE((uint)(b * B2Y + g * G2Y + r * R2Y), yuv_shift);
502 const int delta = ColorChannel<T>::half() * (1 << yuv_shift);
504 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);
505 const int Cr = CV_DESCALE((src[bidx^2] - Y) * c_RGB2YUVCoeffs_i[3] + delta, yuv_shift);
506 const int Cb = CV_DESCALE((src[bidx] - Y) * c_RGB2YUVCoeffs_i[4] + delta, yuv_shift);
551 const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift);
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
color_cvt.hpp 96 yuv_shift = 14, enumerator in enum:cv::cudev::color_cvt_detail::__anon21510
290 return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 2) & 0xf8) * G2Y + ((src >> 7) & 0xf8) * R2Y, yuv_shift);
299 return (uchar) CV_CUDEV_DESCALE(((src << 3) & 0xf8) * B2Y + ((src >> 3) & 0xfc) * G2Y + ((src >> 8) & 0xf8) * R2Y, yuv_shift);
313 return (T) CV_CUDEV_DESCALE(b * B2Y + g * G2Y + r * R2Y, yuv_shift);
343 const int delta = ColorChannel<T>::half() * (1 << yuv_shift);
345 const int Y = CV_CUDEV_DESCALE(b * c_RGB2YUVCoeffs_i[2] + g * c_RGB2YUVCoeffs_i[1] + r * c_RGB2YUVCoeffs_i[0], yuv_shift);
346 const int Cr = CV_CUDEV_DESCALE((r - Y) * c_RGB2YUVCoeffs_i[3] + delta, yuv_shift);
347 const int Cb = CV_CUDEV_DESCALE((b - Y) * c_RGB2YUVCoeffs_i[4] + delta, yuv_shift);
388 const int b = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift);
389 const int g = src.x + CV_CUDEV_DESCALE((src.z - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[2] + (src.y - ColorChannel<T>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift);
    [all...]
  /external/opencv3/modules/imgproc/
opencl_kernels_imgproc.cpp     [all...]

Completed in 271 milliseconds