dcn 110 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2RGB dcn 111 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 113 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 115 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 148 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 274 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int dcn, int bidx, int green_bits> struct RGB5x52RGB; dcn 302 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB5x52RGB_TRAITS(name, dcn, bidx, green_bits) \ dcn 316 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int dcn> struct Gray2RGB : unary_function<T, typename TypeVec<T, dcn>::vec_type> dcn 318 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(T src) const dcn 320 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 348 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_GRAY2RGB_TRAITS(name, dcn) \ dcn 351 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typedef ::cv::cuda::device::color_detail::Gray2RGB<T, dcn> functor_type; \ dcn 520 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YUV dcn 521 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 523 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const dcn 525 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 534 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2YUV_TRAITS(name, scn, dcn, bidx) \ dcn 595 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct YUV2RGB dcn 596 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 598 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const dcn 600 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 622 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_YUV2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 676 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YCrCb dcn 677 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 679 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const dcn 681 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 701 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2YCrCb_TRAITS(name, scn, dcn, bidx) \ dcn 753 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct YCrCb2RGB dcn 754 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 756 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator ()(const typename TypeVec<T, scn>::vec_type& src) const dcn 758 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 780 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_YCrCb2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 830 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2XYZ dcn 831 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 833 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 835 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 856 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2XYZ_TRAITS(name, scn, dcn, bidx) \ dcn 904 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx> struct XYZ2RGB dcn 905 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 907 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 909 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 931 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_XYZ2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 1043 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HSV dcn 1044 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 1046 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 1048 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 1069 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2HSV_TRAITS(name, scn, dcn, bidx) \ dcn 1182 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HSV2RGB dcn 1183 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 1185 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 1187 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 1209 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_HSV2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 1316 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HLS dcn 1317 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 1319 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 1321 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 1342 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2HLS_TRAITS(name, scn, dcn, bidx) \ dcn 1455 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HLS2RGB dcn 1456 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<T, scn>::vec_type, typename TypeVec<T, dcn>::vec_type> dcn 1458 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<T, dcn>::vec_type operator()(const typename TypeVec<T, scn>::vec_type& src) const dcn 1460 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<T, dcn>::vec_type dst; dcn 1482 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_HLS2RGB_TRAITS(name, scn, dcn, bidx) \ dcn 1618 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; dcn 1619 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1620 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx> dcn 1621 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> dcn 1623 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const dcn 1625 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<uchar, dcn>::vec_type dst; dcn 1634 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1635 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Lab<float, scn, dcn, srgb, blueIdx> dcn 1636 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> dcn 1638 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const dcn 1640 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<float, dcn>::vec_type dst; dcn 1651 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Lab_TRAITS(name, scn, dcn, srgb, blueIdx) \ dcn 1731 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; dcn 1732 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1733 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<uchar, scn, dcn, srgb, blueIdx> dcn 1734 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> dcn 1736 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const dcn 1738 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<uchar, dcn>::vec_type dst; dcn 1747 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1748 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Lab2RGB<float, scn, dcn, srgb, blueIdx> dcn 1749 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> dcn 1751 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const dcn 1753 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<float, dcn>::vec_type dst; dcn 1764 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Lab2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ dcn 1830 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; dcn 1831 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1832 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<uchar, scn, dcn, srgb, blueIdx> dcn 1833 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> dcn 1835 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const dcn 1837 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<uchar, dcn>::vec_type dst; dcn 1846 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1847 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct RGB2Luv<float, scn, dcn, srgb, blueIdx> dcn 1848 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> dcn 1850 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const dcn 1852 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<float, dcn>::vec_type dst; dcn 1863 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_RGB2Luv_TRAITS(name, scn, dcn, srgb, blueIdx) \ dcn 1931 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; dcn 1932 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1933 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<uchar, scn, dcn, srgb, blueIdx> dcn 1934 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<uchar, scn>::vec_type, typename TypeVec<uchar, dcn>::vec_type> dcn 1936 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<uchar, dcn>::vec_type operator ()(const typename TypeVec<uchar, scn>::vec_type& src) const dcn 1938 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<uchar, dcn>::vec_type dst; dcn 1947 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp template <int scn, int dcn, bool srgb, int blueIdx> dcn 1948 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp struct Luv2RGB<float, scn, dcn, srgb, blueIdx> dcn 1949 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp : unary_function<typename TypeVec<float, scn>::vec_type, typename TypeVec<float, dcn>::vec_type> dcn 1951 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp __device__ __forceinline__ typename TypeVec<float, dcn>::vec_type operator ()(const typename TypeVec<float, scn>::vec_type& src) const dcn 1953 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp typename TypeVec<float, dcn>::vec_type dst; dcn 1964 modules/core/include/opencv2/core/cuda/detail/color_detail.hpp #define OPENCV_CUDA_IMPLEMENT_Luv2RGB_TRAITS(name, scn, dcn, srgb, blueIdx) \ dcn 1044 modules/core/src/convert.cpp int dcn = (int)ksrc.size(); dcn 1047 modules/core/src/convert.cpp for (int i = 0; i < dcn; ++i) dcn 1058 modules/core/src/convert.cpp dcn, ocl::memopTypeToStr(depth), srcargs.c_str(), dcn 1063 modules/core/src/convert.cpp _dst.create(size, CV_MAKE_TYPE(depth, dcn)); dcn 1067 modules/core/src/convert.cpp for (int i = 0; i < dcn; ++i) dcn 1303 modules/core/src/convert.cpp int scn = fromTo[i<<1], dcn = fromTo[(i<<1) + 1]; dcn 1307 modules/core/src/convert.cpp getUMatIndex(dst, dcn, dst_idx, dst_cnidx); dcn 1431 modules/core/src/convert.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); dcn 1433 modules/core/src/convert.cpp CV_Assert( 0 <= coi && coi < dcn && scn == 1 ); dcn 5682 modules/core/src/convert.cpp int lcn = _lut.channels(), dcn = _src.channels(), ddepth = _lut.depth(); dcn 5685 modules/core/src/convert.cpp _dst.create(src.size(), CV_MAKETYPE(ddepth, dcn)); dcn 5687 modules/core/src/convert.cpp int kercn = lcn == 1 ? std::min(4, ocl::predictOptimalVectorWidth(_src, _dst)) : dcn; dcn 5696 modules/core/src/convert.cpp ocl::KernelArg::WriteOnly(dst, dcn, kercn)); dcn 5698 modules/core/src/convert.cpp size_t globalSize[2] = { dst.cols * dcn / kercn, (dst.rows + 3) / 4 }; dcn 1472 modules/core/src/matmul.cpp transform_( const T* src, T* dst, const WT* m, int len, int scn, int dcn ) dcn 1476 modules/core/src/matmul.cpp if( scn == 2 && dcn == 2 ) dcn 1486 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 3 ) dcn 1497 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 1 ) dcn 1502 modules/core/src/matmul.cpp else if( scn == 4 && dcn == 4 ) dcn 1517 modules/core/src/matmul.cpp for( x = 0; x < len; x++, src += scn, dst += dcn ) dcn 1521 modules/core/src/matmul.cpp for( j = 0; j < dcn; j++, _m += scn + 1 ) dcn 1556 modules/core/src/matmul.cpp transform_8u( const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn ) dcn 1562 modules/core/src/matmul.cpp if( USE_SSE2 && scn == 3 && dcn == 3 && dcn 1673 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1677 modules/core/src/matmul.cpp transform_16u( const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn ) dcn 1680 modules/core/src/matmul.cpp if( USE_SSE2 && scn == 3 && dcn == 3 ) dcn 1739 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1744 modules/core/src/matmul.cpp transform_32f( const float* src, float* dst, const float* m, int len, int scn, int dcn ) dcn 1750 modules/core/src/matmul.cpp if( scn == 3 && dcn == 3 ) dcn 1777 modules/core/src/matmul.cpp if( scn == 4 && dcn == 4 ) dcn 1797 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1802 modules/core/src/matmul.cpp transform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) dcn 1804 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1808 modules/core/src/matmul.cpp transform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) dcn 1810 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1814 modules/core/src/matmul.cpp transform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) dcn 1816 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1820 modules/core/src/matmul.cpp transform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) dcn 1822 modules/core/src/matmul.cpp transform_(src, dst, m, len, scn, dcn); dcn 1873 modules/core/src/matmul.cpp diagtransform_8u(const uchar* src, uchar* dst, const float* m, int len, int scn, int dcn) dcn 1875 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1879 modules/core/src/matmul.cpp diagtransform_8s(const schar* src, schar* dst, const float* m, int len, int scn, int dcn) dcn 1881 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1885 modules/core/src/matmul.cpp diagtransform_16u(const ushort* src, ushort* dst, const float* m, int len, int scn, int dcn) dcn 1887 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1891 modules/core/src/matmul.cpp diagtransform_16s(const short* src, short* dst, const float* m, int len, int scn, int dcn) dcn 1893 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1897 modules/core/src/matmul.cpp diagtransform_32s(const int* src, int* dst, const double* m, int len, int scn, int dcn) dcn 1899 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1903 modules/core/src/matmul.cpp diagtransform_32f(const float* src, float* dst, const float* m, int len, int scn, int dcn) dcn 1905 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1909 modules/core/src/matmul.cpp diagtransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) dcn 1911 modules/core/src/matmul.cpp diagtransform_(src, dst, m, len, scn, dcn); dcn 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; dcn 1950 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); dcn 1959 modules/core/src/matmul.cpp _mbuf.allocate(dcn*(scn+1)); dcn 1961 modules/core/src/matmul.cpp Mat tmp(dcn, scn+1, mtype, mbuf); dcn 1975 modules/core/src/matmul.cpp if( scn == dcn ) dcn 2011 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); dcn 2022 modules/core/src/matmul.cpp perspectiveTransform_( const T* src, T* dst, const double* m, int len, int scn, int dcn ) dcn 2027 modules/core/src/matmul.cpp if( scn == 2 && dcn == 2 ) dcn 2044 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 3 ) dcn 2062 modules/core/src/matmul.cpp else if( scn == 3 && dcn == 2 ) dcn 2081 modules/core/src/matmul.cpp for( i = 0; i < len; i++, src += scn, dst += dcn ) dcn 2083 modules/core/src/matmul.cpp const double* _m = m + dcn*(scn + 1); dcn 2091 modules/core/src/matmul.cpp for( j = 0; j < dcn; j++, _m += scn + 1 ) dcn 2100 modules/core/src/matmul.cpp for( j = 0; j < dcn; j++ ) dcn 2108 modules/core/src/matmul.cpp perspectiveTransform_32f(const float* src, float* dst, const double* m, int len, int scn, int dcn) dcn 2110 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); dcn 2114 modules/core/src/matmul.cpp perspectiveTransform_64f(const double* src, double* dst, const double* m, int len, int scn, int dcn) dcn 2116 modules/core/src/matmul.cpp perspectiveTransform_(src, dst, m, len, scn, dcn); dcn 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; dcn 2128 modules/core/src/matmul.cpp _dst.create( src.size(), CV_MAKETYPE(depth, dcn) ); dcn 2137 modules/core/src/matmul.cpp _mbuf.allocate((dcn+1)*(scn+1)); dcn 2138 modules/core/src/matmul.cpp Mat tmp(dcn+1, scn+1, mtype, (double*)_mbuf); dcn 2156 modules/core/src/matmul.cpp func( ptrs[0], ptrs[1], (uchar*)mbuf, (int)total, scn, dcn ); dcn 1604 modules/core/src/stat.cpp int dcn = (int)dst.total(); dcn 1606 modules/core/src/stat.cpp (dst.cols == 1 || dst.rows == 1) && dcn >= cn ); dcn 1610 modules/core/src/stat.cpp for( ; k < dcn; k++ ) dcn 1822 modules/core/src/stat.cpp int dcn = (int)dst.total(); dcn 1824 modules/core/src/stat.cpp (dst.cols == 1 || dst.rows == 1) && dcn >= cn ); dcn 1828 modules/core/src/stat.cpp for( ; k < dcn; k++ ) dcn 117 modules/core/test/ocl/test_channels.cpp int dcn = 0; dcn 119 modules/core/test/ocl/test_channels.cpp dcn += src_roi[i].channels(); dcn 122 modules/core/test/ocl/test_channels.cpp randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, dcn), 5, 16); dcn 90 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void cvtColor(InputArray src, OutputArray dst, int code, int dcn = 0, Stream& stream = Stream::Null()); dcn 136 modules/cudaimgproc/include/opencv2/cudaimgproc.hpp CV_EXPORTS void demosaicing(InputArray src, OutputArray dst, int code, int dcn = -1, Stream& stream = Stream::Null()); dcn 91 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); dcn 99 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); dcn 130 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cuda::cvtColor(d_src, dst, info.code, info.dcn); dcn 138 modules/cudaimgproc/perf/perf_color.cpp TEST_CYCLE() cv::cvtColor(src, dst, info.code, info.dcn); dcn 536 modules/cudaimgproc/src/color.cpp void RGB_to_YUV(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 551 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 557 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 559 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 562 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 565 modules/cudaimgproc/src/color.cpp void BGR_to_YUV(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 580 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 586 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 588 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 591 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 594 modules/cudaimgproc/src/color.cpp void YUV_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 609 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 615 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 617 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 620 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 623 modules/cudaimgproc/src/color.cpp void YUV_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 638 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 644 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 646 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 649 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 652 modules/cudaimgproc/src/color.cpp void RGB_to_YCrCb(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 667 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 673 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 675 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 678 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 681 modules/cudaimgproc/src/color.cpp void BGR_to_YCrCb(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 696 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 702 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 704 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 707 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 710 modules/cudaimgproc/src/color.cpp void YCrCb_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 725 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 731 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 733 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 736 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 739 modules/cudaimgproc/src/color.cpp void YCrCb_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 754 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 760 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 762 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 765 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 768 modules/cudaimgproc/src/color.cpp void RGB_to_XYZ(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 783 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 789 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 791 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 794 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 797 modules/cudaimgproc/src/color.cpp void BGR_to_XYZ(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 812 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 818 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 820 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 823 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 826 modules/cudaimgproc/src/color.cpp void XYZ_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 841 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 847 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 849 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 852 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 855 modules/cudaimgproc/src/color.cpp void XYZ_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 870 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 876 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 878 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 881 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 884 modules/cudaimgproc/src/color.cpp void RGB_to_HSV(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 899 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 905 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 907 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 910 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 913 modules/cudaimgproc/src/color.cpp void BGR_to_HSV(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 928 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 934 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 936 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 939 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 942 modules/cudaimgproc/src/color.cpp void HSV_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 957 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 963 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 965 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 968 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 971 modules/cudaimgproc/src/color.cpp void HSV_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 986 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 992 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 994 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 997 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1000 modules/cudaimgproc/src/color.cpp void RGB_to_HLS(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1015 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1021 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1023 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1026 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1029 modules/cudaimgproc/src/color.cpp void BGR_to_HLS(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1044 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1050 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1052 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1055 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1058 modules/cudaimgproc/src/color.cpp void HLS_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1073 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1079 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1081 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1084 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1087 modules/cudaimgproc/src/color.cpp void HLS_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1102 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1108 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1110 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1113 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1116 modules/cudaimgproc/src/color.cpp void RGB_to_HSV_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1131 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1137 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1139 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1142 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1145 modules/cudaimgproc/src/color.cpp void BGR_to_HSV_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1160 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1166 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1168 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1171 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1174 modules/cudaimgproc/src/color.cpp void HSV_to_RGB_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1189 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1195 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1197 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1200 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1203 modules/cudaimgproc/src/color.cpp void HSV_to_BGR_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1218 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1224 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1226 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1229 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1232 modules/cudaimgproc/src/color.cpp void RGB_to_HLS_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1247 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1253 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1255 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1258 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1261 modules/cudaimgproc/src/color.cpp void BGR_to_HLS_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1276 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1282 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1284 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1287 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1290 modules/cudaimgproc/src/color.cpp void HLS_to_RGB_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1305 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1311 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1313 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1316 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1319 modules/cudaimgproc/src/color.cpp void HLS_to_BGR_FULL(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1334 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1340 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1342 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1345 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); dcn 1348 modules/cudaimgproc/src/color.cpp void BGR_to_Lab(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1363 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1369 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1371 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1374 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1377 modules/cudaimgproc/src/color.cpp void RGB_to_Lab(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1392 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1398 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1400 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1403 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1406 modules/cudaimgproc/src/color.cpp void LBGR_to_Lab(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1421 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1427 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1429 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1432 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1435 modules/cudaimgproc/src/color.cpp void LRGB_to_Lab(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1450 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1456 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1458 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1461 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1464 modules/cudaimgproc/src/color.cpp void Lab_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1479 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1485 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1487 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1490 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1493 modules/cudaimgproc/src/color.cpp void Lab_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1508 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1514 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1516 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1519 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1522 modules/cudaimgproc/src/color.cpp void Lab_to_LBGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1537 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1543 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1545 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1548 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1551 modules/cudaimgproc/src/color.cpp void Lab_to_LRGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1566 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1572 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1574 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1577 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1580 modules/cudaimgproc/src/color.cpp void BGR_to_Luv(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1595 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1601 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1603 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1606 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1609 modules/cudaimgproc/src/color.cpp void RGB_to_Luv(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1624 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1630 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1632 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1635 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1638 modules/cudaimgproc/src/color.cpp void LBGR_to_Luv(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1653 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1659 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1661 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1664 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1667 modules/cudaimgproc/src/color.cpp void LRGB_to_Luv(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1682 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1688 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1690 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1693 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1696 modules/cudaimgproc/src/color.cpp void Luv_to_BGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1711 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1717 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1719 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1722 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1725 modules/cudaimgproc/src/color.cpp void Luv_to_RGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1740 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1746 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1748 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1751 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1754 modules/cudaimgproc/src/color.cpp void Luv_to_LBGR(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1769 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1775 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1777 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1780 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1783 modules/cudaimgproc/src/color.cpp void Luv_to_LRGB(InputArray _src, OutputArray _dst, int dcn, Stream& stream) dcn 1798 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1804 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1806 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1809 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); dcn 1844 modules/cudaimgproc/src/color.cpp void bayer_to_BGR(InputArray _src, OutputArray _dst, int dcn, bool blue_last, bool start_with_green, Stream& stream) dcn 1854 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 1860 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 1862 modules/cudaimgproc/src/color.cpp _dst.create(src.size(), CV_MAKE_TYPE(src.depth(), dcn)); dcn 1865 modules/cudaimgproc/src/color.cpp funcs[src.depth()][dcn - 1](src, dst, blue_last, start_with_green, StreamAccessor::getStream(stream)); dcn 1867 modules/cudaimgproc/src/color.cpp void bayerBG_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) dcn 1869 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, false, false, stream); dcn 1871 modules/cudaimgproc/src/color.cpp void bayeRGB_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) dcn 1873 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, false, true, stream); dcn 1875 modules/cudaimgproc/src/color.cpp void bayerRG_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) dcn 1877 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, true, false, stream); dcn 1879 modules/cudaimgproc/src/color.cpp void bayerGR_to_BGR(InputArray src, OutputArray dst, int dcn, Stream& stream) dcn 1881 modules/cudaimgproc/src/color.cpp bayer_to_BGR(src, dst, dcn, true, true, stream); dcn 1925 modules/cudaimgproc/src/color.cpp void cv::cuda::cvtColor(InputArray src, OutputArray dst, int code, int dcn, Stream& stream) dcn 1927 modules/cudaimgproc/src/color.cpp typedef void (*func_t)(InputArray src, OutputArray dst, int dcn, Stream& stream); dcn 2105 modules/cudaimgproc/src/color.cpp func(src, dst, dcn, stream); dcn 2111 modules/cudaimgproc/src/color.cpp void cv::cuda::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn, Stream& stream) dcn 2122 modules/cudaimgproc/src/color.cpp bayer_to_BGR(_src, _dst, dcn, code == cv::COLOR_BayerBG2BGR || code == cv::COLOR_BayerGB2BGR, code == cv::COLOR_BayerGB2BGR || code == cv::COLOR_BayerGR2BGR, stream); dcn 2127 modules/cudaimgproc/src/color.cpp if (dcn <= 0) dcn = 3; dcn 2134 modules/cudaimgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 2136 modules/cudaimgproc/src/color.cpp _dst.create(_src.size(), CV_MAKE_TYPE(depth, dcn)); dcn 2149 modules/cudaimgproc/src/color.cpp if (dcn == 3) dcn 59 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2RGB_INST(name, scn, dcn, bidx) \ dcn 60 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2RGB<SrcDepth, scn, dcn, bidx> \ dcn 89 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_GRAY2RGB_INST(name, dcn) \ dcn 90 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Gray2RGB<SrcDepth, dcn> \ dcn 101 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2YUV_INST(name, scn, dcn, bidx) \ dcn 102 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YUV<SrcDepth, scn, dcn, bidx> \ dcn 119 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_YUV2RGB_INST(name, scn, dcn, bidx) \ dcn 120 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YUV2RGB<SrcDepth, scn, dcn, bidx> \ dcn 137 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2YCrCb_INST(name, scn, dcn, bidx) \ dcn 138 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YCrCb<SrcDepth, scn, dcn, bidx> \ dcn 155 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_YCrCb2RGB_INST(name, scn, dcn, bidx) \ dcn 156 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YCrCb2RGB<SrcDepth, scn, dcn, bidx> \ dcn 173 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2XYZ_INST(name, scn, dcn, bidx) \ dcn 174 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2XYZ<SrcDepth, scn, dcn, bidx> \ dcn 191 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_XYZ2RGB_INST(name, scn, dcn, bidx) \ dcn 192 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::XYZ2RGB<SrcDepth, scn, dcn, bidx> \ dcn 209 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2HSV_INST(name, scn, dcn, bidx) \ dcn 210 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 180> \ dcn 213 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HSV<SrcDepth, scn, dcn, bidx, 256> \ dcn 216 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ dcn 219 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HSV<float, scn, dcn, bidx, 360> \ dcn 236 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_HSV2RGB_INST(name, scn, dcn, bidx) \ dcn 237 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 180> \ dcn 240 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HSV2RGB<SrcDepth, scn, dcn, bidx, 255> \ dcn 243 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ dcn 246 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HSV2RGB<float, scn, dcn, bidx, 360> \ dcn 263 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2HLS_INST(name, scn, dcn, bidx) \ dcn 264 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 180> \ dcn 267 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::RGB2HLS<SrcDepth, scn, dcn, bidx, 256> \ dcn 270 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ dcn 273 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::RGB2HLS<float, scn, dcn, bidx, 360> \ dcn 290 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_HLS2RGB_INST(name, scn, dcn, bidx) \ dcn 291 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 180> \ dcn 294 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _FULL ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 255> \ dcn 297 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ dcn 300 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <> struct name ## _FULL ## _func<float> : cv::cudev::color_cvt_detail::HLS2RGB<float, scn, dcn, bidx, 360> \ dcn 317 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2Lab_INST(name, scn, dcn, sRGB, blueIdx) \ dcn 318 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Lab<SrcDepth, scn, dcn, sRGB, blueIdx> \ dcn 344 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_Lab2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ dcn 345 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Lab2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ dcn 371 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB2Luv_INST(name, scn, dcn, sRGB, blueIdx) \ dcn 372 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Luv<SrcDepth, scn, dcn, sRGB, blueIdx> \ dcn 398 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_Luv2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ dcn 399 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::Luv2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \ dcn 441 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp #define CV_CUDEV_RGB5x52RGB_INST(name, dcn, bidx, green_bits) \ dcn 442 modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp typedef cv::cudev::color_cvt_detail::RGB5x52RGB<dcn, bidx, green_bits> name ## _func; dcn 106 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2RGB dcn 107 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 109 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 111 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 165 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int dcn, int bidx, int green_bits> struct RGB5x52RGB; dcn 243 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int dcn> struct Gray2RGB dcn 244 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<T, typename MakeVec<T, dcn>::type> dcn 246 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(T src) const dcn 248 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 334 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YUV dcn 335 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 337 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 349 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 359 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2YUV<float, scn, dcn, bidx> dcn 360 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 362 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 368 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 383 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct YUV2RGB dcn 384 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 386 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 392 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 403 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct YUV2RGB<float, scn, dcn, bidx> dcn 404 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 406 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 412 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 428 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2YCrCb dcn 429 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 431 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 443 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 453 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2YCrCb<float, scn, dcn, bidx> dcn 454 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 456 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 462 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 477 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct YCrCb2RGB dcn 478 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 480 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 486 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 497 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct YCrCb2RGB<float, scn, dcn, bidx> dcn 498 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 500 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 506 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 522 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct RGB2XYZ dcn 523 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 525 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 531 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 541 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct RGB2XYZ<float, scn, dcn, bidx> dcn 542 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 544 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 550 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 565 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx> struct XYZ2RGB dcn 566 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<T, scn>::type, typename MakeVec<T, dcn>::type> dcn 568 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<T, dcn>::type operator ()(const typename MakeVec<T, scn>::type& src) const dcn 574 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<T, dcn>::type dst; dcn 585 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx> struct XYZ2RGB<float, scn, dcn, bidx> dcn 586 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 588 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 594 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 611 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HSV; dcn 613 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HSV<uchar, scn, dcn, bidx, hr> dcn 614 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 616 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 643 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 653 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HSV<float, scn, dcn, bidx, hr> dcn 654 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 656 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 682 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 696 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HSV2RGB; dcn 698 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HSV2RGB<float, scn, dcn, bidx, hr> dcn 699 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 701 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 737 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 748 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HSV2RGB<uchar, scn, dcn, bidx, hr> dcn 749 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 751 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 762 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 775 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct RGB2HLS; dcn 777 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HLS<float, scn, dcn, bidx, hr> dcn 778 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 780 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 812 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 822 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct RGB2HLS<uchar, scn, dcn, bidx, hr> dcn 823 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 825 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 836 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 850 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, int bidx, int hr> struct HLS2RGB; dcn 852 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HLS2RGB<float, scn, dcn, bidx, hr> dcn 853 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 855 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 891 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 902 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, int bidx, int hr> struct HLS2RGB<uchar, scn, dcn, bidx, hr> dcn 903 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 905 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 916 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 956 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab; dcn 958 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx> dcn 959 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 961 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 991 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 1001 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<float, scn, dcn, srgb, blueIdx> dcn 1002 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 1004 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 1032 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 1046 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB; dcn 1048 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB<float, scn, dcn, srgb, blueIdx> dcn 1049 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 1051 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 1093 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 1104 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB<uchar, scn, dcn, srgb, blueIdx> dcn 1105 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 1107 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 1118 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 1133 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv; dcn 1135 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv<float, scn, dcn, srgb, blueIdx> dcn 1136 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 1138 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 1166 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 1176 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Luv<uchar, scn, dcn, srgb, blueIdx> dcn 1177 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 1179 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 1190 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 1202 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB; dcn 1204 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB<float, scn, dcn, srgb, blueIdx> dcn 1205 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<float, scn>::type, typename MakeVec<float, dcn>::type> dcn 1207 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<float, dcn>::type operator ()(const typename MakeVec<float, scn>::type& src) const dcn 1243 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<float, dcn>::type dst; dcn 1254 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp template <int scn, int dcn, bool srgb, int blueIdx> struct Luv2RGB<uchar, scn, dcn, srgb, blueIdx> dcn 1255 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp : unary_function<typename MakeVec<uchar, scn>::type, typename MakeVec<uchar, dcn>::type> dcn 1257 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp __device__ typename MakeVec<uchar, dcn>::type operator ()(const typename MakeVec<uchar, scn>::type& src) const dcn 1268 modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp typename MakeVec<uchar, dcn>::type dst; dcn 3269 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void demosaicing(InputArray _src, OutputArray _dst, int code, int dcn = 0); dcn 103 modules/imgproc/perf/opencl/perf_color.cpp dcn = get<2>(conversionParams); dcn 108 modules/imgproc/perf/opencl/perf_color.cpp OCL_TEST_CYCLE() cv::cvtColor(src, dst, code, dcn); dcn 123 modules/imgproc/perf/perf_cvt_color.cpp ChPair(int _scn, int _dcn): scn(_scn), dcn(_dcn) {} dcn 124 modules/imgproc/perf/perf_cvt_color.cpp int scn, dcn; dcn 256 modules/imgproc/perf/perf_cvt_color.cpp Mat dst(sz, CV_8UC(ch.dcn)); dcn 262 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); dcn 287 modules/imgproc/perf/perf_cvt_color.cpp Mat dst(sz, CV_8UC(ch.dcn)); dcn 292 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE() cvtColor(src, dst, mode, ch.dcn); dcn 312 modules/imgproc/perf/perf_cvt_color.cpp Mat dst(sz, CV_8UC(ch.dcn)); dcn 317 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); dcn 337 modules/imgproc/perf/perf_cvt_color.cpp Mat dst(sz.height + sz.height / 2, sz.width, CV_8UC(ch.dcn)); dcn 343 modules/imgproc/perf/perf_cvt_color.cpp TEST_CYCLE_MULTIRUN(runs) cvtColor(src, dst, mode, ch.dcn); dcn 849 modules/imgproc/src/accum.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); dcn 851 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); dcn 934 modules/imgproc/src/accum.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); dcn 936 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); dcn 1018 modules/imgproc/src/accum.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); dcn 1021 modules/imgproc/src/accum.cpp CV_Assert( _src1.sameSize(_dst) && dcn == scn ); dcn 1106 modules/imgproc/src/accum.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), dcn = CV_MAT_CN(dtype); dcn 1108 modules/imgproc/src/accum.cpp CV_Assert( _src.sameSize(_dst) && dcn == scn ); dcn 554 modules/imgproc/src/color.cpp int scn = srccn, dcn = dstcn, bidx = blueIdx; dcn 555 modules/imgproc/src/color.cpp if( dcn == 3 ) dcn 603 modules/imgproc/src/color.cpp int scn = srccn, dcn = dstcn, bidx = blueIdx, i = 0; dcn 604 modules/imgproc/src/color.cpp if (dcn == 3) dcn 745 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 749 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, dst += dcn * 16) dcn 757 modules/imgproc/src/color.cpp if (dcn == 3) dcn 776 modules/imgproc/src/color.cpp for( ; i < n; i++, dst += dcn ) dcn 782 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 789 modules/imgproc/src/color.cpp for ( ; i <= n - 16; i += 16, dst += dcn * 16) dcn 797 modules/imgproc/src/color.cpp if (dcn == 3) dcn 817 modules/imgproc/src/color.cpp for( ; i < n; i++, dst += dcn ) dcn 823 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2441 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx; dcn 2445 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, dst += dcn) dcn 2456 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2487 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 2492 modules/imgproc/src/color.cpp if (dcn == 3) dcn 2519 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 2528 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2580 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 2587 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += 8 * dcn) dcn 2608 modules/imgproc/src/color.cpp if (dcn == 3) dcn 2621 modules/imgproc/src/color.cpp if (dcn == 4) dcn 2629 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 2638 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2664 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx; dcn 2668 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, dst += dcn) dcn 2681 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2713 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 2718 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += dcn * 8) dcn 2752 modules/imgproc/src/color.cpp if (dcn == 3) dcn 2771 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 2784 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 2819 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 2824 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += dcn * 8) dcn 2854 modules/imgproc/src/color.cpp if (dcn == 3) dcn 2873 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, dst += dcn * 4) dcn 2892 modules/imgproc/src/color.cpp if (dcn == 3) dcn 2911 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 2924 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 3012 modules/imgproc/src/color.cpp int dcn = dstcn, bidx = blueIdx, i = 0; dcn 3019 modules/imgproc/src/color.cpp for ( ; i <= n - 96; i += 96, dst += dcn * 32) dcn 3068 modules/imgproc/src/color.cpp if (dcn == 3) dcn 3081 modules/imgproc/src/color.cpp if (dcn == 4) dcn 3089 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 3102 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 3653 modules/imgproc/src/color.cpp int dcn = dstcn; dcn 3659 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, dst += dcn) dcn 3665 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 3724 modules/imgproc/src/color.cpp int dcn = dstcn; dcn 3734 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += 8 * dcn) dcn 3755 modules/imgproc/src/color.cpp if (dcn == 4) dcn 3768 modules/imgproc/src/color.cpp if (dcn == 4) dcn 3777 modules/imgproc/src/color.cpp for( ; i < n; i += 3, dst += dcn) dcn 3783 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 3823 modules/imgproc/src/color.cpp int dcn = dstcn; dcn 3829 modules/imgproc/src/color.cpp for(int i = 0; i < n; i += 3, dst += dcn) dcn 3836 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 3885 modules/imgproc/src/color.cpp int dcn = dstcn, i = 0; dcn 3892 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += dcn * 8) dcn 3926 modules/imgproc/src/color.cpp if (dcn == 3) dcn 3945 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 3952 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 4004 modules/imgproc/src/color.cpp int dcn = dstcn, i = 0; dcn 4011 modules/imgproc/src/color.cpp for ( ; i <= n - 24; i += 24, dst += dcn * 8) dcn 4040 modules/imgproc/src/color.cpp if (dcn == 3) dcn 4059 modules/imgproc/src/color.cpp for ( ; i <= n - 12; i += 12, dst += dcn * 4) dcn 4077 modules/imgproc/src/color.cpp if (dcn == 3) dcn 4096 modules/imgproc/src/color.cpp for ( ; i < n; i += 3, dst += dcn) dcn 4103 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 4246 modules/imgproc/src/color.cpp int i, bidx = blueIdx, dcn = dstcn; dcn 4251 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, dst += dcn ) dcn 4290 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 4351 modules/imgproc/src/color.cpp int i, j, dcn = dstcn; dcn 4426 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, dst += dcn * 8) dcn 4436 modules/imgproc/src/color.cpp if (dcn == 4) dcn 4455 modules/imgproc/src/color.cpp if (dcn == 3 && haveSIMD) dcn 4478 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, dst += dcn ) dcn 4483 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 4755 modules/imgproc/src/color.cpp int i, bidx = blueIdx, dcn = dstcn; dcn 4760 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, dst += dcn ) dcn 4800 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 4861 modules/imgproc/src/color.cpp int i, j, dcn = dstcn; dcn 4935 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, dst += dcn * 8) dcn 4945 modules/imgproc/src/color.cpp if (dcn == 4) dcn 4964 modules/imgproc/src/color.cpp if (dcn == 3 && haveSIMD) dcn 4987 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, dst += dcn ) dcn 4992 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 5243 modules/imgproc/src/color.cpp int i, dcn = dstcn; dcn 5254 modules/imgproc/src/color.cpp for (i = 0; i < n; i += 3, dst += dcn) dcn 5297 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 5365 modules/imgproc/src/color.cpp int i, j, dcn = dstcn; dcn 5440 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, dst += dcn * 8) dcn 5450 modules/imgproc/src/color.cpp if (dcn == 4) dcn 5469 modules/imgproc/src/color.cpp if (dcn == 3 && haveSIMD) dcn 5492 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, dst += dcn ) dcn 5497 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 5622 modules/imgproc/src/color.cpp int i, dcn = dstcn; dcn 5632 modules/imgproc/src/color.cpp for( i = 0; i < n; i += 3, dst += dcn ) dcn 5660 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 5935 modules/imgproc/src/color.cpp int i, j, dcn = dstcn; dcn 6009 modules/imgproc/src/color.cpp for ( ; j <= (dn - 8) * 3; j += 24, dst += dcn * 8) dcn 6019 modules/imgproc/src/color.cpp if (dcn == 4) dcn 6038 modules/imgproc/src/color.cpp if (dcn == 3 && haveSIMD) dcn 6061 modules/imgproc/src/color.cpp for( ; j < dn*3; j += 3, dst += dcn ) dcn 6066 modules/imgproc/src/color.cpp if( dcn == 4 ) dcn 6678 modules/imgproc/src/color.cpp static bool ocl_cvtColor( InputArray _src, OutputArray _dst, int code, int dcn ) dcn 6704 modules/imgproc/src/color.cpp dcn = code == COLOR_BGR2BGRA || code == COLOR_RGB2BGRA || code == COLOR_BGRA2RGBA ? 4 : 3; dcn 6707 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=0 -D %s", dcn, dcn 6714 modules/imgproc/src/color.cpp dcn = code == COLOR_BGR5652BGRA || code == COLOR_BGR5552BGRA || code == COLOR_BGR5652RGBA || code == COLOR_BGR5552RGBA ? 4 : 3; dcn 6715 modules/imgproc/src/color.cpp CV_Assert((dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U); dcn 6721 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D greenbits=%d", dcn, bidx, greenbits)); dcn 6732 modules/imgproc/src/color.cpp dcn = 2; dcn 6740 modules/imgproc/src/color.cpp dcn = 1; dcn 6749 modules/imgproc/src/color.cpp dcn = 2; dcn 6760 modules/imgproc/src/color.cpp dcn = 1; dcn 6771 modules/imgproc/src/color.cpp dcn = code == COLOR_GRAY2BGRA ? 4 : 3; dcn 6773 modules/imgproc/src/color.cpp opts + format("-D bidx=0 -D dcn=%d", dcn)); dcn 6781 modules/imgproc/src/color.cpp dcn = 3; dcn 6789 modules/imgproc/src/color.cpp if(dcn < 0) dcn = 3; dcn 6790 modules/imgproc/src/color.cpp CV_Assert(dcn == 3 || dcn == 4); dcn 6793 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d", dcn, bidx)); dcn 6801 modules/imgproc/src/color.cpp dcn = code == COLOR_YUV2BGRA_NV12 || code == COLOR_YUV2RGBA_NV12 || dcn 6811 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D uidx=%d", dcn, bidx, uidx)); dcn 6819 modules/imgproc/src/color.cpp dcn = code == COLOR_YUV2BGRA_YV12 || code == COLOR_YUV2RGBA_YV12 || dcn 6829 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D uidx=%d%s", dcn, bidx, uidx, dcn 6835 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 1; dcn 6837 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); dcn 6841 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 6850 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 1; dcn 6857 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); dcn 6861 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 6872 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D uidx=%d -D PIX_PER_WI_X=%d", dcn, bidx, uidx, pxPerWIx)); dcn 6880 modules/imgproc/src/color.cpp if (dcn <= 0) dcn 6881 modules/imgproc/src/color.cpp dcn = (code==COLOR_YUV2RGBA_UYVY || code==COLOR_YUV2BGRA_UYVY || code==COLOR_YUV2RGBA_YUY2 || dcn 6891 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 6895 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d -D uidx=%d -D yidx=%d%s", dcn, bidx, uidx, yidx, dcn 6904 modules/imgproc/src/color.cpp dcn = 3; dcn 6912 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn 6913 modules/imgproc/src/color.cpp dcn = 3; dcn 6914 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); dcn 6917 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d", dcn, bidx)); dcn 6971 modules/imgproc/src/color.cpp if (dcn <= 0) dcn 6972 modules/imgproc/src/color.cpp dcn = 3; dcn 6973 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4)); dcn 7010 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 7014 modules/imgproc/src/color.cpp opts + format("-D dcn=%d -D bidx=%d", dcn, bidx)); dcn 7030 modules/imgproc/src/color.cpp dcn = 3; dcn 7090 modules/imgproc/src/color.cpp if (dcn <= 0) dcn 7091 modules/imgproc/src/color.cpp dcn = 3; dcn 7092 modules/imgproc/src/color.cpp CV_Assert(scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F)); dcn 7103 modules/imgproc/src/color.cpp dcn, bidx, hrange, 6.f/hrange)); dcn 7109 modules/imgproc/src/color.cpp dcn = 4; dcn 7124 modules/imgproc/src/color.cpp dcn = 3; dcn 7129 modules/imgproc/src/color.cpp dcn, bidx, srgb ? " -D SRGB" : "")); dcn 7135 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 7241 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn 7242 modules/imgproc/src/color.cpp dcn = 3; dcn 7243 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); dcn 7253 modules/imgproc/src/color.cpp dcn, bidx, srgb ? " -D SRGB" : "")); dcn 7281 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 7316 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 7332 modules/imgproc/src/color.cpp void cv::cvtColor( InputArray _src, OutputArray _dst, int code, int dcn ) dcn 7338 modules/imgproc/src/color.cpp ocl_cvtColor(_src, _dst, code, dcn) ) dcn 7350 modules/imgproc/src/color.cpp dcn = code == CV_BGR2BGRA || code == CV_RGB2BGRA || code == CV_BGRA2RGBA ? 4 : 3; dcn 7353 modules/imgproc/src/color.cpp _dst.create( sz, CV_MAKETYPE(depth, dcn)); dcn 7424 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<uchar>(scn, dcn, bidx)); dcn 7427 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<ushort>(scn, dcn, bidx)); dcn 7429 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB2RGB<float>(scn, dcn, bidx)); dcn 7503 modules/imgproc/src/color.cpp if(dcn <= 0) dcn = (code==CV_BGR5652BGRA || code==CV_BGR5552BGRA || code==CV_BGR5652RGBA || code==CV_BGR5552RGBA) ? 4 : 3; dcn 7504 modules/imgproc/src/color.cpp CV_Assert( (dcn == 3 || dcn == 4) && scn == 2 && depth == CV_8U ); dcn 7505 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 7512 modules/imgproc/src/color.cpp if (code == CV_BGR5652BGR && dcn == 3) dcn 7521 modules/imgproc/src/color.cpp else if (code == CV_BGR5652RGB && dcn == 3) dcn 7531 modules/imgproc/src/color.cpp else if (code == CV_BGR5652BGRA && dcn == 4) dcn 7541 modules/imgproc/src/color.cpp else if (code == CV_BGR5652RGBA && dcn == 4) dcn 7555 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, RGB5x52RGB(dcn, dcn 7635 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = (code==CV_GRAY2BGRA) ? 4 : 3; dcn 7636 modules/imgproc/src/color.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4)); dcn 7637 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 7671 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<uchar>(dcn)); dcn 7674 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<ushort>(dcn)); dcn 7676 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Gray2RGB<float>(dcn)); dcn 7763 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = 3; dcn 7764 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); dcn 7771 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 7777 modules/imgproc/src/color.cpp if (code == CV_YUV2RGB && dcn == 3 && depth == CV_8U) dcn 7786 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 3 && depth == CV_8U) dcn 7796 modules/imgproc/src/color.cpp else if (code == CV_YUV2RGB && dcn == 4 && depth == CV_8U) dcn 7806 modules/imgproc/src/color.cpp else if (code == CV_YUV2BGR && dcn == 4 && depth == CV_8U) dcn 7820 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_i<uchar>(dcn, bidx, coeffs_i)); dcn 7822 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_i<ushort>(dcn, bidx, coeffs_i)); dcn 7824 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, YCrCb2RGB_f<float>(dcn, bidx, coeffs_f)); dcn 7886 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = 3; dcn 7887 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) ); dcn 7890 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 7896 modules/imgproc/src/color.cpp if( code == CV_XYZ2BGR && dcn == 3 && depth != CV_32F ) dcn 7905 modules/imgproc/src/color.cpp else if( code == CV_XYZ2BGR && dcn == 4 && depth != CV_32F ) dcn 7914 modules/imgproc/src/color.cpp if( code == CV_XYZ2RGB && dcn == 3 && depth != CV_32F ) dcn 7923 modules/imgproc/src/color.cpp else if( code == CV_XYZ2RGB && dcn == 4 && depth != CV_32F ) dcn 7936 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_i<uchar>(dcn, bidx, 0)); dcn 7938 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_i<ushort>(dcn, bidx, 0)); dcn 7940 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, XYZ2RGB_f<float>(dcn, bidx, 0)); dcn 8063 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = 3; dcn 8064 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); dcn 8070 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 8078 modules/imgproc/src/color.cpp if( code == CV_HSV2BGR_FULL && dcn == 3 ) dcn 8087 modules/imgproc/src/color.cpp else if( code == CV_HSV2BGR_FULL && dcn == 4 ) dcn 8096 modules/imgproc/src/color.cpp else if( code == CV_HSV2RGB_FULL && dcn == 3 ) dcn 8105 modules/imgproc/src/color.cpp else if( code == CV_HSV2RGB_FULL && dcn == 4 ) dcn 8114 modules/imgproc/src/color.cpp else if( code == CV_HLS2BGR_FULL && dcn == 3 ) dcn 8123 modules/imgproc/src/color.cpp else if( code == CV_HLS2BGR_FULL && dcn == 4 ) dcn 8132 modules/imgproc/src/color.cpp else if( code == CV_HLS2RGB_FULL && dcn == 3 ) dcn 8141 modules/imgproc/src/color.cpp else if( code == CV_HLS2RGB_FULL && dcn == 4 ) dcn 8158 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HSV2RGB_b(dcn, bidx, hrange)); dcn 8160 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HSV2RGB_f(dcn, bidx, (float)hrange)); dcn 8165 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HLS2RGB_b(dcn, bidx, hrange)); dcn 8167 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, HLS2RGB_f(dcn, bidx, (float)hrange)); dcn 8290 modules/imgproc/src/color.cpp if( dcn <= 0 ) dcn = 3; dcn 8291 modules/imgproc/src/color.cpp CV_Assert( scn == 3 && (dcn == 3 || dcn == 4) && (depth == CV_8U || depth == CV_32F) ); dcn 8297 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 8303 modules/imgproc/src/color.cpp if( code == CV_Lab2LBGR && dcn == 3 && depth == CV_8U) dcn 8312 modules/imgproc/src/color.cpp else if( code == CV_Lab2LBGR && dcn == 4 && depth == CV_8U ) dcn 8322 modules/imgproc/src/color.cpp if( code == CV_Lab2LRGB && dcn == 3 && depth == CV_8U ) dcn 8332 modules/imgproc/src/color.cpp else if( code == CV_Lab2LRGB && dcn == 4 && depth == CV_8U ) dcn 8342 modules/imgproc/src/color.cpp if( code == CV_Luv2LRGB && dcn == 3 ) dcn 8347 modules/imgproc/src/color.cpp else if( code == CV_Luv2LRGB && dcn == 4 ) dcn 8356 modules/imgproc/src/color.cpp if( code == CV_Luv2LBGR && dcn == 3 ) dcn 8365 modules/imgproc/src/color.cpp else if( code == CV_Luv2LBGR && dcn == 4 ) dcn 8381 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_b(dcn, bidx, 0, 0, srgb)); dcn 8383 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Lab2RGB_f(dcn, bidx, 0, 0, srgb)); dcn 8388 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_b(dcn, bidx, 0, 0, srgb)); dcn 8390 modules/imgproc/src/color.cpp CvtColorLoop(src, dst, Luv2RGB_f(dcn, bidx, 0, 0, srgb)); dcn 8399 modules/imgproc/src/color.cpp demosaicing(src, _dst, code, dcn); dcn 8408 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV420sp2BGRA || code==CV_YUV420sp2RGBA || code==CV_YUV2BGRA_NV12 || code==CV_YUV2RGBA_NV12) ? 4 : 3; dcn 8412 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 8416 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 8423 modules/imgproc/src/color.cpp switch(dcn*100 + bIdx * 10 + uIdx) dcn 8443 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV2BGRA_YV12 || code==CV_YUV2RGBA_YV12 || code==CV_YUV2RGBA_IYUV || code==CV_YUV2BGRA_IYUV) ? 4 : 3; dcn 8447 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 8451 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 8464 modules/imgproc/src/color.cpp switch(dcn*10 + bIdx) dcn 8476 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 1; dcn 8478 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); dcn 8482 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 8502 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 1; dcn 8507 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); dcn 8511 modules/imgproc/src/color.cpp _dst.create(dstSz, CV_MAKETYPE(depth, dcn)); dcn 8532 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = (code==CV_YUV2RGBA_UYVY || code==CV_YUV2BGRA_UYVY || code==CV_YUV2RGBA_YUY2 || code==CV_YUV2BGRA_YUY2 || code==CV_YUV2RGBA_YVYU || code==CV_YUV2BGRA_YVYU) ? 4 : 3; dcn 8537 modules/imgproc/src/color.cpp CV_Assert( dcn == 3 || dcn == 4 ); dcn 8540 modules/imgproc/src/color.cpp _dst.create(sz, CV_8UC(dcn)); dcn 8543 modules/imgproc/src/color.cpp switch(dcn*1000 + bIdx*100 + uIdx*10 + ycn) dcn 8567 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 1; dcn 8569 modules/imgproc/src/color.cpp CV_Assert( dcn == 1 ); dcn 8577 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 4; dcn 8578 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); dcn 8580 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 8606 modules/imgproc/src/color.cpp if (dcn <= 0) dcn = 4; dcn 8607 modules/imgproc/src/color.cpp CV_Assert( scn == 4 && dcn == 4 ); dcn 8609 modules/imgproc/src/color.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 677 modules/imgproc/src/demosaicing.cpp int dcn = dstmat.channels(); dcn 678 modules/imgproc/src/demosaicing.cpp int dcn2 = dcn << 1; dcn 684 modules/imgproc/src/demosaicing.cpp T* dst0 = reinterpret_cast<T*>(dstmat.data) + (range.start + 1) * dst_step + dcn + 1; dcn 703 modules/imgproc/src/demosaicing.cpp if (dcn == 3) dcn 705 modules/imgproc/src/demosaicing.cpp dst[-4] = dst[-3] = dst[-2] = dst[size.width*dcn-1] = dcn 706 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; dcn 710 modules/imgproc/src/demosaicing.cpp dst[-5] = dst[-4] = dst[-3] = dst[size.width*dcn-1] = dcn 711 modules/imgproc/src/demosaicing.cpp dst[size.width*dcn] = dst[size.width*dcn+1] = 0; dcn 712 modules/imgproc/src/demosaicing.cpp dst[-2] = dst[size.width*dcn+2] = alpha; dcn 725 modules/imgproc/src/demosaicing.cpp if (dcn == 4) dcn 729 modules/imgproc/src/demosaicing.cpp dst += dcn; dcn 733 modules/imgproc/src/demosaicing.cpp int delta = dcn == 4 ? dcn 737 modules/imgproc/src/demosaicing.cpp dst += delta*dcn; dcn 739 modules/imgproc/src/demosaicing.cpp if (dcn == 3) // Bayer to BGR dcn 837 modules/imgproc/src/demosaicing.cpp if (dcn == 4) dcn 840 modules/imgproc/src/demosaicing.cpp dst += dcn; dcn 844 modules/imgproc/src/demosaicing.cpp if (dcn == 3) dcn 849 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-4]; dcn 850 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-3]; dcn 851 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-2]; dcn 859 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn-1] = dst0[size.width*dcn-5]; dcn 860 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn] = dst0[size.width*dcn-4]; dcn 861 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+1] = dst0[size.width*dcn-3]; dcn 862 modules/imgproc/src/demosaicing.cpp dst0[size.width*dcn+2] = dst0[size.width*dcn-2]; // alpha channel dcn 885 modules/imgproc/src/demosaicing.cpp int dcn = dstmat.channels(); dcn 900 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) dcn 906 modules/imgproc/src/demosaicing.cpp for( int i = 0; i < size.width*dcn; i++ ) dcn 1481 modules/imgproc/src/demosaicing.cpp int dcn = dst.channels(); dcn 1482 modules/imgproc/src/demosaicing.cpp int dcn2 = dcn<<1; dcn 1488 modules/imgproc/src/demosaicing.cpp T* D = reinterpret_cast<T*>(dst.data + (range.start + 1) * dst.step) + dcn; dcn 1505 modules/imgproc/src/demosaicing.cpp D += dcn; dcn 1513 modules/imgproc/src/demosaicing.cpp D += dcn * delta; dcn 1543 modules/imgproc/src/demosaicing.cpp D += dcn; dcn 1547 modules/imgproc/src/demosaicing.cpp for (int i = 0; i < dcn; ++i) dcn 1549 modules/imgproc/src/demosaicing.cpp D[i] = D[-dcn + i]; dcn 1550 modules/imgproc/src/demosaicing.cpp D[-dstep+dcn+i] = D[-dstep+(dcn<<1)+i]; dcn 1616 modules/imgproc/src/demosaicing.cpp void cv::demosaicing(InputArray _src, OutputArray _dst, int code, int dcn) dcn 1628 modules/imgproc/src/demosaicing.cpp if (dcn <= 0) dcn 1629 modules/imgproc/src/demosaicing.cpp dcn = 1; dcn 1630 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && dcn == 1 ); dcn 1632 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 1646 modules/imgproc/src/demosaicing.cpp if (dcn <= 0) dcn 1647 modules/imgproc/src/demosaicing.cpp dcn = 3; dcn 1648 modules/imgproc/src/demosaicing.cpp CV_Assert( scn == 1 && (dcn == 3 || dcn == 4) ); dcn 1650 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKE_TYPE(depth, dcn)); dcn 1672 modules/imgproc/src/demosaicing.cpp if (dcn <= 0) dcn 1673 modules/imgproc/src/demosaicing.cpp dcn = 3; dcn 1675 modules/imgproc/src/demosaicing.cpp CV_Assert(scn == 1 && dcn == 3); dcn 1676 modules/imgproc/src/demosaicing.cpp _dst.create(sz, CV_MAKETYPE(depth, dcn)); dcn 1962 modules/imgproc/test/test_color.cpp int dcn = dst.channels(); dcn 1963 modules/imgproc/test/test_color.cpp CV_Assert(dcn == 3); dcn 1967 modules/imgproc/test/test_color.cpp uchar* D = dst.ptr<uchar>(1) + dcn; dcn 1975 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + dcn; dcn 1979 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) dcn 1990 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + 2*dcn; dcn 1992 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) dcn 2004 modules/imgproc/test/test_color.cpp for (int x = 1; x < size.width; x += 2, S += 2, D += 2*dcn) dcn 2014 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y) + 2*dcn; dcn 2016 modules/imgproc/test/test_color.cpp for (int x = 2; x < size.width; x += 2, S += 2, D += 2*dcn) dcn 2026 modules/imgproc/test/test_color.cpp D = dst.ptr<uchar>(y + 1) - dcn; dcn 2027 modules/imgproc/test/test_color.cpp for (int i = 0; i < dcn; ++i) dcn 2029 modules/imgproc/test/test_color.cpp D[i] = D[-dcn + i]; dcn 2030 modules/imgproc/test/test_color.cpp D[-static_cast<int>(dst.step)+dcn+i] = D[-static_cast<int>(dst.step)+(dcn<<1)+i]; dcn 2039 modules/imgproc/test/test_color.cpp size.width *= dcn; dcn 2056 modules/imgproc/test/test_color.cpp int dcn = reference.channels(); dcn 2057 modules/imgproc/test/test_color.cpp size.width *= dcn; dcn 618 modules/imgproc/test/test_cvtyuv.cpp const int dcn = cvt.getDcn(); dcn 630 modules/imgproc/test/test_cvtyuv.cpp Mat dst = Mat(dstSize.height, dstSize.width * dcn, CV_8UC1).reshape(dcn); dcn 631 modules/imgproc/test/test_cvtyuv.cpp Mat gold(dstSize, CV_8UC(dcn)); dcn 656 modules/imgproc/test/test_cvtyuv.cpp const int dcn = cvt.getDcn(); dcn 673 modules/imgproc/test/test_cvtyuv.cpp Mat dst_full(dstSize.height + roi_offset_left + roi_offset_right, dstSize.width + roi_offset_top + roi_offset_bottom, CV_8UC(dcn), Scalar::all(0)); dcn 674 modules/imgproc/test/test_cvtyuv.cpp Mat gold_full(dst_full.size(), CV_8UC(dcn), Scalar::all(0)); dcn 99 modules/ts/include/opencv2/ts/cuda_perf.hpp int dcn; dcn 103 modules/ts/include/opencv2/ts/cuda_perf.hpp explicit CvtColorInfo(int scn_, int dcn_, int code_) : scn(scn_), dcn(dcn_), code(code_) {} dcn 2273 modules/ts/src/ts_func.cpp transform_(const _Tp* sptr, _Tp* dptr, size_t total, int scn, int dcn, const double* mat) dcn 2275 modules/ts/src/ts_func.cpp for( size_t i = 0; i < total; i++, sptr += scn, dptr += dcn ) dcn 2277 modules/ts/src/ts_func.cpp for( int j = 0; j < dcn; j++ ) dcn 2293 modules/ts/src/ts_func.cpp int dcn = dst.channels(); dcn 2299 modules/ts/src/ts_func.cpp CV_Assert( scn <= 4 && dcn <= 4 && dcn 2341 modules/ts/src/ts_func.cpp transform_((const uchar*)sptr, (uchar*)dptr, total, scn, dcn, mat); dcn 2344 modules/ts/src/ts_func.cpp transform_((const schar*)sptr, (schar*)dptr, total, scn, dcn, mat); dcn 2347 modules/ts/src/ts_func.cpp transform_((const ushort*)sptr, (ushort*)dptr, total, scn, dcn, mat); dcn 2350 modules/ts/src/ts_func.cpp transform_((const short*)sptr, (short*)dptr, total, scn, dcn, mat); dcn 2353 modules/ts/src/ts_func.cpp transform_((const int*)sptr, (int*)dptr, total, scn, dcn, mat); dcn 2356 modules/ts/src/ts_func.cpp transform_((const float*)sptr, (float*)dptr, total, scn, dcn, mat); dcn 2359 modules/ts/src/ts_func.cpp transform_((const double*)sptr, (double*)dptr, total, scn, dcn, mat);