HomeSort by relevance Sort by last modified time
    Searched refs:ColorChannel (Results 1 - 3 of 3) sorted by null

  /external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
color_cvt.hpp 63 template <typename T> struct ColorChannel
69 template <> struct ColorChannel<float>
86 return ColorChannel<T>::max();
251 setAlpha(dst, ColorChannel<T>::max());
343 const int delta = ColorChannel<T>::half() * (1 << yuv_shift);
371 dst.y = (r - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half();
372 dst.z = (b - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half();
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/core/include/opencv2/core/cuda/detail/
color_detail.hpp 62 template<typename T> struct ColorChannel
69 template<> struct ColorChannel<float>
87 return ColorChannel<T>::max();
323 setAlpha(dst, ColorChannel<T>::max());
502 const int delta = ColorChannel<T>::half() * (1 << yuv_shift);
516 dst.y = (src[bidx^2] - dst.x) * c_RGB2YUVCoeffs_f[3] + ColorChannel<float>::half();
517 dst.z = (src[bidx] - dst.x) * c_RGB2YUVCoeffs_f[4] + ColorChannel<float>::half();
551 const int b = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[3], yuv_shift);
553 const int g = src.x + CV_DESCALE((src.z - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[2]
554 + (src.y - ColorChannel<D>::half()) * c_YUV2RGBCoeffs_i[1], yuv_shift)
    [all...]
  /external/opencv3/modules/imgproc/src/
color.cpp 145 template<typename _Tp> struct ColorChannel
152 template<> struct ColorChannel<float>
159 /*template<> struct ColorChannel<double>
567 _Tp alpha = ColorChannel<_Tp>::max();
597 v_alpha = vdupq_n_u8(ColorChannel<uchar>::max());
681 uchar alpha = ColorChannel<uchar>::max();
    [all...]

Completed in 101 milliseconds