cn               1807 modules/calib3d/src/calibinit.cpp     int type, cn, line_type;
cn               1812 modules/calib3d/src/calibinit.cpp     cn = CV_MAT_CN(type);
cn               1813 modules/calib3d/src/calibinit.cpp     if( cn != 1 && cn != 3 && cn != 4 )
cn               1837 modules/calib3d/src/calibinit.cpp         if( cn == 1 )
cn               1875 modules/calib3d/src/calibinit.cpp             if( cn == 1 )
cn               1241 modules/calib3d/src/calibration.cpp     int i, nimages, maxPoints = 0, ni = 0, pos, total = 0, nparams, npstep, cn;
cn               1265 modules/calib3d/src/calibration.cpp         cn = CV_MAT_CN(rvecs->type);
cn               1268 modules/calib3d/src/calibration.cpp             ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) &&
cn               1269 modules/calib3d/src/calibration.cpp             (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) )
cn               1276 modules/calib3d/src/calibration.cpp         cn = CV_MAT_CN(tvecs->type);
cn               1279 modules/calib3d/src/calibration.cpp             ((tvecs->rows != nimages || tvecs->cols*cn != 3) &&
cn               1280 modules/calib3d/src/calibration.cpp             (tvecs->rows != 1 || tvecs->cols != nimages || cn != 3)) )
cn               1688 modules/calib3d/src/calibration.cpp         int cn = CV_MAT_CN(_imagePoints1->type);
cn               1691 modules/calib3d/src/calibration.cpp                ((_imagePoints1->rows == pointsTotal && _imagePoints1->cols*cn == 2) ||
cn               1692 modules/calib3d/src/calibration.cpp                 (_imagePoints1->rows == 1 && _imagePoints1->cols == pointsTotal && cn == 2)) );
cn                543 modules/calib3d/src/fisheye.cpp     cv::Vec2d cn(center_mass.val);
cn                549 modules/calib3d/src/fisheye.cpp     cn[0] *= aspect_ratio;
cn                573 modules/calib3d/src/fisheye.cpp     double f1 = w * 0.5/(cn[0] - minx);
cn                574 modules/calib3d/src/fisheye.cpp     double f2 = w * 0.5/(maxx - cn[0]);
cn                575 modules/calib3d/src/fisheye.cpp     double f3 = h * 0.5 * aspect_ratio/(cn[1] - miny);
cn                576 modules/calib3d/src/fisheye.cpp     double f4 = h * 0.5 * aspect_ratio/(maxy - cn[1]);
cn                584 modules/calib3d/src/fisheye.cpp     cv::Vec2d new_f(f, f), new_c = -cn * f + Vec2d(w, h * aspect_ratio) * 0.5;
cn                875 modules/calib3d/src/fundam.cpp     int i, npoints = src.checkVector(3), depth = src.depth(), cn = 3;
cn                880 modules/calib3d/src/fundam.cpp         cn = 4;
cn                884 modules/calib3d/src/fundam.cpp     int dtype = CV_MAKETYPE(depth <= CV_32F ? CV_32F : CV_64F, cn-1);
cn                897 modules/calib3d/src/fundam.cpp         if( cn == 3 )
cn                920 modules/calib3d/src/fundam.cpp         if( cn == 3 )
cn                943 modules/calib3d/src/fundam.cpp         if( cn == 3 )
cn                974 modules/calib3d/src/fundam.cpp     int i, npoints = src.checkVector(2), depth = src.depth(), cn = 2;
cn                979 modules/calib3d/src/fundam.cpp         cn = 3;
cn                983 modules/calib3d/src/fundam.cpp     int dtype = CV_MAKETYPE(depth <= CV_32F ? CV_32F : CV_64F, cn+1);
cn                996 modules/calib3d/src/fundam.cpp         if( cn == 2 )
cn               1013 modules/calib3d/src/fundam.cpp         if( cn == 2 )
cn               1030 modules/calib3d/src/fundam.cpp         if( cn == 2 )
cn                127 modules/calib3d/src/stereosgbm.cpp     int x, c, width = img1.cols, cn = img1.channels();
cn                132 modules/calib3d/src/stereosgbm.cpp     PixType *prow1 = buffer + width2*2, *prow2 = prow1 + width*cn*2;
cn                136 modules/calib3d/src/stereosgbm.cpp     for( c = 0; c < cn*2; c++ )
cn                145 modules/calib3d/src/stereosgbm.cpp     if( cn == 1 )
cn                188 modules/calib3d/src/stereosgbm.cpp     for( c = 0; c < cn*2; c++, prow1 += width, prow2 += width )
cn                190 modules/calib3d/src/stereosgbm.cpp         int diff_scale = c < cn ? 0 : 2;
cn                254 modules/calib3d/src/stereosgbm.cpp     for( c = 0; c < cn*2; c++, prow1 += width, prow2 += width )
cn                589 modules/core/include/opencv2/core/base.hpp template<typename _Tp, int cn> class Vec;
cn                241 modules/core/include/opencv2/core/cuda.hpp     GpuMat reshape(int cn, int rows = 0) const;
cn                386 modules/core/include/opencv2/core/cuda.hpp     HostMem reshape(int cn, int rows = 0) const;
cn                 92 modules/core/include/opencv2/core/cuda/filters.hpp             typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type;
cn                123 modules/core/include/opencv2/core/cuda/filters.hpp         typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type;
cn                200 modules/core/include/opencv2/core/cuda/filters.hpp             typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type;
cn                240 modules/core/include/opencv2/core/cuda/filters.hpp             typedef typename TypeVec<float, VecTraits<elem_type>::cn>::vec_type work_type;
cn                 62 modules/core/include/opencv2/core/cuda/transform.hpp         transform_detail::TransformDispatcher<VecTraits<T>::cn == 1 && VecTraits<D>::cn == 1 && ft::smart_shift != 1>::call(src, dst, op, mask, stream);
cn                 69 modules/core/include/opencv2/core/cuda/transform.hpp         transform_detail::TransformDispatcher<VecTraits<T1>::cn == 1 && VecTraits<T2>::cn == 1 && VecTraits<D>::cn == 1 && ft::smart_shift != 1>::call(src1, src2, dst, op, mask, stream);
cn                 62 modules/core/include/opencv2/core/cuda/vec_math.hpp     template <int cn, typename VecD> struct SatCastHelper;
cn                 98 modules/core/include/opencv2/core/cuda/vec_math.hpp         return SatCastHelper<VecTraits<VecD>::cn, VecD>::cast(v);
cn                113 modules/core/include/opencv2/core/cvdef.h #define CV_MAKETYPE(depth,cn) (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT))
cn                104 modules/core/include/opencv2/core/ippasync.hpp     inline void copyHppToMat(hppiMatrix* src, Mat& dst, hppAccel accel, int cn)
cn                117 modules/core/include/opencv2/core/ippasync.hpp         int matType = CV_MAKETYPE(toCvType(type), cn);
cn                119 modules/core/include/opencv2/core/ippasync.hpp         CV_Assert(width%cn == 0);
cn                121 modules/core/include/opencv2/core/ippasync.hpp         width /= cn;
cn                141 modules/core/include/opencv2/core/ippasync.hpp     inline Mat getMat(hppiMatrix* src, hppAccel accel, int cn)
cn                144 modules/core/include/opencv2/core/ippasync.hpp         copyHppToMat(src, dst, accel, cn);
cn                171 modules/core/include/opencv2/core/ippasync.hpp         int cn = src.channels();
cn                179 modules/core/include/opencv2/core/ippasync.hpp             hppQueryMatrixAllocParams(accel, src.cols*cn, src.rows, htype, &pitch, &size);
cn                183 modules/core/include/opencv2/core/ippasync.hpp                     return hppiCreateSharedMatrix(htype, src.cols*cn, src.rows, src.data, pitch, size);
cn                187 modules/core/include/opencv2/core/ippasync.hpp         return hppiCreateMatrix(htype, src.cols*cn, src.rows, src.data, (hpp32s)(src.step));;
cn               1136 modules/core/include/opencv2/core/mat.hpp     Mat reshape(int cn, int rows=0) const;
cn               1139 modules/core/include/opencv2/core/mat.hpp     Mat reshape(int cn, int newndims, const int* newsz) const;
cn               2199 modules/core/include/opencv2/core/mat.hpp     UMat reshape(int cn, int rows=0) const;
cn               2200 modules/core/include/opencv2/core/mat.hpp     UMat reshape(int cn, int newndims, const int* newsz) const;
cn                300 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> class Vec : public Matx<_Tp, cn, 1>
cn                305 modules/core/include/opencv2/core/matx.hpp            channels = cn,
cn                324 modules/core/include/opencv2/core/matx.hpp     Vec(const Vec<_Tp, cn>& v);
cn                329 modules/core/include/opencv2/core/matx.hpp     Vec mul(const Vec<_Tp, cn>& v) const;
cn                341 modules/core/include/opencv2/core/matx.hpp     template<typename T2> operator Vec<T2, cn>() const;
cn                349 modules/core/include/opencv2/core/matx.hpp     Vec(const Matx<_Tp, cn, 1>& a, const Matx<_Tp, cn, 1>& b, Matx_AddOp);
cn                350 modules/core/include/opencv2/core/matx.hpp     Vec(const Matx<_Tp, cn, 1>& a, const Matx<_Tp, cn, 1>& b, Matx_SubOp);
cn                351 modules/core/include/opencv2/core/matx.hpp     template<typename _T2> Vec(const Matx<_Tp, cn, 1>& a, _T2 alpha, Matx_ScaleOp);
cn                389 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> class DataType< Vec<_Tp, cn> >
cn                392 modules/core/include/opencv2/core/matx.hpp     typedef Vec<_Tp, cn>                               value_type;
cn                393 modules/core/include/opencv2/core/matx.hpp     typedef Vec<typename DataType<_Tp>::work_type, cn> work_type;
cn                399 modules/core/include/opencv2/core/matx.hpp            channels     = cn,
cn                415 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static Vec<_Tp, cn> normalize(const Vec<_Tp, cn>& v);
cn                881 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                882 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec() {}
cn                884 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                885 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0)
cn                886 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0) {}
cn                888 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                889 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1)
cn                890 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1) {}
cn                892 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                893 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2)
cn                894 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2) {}
cn                896 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                897 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3)
cn                898 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3) {}
cn                900 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                901 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4)
cn                902 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4) {}
cn                904 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                905 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5)
cn                906 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4, v5) {}
cn                908 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                909 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6)
cn                910 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4, v5, v6) {}
cn                912 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                913 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7)
cn                914 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4, v5, v6, v7) {}
cn                916 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                917 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8)
cn                918 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4, v5, v6, v7, v8) {}
cn                920 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                921 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9)
cn                922 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) {}
cn                924 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                925 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const _Tp* values)
cn                926 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(values) {}
cn                928 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                929 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const Vec<_Tp, cn>& m)
cn                930 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(m.val) {}
cn                932 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                933 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const Matx<_Tp, cn, 1>& a, const Matx<_Tp, cn, 1>& b, Matx_AddOp op)
cn                934 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(a, b, op) {}
cn                936 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                937 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const Matx<_Tp, cn, 1>& a, const Matx<_Tp, cn, 1>& b, Matx_SubOp op)
cn                938 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(a, b, op) {}
cn                940 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> template<typename _T2> inline
cn                941 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::Vec(const Matx<_Tp, cn, 1>& a, _T2 alpha, Matx_ScaleOp op)
cn                942 modules/core/include/opencv2/core/matx.hpp     : Matx<_Tp, cn, 1>(a, alpha, op) {}
cn                944 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                945 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> Vec<_Tp, cn>::all(_Tp alpha)
cn                948 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) v.val[i] = alpha;
cn                952 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                953 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> Vec<_Tp, cn>::mul(const Vec<_Tp, cn>& v) const
cn                955 modules/core/include/opencv2/core/matx.hpp     Vec<_Tp, cn> w;
cn                956 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) w.val[i] = saturate_cast<_Tp>(this->val[i]*v.val[i]);
cn                984 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn                985 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> Vec<_Tp, cn>::cross(const Vec<_Tp, cn>&) const
cn                987 modules/core/include/opencv2/core/matx.hpp     CV_StaticAssert(cn == 3, "for arbitrary-size vector there is no cross-product defined");
cn                988 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>();
cn               1007 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> template<typename T2> inline
cn               1008 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>::operator Vec<T2, cn>() const
cn               1010 modules/core/include/opencv2/core/matx.hpp     Vec<T2, cn> v;
cn               1011 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) v.val[i] = saturate_cast<T2>(this->val[i]);
cn               1015 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1016 modules/core/include/opencv2/core/matx.hpp const _Tp& Vec<_Tp, cn>::operator [](int i) const
cn               1018 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( (unsigned)i < (unsigned)cn );
cn               1022 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1023 modules/core/include/opencv2/core/matx.hpp _Tp& Vec<_Tp, cn>::operator [](int i)
cn               1025 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( (unsigned)i < (unsigned)cn );
cn               1029 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1030 modules/core/include/opencv2/core/matx.hpp const _Tp& Vec<_Tp, cn>::operator ()(int i) const
cn               1032 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( (unsigned)i < (unsigned)cn );
cn               1036 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1037 modules/core/include/opencv2/core/matx.hpp _Tp& Vec<_Tp, cn>::operator ()(int i)
cn               1039 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( (unsigned)i < (unsigned)cn );
cn               1043 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1044 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> normalize(const Vec<_Tp, cn>& v)
cn               1055 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, typename _T2, int cn> static inline
cn               1056 modules/core/include/opencv2/core/matx.hpp VecCommaInitializer<_Tp, cn> operator << (const Vec<_Tp, cn>& vec, _T2 val)
cn               1058 modules/core/include/opencv2/core/matx.hpp     VecCommaInitializer<_Tp, cn> commaInitializer((Vec<_Tp, cn>*)&vec);
cn               1062 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1063 modules/core/include/opencv2/core/matx.hpp VecCommaInitializer<_Tp, cn>::VecCommaInitializer(Vec<_Tp, cn>* _vec)
cn               1064 modules/core/include/opencv2/core/matx.hpp     : MatxCommaInitializer<_Tp, cn, 1>(_vec)
cn               1067 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> template<typename _T2> inline
cn               1068 modules/core/include/opencv2/core/matx.hpp VecCommaInitializer<_Tp, cn>& VecCommaInitializer<_Tp, cn>::operator , (_T2 value)
cn               1070 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( this->idx < cn );
cn               1075 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> inline
cn               1076 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> VecCommaInitializer<_Tp, cn>::operator *() const
cn               1078 modules/core/include/opencv2/core/matx.hpp     CV_DbgAssert( this->idx == cn );
cn               1217 modules/core/include/opencv2/core/matx.hpp template<typename _Tp1, typename _Tp2, int cn> static inline
cn               1218 modules/core/include/opencv2/core/matx.hpp Vec<_Tp1, cn>& operator += (Vec<_Tp1, cn>& a, const Vec<_Tp2, cn>& b)
cn               1220 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1225 modules/core/include/opencv2/core/matx.hpp template<typename _Tp1, typename _Tp2, int cn> static inline
cn               1226 modules/core/include/opencv2/core/matx.hpp Vec<_Tp1, cn>& operator -= (Vec<_Tp1, cn>& a, const Vec<_Tp2, cn>& b)
cn               1228 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1233 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1234 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator + (const Vec<_Tp, cn>& a, const Vec<_Tp, cn>& b)
cn               1236 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, b, Matx_AddOp());
cn               1239 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1240 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator - (const Vec<_Tp, cn>& a, const Vec<_Tp, cn>& b)
cn               1242 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, b, Matx_SubOp());
cn               1245 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1246 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator *= (Vec<_Tp, cn>& a, int alpha)
cn               1248 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1253 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1254 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator *= (Vec<_Tp, cn>& a, float alpha)
cn               1256 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1261 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1262 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator *= (Vec<_Tp, cn>& a, double alpha)
cn               1264 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1269 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1270 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator /= (Vec<_Tp, cn>& a, int alpha)
cn               1273 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1278 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1279 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator /= (Vec<_Tp, cn>& a, float alpha)
cn               1282 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1287 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1288 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn>& operator /= (Vec<_Tp, cn>& a, double alpha)
cn               1291 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ )
cn               1296 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1297 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (const Vec<_Tp, cn>& a, int alpha)
cn               1299 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1302 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1303 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (int alpha, const Vec<_Tp, cn>& a)
cn               1305 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1308 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1309 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (const Vec<_Tp, cn>& a, float alpha)
cn               1311 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1314 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1315 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (float alpha, const Vec<_Tp, cn>& a)
cn               1317 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1320 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1321 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (const Vec<_Tp, cn>& a, double alpha)
cn               1323 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1326 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1327 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator * (double alpha, const Vec<_Tp, cn>& a)
cn               1329 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, alpha, Matx_ScaleOp());
cn               1332 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1333 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator / (const Vec<_Tp, cn>& a, int alpha)
cn               1335 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, 1./alpha, Matx_ScaleOp());
cn               1338 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1339 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator / (const Vec<_Tp, cn>& a, float alpha)
cn               1341 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, 1.f/alpha, Matx_ScaleOp());
cn               1344 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1345 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator / (const Vec<_Tp, cn>& a, double alpha)
cn               1347 modules/core/include/opencv2/core/matx.hpp     return Vec<_Tp, cn>(a, 1./alpha, Matx_ScaleOp());
cn               1350 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int cn> static inline
cn               1351 modules/core/include/opencv2/core/matx.hpp Vec<_Tp, cn> operator - (const Vec<_Tp, cn>& a)
cn               1353 modules/core/include/opencv2/core/matx.hpp     Vec<_Tp,cn> t;
cn               1354 modules/core/include/opencv2/core/matx.hpp     for( int i = 0; i < cn; i++ ) t.val[i] = saturate_cast<_Tp>(-a.val[i]);
cn                605 modules/core/include/opencv2/core/ocl.hpp CV_EXPORTS const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf);
cn                664 modules/core/include/opencv2/core/ocl.hpp     static bool isFormatSupported(int depth, int cn, bool norm);
cn                716 modules/core/include/opencv2/core/persistence.hpp template<typename _Tp, int cn> static inline void read(const FileNode& node, Vec<_Tp, cn>& value, const Vec<_Tp, cn>& default_value)
cn                719 modules/core/include/opencv2/core/persistence.hpp     value = temp.size() != cn ? default_value : Vec<_Tp, cn>(&temp[0]);
cn                806 modules/core/include/opencv2/core/persistence.hpp             size_t cn = DataType<_Tp>::channels;
cn                809 modules/core/include/opencv2/core/persistence.hpp             size_t remaining1 = remaining / cn;
cn                893 modules/core/include/opencv2/core/persistence.hpp template<typename _Tp, int cn> static inline
cn                894 modules/core/include/opencv2/core/persistence.hpp void write(FileStorage& fs, const Vec<_Tp, cn>& v )
cn                896 modules/core/include/opencv2/core/persistence.hpp     for(int i = 0; i < cn; i++)
cn                959 modules/core/include/opencv2/core/persistence.hpp template<typename _Tp, int cn> static inline
cn                960 modules/core/include/opencv2/core/persistence.hpp void write(FileStorage& fs, const String& name, const Vec<_Tp, cn>& v )
cn                578 modules/core/include/opencv2/core/types.hpp     template<typename _Tp2, int cn>
cn                579 modules/core/include/opencv2/core/types.hpp     Scalar_(const Vec<_Tp2, cn>& v);
cn               1948 modules/core/include/opencv2/core/types.hpp template<typename _Tp> template<typename _Tp2, int cn> inline
cn               1949 modules/core/include/opencv2/core/types.hpp Scalar_<_Tp>::Scalar_(const Vec<_Tp2, cn>& v)
cn               1952 modules/core/include/opencv2/core/types.hpp     for( i = 0; i < (cn < 4 ? cn : 4); i++ )
cn               1135 modules/core/include/opencv2/core/types_c.h     template<typename _Tp, int cn>
cn               1136 modules/core/include/opencv2/core/types_c.h     CvScalar(const cv::Vec<_Tp, cn>& v)
cn               1139 modules/core/include/opencv2/core/types_c.h         for( i = 0; i < (cn < 4 ? cn : 4); i++ ) val[i] = v.val[i];
cn                652 modules/core/misc/java/src/java/core+Mat.java     public Mat reshape(int cn, int rows)
cn                655 modules/core/misc/java/src/java/core+Mat.java         Mat retVal = new Mat(n_reshape(nativeObj, cn, rows));
cn                661 modules/core/misc/java/src/java/core+Mat.java     public Mat reshape(int cn)
cn                664 modules/core/misc/java/src/java/core+Mat.java         Mat retVal = new Mat(n_reshape(nativeObj, cn));
cn               1237 modules/core/misc/java/src/java/core+Mat.java     private static native long n_reshape(long nativeObj, int cn, int rows);
cn               1239 modules/core/misc/java/src/java/core+Mat.java     private static native long n_reshape(long nativeObj, int cn);
cn                 60 modules/core/perf/opencl/perf_arithm.cpp     const int type = get<1>(params), cn = CV_MAT_CN(type);
cn                 64 modules/core/perf/opencl/perf_arithm.cpp     UMat src(srcSize, CV_8UC(cn)), lut(1, 256, type);
cn                977 modules/core/perf/opencl/perf_arithm.cpp     const int type = get<1>(params), cn = CV_MAT_CN(type);
cn                981 modules/core/perf/opencl/perf_arithm.cpp     UMat src(srcSize, type), dst(srcSize, CV_8UC(cn));
cn                998 modules/core/perf/opencl/perf_arithm.cpp     const int type = get<1>(params), cn = CV_MAT_CN(type);
cn               1008 modules/core/perf/opencl/perf_arithm.cpp         srcSize.width *= cn;
cn                 65 modules/core/perf/opencl/perf_channels.cpp     const int depth = get<1>(params), cn = get<2>(params), dtype = CV_MAKE_TYPE(depth, cn);
cn                 70 modules/core/perf/opencl/perf_channels.cpp     vector<UMat> src(cn);
cn                 93 modules/core/perf/opencl/perf_channels.cpp     const int depth = get<1>(params), cn = get<2>(params), type = CV_MAKE_TYPE(depth, cn);
cn                 95 modules/core/perf/opencl/perf_channels.cpp     ASSERT_TRUE(cn == 3 || cn == 2);
cn                100 modules/core/perf/opencl/perf_channels.cpp     std::vector<UMat> dst(cn, UMat(srcSize, CV_MAKE_TYPE(depth, 1)));
cn                103 modules/core/perf/opencl/perf_channels.cpp     for (int i = 0; i < cn; ++i)
cn                108 modules/core/perf/opencl/perf_channels.cpp     ASSERT_EQ(cn, (int)dst.size());
cn                110 modules/core/perf/opencl/perf_channels.cpp     if (cn == 2)
cn                 70 modules/core/perf/opencl/perf_matop.cpp         cn = CV_MAT_CN(type), dtype = CV_MAKE_TYPE(ddepth, cn);
cn               1410 modules/core/src/arithm.cpp     int scn = (int)sc.total(), cn = CV_MAT_CN(buftype);
cn               1412 modules/core/src/arithm.cpp     getConvertFunc(sc.depth(), buftype)(sc.ptr(), 1, 0, 1, scbuf, 1, Size(std::min(cn, scn), 1), 0);
cn               1414 modules/core/src/arithm.cpp     if( scn < cn )
cn               1443 modules/core/src/arithm.cpp     int cn = CV_MAT_CN(srctype);
cn               1447 modules/core/src/arithm.cpp     if( oclop < 0 || ((haveMask || haveScalar) && cn > 4) ||
cn               1452 modules/core/src/arithm.cpp     int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst);
cn               1473 modules/core/src/arithm.cpp     ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn);
cn               1474 modules/core/src/arithm.cpp     ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) :
cn               1475 modules/core/src/arithm.cpp                                        ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn               1499 modules/core/src/arithm.cpp         ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn);
cn               1507 modules/core/src/arithm.cpp     size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI };
cn               1519 modules/core/src/arithm.cpp     int type1 = psrc1->type(), depth1 = CV_MAT_DEPTH(type1), cn = CV_MAT_CN(type1);
cn               1540 modules/core/src/arithm.cpp             cn = (int)CV_ELEM_SIZE(type1);
cn               1547 modules/core/src/arithm.cpp         size_t len = sz.width*(size_t)cn;
cn               1567 modules/core/src/arithm.cpp             swap(cn, cn2);
cn               1613 modules/core/src/arithm.cpp         cn = (int)esz;
cn               1626 modules/core/src/arithm.cpp         if( blocksize*cn > INT_MAX )
cn               1627 modules/core/src/arithm.cpp             blocksize = INT_MAX/cn;
cn               1642 modules/core/src/arithm.cpp                 func( ptrs[0], 0, ptrs[1], 0, haveMask ? maskbuf : ptrs[2], 0, Size(bsz*cn, 1), 0 );
cn               1674 modules/core/src/arithm.cpp                 func( ptrs[0], 0, scbuf, 0, haveMask ? maskbuf : ptrs[1], 0, Size(bsz*cn, 1), 0 );
cn               1812 modules/core/src/arithm.cpp     int type1 = _src1.type(), depth1 = CV_MAT_DEPTH(type1), cn = CV_MAT_CN(type1);
cn               1815 modules/core/src/arithm.cpp     if ( (haveMask || haveScalar) && cn > 4 )
cn               1822 modules/core/src/arithm.cpp     wtype = CV_MAKETYPE(wdepth, cn);
cn               1827 modules/core/src/arithm.cpp     int kercn = haveMask || haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst);
cn               1868 modules/core/src/arithm.cpp     ocl::KernelArg src1arg = ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn);
cn               1869 modules/core/src/arithm.cpp     ocl::KernelArg dstarg = haveMask ? ocl::KernelArg::ReadWrite(dst, cn, kercn) :
cn               1870 modules/core/src/arithm.cpp                                        ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn               1899 modules/core/src/arithm.cpp         ocl::KernelArg src2arg = ocl::KernelArg::ReadOnlyNoSize(src2, cn, kercn);
cn               1920 modules/core/src/arithm.cpp     size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI };
cn               1934 modules/core/src/arithm.cpp     int type1 = psrc1->type(), depth1 = CV_MAT_DEPTH(type1), cn = CV_MAT_CN(type1);
cn               1945 modules/core/src/arithm.cpp     if( (kind1 == kind2 || cn == 1) && sz1 == sz2 && dims1 <= 2 && dims2 <= 2 && type1 == type2 &&
cn               1964 modules/core/src/arithm.cpp     if( dims1 != dims2 || sz1 != sz2 || cn != cn2 ||
cn               1975 modules/core/src/arithm.cpp             swap(cn, cn2);
cn               1994 modules/core/src/arithm.cpp             depth2 = actualScalarDepth(sc.ptr<double>(), cn);
cn               2037 modules/core/src/arithm.cpp     dtype = CV_MAKETYPE(dtype, cn);
cn               2038 modules/core/src/arithm.cpp     wtype = CV_MAKETYPE(wtype, cn);
cn               2101 modules/core/src/arithm.cpp                 Size bszn(bsz*cn, 1);
cn               2166 modules/core/src/arithm.cpp                 Size bszn(bsz*cn, 1);
cn               4893 modules/core/src/arithm.cpp     int type1 = _src1.type(), depth1 = CV_MAT_DEPTH(type1), cn = CV_MAT_CN(type1),
cn               4902 modules/core/src/arithm.cpp     int kercn = haveScalar ? cn : ocl::predictOptimalVectorWidth(_src1, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1;
cn               4929 modules/core/src/arithm.cpp     _dst.create(size, CV_8UC(cn));
cn               4965 modules/core/src/arithm.cpp         k.args(ocl::KernelArg::ReadOnlyNoSize(src1, cn, kercn),
cn               4966 modules/core/src/arithm.cpp                ocl::KernelArg::WriteOnly(dst, cn, kercn), scalararg);
cn               4974 modules/core/src/arithm.cpp                ocl::KernelArg::WriteOnly(dst, cn, kercn));
cn               4977 modules/core/src/arithm.cpp     size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI };
cn               5019 modules/core/src/arithm.cpp         int cn = src1.channels();
cn               5020 modules/core/src/arithm.cpp         _dst.create(src1.size(), CV_8UC(cn));
cn               5027 modules/core/src/arithm.cpp     int cn = src1.channels(), depth1 = src1.depth(), depth2 = src2.depth();
cn               5029 modules/core/src/arithm.cpp     _dst.create(src1.dims, src1.size, CV_8UC(cn));
cn               5520 modules/core/src/arithm.cpp static void inRangeReduce(const uchar* src, uchar* dst, size_t len, int cn)
cn               5522 modules/core/src/arithm.cpp     int k = cn % 4 ? cn % 4 : 4;
cn               5525 modules/core/src/arithm.cpp         for( i = j = 0; i < len; i++, j += cn )
cn               5528 modules/core/src/arithm.cpp         for( i = j = 0; i < len; i++, j += cn )
cn               5531 modules/core/src/arithm.cpp         for( i = j = 0; i < len; i++, j += cn )
cn               5534 modules/core/src/arithm.cpp         for( i = j = 0; i < len; i++, j += cn )
cn               5537 modules/core/src/arithm.cpp     for( ; k < cn; k += 4 )
cn               5539 modules/core/src/arithm.cpp         for( i = 0, j = k; i < len; i++, j += cn )
cn               5569 modules/core/src/arithm.cpp     int cn = CV_MAT_CN(stype), rowsPerWI = d.isIntel() ? 4 : 1;
cn               5600 modules/core/src/arithm.cpp     int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn);
cn               5601 modules/core/src/arithm.cpp     if (kercn % cn != 0)
cn               5602 modules/core/src/arithm.cpp         kercn = cn;
cn               5603 modules/core/src/arithm.cpp     int colsPerWI = kercn / cn;
cn               5605 modules/core/src/arithm.cpp                            haveScalar ? "-D HAVE_SCALAR " : "", cn, ocl::typeToStr(CV_MAKE_TYPE(sdepth, kercn)),
cn               5625 modules/core/src/arithm.cpp         AutoBuffer<uchar> _buf(blocksize*(((int)lbScalar + (int)ubScalar)*esz + cn) + 2*cn*sizeof(int) + 128);
cn               5626 modules/core/src/arithm.cpp         uchar *buf = alignPtr(_buf + blocksize*cn, 16);
cn               5631 modules/core/src/arithm.cpp             int* iubuf = ilbuf + cn;
cn               5634 modules/core/src/arithm.cpp             sccvtfunc(lscalar.ptr(), 1, 0, 1, (uchar*)ilbuf, 1, Size(cn, 1), 0);
cn               5635 modules/core/src/arithm.cpp             sccvtfunc(uscalar.ptr(), 1, 0, 1, (uchar*)iubuf, 1, Size(cn, 1), 0);
cn               5638 modules/core/src/arithm.cpp             for( int k = 0; k < cn; k++ )
cn               5643 modules/core/src/arithm.cpp             lscalar = Mat(cn, 1, CV_32S, ilbuf);
cn               5644 modules/core/src/arithm.cpp             uscalar = Mat(cn, 1, CV_32S, iubuf);
cn               5711 modules/core/src/arithm.cpp     int cn = src.channels(), depth = src.depth();
cn               5727 modules/core/src/arithm.cpp     AutoBuffer<uchar> _buf(blocksize*(((int)lbScalar + (int)ubScalar)*esz + cn) + 2*cn*sizeof(int) + 128);
cn               5729 modules/core/src/arithm.cpp     buf = alignPtr(buf + blocksize*cn, 16);
cn               5742 modules/core/src/arithm.cpp             int* iubuf = ilbuf + cn;
cn               5745 modules/core/src/arithm.cpp             sccvtfunc(lb.ptr(), 1, 0, 1, (uchar*)ilbuf, 1, Size(cn, 1), 0);
cn               5746 modules/core/src/arithm.cpp             sccvtfunc(ub.ptr(), 1, 0, 1, (uchar*)iubuf, 1, Size(cn, 1), 0);
cn               5749 modules/core/src/arithm.cpp             for( int k = 0; k < cn; k++ )
cn               5754 modules/core/src/arithm.cpp             lb = Mat(cn, 1, CV_32S, ilbuf);
cn               5755 modules/core/src/arithm.cpp             ub = Mat(cn, 1, CV_32S, iubuf);
cn               5780 modules/core/src/arithm.cpp             func( ptrs[0], 0, lptr, 0, uptr, 0, cn == 1 ? ptrs[1] : mbuf, 0, Size(bsz*cn, 1));
cn               5781 modules/core/src/arithm.cpp             if( cn > 1 )
cn               5782 modules/core/src/arithm.cpp                 inRangeReduce(mbuf, ptrs[1], bsz, cn);
cn               1463 modules/core/src/array.cpp     int cn = CV_MAT_CN( type );
cn               1467 modules/core/src/array.cpp     if( (unsigned)(cn - 1) >= 4 )
cn               1473 modules/core/src/array.cpp         while( cn-- )
cn               1475 modules/core/src/array.cpp             int t = cvRound( scalar->val[cn] );
cn               1476 modules/core/src/array.cpp             ((uchar*)data)[cn] = cv::saturate_cast<uchar>(t);
cn               1480 modules/core/src/array.cpp         while( cn-- )
cn               1482 modules/core/src/array.cpp             int t = cvRound( scalar->val[cn] );
cn               1483 modules/core/src/array.cpp             ((char*)data)[cn] = cv::saturate_cast<schar>(t);
cn               1487 modules/core/src/array.cpp         while( cn-- )
cn               1489 modules/core/src/array.cpp             int t = cvRound( scalar->val[cn] );
cn               1490 modules/core/src/array.cpp             ((ushort*)data)[cn] = cv::saturate_cast<ushort>(t);
cn               1494 modules/core/src/array.cpp         while( cn-- )
cn               1496 modules/core/src/array.cpp             int t = cvRound( scalar->val[cn] );
cn               1497 modules/core/src/array.cpp             ((short*)data)[cn] = cv::saturate_cast<short>(t);
cn               1501 modules/core/src/array.cpp         while( cn-- )
cn               1502 modules/core/src/array.cpp             ((int*)data)[cn] = cvRound( scalar->val[cn] );
cn               1505 modules/core/src/array.cpp         while( cn-- )
cn               1506 modules/core/src/array.cpp             ((float*)data)[cn] = (float)(scalar->val[cn]);
cn               1509 modules/core/src/array.cpp         while( cn-- )
cn               1510 modules/core/src/array.cpp             ((double*)data)[cn] = (double)(scalar->val[cn]);
cn               1536 modules/core/src/array.cpp     int cn = CV_MAT_CN( flags );
cn               1540 modules/core/src/array.cpp     if( (unsigned)(cn - 1) >= 4 )
cn               1548 modules/core/src/array.cpp         while( cn-- )
cn               1549 modules/core/src/array.cpp             scalar->val[cn] = CV_8TO32F(((uchar*)data)[cn]);
cn               1552 modules/core/src/array.cpp         while( cn-- )
cn               1553 modules/core/src/array.cpp             scalar->val[cn] = CV_8TO32F(((char*)data)[cn]);
cn               1556 modules/core/src/array.cpp         while( cn-- )
cn               1557 modules/core/src/array.cpp             scalar->val[cn] = ((ushort*)data)[cn];
cn               1560 modules/core/src/array.cpp         while( cn-- )
cn               1561 modules/core/src/array.cpp             scalar->val[cn] = ((short*)data)[cn];
cn               1564 modules/core/src/array.cpp         while( cn-- )
cn               1565 modules/core/src/array.cpp             scalar->val[cn] = ((int*)data)[cn];
cn               1568 modules/core/src/array.cpp         while( cn-- )
cn               1569 modules/core/src/array.cpp             scalar->val[cn] = ((float*)data)[cn];
cn               1572 modules/core/src/array.cpp         while( cn-- )
cn               1573 modules/core/src/array.cpp             scalar->val[cn] = ((double*)data)[cn];
cn               2542 modules/core/src/array.cpp         int  total_width, new_rows, cn;
cn               2556 modules/core/src/array.cpp         cn = CV_MAT_CN( mat->type );
cn               2557 modules/core/src/array.cpp         total_width = mat->cols * cn;
cn               2560 modules/core/src/array.cpp             new_cn = cn;
cn                278 modules/core/src/convert.cpp split_( const T* src, T** dst, int len, int cn )
cn                280 modules/core/src/convert.cpp     int k = cn % 4 ? cn % 4 : 4;
cn                286 modules/core/src/convert.cpp         if(cn == 1)
cn                292 modules/core/src/convert.cpp             for( i = 0, j = 0 ; i < len; i++, j += cn )
cn                302 modules/core/src/convert.cpp         if(cn == 2)
cn                312 modules/core/src/convert.cpp         if (cn == 2)
cn                325 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                337 modules/core/src/convert.cpp         if(cn == 3)
cn                347 modules/core/src/convert.cpp         if (cn == 3)
cn                361 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                374 modules/core/src/convert.cpp         if(cn == 4)
cn                384 modules/core/src/convert.cpp         if (cn == 4)
cn                397 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                404 modules/core/src/convert.cpp     for( ; k < cn; k += 4 )
cn                407 modules/core/src/convert.cpp         for( i = 0, j = k; i < len; i++, j += cn )
cn                636 modules/core/src/convert.cpp merge_( const T** src, T* dst, int len, int cn )
cn                638 modules/core/src/convert.cpp     int k = cn % 4 ? cn % 4 : 4;
cn                643 modules/core/src/convert.cpp         for( i = j = 0; i < len; i++, j += cn )
cn                651 modules/core/src/convert.cpp         if(cn == 2)
cn                661 modules/core/src/convert.cpp         if(cn == 2)
cn                672 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                683 modules/core/src/convert.cpp         if(cn == 3)
cn                693 modules/core/src/convert.cpp         if(cn == 3)
cn                704 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                716 modules/core/src/convert.cpp         if(cn == 4)
cn                726 modules/core/src/convert.cpp         if(cn == 4)
cn                737 modules/core/src/convert.cpp         for( ; i < len; i++, j += cn )
cn                744 modules/core/src/convert.cpp     for( ; k < cn; k += 4 )
cn                747 modules/core/src/convert.cpp         for( i = 0, j = k; i < len; i++, j += cn )
cn                755 modules/core/src/convert.cpp static void split8u(const uchar* src, uchar** dst, int len, int cn )
cn                757 modules/core/src/convert.cpp     split_(src, dst, len, cn);
cn                760 modules/core/src/convert.cpp static void split16u(const ushort* src, ushort** dst, int len, int cn )
cn                762 modules/core/src/convert.cpp     split_(src, dst, len, cn);
cn                765 modules/core/src/convert.cpp static void split32s(const int* src, int** dst, int len, int cn )
cn                767 modules/core/src/convert.cpp     split_(src, dst, len, cn);
cn                770 modules/core/src/convert.cpp static void split64s(const int64* src, int64** dst, int len, int cn )
cn                772 modules/core/src/convert.cpp     split_(src, dst, len, cn);
cn                775 modules/core/src/convert.cpp static void merge8u(const uchar** src, uchar* dst, int len, int cn )
cn                777 modules/core/src/convert.cpp     merge_(src, dst, len, cn);
cn                780 modules/core/src/convert.cpp static void merge16u(const ushort** src, ushort* dst, int len, int cn )
cn                782 modules/core/src/convert.cpp     merge_(src, dst, len, cn);
cn                785 modules/core/src/convert.cpp static void merge32s(const int** src, int* dst, int len, int cn )
cn                787 modules/core/src/convert.cpp     merge_(src, dst, len, cn);
cn                790 modules/core/src/convert.cpp static void merge64s(const int64** src, int64* dst, int len, int cn )
cn                792 modules/core/src/convert.cpp     merge_(src, dst, len, cn);
cn                795 modules/core/src/convert.cpp typedef void (*SplitFunc)(const uchar* src, uchar** dst, int len, int cn);
cn                796 modules/core/src/convert.cpp typedef void (*MergeFunc)(const uchar** src, uchar* dst, int len, int cn);
cn                824 modules/core/src/convert.cpp     int k, depth = src.depth(), cn = src.channels();
cn                825 modules/core/src/convert.cpp     if( cn == 1 )
cn                836 modules/core/src/convert.cpp     AutoBuffer<uchar> _buf((cn+1)*(sizeof(Mat*) + sizeof(uchar*)) + 16);
cn                838 modules/core/src/convert.cpp     uchar** ptrs = (uchar**)alignPtr(arrays + cn + 1, 16);
cn                841 modules/core/src/convert.cpp     for( k = 0; k < cn; k++ )
cn                847 modules/core/src/convert.cpp     NAryMatIterator it(arrays, ptrs, cn+1);
cn                848 modules/core/src/convert.cpp     int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0);
cn                855 modules/core/src/convert.cpp             func( ptrs[0], &ptrs[1], bsz, cn );
cn                860 modules/core/src/convert.cpp                 for( k = 0; k < cn; k++ )
cn                873 modules/core/src/convert.cpp     int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn                877 modules/core/src/convert.cpp     for (int i = 0; i < cn; ++i)
cn                887 modules/core/src/convert.cpp                          ocl::memopTypeToStr(depth), cn, dstargs.c_str(),
cn                893 modules/core/src/convert.cpp     _mv.create(cn, 1, depth);
cn                894 modules/core/src/convert.cpp     for (int i = 0; i < cn; ++i)
cn                901 modules/core/src/convert.cpp     for (int i = 0; i < cn; ++i)
cn                928 modules/core/src/convert.cpp     int depth = m.depth(), cn = m.channels();
cn                929 modules/core/src/convert.cpp     _mv.create(cn, 1, depth);
cn                930 modules/core/src/convert.cpp     for (int i = 0; i < cn; ++i)
cn                945 modules/core/src/convert.cpp     int k, cn = 0;
cn                952 modules/core/src/convert.cpp         cn += mv[i].channels();
cn                955 modules/core/src/convert.cpp     CV_Assert( 0 < cn && cn <= CV_CN_MAX );
cn                956 modules/core/src/convert.cpp     _dst.create(mv[0].dims, mv[0].size, CV_MAKETYPE(depth, cn));
cn                967 modules/core/src/convert.cpp         AutoBuffer<int> pairs(cn*2);
cn                979 modules/core/src/convert.cpp         mixChannels( mv, n, &dst, 1, &pairs[0], cn );
cn                985 modules/core/src/convert.cpp     AutoBuffer<uchar> _buf((cn+1)*(sizeof(Mat*) + sizeof(uchar*)) + 16);
cn                987 modules/core/src/convert.cpp     uchar** ptrs = (uchar**)alignPtr(arrays + cn + 1, 16);
cn                990 modules/core/src/convert.cpp     for( k = 0; k < cn; k++ )
cn                993 modules/core/src/convert.cpp     NAryMatIterator it(arrays, ptrs, cn+1);
cn                994 modules/core/src/convert.cpp     int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0);
cn               1002 modules/core/src/convert.cpp             func( (const uchar**)&ptrs[1], ptrs[0], bsz, cn );
cn               1007 modules/core/src/convert.cpp                 for( int t = 0; t < cn; t++ )
cn               1037 modules/core/src/convert.cpp         for (int cn = 0; cn < icn; ++cn)
cn               1040 modules/core/src/convert.cpp             tsrc.offset += cn * esz1;
cn               1254 modules/core/src/convert.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx)
cn               1262 modules/core/src/convert.cpp         if (totalChannels == cn)
cn               1268 modules/core/src/convert.cpp         else if (totalChannels > cn)
cn               1271 modules/core/src/convert.cpp             cnidx = i == 0 ? cn : (cn - totalChannels + ccn);
cn               1409 modules/core/src/convert.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1410 modules/core/src/convert.cpp     CV_Assert( 0 <= coi && coi < cn );
cn               5484 modules/core/src/convert.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               5489 modules/core/src/convert.cpp     _dst.create(_src.size(), CV_8UC(cn));
cn               5523 modules/core/src/convert.cpp             dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn               5530 modules/core/src/convert.cpp     size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI };
cn               5544 modules/core/src/convert.cpp     int cn = src.channels();
cn               5546 modules/core/src/convert.cpp     _dst.create( src.dims, src.size, CV_8UC(cn) );
cn               5553 modules/core/src/convert.cpp         Size sz = getContinuousSize(src, dst, cn);
cn               5561 modules/core/src/convert.cpp         Size sz((int)it.size*cn, 1);
cn               5588 modules/core/src/convert.cpp     int cn = channels();
cn               5595 modules/core/src/convert.cpp         Size sz = getContinuousSize(src, dst, cn);
cn               5605 modules/core/src/convert.cpp         Size sz((int)(it.size*cn), 1);
cn               5620 modules/core/src/convert.cpp LUT8u_( const uchar* src, const T* lut, T* dst, int len, int cn, int lutcn )
cn               5624 modules/core/src/convert.cpp         for( int i = 0; i < len*cn; i++ )
cn               5629 modules/core/src/convert.cpp         for( int i = 0; i < len*cn; i += cn )
cn               5630 modules/core/src/convert.cpp             for( int k = 0; k < cn; k++ )
cn               5631 modules/core/src/convert.cpp                 dst[i+k] = lut[src[i+k]*cn+k];
cn               5635 modules/core/src/convert.cpp static void LUT8u_8u( const uchar* src, const uchar* lut, uchar* dst, int len, int cn, int lutcn )
cn               5637 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5640 modules/core/src/convert.cpp static void LUT8u_8s( const uchar* src, const schar* lut, schar* dst, int len, int cn, int lutcn )
cn               5642 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5645 modules/core/src/convert.cpp static void LUT8u_16u( const uchar* src, const ushort* lut, ushort* dst, int len, int cn, int lutcn )
cn               5647 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5650 modules/core/src/convert.cpp static void LUT8u_16s( const uchar* src, const short* lut, short* dst, int len, int cn, int lutcn )
cn               5652 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5655 modules/core/src/convert.cpp static void LUT8u_32s( const uchar* src, const int* lut, int* dst, int len, int cn, int lutcn )
cn               5657 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5660 modules/core/src/convert.cpp static void LUT8u_32f( const uchar* src, const float* lut, float* dst, int len, int cn, int lutcn )
cn               5662 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5665 modules/core/src/convert.cpp static void LUT8u_64f( const uchar* src, const double* lut, double* dst, int len, int cn, int lutcn )
cn               5667 modules/core/src/convert.cpp     LUT8u_( src, lut, dst, len, cn, lutcn );
cn               5670 modules/core/src/convert.cpp typedef void (*LUTFunc)( const uchar* src, const uchar* lut, uchar* dst, int len, int cn, int lutcn );
cn               5892 modules/core/src/convert.cpp         int cn = src.channels();
cn               5901 modules/core/src/convert.cpp             func(ptrs[0], lut_.ptr(), ptrs[1], len, cn, lutcn);
cn               5912 modules/core/src/convert.cpp     int cn = _src.channels(), depth = _src.depth();
cn               5915 modules/core/src/convert.cpp     CV_Assert( (lutcn == cn || lutcn == 1) &&
cn               5923 modules/core/src/convert.cpp     _dst.create(src.dims, src.size, CV_MAKETYPE(_lut.depth(), cn));
cn               5976 modules/core/src/convert.cpp         func(ptrs[0], lut.ptr(), ptrs[1], len, cn, lutcn);
cn               5994 modules/core/src/convert.cpp         int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype),
cn               6022 modules/core/src/convert.cpp                              ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]), cn,
cn               6023 modules/core/src/convert.cpp                              rowsPerWI, ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]),
cn               6024 modules/core/src/convert.cpp                              ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)),
cn               6093 modules/core/src/convert.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               6096 modules/core/src/convert.cpp     _dst.createSameSize(_src, CV_MAKETYPE(rtype, cn));
cn                366 modules/core/src/copy.cpp     int cn = channels(), mcn = mask.channels();
cn                367 modules/core/src/copy.cpp     CV_Assert( mask.depth() == CV_8U && (mcn == 1 || mcn == cn) );
cn                478 modules/core/src/copy.cpp         int cn = channels(), depth0 = depth();
cn                482 modules/core/src/copy.cpp                 (cn == 1 || cn == 3 || cn == 4))
cn                498 modules/core/src/copy.cpp             if (cn == 1)
cn                511 modules/core/src/copy.cpp             else if (cn == 3 || cn == 4)
cn                524 modules/core/src/copy.cpp             if (cn == ippcn) \
cn                679 modules/core/src/copy.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn                684 modules/core/src/copy.cpp         kercn = cn;
cn                686 modules/core/src/copy.cpp     if (cn > 4)
cn                698 modules/core/src/copy.cpp     kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn;
cn                702 modules/core/src/copy.cpp                 kercn != cn ? ocl::typeToStr(CV_MAKE_TYPE(depth, kercn)) : ocl::vecopTypeToStr(CV_MAKE_TYPE(depth, kercn)),
cn                703 modules/core/src/copy.cpp                 kercn != cn ? ocl::typeToStr(depth) : ocl::vecopTypeToStr(depth), cn, pxPerWIy, kercn));
cn                711 modules/core/src/copy.cpp     int cols = size.width * cn / kercn, rows = size.height;
cn                716 modules/core/src/copy.cpp            ocl::KernelArg::WriteOnly(dst, cn, kercn), rows, cols);
cn                848 modules/core/src/copy.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn                860 modules/core/src/copy.cpp     k.args(ocl::KernelArg::ReadOnly(src, cn, kercn), ocl::KernelArg::WriteOnlyNoSize(dst));
cn                862 modules/core/src/copy.cpp     size_t globalsize[] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI };
cn                959 modules/core/src/copy.cpp                         int top, int left, int cn, int borderType )
cn                965 modules/core/src/copy.cpp     if( (cn | srcstep | dststep | (size_t)src | (size_t)dst) % isz == 0 )
cn                967 modules/core/src/copy.cpp         cn /= isz;
cn                972 modules/core/src/copy.cpp     cv::AutoBuffer<int> _tab((dstroi.width - srcroi.width)*cn);
cn                979 modules/core/src/copy.cpp         j = cv::borderInterpolate(i - left, srcroi.width, borderType)*cn;
cn                980 modules/core/src/copy.cpp         for( k = 0; k < cn; k++ )
cn                981 modules/core/src/copy.cpp             tab[i*cn + k] = j + k;
cn                986 modules/core/src/copy.cpp         j = cv::borderInterpolate(srcroi.width + i, srcroi.width, borderType)*cn;
cn                987 modules/core/src/copy.cpp         for( k = 0; k < cn; k++ )
cn                988 modules/core/src/copy.cpp             tab[(i+left)*cn + k] = j + k;
cn                991 modules/core/src/copy.cpp     srcroi.width *= cn;
cn                992 modules/core/src/copy.cpp     dstroi.width *= cn;
cn                993 modules/core/src/copy.cpp     left *= cn;
cn                994 modules/core/src/copy.cpp     right *= cn;
cn               1040 modules/core/src/copy.cpp                              int top, int left, int cn, const uchar* value )
cn               1043 modules/core/src/copy.cpp     cv::AutoBuffer<uchar> _constBuf(dstroi.width*cn);
cn               1050 modules/core/src/copy.cpp         for( j = 0; j < cn; j++ )
cn               1051 modules/core/src/copy.cpp             constBuf[i*cn + j] = value[j];
cn               1054 modules/core/src/copy.cpp     srcroi.width *= cn;
cn               1055 modules/core/src/copy.cpp     dstroi.width *= cn;
cn               1056 modules/core/src/copy.cpp     left *= cn;
cn               1057 modules/core/src/copy.cpp     right *= cn;
cn               1087 modules/core/src/copy.cpp     int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type),
cn               1094 modules/core/src/copy.cpp          cn > 4)
cn               1098 modules/core/src/copy.cpp     int scalarcn = cn == 3 ? 4 : cn;
cn               1102 modules/core/src/copy.cpp                                  ocl::memopTypeToStr(depth), cn,
cn               1307 modules/core/src/copy.cpp         int cn = src.channels(), cn1 = cn;
cn               1308 modules/core/src/copy.cpp         AutoBuffer<double> buf(cn);
cn               1309 modules/core/src/copy.cpp         if( cn > 4 )
cn               1314 modules/core/src/copy.cpp         scalarToRawData(value, buf, CV_MAKETYPE(src.depth(), cn1), cn);
cn                165 modules/core/src/cuda_gpu_mat.cpp     int cn = channels();
cn                167 modules/core/src/cuda_gpu_mat.cpp         new_cn = cn;
cn                169 modules/core/src/cuda_gpu_mat.cpp     int total_width = cols * cn;
cn                247 modules/core/src/cuda_host_mem.cpp     int cn = channels();
cn                249 modules/core/src/cuda_host_mem.cpp         new_cn = cn;
cn                251 modules/core/src/cuda_host_mem.cpp     int total_width = cols * cn;
cn               2078 modules/core/src/dxt.cpp     int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
cn               2082 modules/core/src/dxt.cpp     if ( !((cn == 1 || cn == 2) && (depth == CV_32F || (depth == CV_64F && doubleSupport))) )
cn               2090 modules/core/src/dxt.cpp     int complex_input = cn == 2 ? 1 : 0;
cn               2092 modules/core/src/dxt.cpp     int real_input = cn == 1 ? 1 : 0;
cn               2363 modules/core/src/dxt.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2376 modules/core/src/dxt.cpp     int dst_complex_input = cn == 2 ? 1 : 0;
cn               2954 modules/core/src/dxt.cpp     int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type();
cn               2970 modules/core/src/dxt.cpp     int ncols = cols*cn;
cn               2971 modules/core/src/dxt.cpp     int j0 = cn == 1;
cn               2972 modules/core/src/dxt.cpp     int j1 = ncols - (cols % 2 == 0 && cn == 1);
cn               2984 modules/core/src/dxt.cpp         if( !is_1d && cn == 1 )
cn               3018 modules/core/src/dxt.cpp             if( is_1d && cn == 1 )
cn               3051 modules/core/src/dxt.cpp         if( !is_1d && cn == 1 )
cn               3085 modules/core/src/dxt.cpp             if( is_1d && cn == 1 )
cn                 66 modules/core/src/mathfuncs.cpp     int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                 89 modules/core/src/mathfuncs.cpp             dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn                 96 modules/core/src/mathfuncs.cpp     size_t globalsize[] = { src1.cols * cn / kercn, (src1.rows + rowsPerWI - 1) / rowsPerWI };
cn                172 modules/core/src/mathfuncs.cpp     int type = src1.type(), depth = src1.depth(), cn = src1.channels();
cn                185 modules/core/src/mathfuncs.cpp     int len = (int)it.size*cn;
cn                207 modules/core/src/mathfuncs.cpp     int type = src1.type(), depth = src1.depth(), cn = src1.channels();
cn                222 modules/core/src/mathfuncs.cpp     int j, k, total = (int)(it.size*cn), blockSize = total;
cn                227 modules/core/src/mathfuncs.cpp         blockSize = std::min(blockSize, ((BLOCK_SIZE+cn-1)/cn)*cn);
cn                303 modules/core/src/mathfuncs.cpp     int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn                330 modules/core/src/mathfuncs.cpp            ocl::KernelArg::WriteOnly(dst1, cn),
cn                333 modules/core/src/mathfuncs.cpp     size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI };
cn                346 modules/core/src/mathfuncs.cpp     int type = X.type(), depth = X.depth(), cn = X.channels();
cn                357 modules/core/src/mathfuncs.cpp     int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn);
cn                589 modules/core/src/mathfuncs.cpp     int type = _angle.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn                613 modules/core/src/mathfuncs.cpp            ocl::KernelArg::WriteOnly(dst1, cn), ocl::KernelArg::WriteOnlyNoSize(dst2));
cn                615 modules/core/src/mathfuncs.cpp     size_t globalsize[2] = { dst1.cols * cn, (dst1.rows + rowsPerWI - 1) / rowsPerWI };
cn                624 modules/core/src/mathfuncs.cpp     int type = src2.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                648 modules/core/src/mathfuncs.cpp             IppStatus status = ippFunc(Mag.ptr(), Angle.ptr(), X.ptr(), Y.ptr(), static_cast<int>(cn * X.total()));
cn                664 modules/core/src/mathfuncs.cpp     int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn);
cn                789 modules/core/src/mathfuncs.cpp     int type = _src.type(), depth = _src.depth(), cn = _src.channels();
cn                802 modules/core/src/mathfuncs.cpp     int len = (int)(it.size*cn);
cn                856 modules/core/src/mathfuncs.cpp     int type = _src.type(), depth = _src.depth(), cn = _src.channels();
cn                869 modules/core/src/mathfuncs.cpp     int len = (int)(it.size*cn);
cn               1294 modules/core/src/mathfuncs.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn               1338 modules/core/src/mathfuncs.cpp             dstarg = ocl::KernelArg::WriteOnly(dst, cn);
cn               1352 modules/core/src/mathfuncs.cpp     size_t globalsize[2] = { dst.cols *  cn, (dst.rows + rowsPerWI - 1) / rowsPerWI };
cn               1366 modules/core/src/mathfuncs.cpp             cn = CV_MAT_CN(type), ipower = cvRound(power);
cn               1398 modules/core/src/mathfuncs.cpp     int len = (int)(it.size*cn);
cn               1419 modules/core/src/mathfuncs.cpp         int j, k, blockSize = std::min(len, ((BLOCK_SIZE + cn-1)/cn)*cn);
cn               1732 modules/core/src/mathfuncs.cpp     int cn = a.channels();
cn               1735 modules/core/src/mathfuncs.cpp            ocl::KernelArg::WriteOnly(a, cn), (float)value);
cn               1737 modules/core/src/mathfuncs.cpp     size_t globalsize[2] = { a.cols * cn, (a.rows + rowsPerWI - 1) / rowsPerWI };
cn                794 modules/core/src/matmul.cpp     int depth = matA.depth(), cn = matA.channels();
cn                795 modules/core/src/matmul.cpp     int type = CV_MAKETYPE(depth, cn);
cn                822 modules/core/src/matmul.cpp     int block_size = (max_wg_size / (32*cn) < 32) ? (max_wg_size / (16*cn) < 16) ? (max_wg_size / (8*cn) < 8) ? 1 : 8 : 16 : 32;
cn                837 modules/core/src/matmul.cpp     int vectorWidths[] = { 4, 4, 2, 2, 1, 4, cn, -1 };
cn                842 modules/core/src/matmul.cpp                           cn, kercn, block_size,
cn                853 modules/core/src/matmul.cpp                ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn),
cn                854 modules/core/src/matmul.cpp                ocl::KernelArg::ReadWrite(D, cn, kercn),
cn                858 modules/core/src/matmul.cpp                ocl::KernelArg::ReadOnlyNoSize(B, cn, kercn),
cn                859 modules/core/src/matmul.cpp                ocl::KernelArg::ReadWrite(D, cn, kercn),
cn                862 modules/core/src/matmul.cpp     size_t globalsize[2] = { sizeD.width * cn / kercn, sizeD.height};
cn               1826 modules/core/src/matmul.cpp diagtransform_( const T* src, T* dst, const WT* m, int len, int cn, int )
cn               1830 modules/core/src/matmul.cpp     if( cn == 2 )
cn               1839 modules/core/src/matmul.cpp     else if( cn == 3 )
cn               1849 modules/core/src/matmul.cpp     else if( cn == 4 )
cn               1863 modules/core/src/matmul.cpp         for( x = 0; x < len; x++, src += cn, dst += cn )
cn               1866 modules/core/src/matmul.cpp             for( int j = 0; j < cn; j++, _m += cn + 1 )
cn               1867 modules/core/src/matmul.cpp                 dst[j] = saturate_cast<T>(src[j]*_m[j] + _m[cn]);
cn               2278 modules/core/src/matmul.cpp     int cn = CV_MAT_CN(type), wdepth = std::max(depth, CV_32F);
cn               2300 modules/core/src/matmul.cpp             dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn               2307 modules/core/src/matmul.cpp     size_t globalsize[2] = { dst.cols * cn / kercn, (dst.rows + rowsPerWI - 1) / rowsPerWI };
cn               2317 modules/core/src/matmul.cpp     int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2342 modules/core/src/matmul.cpp         size_t len = src1.total()*cn;
cn               2350 modules/core/src/matmul.cpp     size_t i, len = it.size*cn;
cn               3242 modules/core/src/matmul.cpp     int cn = channels();
cn               3248 modules/core/src/matmul.cpp         size_t len = total()*cn;
cn               3256 modules/core/src/matmul.cpp     int len = (int)(it.size*cn);
cn                958 modules/core/src/matrix.cpp     int cn = channels();
cn                961 modules/core/src/matrix.cpp     if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 )
cn                965 modules/core/src/matrix.cpp         hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn;
cn                972 modules/core/src/matrix.cpp         new_cn = cn;
cn                974 modules/core/src/matrix.cpp     int total_width = cols * cn;
cn               1038 modules/core/src/matrix.cpp     int i, depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1039 modules/core/src/matrix.cpp     CV_Assert(cn <= 4);
cn               1045 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1048 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1054 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1057 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1063 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1066 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1072 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1075 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1081 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1084 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1090 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1093 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1099 modules/core/src/matrix.cpp         for(i = 0; i < cn; i++)
cn               1102 modules/core/src/matrix.cpp             buf[i] = buf[i-cn];
cn               1303 modules/core/src/matrix.cpp         int t = CV_MAT_DEPTH(flags), cn = CV_MAT_CN(flags);
cn               1307 modules/core/src/matrix.cpp             mv[i] = Mat(1, cn, t, (void*)(&v[0] + esz*i));
cn               2812 modules/core/src/matrix.cpp     int type = _m.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), kercn = cn, rowsPerWI = 1;
cn               2813 modules/core/src/matrix.cpp     int sctype = CV_MAKE_TYPE(depth, cn == 3 ? 4 : cn);
cn               2817 modules/core/src/matrix.cpp         if (cn == 1)
cn               2828 modules/core/src/matrix.cpp                          ocl::memopTypeToStr(depth), cn,
cn               2835 modules/core/src/matrix.cpp     k.args(ocl::KernelArg::WriteOnly(m, cn, kercn),
cn               2838 modules/core/src/matrix.cpp     size_t globalsize[2] = { m.cols * cn / kercn, (m.rows + rowsPerWI - 1) / rowsPerWI };
cn               3041 modules/core/src/matrix.cpp     int type = _src.type(), cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type),
cn               3067 modules/core/src/matrix.cpp                          cn, TILE_DIM, BLOCK_ROWS, rowsPerWI, inplace ? " -D INPLACE" : ""));
cn               3315 modules/core/src/matrix.cpp     int i, k, cn = srcmat.channels();
cn               3316 modules/core/src/matrix.cpp     size.width *= cn;
cn               3323 modules/core/src/matrix.cpp         if( size.width == cn )
cn               3324 modules/core/src/matrix.cpp             for( k = 0; k < cn; k++ )
cn               3328 modules/core/src/matrix.cpp             for( k = 0; k < cn; k++ )
cn               3330 modules/core/src/matrix.cpp                 WT a0 = src[k], a1 = src[k+cn];
cn               3331 modules/core/src/matrix.cpp                 for( i = 2*cn; i <= size.width - 4*cn; i += 4*cn )
cn               3334 modules/core/src/matrix.cpp                     a1 = op(a1, (WT)src[i+k+cn]);
cn               3335 modules/core/src/matrix.cpp                     a0 = op(a0, (WT)src[i+k+cn*2]);
cn               3336 modules/core/src/matrix.cpp                     a1 = op(a1, (WT)src[i+k+cn*3]);
cn               3339 modules/core/src/matrix.cpp                 for( ; i < size.width; i += cn )
cn               3530 modules/core/src/matrix.cpp     int sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype),
cn               3556 modules/core/src/matrix.cpp             tileHeight = min(tileHeight, defDev.localMemSize() / buf_cols / CV_ELEM_SIZE(CV_MAKETYPE(wdepth, cn)) / maxItemInGroupCount);
cn               3563 modules/core/src/matrix.cpp                                             buf_cols, tileHeight, ops[op], cn, ddepth,
cn               3596 modules/core/src/matrix.cpp                                       ops[op], dim, cn, ddepth, ocl::typeToStr(useOptimized ? ddepth : sdepth),
cn               3633 modules/core/src/matrix.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn               3636 modules/core/src/matrix.cpp     dtype = CV_MAKETYPE(dtype >= 0 ? dtype : stype, cn);
cn               3639 modules/core/src/matrix.cpp     CV_Assert( cn == CV_MAT_CN(dtype) );
cn               3655 modules/core/src/matrix.cpp             temp.create(dst.rows, dst.cols, CV_32SC(cn));
cn               4573 modules/core/src/matrix.cpp convertData_(const void* _from, void* _to, int cn)
cn               4577 modules/core/src/matrix.cpp     if( cn == 1 )
cn               4580 modules/core/src/matrix.cpp         for( int i = 0; i < cn; i++ )
cn               4585 modules/core/src/matrix.cpp convertScaleData_(const void* _from, void* _to, int cn, double alpha, double beta)
cn               4589 modules/core/src/matrix.cpp     if( cn == 1 )
cn               4592 modules/core/src/matrix.cpp         for( int i = 0; i < cn; i++ )
cn               4596 modules/core/src/matrix.cpp typedef void (*ConvertData)(const void* from, void* to, int cn);
cn               4597 modules/core/src/matrix.cpp typedef void (*ConvertScaleData)(const void* from, void* to, int cn, double alpha, double beta);
cn               4836 modules/core/src/matrix.cpp     int cn = channels();
cn               4839 modules/core/src/matrix.cpp     rtype = CV_MAKETYPE(rtype, cn);
cn               4862 modules/core/src/matrix.cpp             cvtfunc( from.ptr, to, cn );
cn               4872 modules/core/src/matrix.cpp             cvtfunc( from.ptr, to, cn, alpha, 0 );
cn               4880 modules/core/src/matrix.cpp     int cn = channels();
cn               4883 modules/core/src/matrix.cpp     rtype = CV_MAKETYPE(rtype, cn);
cn               4899 modules/core/src/matrix.cpp             cvtfunc( from.ptr, to, cn );
cn               4909 modules/core/src/matrix.cpp             cvtfunc( from.ptr, to, cn, alpha, beta );
cn               5310 modules/core/src/ocl.cpp     int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
cn               5311 modules/core/src/ocl.cpp     return cn > 16 ? "?" : tab[depth*16 + cn-1];
cn               5327 modules/core/src/ocl.cpp     int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
cn               5328 modules/core/src/ocl.cpp     return cn > 16 ? "?" : tab[depth*16 + cn-1];
cn               5344 modules/core/src/ocl.cpp     int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
cn               5345 modules/core/src/ocl.cpp     return cn > 16 ? "?" : tab[depth*16 + cn-1];
cn               5348 modules/core/src/ocl.cpp const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf)
cn               5352 modules/core/src/ocl.cpp     const char *typestr = typeToStr(CV_MAKETYPE(ddepth, cn));
cn               5543 modules/core/src/ocl.cpp     static cl_image_format getImageFormat(int depth, int cn, bool norm)
cn               5553 modules/core/src/ocl.cpp         int channelOrder = channelOrders[cn];
cn               5593 modules/core/src/ocl.cpp         int err, depth = src.depth(), cn = src.channels();
cn               5594 modules/core/src/ocl.cpp         CV_Assert(cn <= 4);
cn               5595 modules/core/src/ocl.cpp         cl_image_format format = getImageFormat(depth, cn, norm);
cn               5704 modules/core/src/ocl.cpp bool Image2D::isFormatSupported(int depth, int cn, bool norm)
cn               5706 modules/core/src/ocl.cpp     cl_image_format format = Impl::getImageFormat(depth, cn, norm);
cn                 80 modules/core/src/opencl/arithm.cl #ifndef cn
cn                 84 modules/core/src/opencl/arithm.cl #if cn == 1
cn                 93 modules/core/src/opencl/arithm.cl #if cn != 3
cn                122 modules/core/src/opencl/arithm.cl     #if cn != 3
cn                138 modules/core/src/opencl/arithm.cl     #if cn != 3
cn                376 modules/core/src/opencl/arithm.cl     #define EXTRA_INDEX int dst_index2 = mad24(y0, dststep2, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset2))
cn                393 modules/core/src/opencl/arithm.cl #if cn == 3
cn                412 modules/core/src/opencl/arithm.cl         int src1_index = mad24(y0, srcstep1, mad24(x, (int)sizeof(srcT1_C1) * cn, srcoffset1));
cn                414 modules/core/src/opencl/arithm.cl         int src2_index = mad24(y0, srcstep2, mad24(x, (int)sizeof(srcT2_C1) * cn, srcoffset2));
cn                416 modules/core/src/opencl/arithm.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset));
cn                444 modules/core/src/opencl/arithm.cl         int src1_index = mad24(y0, srcstep1, mad24(x, (int)sizeof(srcT1_C1) * cn, srcoffset1));
cn                445 modules/core/src/opencl/arithm.cl         int src2_index = mad24(y0, srcstep2, mad24(x, (int)sizeof(srcT2_C1) * cn, srcoffset2));
cn                446 modules/core/src/opencl/arithm.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset));
cn                468 modules/core/src/opencl/arithm.cl         int src1_index = mad24(y0, srcstep1, mad24(x, (int)sizeof(srcT1_C1) * cn, srcoffset1));
cn                469 modules/core/src/opencl/arithm.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset));
cn                491 modules/core/src/opencl/arithm.cl         int src1_index = mad24(y0, srcstep1, mad24(x, (int)sizeof(srcT1_C1) * cn, srcoffset1));
cn                492 modules/core/src/opencl/arithm.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT_C1) * cn, dstoffset));
cn                 45 modules/core/src/opencl/copymakeborder.cl #if cn != 3
cn                107 modules/core/src/opencl/copyset.cl #if cn != 3
cn                125 modules/core/src/opencl/copyset.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT1) * cn, dstoffset));
cn                146 modules/core/src/opencl/copyset.cl         int dst_index  = mad24(y0, dststep, mad24(x, (int)sizeof(dstT1) * cn, dstoffset));
cn                104 modules/core/src/opencl/flip.cl #if cn == 1
cn                109 modules/core/src/opencl/flip.cl #if cn == 1
cn                112 modules/core/src/opencl/flip.cl #elif cn == 2
cn                150 modules/core/src/opencl/flip.cl #if cn == 1
cn                155 modules/core/src/opencl/flip.cl #if cn == 1
cn                158 modules/core/src/opencl/flip.cl #elif cn == 2
cn                 25 modules/core/src/opencl/gemm.cl #if cn==2
cn                 76 modules/core/src/opencl/inrange.cl #if kercn >= cn && kercn == 4 && depth <= 4 && !defined HAVE_SCALAR
cn                 81 modules/core/src/opencl/inrange.cl #if cn == 1
cn                 83 modules/core/src/opencl/inrange.cl #elif cn == 2
cn                 86 modules/core/src/opencl/inrange.cl #elif cn == 4
cn                101 modules/core/src/opencl/inrange.cl             for (int px = 0; px < colsPerWI; ++px, src1 += cn
cn                103 modules/core/src/opencl/inrange.cl                 , src2 += cn, src3 += cn
cn                109 modules/core/src/opencl/inrange.cl                 for (int c = 0; c < cn; ++c)
cn                 68 modules/core/src/opencl/lut.cl             for (int cn = 0; cn < dcn; ++cn) \
cn                 69 modules/core/src/opencl/lut.cl                 dst[cn] = lut_l[src[cn]];
cn                105 modules/core/src/opencl/lut.cl             for (int cn = 0; cn < dcn; ++cn) \
cn                106 modules/core/src/opencl/lut.cl                 dst[cn] = lut_l[mad24(src[cn], lcn, cn)];
cn                 18 modules/core/src/opencl/meanstddev.cl #if cn != 3
cn                 18 modules/core/src/opencl/normalize.cl #if cn != 3
cn                 95 modules/core/src/opencl/reduce.cl #if cn != 3
cn                101 modules/core/src/opencl/reduce2.cl     __local bufT lsmem[TILE_HEIGHT][BUF_COLS][cn];
cn                108 modules/core/src/opencl/reduce2.cl         int src_index = mad24(y, src_step, mad24(x, (int)sizeof(srcT) * cn, src_offset));
cn                111 modules/core/src/opencl/reduce2.cl         bufT tmp[cn];
cn                113 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                116 modules/core/src/opencl/reduce2.cl         int src_step_mul = BUF_COLS * cn;
cn                120 modules/core/src/opencl/reduce2.cl             for (int c = 0; c < cn; ++c)
cn                128 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                135 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                146 modules/core/src/opencl/reduce2.cl         bufT tmp[cn];
cn                148 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                155 modules/core/src/opencl/reduce2.cl             for (int c = 0; c < cn; ++c)
cn                162 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                184 modules/core/src/opencl/reduce2.cl         int src_index = mad24(x, (int)sizeof(srcT) * cn, src_offset);
cn                185 modules/core/src/opencl/reduce2.cl         int dst_index = mad24(x, (int)sizeof(dstT0) * cn, dst_offset);
cn                188 modules/core/src/opencl/reduce2.cl         dstT tmp[cn];
cn                190 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                197 modules/core/src/opencl/reduce2.cl             for (int c = 0; c < cn; ++c)
cn                205 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                221 modules/core/src/opencl/reduce2.cl         dstT tmp[cn];
cn                223 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                226 modules/core/src/opencl/reduce2.cl         for (int x = 0; x < cols; ++x, src += cn)
cn                229 modules/core/src/opencl/reduce2.cl             for (int c = 0; c < cn; ++c)
cn                237 modules/core/src/opencl/reduce2.cl         for (int c = 0; c < cn; ++c)
cn                  8 modules/core/src/opencl/repeat.cl #if cn != 3
cn                 66 modules/core/src/opencl/set_identity.cl #if kercn == cn
cn                 71 modules/core/src/opencl/set_identity.cl #elif kercn == 4 && cn == 1
cn                 63 modules/core/src/opencl/split_merge.cl         int dst_index = mad24(dst_step, y0, mad24(x, (int)sizeof(T) * cn, dst_offset));
cn                 91 modules/core/src/opencl/split_merge.cl         int src_index = mad24(y0, src_step, mad24(x, cn * (int)sizeof(T), src_offset));
cn                 46 modules/core/src/opencl/transpose.cl #if cn != 3
cn                996 modules/core/src/opengl.cpp     const int cn = CV_MAT_CN(atype);
cn                999 modules/core/src/opengl.cpp     CV_Assert( cn == 1 || cn == 3 || cn == 4 );
cn               1016 modules/core/src/opengl.cpp             impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease));
cn               1030 modules/core/src/opengl.cpp                 impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], 0, autoRelease));
cn               1042 modules/core/src/opengl.cpp             impl_.reset(new Impl(internalFormats[cn], asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data, autoRelease));
cn               1049 modules/core/src/opengl.cpp     format_ = internalFormats[cn];
cn               1108 modules/core/src/opengl.cpp     const int cn = CV_MAT_CN(atype);
cn               1111 modules/core/src/opengl.cpp     CV_Assert( cn == 1 || cn == 3 || cn == 4 );
cn               1122 modules/core/src/opengl.cpp     create(asize, internalFormats[cn], autoRelease);
cn               1130 modules/core/src/opengl.cpp             impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0);
cn               1144 modules/core/src/opengl.cpp                 impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], 0);
cn               1156 modules/core/src/opengl.cpp             impl_->copyFrom(asize.width, asize.height, srcFormats[cn], gl_types[depth], mat.data);
cn               1172 modules/core/src/opengl.cpp     const int cn = format_ == DEPTH_COMPONENT ? 1: format_ == RGB ? 3 : 4;
cn               1180 modules/core/src/opengl.cpp             buf.create(rows_, cols_, CV_MAKE_TYPE(ddepth, cn), ogl::Buffer::PIXEL_PACK_BUFFER, autoRelease);
cn               1192 modules/core/src/opengl.cpp                 ogl::Buffer buf(rows_, cols_, CV_MAKE_TYPE(ddepth, cn), ogl::Buffer::PIXEL_PACK_BUFFER);
cn               1205 modules/core/src/opengl.cpp             arr.create(rows_, cols_, CV_MAKE_TYPE(ddepth, cn));
cn               1240 modules/core/src/opengl.cpp     const int cn = vertex.channels();
cn               1243 modules/core/src/opengl.cpp     CV_Assert( cn == 2 || cn == 3 || cn == 4 );
cn               1262 modules/core/src/opengl.cpp     const int cn = color.channels();
cn               1264 modules/core/src/opengl.cpp     CV_Assert( cn == 3 || cn == 4 );
cn               1279 modules/core/src/opengl.cpp     const int cn = normal.channels();
cn               1282 modules/core/src/opengl.cpp     CV_Assert( cn == 3 );
cn               1298 modules/core/src/opengl.cpp     const int cn = texCoord.channels();
cn               1301 modules/core/src/opengl.cpp     CV_Assert( cn >= 1 && cn <= 4 );
cn               1384 modules/core/src/opengl.cpp         const int cn = color_.channels();
cn               1386 modules/core/src/opengl.cpp         gl::ColorPointer(cn, gl_types[color_.depth()], 0, 0);
cn                 66 modules/core/src/out.cpp         int cn;
cn                 73 modules/core/src/out.cpp         void valueToStr8u()  { sprintf(buf, "%3d", (int)mtx.ptr<uchar>(row, col)[cn]); }
cn                 74 modules/core/src/out.cpp         void valueToStr8s()  { sprintf(buf, "%3d", (int)mtx.ptr<schar>(row, col)[cn]); }
cn                 75 modules/core/src/out.cpp         void valueToStr16u() { sprintf(buf, "%d", (int)mtx.ptr<ushort>(row, col)[cn]); }
cn                 76 modules/core/src/out.cpp         void valueToStr16s() { sprintf(buf, "%d", (int)mtx.ptr<short>(row, col)[cn]); }
cn                 77 modules/core/src/out.cpp         void valueToStr32s() { sprintf(buf, "%d", mtx.ptr<int>(row, col)[cn]); }
cn                 78 modules/core/src/out.cpp         void valueToStr32f() { sprintf(buf, floatFormat, mtx.ptr<float>(row, col)[cn]); }
cn                 79 modules/core/src/out.cpp         void valueToStr64f() { sprintf(buf, floatFormat, mtx.ptr<double>(row, col)[cn]); }
cn                 96 modules/core/src/out.cpp             row = col = cn =0;
cn                144 modules/core/src/out.cpp                         if (++cn >= mcn)
cn                152 modules/core/src/out.cpp                         sprintf(buf, "\n(:, :, %d) = \n", cn+1);
cn                155 modules/core/src/out.cpp                     sprintf(buf, "(:, :, %d) = \n", cn+1);
cn                195 modules/core/src/out.cpp                         cn = 0;
cn                221 modules/core/src/out.cpp                     if (++cn < mcn)
cn               3786 modules/core/src/persistence.cpp     int sizes[CV_MAX_DIM_HEAP], dims, elem_type, cn;
cn               3810 modules/core/src/persistence.cpp     cn = CV_MAT_CN(elem_type);
cn               3844 modules/core/src/persistence.cpp         cvReadRawDataSlice( fs, &reader, cn, val, dt );
cn               3845 modules/core/src/persistence.cpp         i += cn;
cn               5117 modules/core/src/persistence.cpp static void getElemSize( const String& fmt, size_t& elemSize, size_t& cn )
cn               5120 modules/core/src/persistence.cpp     cn = 1;
cn               5123 modules/core/src/persistence.cpp         cn = dt[0] - '0';
cn               5127 modules/core/src/persistence.cpp     elemSize = cn*(c == 'u' || c == 'c' ? sizeof(uchar) : c == 'w' || c == 's' ? sizeof(ushort) :
cn               5260 modules/core/src/persistence.cpp     size_t elemSize, cn;
cn               5261 modules/core/src/persistence.cpp     getElemSize( fmt, elemSize, cn );
cn               5433 modules/core/src/persistence.cpp         size_t elem_size, cn;
cn               5434 modules/core/src/persistence.cpp         getElemSize( fmt, elem_size, cn );
cn               5441 modules/core/src/persistence.cpp             remaining -= count*cn;
cn                221 modules/core/src/precomp.hpp     int cn = CV_MAT_CN(atype);
cn                224 modules/core/src/precomp.hpp     return sz == Size(1, 1) || sz == Size(1, cn) || sz == Size(cn, 1) ||
cn                225 modules/core/src/precomp.hpp            (sz == Size(1, 4) && sc.type() == CV_64F && cn <= 4);
cn                235 modules/core/src/precomp.hpp     int cn = CV_MAT_CN(atype);
cn                238 modules/core/src/precomp.hpp     return sz == Size(1, 1) || sz == Size(1, cn) || sz == Size(cn, 1) ||
cn                239 modules/core/src/precomp.hpp            (sz == Size(1, 4) && sc.type() == CV_64F && cn <= 4);
cn                410 modules/core/src/rand.cpp randnScale_( const float* src, T* dst, int len, int cn, const PT* mean, const PT* stddev, bool stdmtx )
cn                415 modules/core/src/rand.cpp         if( cn == 1 )
cn                423 modules/core/src/rand.cpp             for( i = 0; i < len; i++, src += cn, dst += cn )
cn                424 modules/core/src/rand.cpp                 for( k = 0; k < cn; k++ )
cn                430 modules/core/src/rand.cpp         for( i = 0; i < len; i++, src += cn, dst += cn )
cn                432 modules/core/src/rand.cpp             for( j = 0; j < cn; j++ )
cn                435 modules/core/src/rand.cpp                 for( k = 0; k < cn; k++ )
cn                436 modules/core/src/rand.cpp                     s += src[k]*stddev[j*cn + k];
cn                443 modules/core/src/rand.cpp static void randnScale_8u( const float* src, uchar* dst, int len, int cn,
cn                445 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                447 modules/core/src/rand.cpp static void randnScale_8s( const float* src, schar* dst, int len, int cn,
cn                449 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                451 modules/core/src/rand.cpp static void randnScale_16u( const float* src, ushort* dst, int len, int cn,
cn                453 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                455 modules/core/src/rand.cpp static void randnScale_16s( const float* src, short* dst, int len, int cn,
cn                457 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                459 modules/core/src/rand.cpp static void randnScale_32s( const float* src, int* dst, int len, int cn,
cn                461 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                463 modules/core/src/rand.cpp static void randnScale_32f( const float* src, float* dst, int len, int cn,
cn                465 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                467 modules/core/src/rand.cpp static void randnScale_64f( const float* src, double* dst, int len, int cn,
cn                469 modules/core/src/rand.cpp { randnScale_(src, dst, len, cn, mean, stddev, stdmtx); }
cn                471 modules/core/src/rand.cpp typedef void (*RandnScaleFunc)(const float* src, uchar* dst, int len, int cn,
cn                485 modules/core/src/rand.cpp     int depth = mat.depth(), cn = mat.channels();
cn                492 modules/core/src/rand.cpp               (_param1.rows + _param1.cols - 1 == cn || _param1.rows + _param1.cols - 1 == 1 ||
cn                493 modules/core/src/rand.cpp                (_param1.size() == Size(1, 4) && _param1.type() == CV_64F && cn <= 4)));
cn                496 modules/core/src/rand.cpp                 (_param2.rows + _param2.cols - 1 == cn || _param2.rows + _param2.cols - 1 == 1 ||
cn                497 modules/core/src/rand.cpp                 (_param1.size() == Size(1, 4) && _param1.type() == CV_64F && cn <= 4))) ||
cn                498 modules/core/src/rand.cpp                 (_param2.rows == cn && _param2.cols == cn && disttype == NORMAL)));
cn                512 modules/core/src/rand.cpp         _parambuf.allocate(cn*8 + n1 + n2);
cn                517 modules/core/src/rand.cpp         if( !_param1.isContinuous() || _param1.type() != CV_64F || n1 != cn )
cn                522 modules/core/src/rand.cpp             if( n1 < cn )
cn                523 modules/core/src/rand.cpp                 for( j = n1; j < cn; j++ )
cn                527 modules/core/src/rand.cpp         if( !_param2.isContinuous() || _param2.type() != CV_64F || n2 != cn )
cn                529 modules/core/src/rand.cpp             Mat tmp(_param2.size(), CV_64F, parambuf + cn);
cn                531 modules/core/src/rand.cpp             p2 = parambuf + cn;
cn                532 modules/core/src/rand.cpp             if( n2 < cn )
cn                533 modules/core/src/rand.cpp                 for( j = n2; j < cn; j++ )
cn                539 modules/core/src/rand.cpp             ip = (Vec2i*)(parambuf + cn*2);
cn                540 modules/core/src/rand.cpp             for( j = 0, fast_int_mode = 1; j < cn; j++ )
cn                569 modules/core/src/rand.cpp                 ds = (DivStruct*)(ip + cn);
cn                570 modules/core/src/rand.cpp                 for( j = 0; j < cn; j++ )
cn                598 modules/core/src/rand.cpp                 fp = (Vec2f*)(parambuf + cn*2);
cn                599 modules/core/src/rand.cpp                 for( j = 0; j < cn; j++ )
cn                607 modules/core/src/rand.cpp                 dp = (Vec2d*)(parambuf + cn*2);
cn                608 modules/core/src/rand.cpp                 for( j = 0; j < cn; j++ )
cn                621 modules/core/src/rand.cpp         _parambuf.allocate(MAX(n1, cn) + MAX(n2, cn));
cn                636 modules/core/src/rand.cpp         if( n1 < cn )
cn                637 modules/core/src/rand.cpp             for( j = n1*esz; j < cn*esz; j++ )
cn                644 modules/core/src/rand.cpp             Mat tmp(_param2.size(), ptype, parambuf + cn);
cn                646 modules/core/src/rand.cpp             stddev = (uchar*)(parambuf + cn);
cn                649 modules/core/src/rand.cpp         if( n1 < cn )
cn                650 modules/core/src/rand.cpp             for( j = n1*esz; j < cn*esz; j++ )
cn                653 modules/core/src/rand.cpp         stdmtx = _param2.rows == cn && _param2.cols == cn;
cn                663 modules/core/src/rand.cpp     int total = (int)it.size, blockSize = std::min((BLOCK_SIZE + cn - 1)/cn, total);
cn                671 modules/core/src/rand.cpp         buf.allocate(blockSize*cn*4);
cn                679 modules/core/src/rand.cpp                 for( j = 0; j < blockSize*cn; j += cn )
cn                680 modules/core/src/rand.cpp                     for( k = 0; k < cn; k++ )
cn                686 modules/core/src/rand.cpp                 for( j = 0; j < blockSize*cn; j += cn )
cn                687 modules/core/src/rand.cpp                     for( k = 0; k < cn; k++ )
cn                694 modules/core/src/rand.cpp             for( j = 0; j < blockSize*cn; j += cn )
cn                695 modules/core/src/rand.cpp                 for( k = 0; k < cn; k++ )
cn                701 modules/core/src/rand.cpp             for( j = 0; j < blockSize*cn; j += cn )
cn                702 modules/core/src/rand.cpp                 for( k = 0; k < cn; k++ )
cn                708 modules/core/src/rand.cpp         buf.allocate((blockSize*cn+1)/2);
cn                719 modules/core/src/rand.cpp                 func( ptr, len*cn, &state, param, smallFlag != 0 );
cn                722 modules/core/src/rand.cpp                 randn_0_1_32f(nbuf, len*cn, &state);
cn                723 modules/core/src/rand.cpp                 scaleFunc(nbuf, ptr, len, cn, mean, stddev, stdmtx);
cn                 81 modules/core/src/stat.cpp     int operator () (const schar * src0, const uchar * mask, int * dst, int len, int cn) const
cn                 83 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4) || !USE_SSE2)
cn                113 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                114 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                117 modules/core/src/stat.cpp         return x / cn;
cn                124 modules/core/src/stat.cpp     int operator () (const int * src0, const uchar * mask, double * dst, int len, int cn) const
cn                126 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4) || !USE_SSE2)
cn                143 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                144 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                147 modules/core/src/stat.cpp         return x / cn;
cn                154 modules/core/src/stat.cpp     int operator () (const float * src0, const uchar * mask, double * dst, int len, int cn) const
cn                156 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4) || !USE_SSE2)
cn                174 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                175 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                178 modules/core/src/stat.cpp         return x / cn;
cn                188 modules/core/src/stat.cpp     int operator () (const uchar * src0, const uchar * mask, int * dst, int len, int cn) const
cn                190 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4))
cn                220 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                221 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                224 modules/core/src/stat.cpp         return x / cn;
cn                231 modules/core/src/stat.cpp     int operator () (const schar * src0, const uchar * mask, int * dst, int len, int cn) const
cn                233 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4))
cn                263 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                264 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                267 modules/core/src/stat.cpp         return x / cn;
cn                274 modules/core/src/stat.cpp     int operator () (const ushort * src0, const uchar * mask, int * dst, int len, int cn) const
cn                276 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4))
cn                296 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                297 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                300 modules/core/src/stat.cpp         return x / cn;
cn                307 modules/core/src/stat.cpp     int operator () (const short * src0, const uchar * mask, int * dst, int len, int cn) const
cn                309 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2 && cn != 4))
cn                329 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                330 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                333 modules/core/src/stat.cpp         return x / cn;
cn                340 modules/core/src/stat.cpp static int sum_(const T* src0, const uchar* mask, ST* dst, int len, int cn )
cn                346 modules/core/src/stat.cpp         int i = vop(src0, mask, dst, len, cn), k = cn % 4;
cn                347 modules/core/src/stat.cpp         src += i * cn;
cn                354 modules/core/src/stat.cpp             for(; i <= len - 4; i += 4, src += cn*4 )
cn                355 modules/core/src/stat.cpp                 s0 += src[0] + src[cn] + src[cn*2] + src[cn*3];
cn                357 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                364 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                375 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                386 modules/core/src/stat.cpp         for( ; k < cn; k += 4 )
cn                388 modules/core/src/stat.cpp             src = src0 + i*cn + k;
cn                390 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                404 modules/core/src/stat.cpp     if( cn == 1 )
cn                415 modules/core/src/stat.cpp     else if( cn == 3 )
cn                432 modules/core/src/stat.cpp         for( i = 0; i < len; i++, src += cn )
cn                437 modules/core/src/stat.cpp                 for( ; k <= cn - 4; k += 4 )
cn                448 modules/core/src/stat.cpp                 for( ; k < cn; k++ )
cn                457 modules/core/src/stat.cpp static int sum8u( const uchar* src, const uchar* mask, int* dst, int len, int cn )
cn                458 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                460 modules/core/src/stat.cpp static int sum8s( const schar* src, const uchar* mask, int* dst, int len, int cn )
cn                461 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                463 modules/core/src/stat.cpp static int sum16u( const ushort* src, const uchar* mask, int* dst, int len, int cn )
cn                464 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                466 modules/core/src/stat.cpp static int sum16s( const short* src, const uchar* mask, int* dst, int len, int cn )
cn                467 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                469 modules/core/src/stat.cpp static int sum32s( const int* src, const uchar* mask, double* dst, int len, int cn )
cn                470 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                472 modules/core/src/stat.cpp static int sum32f( const float* src, const uchar* mask, double* dst, int len, int cn )
cn                473 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                475 modules/core/src/stat.cpp static int sum64f( const double* src, const uchar* mask, double* dst, int len, int cn )
cn                476 modules/core/src/stat.cpp { return sum_(src, mask, dst, len, cn); }
cn                753 modules/core/src/stat.cpp     int operator () (const uchar * src0, const uchar * mask, int * sum, int * sqsum, int len, int cn) const
cn                755 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2) || !USE_SSE2)
cn                798 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                799 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                805 modules/core/src/stat.cpp         return x / cn;
cn                812 modules/core/src/stat.cpp     int operator () (const schar * src0, const uchar * mask, int * sum, int * sqsum, int len, int cn) const
cn                814 modules/core/src/stat.cpp         if (mask || (cn != 1 && cn != 2) || !USE_SSE2)
cn                857 modules/core/src/stat.cpp         for (int i = 0; i < 4; i += cn)
cn                858 modules/core/src/stat.cpp             for (int j = 0; j < cn; ++j)
cn                864 modules/core/src/stat.cpp         return x / cn;
cn                871 modules/core/src/stat.cpp static int sumsqr_(const T* src0, const uchar* mask, ST* sum, SQT* sqsum, int len, int cn )
cn                878 modules/core/src/stat.cpp         int i = vop(src0, mask, sum, sqsum, len, cn), k = cn % 4;
cn                879 modules/core/src/stat.cpp         src += i * cn;
cn                885 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                897 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                910 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                921 modules/core/src/stat.cpp         for( ; k < cn; k += 4 )
cn                926 modules/core/src/stat.cpp             for( ; i < len; i++, src += cn )
cn                946 modules/core/src/stat.cpp     if( cn == 1 )
cn                960 modules/core/src/stat.cpp     else if( cn == 3 )
cn                978 modules/core/src/stat.cpp         for( i = 0; i < len; i++, src += cn )
cn                981 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn                995 modules/core/src/stat.cpp static int sqsum8u( const uchar* src, const uchar* mask, int* sum, int* sqsum, int len, int cn )
cn                996 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn                998 modules/core/src/stat.cpp static int sqsum8s( const schar* src, const uchar* mask, int* sum, int* sqsum, int len, int cn )
cn                999 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1001 modules/core/src/stat.cpp static int sqsum16u( const ushort* src, const uchar* mask, int* sum, double* sqsum, int len, int cn )
cn               1002 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1004 modules/core/src/stat.cpp static int sqsum16s( const short* src, const uchar* mask, int* sum, double* sqsum, int len, int cn )
cn               1005 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1007 modules/core/src/stat.cpp static int sqsum32s( const int* src, const uchar* mask, double* sum, double* sqsum, int len, int cn )
cn               1008 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1010 modules/core/src/stat.cpp static int sqsum32f( const float* src, const uchar* mask, double* sum, double* sqsum, int len, int cn )
cn               1011 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1013 modules/core/src/stat.cpp static int sqsum64f( const double* src, const uchar* mask, double* sum, double* sqsum, int len, int cn )
cn               1014 modules/core/src/stat.cpp { return sumsqr_(src, mask, sum, sqsum, len, cn); }
cn               1036 modules/core/src/stat.cpp     int cn = m.channels();
cn               1039 modules/core/src/stat.cpp     for (int x = 0, w = m.cols * cn; x < w; )
cn               1040 modules/core/src/stat.cpp         for (int c = 0; c < cn; ++c, ++x)
cn               1057 modules/core/src/stat.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn               1058 modules/core/src/stat.cpp             kercn = cn == 1 && !haveMask ? ocl::predictOptimalVectorWidth(_src, _src2) : 1,
cn               1059 modules/core/src/stat.cpp             mcn = std::max(cn, kercn);
cn               1061 modules/core/src/stat.cpp     int convert_cn = haveSrc2 ? mcn : cn;
cn               1063 modules/core/src/stat.cpp     if ( (!doubleSupport && depth == CV_64F) || cn > 4 )
cn               1070 modules/core/src/stat.cpp             dtype = CV_MAKE_TYPE(ddepth, cn);
cn               1084 modules/core/src/stat.cpp                          ocl::typeToStr(ddepth), ddepth, cn,
cn               1153 modules/core/src/stat.cpp     int k, cn = src.channels(), depth = src.depth();
cn               1191 modules/core/src/stat.cpp                     for( int i = 0; i < cn; i++ )
cn               1203 modules/core/src/stat.cpp     CV_Assert( cn <= 4 && func != 0 );
cn               1220 modules/core/src/stat.cpp         _buf.allocate(cn);
cn               1223 modules/core/src/stat.cpp         for( k = 0; k < cn; k++ )
cn               1233 modules/core/src/stat.cpp             func( ptrs[0], 0, (uchar*)buf, bsz, cn );
cn               1237 modules/core/src/stat.cpp                 for( k = 0; k < cn; k++ )
cn               1296 modules/core/src/stat.cpp     int type = _src.type(), cn = CV_MAT_CN(type);
cn               1297 modules/core/src/stat.cpp     CV_Assert( cn == 1 );
cn               1359 modules/core/src/stat.cpp     int k, cn = src.channels(), depth = src.depth();
cn               1437 modules/core/src/stat.cpp                         for( int i = 0; i < cn; i++ )
cn               1451 modules/core/src/stat.cpp     CV_Assert( cn <= 4 && func != 0 );
cn               1468 modules/core/src/stat.cpp         _buf.allocate(cn);
cn               1471 modules/core/src/stat.cpp         for( k = 0; k < cn; k++ )
cn               1481 modules/core/src/stat.cpp             int nz = func( ptrs[0], ptrs[1], (uchar*)buf, bsz, cn );
cn               1486 modules/core/src/stat.cpp                 for( k = 0; k < cn; k++ )
cn               1512 modules/core/src/stat.cpp         int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1526 modules/core/src/stat.cpp                 dtype = CV_MAKE_TYPE(ddepth, cn),
cn               1527 modules/core/src/stat.cpp                 sqdtype = CV_MAKETYPE(sqddepth, cn);
cn               1535 modules/core/src/stat.cpp         if ( (!doubleSupport && depth == CV_64F) || cn > 4 )
cn               1545 modules/core/src/stat.cpp                              ocl::convertTypeStr(depth, sqddepth, cn, cvt[0]),
cn               1546 modules/core/src/stat.cpp                              cn, isContinuous ? " -D HAVE_SRC_CONT" : "",
cn               1548 modules/core/src/stat.cpp                              ocl::convertTypeStr(depth, ddepth, cn, cvt[1]),
cn               1587 modules/core/src/stat.cpp     int k, j, cn = _src.channels();
cn               1588 modules/core/src/stat.cpp     for (int i = 0; i < cn; ++i)
cn               1602 modules/core/src/stat.cpp             _dst.create(cn, 1, CV_64F, -1, true);
cn               1606 modules/core/src/stat.cpp                    (dst.cols == 1 || dst.rows == 1) && dcn >= cn );
cn               1608 modules/core/src/stat.cpp         for( k = 0; k < cn; k++ )
cn               1629 modules/core/src/stat.cpp     int k, cn = src.channels(), depth = src.depth();
cn               1647 modules/core/src/stat.cpp                     _mean.create(cn, 1, CV_64F, -1, true);
cn               1656 modules/core/src/stat.cpp                     _sdv.create(cn, 1, CV_64F, -1, true);
cn               1661 modules/core/src/stat.cpp             for( int c = cn; c < dcn_mean; c++ )
cn               1663 modules/core/src/stat.cpp             for( int c = cn; c < dcn_stddev; c++ )
cn               1753 modules/core/src/stat.cpp     AutoBuffer<double> _buf(cn*4);
cn               1754 modules/core/src/stat.cpp     double *s = (double*)_buf, *sq = s + cn;
cn               1759 modules/core/src/stat.cpp     for( k = 0; k < cn; k++ )
cn               1766 modules/core/src/stat.cpp         sbuf = (int*)(sq + cn);
cn               1768 modules/core/src/stat.cpp             sqbuf = sbuf + cn;
cn               1769 modules/core/src/stat.cpp         for( k = 0; k < cn; k++ )
cn               1779 modules/core/src/stat.cpp             int nz = func( ptrs[0], ptrs[1], (uchar*)sbuf, (uchar*)sqbuf, bsz, cn );
cn               1784 modules/core/src/stat.cpp                 for( k = 0; k < cn; k++ )
cn               1791 modules/core/src/stat.cpp                     for( k = 0; k < cn; k++ )
cn               1806 modules/core/src/stat.cpp     for( k = 0; k < cn; k++ )
cn               1820 modules/core/src/stat.cpp             _dst.create(cn, 1, CV_64F, -1, true);
cn               1824 modules/core/src/stat.cpp                    (dst.cols == 1 || dst.rows == 1) && dcn >= cn );
cn               1826 modules/core/src/stat.cpp         for( k = 0; k < cn; k++ )
cn               2060 modules/core/src/stat.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn               2061 modules/core/src/stat.cpp             kercn = haveMask ? cn : std::min(4, ocl::predictOptimalVectorWidth(_src, _src2));
cn               2067 modules/core/src/stat.cpp     CV_Assert( (cn == 1 && (!haveMask || _mask.type() == CV_8U)) ||
cn               2068 modules/core/src/stat.cpp               (cn >= 1 && !minLoc && !maxLoc) );
cn               2130 modules/core/src/stat.cpp     if (cn > 1 && !haveMask)
cn               2190 modules/core/src/stat.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2191 modules/core/src/stat.cpp     CV_Assert( (cn == 1 && (_mask.empty() || _mask.type() == CV_8U)) ||
cn               2192 modules/core/src/stat.cpp         (cn > 1 && _mask.empty() && !minIdx && !maxIdx) );
cn               2206 modules/core/src/stat.cpp             IppiSize sz = { cols * cn, rows };
cn               2307 modules/core/src/stat.cpp     int planeSize = (int)it.size*cn;
cn               2355 modules/core/src/stat.cpp normInf_(const T* src, const uchar* mask, ST* _result, int len, int cn)
cn               2360 modules/core/src/stat.cpp         result = std::max(result, normInf<T, ST>(src, len*cn));
cn               2364 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src += cn )
cn               2367 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2376 modules/core/src/stat.cpp normL1_(const T* src, const uchar* mask, ST* _result, int len, int cn)
cn               2381 modules/core/src/stat.cpp         result += normL1<T, ST>(src, len*cn);
cn               2385 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src += cn )
cn               2388 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2397 modules/core/src/stat.cpp normL2_(const T* src, const uchar* mask, ST* _result, int len, int cn)
cn               2402 modules/core/src/stat.cpp         result += normL2Sqr<T, ST>(src, len*cn);
cn               2406 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src += cn )
cn               2409 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2421 modules/core/src/stat.cpp normDiffInf_(const T* src1, const T* src2, const uchar* mask, ST* _result, int len, int cn)
cn               2426 modules/core/src/stat.cpp         result = std::max(result, normInf<T, ST>(src1, src2, len*cn));
cn               2430 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src1 += cn, src2 += cn )
cn               2433 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2442 modules/core/src/stat.cpp normDiffL1_(const T* src1, const T* src2, const uchar* mask, ST* _result, int len, int cn)
cn               2447 modules/core/src/stat.cpp         result += normL1<T, ST>(src1, src2, len*cn);
cn               2451 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src1 += cn, src2 += cn )
cn               2454 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2463 modules/core/src/stat.cpp normDiffL2_(const T* src1, const T* src2, const uchar* mask, ST* _result, int len, int cn)
cn               2468 modules/core/src/stat.cpp         result += normL2Sqr<T, ST>(src1, src2, len*cn);
cn               2472 modules/core/src/stat.cpp         for( int i = 0; i < len; i++, src1 += cn, src2 += cn )
cn               2475 modules/core/src/stat.cpp                 for( int k = 0; k < cn; k++ )
cn               2492 modules/core/src/stat.cpp     static int norm##L##_##suffix(const type* src, const uchar* mask, ntype* r, int len, int cn) \
cn               2493 modules/core/src/stat.cpp { return norm##L##_(src, mask, r, len, cn); } \
cn               2495 modules/core/src/stat.cpp     const uchar* mask, ntype* r, int len, int cn) \
cn               2496 modules/core/src/stat.cpp { return normDiff##L##_(src1, src2, mask, r, (int)len, cn); }
cn               2574 modules/core/src/stat.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2600 modules/core/src/stat.cpp             cn = 1;
cn               2603 modules/core/src/stat.cpp         for (int i = 0; i < cn; ++i)
cn               2631 modules/core/src/stat.cpp     int depth = src.depth(), cn = src.channels();
cn               2781 modules/core/src/stat.cpp                         for( int i = 1; i < cn; i++ )
cn               2801 modules/core/src/stat.cpp         size_t len = src.total()*cn;
cn               2899 modules/core/src/stat.cpp         intSumBlockSize = (normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15))/cn;
cn               2910 modules/core/src/stat.cpp             func( ptrs[0], ptrs[1], (uchar*)ibuf, bsz, cn );
cn               2951 modules/core/src/stat.cpp     int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2967 modules/core/src/stat.cpp         cn = 1;
cn               2971 modules/core/src/stat.cpp     for (int i = 0; i < cn; ++i)
cn               3118 modules/core/src/stat.cpp     int depth = src1.depth(), cn = src1.channels();
cn               3395 modules/core/src/stat.cpp             func( ptrs[0], ptrs[1], ptrs[2], (uchar*)ibuf, bsz, cn );
cn                481 modules/core/src/umatrix.cpp     int cn = channels();
cn                484 modules/core/src/umatrix.cpp     if( dims > 2 && new_rows == 0 && new_cn != 0 && size[dims-1]*cn % new_cn == 0 )
cn                488 modules/core/src/umatrix.cpp         hdr.size[dims-1] = hdr.size[dims-1]*cn / new_cn;
cn                495 modules/core/src/umatrix.cpp         new_cn = cn;
cn                497 modules/core/src/umatrix.cpp     int total_width = cols * cn;
cn                671 modules/core/src/umatrix.cpp     int cn = channels(), mtype = _mask.type(), mdepth = CV_MAT_DEPTH(mtype), mcn = CV_MAT_CN(mtype);
cn                672 modules/core/src/umatrix.cpp     CV_Assert( mdepth == CV_8U && (mcn == 1 || mcn == cn) );
cn                686 modules/core/src/umatrix.cpp                              ocl::memopTypeToStr(depth()), cn, mcn,
cn                713 modules/core/src/umatrix.cpp     int stype = type(), cn = CV_MAT_CN(stype);
cn                718 modules/core/src/umatrix.cpp         _type = CV_MAKETYPE(CV_MAT_DEPTH(_type), cn);
cn                729 modules/core/src/umatrix.cpp     if( dims <= 2 && cn && _dst.isUMat() && ocl::useOpenCL() &&
cn                749 modules/core/src/umatrix.cpp                     dstarg = ocl::KernelArg::WriteOnly(dst, cn);
cn                756 modules/core/src/umatrix.cpp             size_t globalsize[2] = { dst.cols * cn, (dst.rows + rowsPerWI - 1) / rowsPerWI };
cn                773 modules/core/src/umatrix.cpp     int tp = type(), cn = CV_MAT_CN(tp), d = CV_MAT_DEPTH(tp);
cn                775 modules/core/src/umatrix.cpp     if( dims <= 2 && cn <= 4 && CV_MAT_DEPTH(tp) < CV_64F && ocl::useOpenCL() )
cn                779 modules/core/src/umatrix.cpp         int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)),
cn                784 modules/core/src/umatrix.cpp         convertAndUnrollScalar(value, tp, (uchar *)buf, kercn / cn);
cn                808 modules/core/src/umatrix.cpp                 ocl::KernelArg dstarg = ocl::KernelArg::WriteOnly(*this, cn, kercn);
cn                812 modules/core/src/umatrix.cpp             size_t globalsize[] = { cols * cn / kercn, (rows + rowsPerWI - 1) / rowsPerWI };
cn                 57 modules/core/test/ocl/test_arithm.cpp     int cn;
cn                 68 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(2);
cn                 75 modules/core/test/ocl/test_arithm.cpp         const int src_type = CV_MAKE_TYPE(src_depth, cn);
cn                 76 modules/core/test/ocl/test_arithm.cpp         const int lut_type = CV_MAKE_TYPE(lut_depth, same_cn ? cn : 1);
cn                 77 modules/core/test/ocl/test_arithm.cpp         const int dst_type = CV_MAKE_TYPE(lut_depth, cn);
cn                119 modules/core/test/ocl/test_arithm.cpp     int cn;
cn                133 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(1);
cn                139 modules/core/test/ocl/test_arithm.cpp         const int type = CV_MAKE_TYPE(depth, cn);
cn                585 modules/core/test/ocl/test_arithm.cpp     const int type = CV_MAKE_TYPE(depth, cn);
cn                902 modules/core/test/ocl/test_arithm.cpp         const int type = CV_MAKE_TYPE(depth, cn);
cn                967 modules/core/test/ocl/test_arithm.cpp         for (int i = 0; i < cn; ++i)
cn                988 modules/core/test/ocl/test_arithm.cpp         for (int i = 0; i < cn; ++i)
cn               1008 modules/core/test/ocl/test_arithm.cpp         for (int i = 0; i < cn; ++i)
cn               1163 modules/core/test/ocl/test_arithm.cpp         if (cn > 1)
cn               1481 modules/core/test/ocl/test_arithm.cpp     int cn;
cn               1493 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(1);
cn               1500 modules/core/test/ocl/test_arithm.cpp         const int type = CV_MAKE_TYPE(depth, cn);
cn               1563 modules/core/test/ocl/test_arithm.cpp     int cn;
cn               1573 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(1);
cn               1579 modules/core/test/ocl/test_arithm.cpp         const int stype = CV_MAKE_TYPE(depth, cn);
cn               1580 modules/core/test/ocl/test_arithm.cpp         const int dtype = CV_MAKE_TYPE(CV_8U, cn);
cn               1638 modules/core/test/ocl/test_arithm.cpp     int cn;
cn               1646 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(0);
cn               1652 modules/core/test/ocl/test_arithm.cpp         const int type = CV_MAKE_TYPE(CV_32F, cn);
cn               1659 modules/core/test/ocl/test_arithm.cpp         roiSize.width *= cn;
cn               1714 modules/core/test/ocl/test_arithm.cpp     int sdepth, ddepth, cn, dim, dtype;
cn               1725 modules/core/test/ocl/test_arithm.cpp         cn = GET_PARAM(1);
cn               1732 modules/core/test/ocl/test_arithm.cpp         const int stype = CV_MAKE_TYPE(sdepth, cn);
cn               1733 modules/core/test/ocl/test_arithm.cpp         dtype = CV_MAKE_TYPE(ddepth, cn);
cn                150 modules/core/test/ocl/test_channels.cpp     int depth, cn;
cn                165 modules/core/test/ocl/test_channels.cpp         cn = GET_PARAM(1);
cn                168 modules/core/test/ocl/test_channels.cpp         CV_Assert(cn >= 1 && cn <= 4);
cn                175 modules/core/test/ocl/test_channels.cpp         randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 5, 16);
cn                199 modules/core/test/ocl/test_channels.cpp         if (cn >= 2)
cn                202 modules/core/test/ocl/test_channels.cpp         if (cn >= 3)
cn                205 modules/core/test/ocl/test_channels.cpp         if (cn >= 4)
cn                220 modules/core/test/ocl/test_channels.cpp         for (int i = 0; i < cn; ++i)
cn                257 modules/core/test/ocl/test_channels.cpp         int cn = randomInt(1, 5);
cn                258 modules/core/test/ocl/test_channels.cpp         return CV_MAKE_TYPE(depth, cn);
cn                371 modules/core/test/ocl/test_channels.cpp     int depth, cn, coi;
cn                380 modules/core/test/ocl/test_channels.cpp         cn = GET_PARAM(1);
cn                387 modules/core/test/ocl/test_channels.cpp         coi = randomInt(0, cn);
cn                393 modules/core/test/ocl/test_channels.cpp         randomSubMat(dst, dst_roi, roiSize, dstBorder, CV_MAKE_TYPE(depth, cn), 5, 16);
cn                417 modules/core/test/ocl/test_channels.cpp     int depth, cn, coi;
cn                426 modules/core/test/ocl/test_channels.cpp         cn = GET_PARAM(1);
cn                433 modules/core/test/ocl/test_channels.cpp         coi = randomInt(0, cn);
cn                436 modules/core/test/ocl/test_channels.cpp         randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 2, 11);
cn                 68 modules/core/test/ocl/test_dft.cpp     int	dft_flags, depth, cn, dft_type;
cn                 84 modules/core/test/ocl/test_dft.cpp         case R2R: dft_flags |= cv::DFT_REAL_OUTPUT; cn = 1; break;
cn                 85 modules/core/test/ocl/test_dft.cpp         case C2R: dft_flags |= cv::DFT_REAL_OUTPUT; cn = 2; break;
cn                 86 modules/core/test/ocl/test_dft.cpp         case R2C: dft_flags |= cv::DFT_COMPLEX_OUTPUT; cn = 1; break;
cn                 87 modules/core/test/ocl/test_dft.cpp         case C2C: dft_flags |= cv::DFT_COMPLEX_OUTPUT; cn = 2; break;
cn                102 modules/core/test/ocl/test_dft.cpp         src = randomMat(dft_size, CV_MAKE_TYPE(depth, cn), 0.0, 100.0);
cn                 59 modules/core/test/ocl/test_matrix_operation.cpp     int src_depth, cn, dstType;
cn                 68 modules/core/test/ocl/test_matrix_operation.cpp         cn = GET_PARAM(2);
cn                 69 modules/core/test/ocl/test_matrix_operation.cpp         dstType = CV_MAKE_TYPE(GET_PARAM(1), cn);
cn                 78 modules/core/test/ocl/test_matrix_operation.cpp         randomSubMat(src, src_roi, roiSize, srcBorder, CV_MAKE_TYPE(src_depth, cn), -MAX_VALUE, MAX_VALUE);
cn                108 modules/core/test/ocl/test_matrix_operation.cpp     int depth, cn;
cn                119 modules/core/test/ocl/test_matrix_operation.cpp         cn = GET_PARAM(1);
cn                126 modules/core/test/ocl/test_matrix_operation.cpp         const int type = CV_MAKE_TYPE(depth, cn);
cn                137 modules/core/test/ocl/test_matrix_operation.cpp                 mask_cn = cn;
cn                511 modules/core/test/test_arithm.cpp inRangeS_(const _Tp* src, const _WTp* a, const _WTp* b, uchar* dst, size_t total, int cn)
cn                517 modules/core/test/test_arithm.cpp         _Tp val = src[i*cn];
cn                520 modules/core/test/test_arithm.cpp     for( c = 1; c < cn; c++ )
cn                524 modules/core/test/test_arithm.cpp             _Tp val = src[i*cn + c];
cn                530 modules/core/test/test_arithm.cpp template<typename _Tp> static void inRange_(const _Tp* src, const _Tp* a, const _Tp* b, uchar* dst, size_t total, int cn)
cn                536 modules/core/test/test_arithm.cpp         _Tp val = src[i*cn];
cn                537 modules/core/test/test_arithm.cpp         dst[i] = a[i*cn] <= val && val <= b[i*cn] ? 255 : 0;
cn                539 modules/core/test/test_arithm.cpp     for( c = 1; c < cn; c++ )
cn                543 modules/core/test/test_arithm.cpp             _Tp val = src[i*cn + c];
cn                544 modules/core/test/test_arithm.cpp             dst[i] = a[i*cn + c] <= val && val <= b[i*cn + c] ? dst[i] : 0;
cn                561 modules/core/test/test_arithm.cpp     int depth = src.depth(), cn = src.channels();
cn                573 modules/core/test/test_arithm.cpp             inRange_((const uchar*)sptr, (const uchar*)aptr, (const uchar*)bptr, dptr, total, cn);
cn                576 modules/core/test/test_arithm.cpp             inRange_((const schar*)sptr, (const schar*)aptr, (const schar*)bptr, dptr, total, cn);
cn                579 modules/core/test/test_arithm.cpp             inRange_((const ushort*)sptr, (const ushort*)aptr, (const ushort*)bptr, dptr, total, cn);
cn                582 modules/core/test/test_arithm.cpp             inRange_((const short*)sptr, (const short*)aptr, (const short*)bptr, dptr, total, cn);
cn                585 modules/core/test/test_arithm.cpp             inRange_((const int*)sptr, (const int*)aptr, (const int*)bptr, dptr, total, cn);
cn                588 modules/core/test/test_arithm.cpp             inRange_((const float*)sptr, (const float*)aptr, (const float*)bptr, dptr, total, cn);
cn                591 modules/core/test/test_arithm.cpp             inRange_((const double*)sptr, (const double*)aptr, (const double*)bptr, dptr, total, cn);
cn                609 modules/core/test/test_arithm.cpp     int depth = src.depth(), cn = src.channels();
cn                611 modules/core/test/test_arithm.cpp     int wtype = CV_MAKETYPE(depth <= CV_32S ? CV_32S : depth, cn);
cn                612 modules/core/test/test_arithm.cpp     scalarToRawData(lb, lbuf.d, wtype, cn);
cn                613 modules/core/test/test_arithm.cpp     scalarToRawData(rb, rbuf.d, wtype, cn);
cn                623 modules/core/test/test_arithm.cpp             inRangeS_((const uchar*)sptr, lbuf.i, rbuf.i, dptr, total, cn);
cn                626 modules/core/test/test_arithm.cpp             inRangeS_((const schar*)sptr, lbuf.i, rbuf.i, dptr, total, cn);
cn                629 modules/core/test/test_arithm.cpp             inRangeS_((const ushort*)sptr, lbuf.i, rbuf.i, dptr, total, cn);
cn                632 modules/core/test/test_arithm.cpp             inRangeS_((const short*)sptr, lbuf.i, rbuf.i, dptr, total, cn);
cn                635 modules/core/test/test_arithm.cpp             inRangeS_((const int*)sptr, lbuf.i, rbuf.i, dptr, total, cn);
cn                638 modules/core/test/test_arithm.cpp             inRangeS_((const float*)sptr, lbuf.f, rbuf.f, dptr, total, cn);
cn                641 modules/core/test/test_arithm.cpp             inRangeS_((const double*)sptr, lbuf.d, rbuf.d, dptr, total, cn);
cn               1188 modules/core/test/test_arithm.cpp     int cn;
cn               1192 modules/core/test/test_arithm.cpp         cn = 0;
cn               1209 modules/core/test/test_arithm.cpp         cn = temp.channels();
cn               1220 modules/core/test/test_arithm.cpp         CV_Assert(cn > 0);
cn               1222 modules/core/test/test_arithm.cpp         for(int i = 1; i < cn; ++i)
cn               1446 modules/core/test/test_arithm.cpp                 int cn = rng.uniform(1, 6);
cn               1447 modules/core/test/test_arithm.cpp                 int type = CV_MAKETYPE(depth, cn);
cn                107 modules/core/test/test_dxt.cpp     const int cn = 2;
cn                116 modules/core/test/test_dxt.cpp         Mat srci = src.row(i).reshape(cn, src.cols), dsti = tmp.col(i);
cn                128 modules/core/test/test_dxt.cpp             Mat srci = tmp.row(i).reshape(cn, tmp.cols), dsti = dst.col(i);
cn                214 modules/core/test/test_dxt.cpp     const int cn = 1;
cn                223 modules/core/test/test_dxt.cpp         Mat srci = src.row(i).reshape(cn, src.cols);
cn                236 modules/core/test/test_dxt.cpp             Mat srci = tmp.row(i).reshape(cn, tmp.cols);
cn                278 modules/core/test/test_dxt.cpp         int cn = _src0.channels();
cn                279 modules/core/test/test_dxt.cpp         int srcstep = cn, dststep = 1;
cn                299 modules/core/test/test_dxt.cpp                 dst[n2*dststep].re = src0[(cn == 1 ? n-1 : n2)*srcstep];
cn                304 modules/core/test/test_dxt.cpp             delta1 = delta0 + (cn == 1 ? srcstep : 1);
cn                305 modules/core/test/test_dxt.cpp             if( cn == 1 )
cn                335 modules/core/test/test_dxt.cpp                 dst[n2*dststep].re = src0[(cn == 1 ? n-1 : n2)*srcstep];
cn                340 modules/core/test/test_dxt.cpp             delta1 = delta0 + (cn == 1 ? srcstep : 1);
cn                341 modules/core/test/test_dxt.cpp             if( cn == 1 )
cn                540 modules/core/test/test_dxt.cpp     int cn = !allow_complex || !(bits & 256) ? 1 : 2;
cn                548 modules/core/test/test_dxt.cpp     types[OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                585 modules/core/test/test_dxt.cpp         if( cn == 1 )
cn                593 modules/core/test/test_dxt.cpp     else if( /*(cn == 2 && (bits&32)) ||*/ (cn == 1 && allow_complex) )
cn                601 modules/core/test/test_dxt.cpp             if( cn == 2 )
cn                614 modules/core/test/test_dxt.cpp             if( cn == 2 )
cn                813 modules/core/test/test_dxt.cpp     int cn = src1->channels();
cn                815 modules/core/test/test_dxt.cpp     if( cn == 1 )
cn                824 modules/core/test/test_dxt.cpp     if( cn == 1 )
cn                115 modules/core/test/test_io.cpp             int cn = cvtest::randInt(rng) % 4 + 1;
cn                116 modules/core/test/test_io.cpp             Mat test_mat(cvtest::randInt(rng)%30+1, cvtest::randInt(rng)%30+1, CV_MAKETYPE(depth, cn));
cn                146 modules/core/test/test_io.cpp             cn = cvtest::randInt(rng) % 4 + 1;
cn                152 modules/core/test/test_io.cpp             MatND test_mat_nd(3, sz, CV_MAKETYPE(depth, cn));
cn                 17 modules/core/test/test_ippasync.cpp     int cn;
cn                 31 modules/core/test/test_ippasync.cpp         cn = GET_PARAM(1);
cn                 72 modules/core/test/test_ippasync.cpp         result = hpp::getMat(virtMatrix[1], accel, cn);
cn                 88 modules/core/test/test_ippasync.cpp     int cn;
cn                100 modules/core/test/test_ippasync.cpp         cn = GET_PARAM(0);
cn                111 modules/core/test/test_ippasync.cpp         sts = hppQueryMatrixAllocParams(accel, (hpp32u)(matrix_Size.width*cn), (hpp32u)matrix_Size.height, HPP_DATA_TYPE_8U, &pitch, &size);
cn                118 modules/core/test/test_ippasync.cpp                 for(int i=0; i<matrix_Size.width*cn; i++)
cn                156 modules/core/test/test_ippasync.cpp         result = hpp::getMat(virtMatrix[1], accel, cn);
cn               1184 modules/core/test/test_mat.cpp     int cn = 0;
cn               1187 modules/core/test/test_mat.cpp         cn = M.channels();
cn               1189 modules/core/test/test_mat.cpp     ASSERT_EQ(1, cn);
cn                 57 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % 4 + 1, type = CV_MAKETYPE(depth, cn);
cn                102 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % 4 + 1;
cn                119 modules/core/test/test_math.cpp         int type = CV_MAKETYPE(depth, cn);
cn                397 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) % max_cn + 1;
cn                411 modules/core/test/test_math.cpp         int type = !flag ? CV_MAKETYPE(depth, cn) : CV_64FC1;
cn                522 modules/core/test/test_math.cpp     int cn = cvtest::randInt(rng) & 1 ? 3 : 1, type = CV_MAKETYPE(depth, cn);
cn                527 modules/core/test/test_math.cpp     if( cn == 3 )
cn                930 modules/core/test/test_math.cpp     int depth, cn, mattype;
cn                933 modules/core/test/test_math.cpp     cn = CV_MAT_CN(types[INPUT][0]) + 1;
cn                935 modules/core/test/test_math.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                939 modules/core/test/test_math.cpp     sizes[INPUT][1] = Size(cn + 1, cn + 1);
cn                961 modules/core/test/test_math.cpp     int cn, depth, mat_depth;
cn                968 modules/core/test/test_math.cpp     cn = CV_MAT_CN(a->type);
cn                989 modules/core/test/test_math.cpp     cols = a->cols * cn;
cn               1011 modules/core/test/test_math.cpp         switch( cn )
cn                107 modules/core/test/test_rand.cpp         int c, cn = (cvtest::randInt(rng) % 4) + 1;
cn                108 modules/core/test/test_rand.cpp         int type = CV_MAKETYPE(depth, cn);
cn                110 modules/core/test/test_rand.cpp         int i, k, SZ = N/cn;
cn                125 modules/core/test/test_rand.cpp         for( c = 0; c < cn; c++ )
cn                184 modules/core/test/test_rand.cpp         for( c = 0; c < cn; c++ )
cn                196 modules/core/test/test_rand.cpp             for( i = c; i < SZ*cn; i += cn )
cn                228 modules/core/test/test_rand.cpp                            A[c], B[c], c, cn);
cn                235 modules/core/test/test_rand.cpp                            A[c], B[c], A[c], B[c], c, cn);
cn                245 modules/core/test/test_rand.cpp                            realval, refval, c, cn);
cn                256 modules/core/test/test_rand.cpp             int N0 = (SZ*cn/SDIM), n = 0;
cn                260 modules/core/test/test_rand.cpp             for( c = 0; c < cn; c++ )
cn                266 modules/core/test/test_rand.cpp             for( i = k = c = 0; i <= SZ*cn - SDIM; i++, k++, c++ )
cn                274 modules/core/test/test_rand.cpp                 c &= c < cn ? -1 : 0;
cn                 63 modules/core/test/test_umat.cpp     int cn;
cn                 72 modules/core/test/test_umat.cpp         cn = GET_PARAM(1);
cn                 75 modules/core/test/test_umat.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                146 modules/core/test/test_umat.cpp     ASSERT_EQ(ua.channels(), cn);
cn                273 modules/core/test/test_umat.cpp     int cn;
cn                280 modules/core/test/test_umat.cpp         cn = GET_PARAM(1);
cn                283 modules/core/test/test_umat.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                361 modules/core/test/test_umat.cpp     int cn;
cn                367 modules/core/test/test_umat.cpp         cn = GET_PARAM(1);
cn                369 modules/core/test/test_umat.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                436 modules/core/test/test_umat.cpp     int cn;
cn                443 modules/core/test/test_umat.cpp         cn = GET_PARAM(1);
cn                446 modules/core/test/test_umat.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                485 modules/core/test/test_umat.cpp     int cn;
cn                492 modules/core/test/test_umat.cpp         cn = GET_PARAM(1);
cn                495 modules/core/test/test_umat.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                132 modules/cudaarithm/src/element_operations.cpp         const int cn = src1.empty() ? src2.channels() : src1.channels();
cn                142 modules/cudaarithm/src/element_operations.cpp         CV_Assert( mask.empty() || (cn == 1 && mask.size() == size && mask.type() == CV_8UC1) );
cn                150 modules/cudaarithm/src/element_operations.cpp         GpuMat dst = getOutputMat(_dst, size, CV_MAKE_TYPE(ddepth, cn), stream);
cn                334 modules/cudaarithm/src/element_operations.cpp     template <int DEPTH, int cn> struct NppShiftFunc
cn                347 modules/cudaarithm/src/element_operations.cpp     template <int DEPTH, int cn, typename NppShiftFunc<DEPTH, cn>::func_t func> struct NppShift
cn               1904 modules/cudaarithm/test/test_element_operations.cpp         const int cn = src.channels();
cn               1906 modules/cudaarithm/test/test_element_operations.cpp         dst.create(src.size(), CV_MAKE_TYPE(CV_8U, cn));
cn               1912 modules/cudaarithm/test/test_element_operations.cpp                 for (int c = 0; c < cn; ++c)
cn               1914 modules/cudaarithm/test/test_element_operations.cpp                     T src_val = src.at<T>(y, x * cn + c);
cn               1916 modules/cudaarithm/test/test_element_operations.cpp                     dst.at<uchar>(y, x * cn + c) = static_cast<uchar>(static_cast<int>(op(src_val, sc_val)) * 255);
cn               2149 modules/cudaarithm/test/test_element_operations.cpp         const int cn = src.channels();
cn               2157 modules/cudaarithm/test/test_element_operations.cpp                 for (int c = 0; c < cn; ++c)
cn               2158 modules/cudaarithm/test/test_element_operations.cpp                     dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) >> val.val[c];
cn               2229 modules/cudaarithm/test/test_element_operations.cpp         const int cn = src.channels();
cn               2237 modules/cudaarithm/test/test_element_operations.cpp                 for (int c = 0; c < cn; ++c)
cn               2238 modules/cudaarithm/test/test_element_operations.cpp                     dst.at<T>(y, x * cn + c) = src.at<T>(y, x * cn + c) << val.val[c];
cn                295 modules/cudaarithm/test/test_opengl.cpp     int cn;
cn                304 modules/cudaarithm/test/test_opengl.cpp         cn = CV_MAT_CN(type);
cn                305 modules/cudaarithm/test/test_opengl.cpp         format = cn == 1 ? cv::ogl::Texture2D::DEPTH_COMPONENT : cn == 3 ? cv::ogl::Texture2D::RGB : cn == 4 ? cv::ogl::Texture2D::RGBA : cv::ogl::Texture2D::NONE;
cn                184 modules/cudaarithm/test/test_reductions.cpp         const int cn = src.channels();
cn                192 modules/cudaarithm/test/test_reductions.cpp                 for (int c = 0; c < cn; ++c)
cn                193 modules/cudaarithm/test/test_reductions.cpp                     sum[c] += std::abs(src.at<T>(y, x * cn + c));
cn                221 modules/cudaarithm/test/test_reductions.cpp         const int cn = src.channels();
cn                229 modules/cudaarithm/test/test_reductions.cpp                 for (int c = 0; c < cn; ++c)
cn                231 modules/cudaarithm/test/test_reductions.cpp                     const T val = src.at<T>(y, x * cn + c);
cn                 77 modules/cudabgsegm/perf/perf_bgsegm.cpp     const int cn = GET_PARAM(1);
cn                 88 modules/cudabgsegm/perf/perf_bgsegm.cpp     if (cn != 3)
cn                 91 modules/cudabgsegm/perf/perf_bgsegm.cpp         if (cn == 1)
cn                115 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                118 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                142 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                145 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                181 modules/cudabgsegm/perf/perf_bgsegm.cpp     const int cn = GET_PARAM(1);
cn                191 modules/cudabgsegm/perf/perf_bgsegm.cpp     if (cn != 3)
cn                194 modules/cudabgsegm/perf/perf_bgsegm.cpp         if (cn == 1)
cn                219 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                222 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                246 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                249 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                280 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                283 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                305 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                308 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                334 modules/cudabgsegm/perf/perf_bgsegm.cpp     const int cn = GET_PARAM(1);
cn                353 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                356 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                384 modules/cudabgsegm/perf/perf_bgsegm.cpp             if (cn != 3)
cn                387 modules/cudabgsegm/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                 58 modules/cudabgsegm/src/mog.cpp         void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var,
cn                 61 modules/cudabgsegm/src/mog.cpp         void getBackgroundImage_gpu(int cn, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, int nmixtures, float backgroundRatio, cudaStream_t stream);
cn                 59 modules/cudabgsegm/src/mog2.cpp         void mog2_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, float alphaT, float prune, bool detectShadows, cudaStream_t stream);
cn                 60 modules/cudabgsegm/src/mog2.cpp         void getBackgroundImage2_gpu(int cn, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, cudaStream_t stream);
cn                 72 modules/cudafilters/src/cuda/column_filter.hpp         typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type sum_t;
cn                 72 modules/cudafilters/src/cuda/row_filter.hpp         typedef typename TypeVec<float, VecTraits<T>::cn>::vec_type sum_t;
cn                366 modules/cudafilters/src/filtering.cpp         const int cn = CV_MAT_CN(srcType);
cn                372 modules/cudafilters/src/filtering.cpp         CV_Assert( sdepth <= CV_64F && cn <= 4 );
cn                392 modules/cudafilters/src/filtering.cpp         bufType_ = CV_MAKE_TYPE(CV_32F, cn);
cn                394 modules/cudafilters/src/filtering.cpp         rowFilter_ = rowFilterFuncs[sdepth][cn - 1];
cn                397 modules/cudafilters/src/filtering.cpp         columnFilter_ = columnFilterFuncs[ddepth][cn - 1];
cn                226 modules/cudafilters/test/test_filters.cpp     int cn;
cn                239 modules/cudafilters/test/test_filters.cpp         cn = GET_PARAM(3);
cn                247 modules/cudafilters/test/test_filters.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                295 modules/cudafilters/test/test_filters.cpp     int cn;
cn                309 modules/cudafilters/test/test_filters.cpp         cn = GET_PARAM(3);
cn                318 modules/cudafilters/test/test_filters.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                362 modules/cudafilters/test/test_filters.cpp     int cn;
cn                375 modules/cudafilters/test/test_filters.cpp         cn = GET_PARAM(3);
cn                383 modules/cudafilters/test/test_filters.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                426 modules/cudafilters/test/test_filters.cpp     int cn;
cn                438 modules/cudafilters/test/test_filters.cpp         cn = GET_PARAM(3);
cn                445 modules/cudafilters/test/test_filters.cpp         type = CV_MAKE_TYPE(depth, cn);
cn                 66 modules/cudaimgproc/perf/perf_match_template.cpp     const int cn = GET_PARAM(2);
cn                 69 modules/cudaimgproc/perf/perf_match_template.cpp     cv::Mat image(size, CV_MAKE_TYPE(CV_8U, cn));
cn                 70 modules/cudaimgproc/perf/perf_match_template.cpp     cv::Mat templ(templ_size, CV_MAKE_TYPE(CV_8U, cn));
cn                108 modules/cudaimgproc/perf/perf_match_template.cpp     const int cn = GET_PARAM(2);
cn                111 modules/cudaimgproc/perf/perf_match_template.cpp     cv::Mat image(size, CV_MAKE_TYPE(CV_32F, cn));
cn                112 modules/cudaimgproc/perf/perf_match_template.cpp     cv::Mat templ(templ_size, CV_MAKE_TYPE(CV_32F, cn));
cn                 62 modules/cudaimgproc/src/blend.cpp         void blendLinearCaller(int rows, int cols, int cn, PtrStep<T> img1, PtrStep<T> img2, PtrStepf weights1, PtrStepf weights2, PtrStep<T> result, cudaStream_t stream);
cn                 88 modules/cudaimgproc/src/blend.cpp     const int cn = img1.channels();
cn                 90 modules/cudaimgproc/src/blend.cpp     _result.create(size, CV_MAKE_TYPE(depth, cn));
cn                 96 modules/cudaimgproc/src/blend.cpp         if (cn != 4)
cn                 97 modules/cudaimgproc/src/blend.cpp             blendLinearCaller<uchar>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream));
cn                102 modules/cudaimgproc/src/blend.cpp         blendLinearCaller<float>(size.height, size.width, cn, img1, img2, weights1, weights2, result, StreamAccessor::getStream(stream));
cn                 68 modules/cudaimgproc/src/color.cpp         template <int cn>
cn                 70 modules/cudaimgproc/src/color.cpp         template <int cn>
cn                 73 modules/cudaimgproc/src/color.cpp         template <int cn>
cn                 89 modules/cudaimgproc/src/corners.cpp         const int cn = CV_MAT_CN(srcType_);
cn                 91 modules/cudaimgproc/src/corners.cpp         CV_Assert( cn == 1 );
cn                 58 modules/cudaimgproc/src/match_template.cpp         void matchTemplateNaive_CCORR_8U(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf result, int cn, cudaStream_t stream);
cn                 59 modules/cudaimgproc/src/match_template.cpp         void matchTemplateNaive_CCORR_32F(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf result, int cn, cudaStream_t stream);
cn                 61 modules/cudaimgproc/src/match_template.cpp         void matchTemplateNaive_SQDIFF_8U(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf result, int cn, cudaStream_t stream);
cn                 62 modules/cudaimgproc/src/match_template.cpp         void matchTemplateNaive_SQDIFF_32F(const PtrStepSzb image, const PtrStepSzb templ, PtrStepSzf result, int cn, cudaStream_t stream);
cn                 65 modules/cudaimgproc/src/match_template.cpp             int cn, cudaStream_t stream);
cn                 68 modules/cudaimgproc/src/match_template.cpp             int cn, cudaStream_t stream);
cn                134 modules/cudaimgproc/src/match_template.cpp                           double templ_sqsum, PtrStepSzf result, int cn, cudaStream_t stream);
cn                136 modules/cudaimgproc/src/match_template.cpp         void extractFirstChannel_32F(const PtrStepSzb image, PtrStepSzf result, int cn, cudaStream_t stream);
cn                 59 modules/cudaimgproc/test/test_blend.cpp         int cn = img1.channels();
cn                 69 modules/cudaimgproc/test/test_blend.cpp             for (int x = 0; x < img1.cols * cn; ++x)
cn                 71 modules/cudaimgproc/test/test_blend.cpp                 float w1 = weights1_row[x / cn];
cn                 72 modules/cudaimgproc/test/test_blend.cpp                 float w2 = weights2_row[x / cn];
cn                 65 modules/cudaimgproc/test/test_match_template.cpp     int cn;
cn                 73 modules/cudaimgproc/test/test_match_template.cpp         cn = GET_PARAM(3);
cn                 82 modules/cudaimgproc/test/test_match_template.cpp     cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn));
cn                 83 modules/cudaimgproc/test/test_match_template.cpp     cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_8U, cn));
cn                122 modules/cudaimgproc/test/test_match_template.cpp     int cn;
cn                132 modules/cudaimgproc/test/test_match_template.cpp         cn = GET_PARAM(3);
cn                141 modules/cudaimgproc/test/test_match_template.cpp     cv::Mat image = randomMat(size, CV_MAKETYPE(CV_32F, cn));
cn                142 modules/cudaimgproc/test/test_match_template.cpp     cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_32F, cn));
cn                 57 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp         CV_EXPORTS void downsampleX2(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream);
cn                 58 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp         CV_EXPORTS void interpolateFrom1(PtrStepSzb src, PtrStepSzb dst, int depth, int cn, cudaStream_t stream);
cn                151 modules/cudalegacy/perf/perf_bgsegm.cpp     const int cn = GET_PARAM(1);
cn                161 modules/cudalegacy/perf/perf_bgsegm.cpp     if (cn != 3)
cn                164 modules/cudalegacy/perf/perf_bgsegm.cpp         if (cn == 1)
cn                194 modules/cudalegacy/perf/perf_bgsegm.cpp             if (cn != 3)
cn                197 modules/cudalegacy/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                226 modules/cudalegacy/perf/perf_bgsegm.cpp             if (cn != 3)
cn                229 modules/cudalegacy/perf/perf_bgsegm.cpp                 if (cn == 1)
cn                158 modules/cudaoptflow/src/pyrlk.cpp         int cn = prevImg.channels();
cn                160 modules/cudaoptflow/src/pyrlk.cpp         if (cn == 1 || cn == 4)
cn                186 modules/cudaoptflow/src/pyrlk.cpp             if (cn == 1)
cn                 56 modules/cudawarping/test/test_remap.cpp         const int cn = src.channels();
cn                 66 modules/cudawarping/test/test_remap.cpp                 for (int c = 0; c < cn; ++c)
cn                 67 modules/cudawarping/test/test_remap.cpp                     dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ymap.at<float>(y, x), xmap.at<float>(y, x), c, borderType, borderVal);
cn                 57 modules/cudawarping/test/test_resize.cpp         const int cn = src.channels();
cn                 70 modules/cudawarping/test/test_resize.cpp                 for (int c = 0; c < cn; ++c)
cn                 71 modules/cudawarping/test/test_resize.cpp                     dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, y * ify, x * ifx, c, cv::BORDER_REPLICATE);
cn                116 modules/cudawarping/test/test_warp_affine.cpp         const int cn = src.channels();
cn                127 modules/cudawarping/test/test_warp_affine.cpp                 for (int c = 0; c < cn; ++c)
cn                128 modules/cudawarping/test/test_warp_affine.cpp                     dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal);
cn                117 modules/cudawarping/test/test_warp_perspective.cpp         const int cn = src.channels();
cn                130 modules/cudawarping/test/test_warp_perspective.cpp                 for (int c = 0; c < cn; ++c)
cn                131 modules/cudawarping/test/test_warp_perspective.cpp                     dst.at<T>(y, x * cn + c) = Interpolator<T>::getValue(src, ycoo, xcoo, c, borderType, borderVal);
cn                132 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct equal_to : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                134 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                142 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct not_equal_to : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                144 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                152 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct greater : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                154 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                162 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct less : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                164 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                172 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct greater_equal : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                174 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                182 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct less_equal : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                184 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                194 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct logical_and : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                196 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                204 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct logical_or : binary_function<T, T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                206 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                214 modules/cudev/include/opencv2/cudev/functional/functional.hpp template <typename T> struct logical_not : unary_function<T, typename MakeVec<uchar, VecTraits<T>::cn>::type>
cn                216 modules/cudev/include/opencv2/cudev/functional/functional.hpp     __device__ __forceinline__ typename MakeVec<uchar, VecTraits<T>::cn>::type
cn                451 modules/cudev/include/opencv2/cudev/functional/functional.hpp             VecTraits<T>::cn
cn                 66 modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                 66 modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                 66 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp     template <int cn> struct Unroll;
cn                159 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp     template <typename R, int cn> struct AtomicUnroll;
cn                262 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp         enum { cn = VecTraits<src_type>::cn };
cn                279 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp             __shared__ work_elem_type smem[BLOCK_SIZE * cn];
cn                281 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp             blockReduce<BLOCK_SIZE>(Unroll<cn>::template smem<BLOCK_SIZE>(smem), Unroll<cn>::res(sum), tid, Unroll<cn>::op(plus<work_elem_type>()));
cn                284 modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp                 AtomicUnroll<work_elem_type, cn>::add(result, sum);
cn                 57 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp     template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor, int cn> struct Reduce;
cn                100 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp         const int cn = VecTraits<work_type>::cn;
cn                102 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp         __shared__ work_elem_type smem[cn][BLOCK_SIZE];
cn                118 modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp         Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, cn>::call(smem, myVal);
cn                155 modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp     template <int cn, class Policy> struct MergeImpl;
cn                 62 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp     template <int cn> struct OpUnroller;
cn                362 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp         TransformDispatcher<VecTraits<SrcType>::cn == 1 && VecTraits<DstType>::cn == 1 && Policy::shift != 1, Policy>::call(src, dst, op, mask, rows, cols, stream);
cn                368 modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp         TransformDispatcher<VecTraits<SrcType1>::cn == 1 && VecTraits<SrcType2>::cn == 1 && VecTraits<DstType>::cn == 1 && Policy::shift != 1, Policy>::call(src1, src2, dst, op, mask, rows, cols, stream);
cn                 68 modules/cudev/include/opencv2/cudev/grid/reduce.hpp     CV_StaticAssert( unsigned(VecTraits<src_type>::cn) == unsigned(VecTraits<ResType>::cn), "" );
cn                 90 modules/cudev/include/opencv2/cudev/grid/reduce.hpp     CV_StaticAssert( unsigned(VecTraits<src_type>::cn) == unsigned(VecTraits<ResType>::cn), "" );
cn                 66 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" );
cn                 75 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src),
cn                 85 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" );
cn                 93 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src),
cn                103 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" );
cn                110 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src),
cn                120 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" );
cn                127 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src),
cn                137 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                157 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                177 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                196 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                214 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                232 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
cn                250 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                271 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                292 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                312 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                331 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                350 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
cn                369 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                391 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                413 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                434 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                454 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                474 modules/cudev/include/opencv2/cudev/grid/split_merge.hpp     CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 4, "" );
cn                148 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp template <int cn, typename T>
cn                149 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type>
cn                152 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp     GpuMat_<typename MakeVec<typename VecTraits<T>::elem_type, cn>::type> dst(mat.reshape(cn, rows));
cn                109 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                184 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                247 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                307 modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp         typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
cn                158 modules/cudev/include/opencv2/cudev/util/type_traits.hpp         unsigned(VecTraits<A>::cn) != unsigned(VecTraits<B>::cn),
cn                165 modules/cudev/include/opencv2/cudev/util/type_traits.hpp             VecTraits<A>::cn
cn                 61 modules/cudev/include/opencv2/cudev/util/vec_math.hpp     template <int cn, typename VecD> struct SatCastHelper;
cn                100 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uchar1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                101 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const char1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                102 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const ushort1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                103 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const short1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                104 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uint1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                105 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const int1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                106 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const float1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                107 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const double1& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                109 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uchar2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                110 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const char2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                111 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const ushort2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                112 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const short2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                113 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uint2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                114 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const int2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                115 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const float2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                116 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const double2& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                118 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uchar3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                119 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const char3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                120 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const ushort3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                121 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const short3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                122 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uint3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                123 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const int3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                124 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const float3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                125 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const double3& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                127 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uchar4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                128 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const char4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                129 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const ushort4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                130 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const short4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                131 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const uint4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                132 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const int4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                133 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const float4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                134 modules/cudev/include/opencv2/cudev/util/vec_math.hpp template<typename T> __device__ __forceinline__ T saturate_cast(const double4& v) { return vec_math_detail::SatCastHelper<VecTraits<T>::cn, T>::cast(v); }
cn                 63 modules/imgproc/perf/opencl/perf_accumulate.cpp     const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn);
cn                 84 modules/imgproc/perf/opencl/perf_accumulate.cpp     const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn);
cn                105 modules/imgproc/perf/opencl/perf_accumulate.cpp     const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn);
cn                126 modules/imgproc/perf/opencl/perf_accumulate.cpp     const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn);
cn                 91 modules/imgproc/src/accum.cpp     int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const
cn                 97 modules/imgproc/src/accum.cpp             len *= cn;
cn                109 modules/imgproc/src/accum.cpp         else if (cn == 1)
cn                132 modules/imgproc/src/accum.cpp     int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const
cn                138 modules/imgproc/src/accum.cpp             len *= cn;
cn                156 modules/imgproc/src/accum.cpp     int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const
cn                162 modules/imgproc/src/accum.cpp             len *= cn;
cn                177 modules/imgproc/src/accum.cpp     int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn) const
cn                183 modules/imgproc/src/accum.cpp             len *= cn;
cn                196 modules/imgproc/src/accum.cpp         else if (cn == 1)
cn                220 modules/imgproc/src/accum.cpp     int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn) const
cn                226 modules/imgproc/src/accum.cpp             len *= cn;
cn                237 modules/imgproc/src/accum.cpp         else if (cn == 1)
cn                263 modules/imgproc/src/accum.cpp     int operator() (const float * src, float * dst, const uchar * mask, int len, int cn) const
cn                269 modules/imgproc/src/accum.cpp             len *= cn;
cn                287 modules/imgproc/src/accum.cpp     int operator() (const uchar * src1, const uchar * src2, float * dst, const uchar * mask, int len, int cn) const
cn                293 modules/imgproc/src/accum.cpp             len *= cn;
cn                306 modules/imgproc/src/accum.cpp         else if (cn == 1)
cn                331 modules/imgproc/src/accum.cpp     int operator() (const ushort * src1, const ushort * src2, float * dst, const uchar * mask, int len, int cn) const
cn                337 modules/imgproc/src/accum.cpp             len *= cn;
cn                348 modules/imgproc/src/accum.cpp         else if (cn == 1)
cn                375 modules/imgproc/src/accum.cpp     int operator() (const float * src1, const float * src2, float * dst, const uchar * mask, int len, int cn) const
cn                381 modules/imgproc/src/accum.cpp             len *= cn;
cn                396 modules/imgproc/src/accum.cpp     int operator() (const uchar * src, float * dst, const uchar * mask, int len, int cn, float alpha) const
cn                403 modules/imgproc/src/accum.cpp             len *= cn;
cn                427 modules/imgproc/src/accum.cpp     int operator() (const ushort * src, float * dst, const uchar * mask, int len, int cn, float alpha) const
cn                434 modules/imgproc/src/accum.cpp             len *= cn;
cn                452 modules/imgproc/src/accum.cpp     int operator() (const float * src, float * dst, const uchar * mask, int len, int cn, float alpha) const
cn                459 modules/imgproc/src/accum.cpp             len *= cn;
cn                474 modules/imgproc/src/accum.cpp acc_( const T* src, AT* dst, const uchar* mask, int len, int cn )
cn                476 modules/imgproc/src/accum.cpp     int i = Acc_SIMD<T, AT>()(src, dst, mask, len, cn);
cn                480 modules/imgproc/src/accum.cpp         len *= cn;
cn                497 modules/imgproc/src/accum.cpp     else if( cn == 1 )
cn                505 modules/imgproc/src/accum.cpp     else if( cn == 3 )
cn                521 modules/imgproc/src/accum.cpp         for( ; i < len; i++, src += cn, dst += cn )
cn                524 modules/imgproc/src/accum.cpp                 for( int k = 0; k < cn; k++ )
cn                532 modules/imgproc/src/accum.cpp accSqr_( const T* src, AT* dst, const uchar* mask, int len, int cn )
cn                534 modules/imgproc/src/accum.cpp     int i = AccSqr_SIMD<T, AT>()(src, dst, mask, len, cn);
cn                538 modules/imgproc/src/accum.cpp         len *= cn;
cn                555 modules/imgproc/src/accum.cpp     else if( cn == 1 )
cn                563 modules/imgproc/src/accum.cpp     else if( cn == 3 )
cn                579 modules/imgproc/src/accum.cpp         for( ; i < len; i++, src += cn, dst += cn )
cn                582 modules/imgproc/src/accum.cpp                 for( int k = 0; k < cn; k++ )
cn                590 modules/imgproc/src/accum.cpp accProd_( const T* src1, const T* src2, AT* dst, const uchar* mask, int len, int cn )
cn                592 modules/imgproc/src/accum.cpp     int i = AccProd_SIMD<T, AT>()(src1, src2, dst, mask, len, cn);
cn                596 modules/imgproc/src/accum.cpp         len *= cn;
cn                613 modules/imgproc/src/accum.cpp     else if( cn == 1 )
cn                621 modules/imgproc/src/accum.cpp     else if( cn == 3 )
cn                637 modules/imgproc/src/accum.cpp         for( ; i < len; i++, src1 += cn, src2 += cn, dst += cn )
cn                640 modules/imgproc/src/accum.cpp                 for( int k = 0; k < cn; k++ )
cn                648 modules/imgproc/src/accum.cpp accW_( const T* src, AT* dst, const uchar* mask, int len, int cn, double alpha )
cn                651 modules/imgproc/src/accum.cpp     int i = AccW_SIMD<T, AT>()(src, dst, mask, len, cn, a);
cn                655 modules/imgproc/src/accum.cpp         len *= cn;
cn                672 modules/imgproc/src/accum.cpp     else if( cn == 1 )
cn                680 modules/imgproc/src/accum.cpp     else if( cn == 3 )
cn                696 modules/imgproc/src/accum.cpp         for( ; i < len; i++, src += cn, dst += cn )
cn                699 modules/imgproc/src/accum.cpp                 for( int k = 0; k < cn; k++ )
cn                708 modules/imgproc/src/accum.cpp                          const uchar* mask, int len, int cn) \
cn                709 modules/imgproc/src/accum.cpp { acc_(src, dst, mask, len, cn); } \
cn                712 modules/imgproc/src/accum.cpp                             const uchar* mask, int len, int cn) \
cn                713 modules/imgproc/src/accum.cpp { accSqr_(src, dst, mask, len, cn); } \
cn                716 modules/imgproc/src/accum.cpp                              acctype* dst, const uchar* mask, int len, int cn) \
cn                717 modules/imgproc/src/accum.cpp { accProd_(src1, src2, dst, mask, len, cn); } \
cn                720 modules/imgproc/src/accum.cpp                           const uchar* mask, int len, int cn, double alpha) \
cn                721 modules/imgproc/src/accum.cpp { accW_(src, dst, mask, len, cn, alpha); }
cn                798 modules/imgproc/src/accum.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), ddepth = _dst.depth();
cn                799 modules/imgproc/src/accum.cpp     int kercn = haveMask ? cn : ocl::predictOptimalVectorWidthMax(_src, _src2, _dst), rowsPerWI = dev.isIntel() ? 4 : 1;
cn                821 modules/imgproc/src/accum.cpp             dstarg = ocl::KernelArg::ReadWrite(dst, cn, kercn),
cn                838 modules/imgproc/src/accum.cpp     size_t globalsize[2] = { src.cols * cn / kercn, (src.rows + rowsPerWI - 1) / rowsPerWI };
cn                 64 modules/imgproc/src/blend.cpp         int cn = src1->channels(), width = src1->cols * cn;
cn                 76 modules/imgproc/src/blend.cpp                 int x1 = x / cn;
cn                 98 modules/imgproc/src/blend.cpp     int type = _src1.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                103 modules/imgproc/src/blend.cpp                          cn, ocl::convertTypeStr(CV_32F, depth, 1, cvt)));
cn                 99 modules/imgproc/src/canny.cpp                       int aperture_size, bool L2gradient, int cn, const Size & size)
cn                143 modules/imgproc/src/canny.cpp                                       cn, ocl::memopTypeToStr(_src.depth()),
cn                144 modules/imgproc/src/canny.cpp                                       ocl::convertTypeStr(_src.depth(), CV_32F, cn, cvt),
cn                145 modules/imgproc/src/canny.cpp                                       ocl::typeToStr(CV_MAKE_TYPE(CV_32F, cn)),
cn                177 modules/imgproc/src/canny.cpp                                            cn, lSizeX, lSizeY, L2gradient ? " -D L2GRAD" : ""));
cn                257 modules/imgproc/src/canny.cpp         const int type = src.type(), cn = CV_MAT_CN(type);
cn                270 modules/imgproc/src/canny.cpp             Mat tempdx(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn));
cn                271 modules/imgproc/src/canny.cpp             Mat tempdy(boundaries.end - boundaries.start + 2, src.cols, CV_16SC(cn));
cn                273 modules/imgproc/src/canny.cpp             memset(tempdx.ptr<short>(0), 0, cn * src.cols*sizeof(short));
cn                274 modules/imgproc/src/canny.cpp             memset(tempdy.ptr<short>(0), 0, cn * src.cols*sizeof(short));
cn                275 modules/imgproc/src/canny.cpp             memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short));
cn                276 modules/imgproc/src/canny.cpp             memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short));
cn                286 modules/imgproc/src/canny.cpp             Mat tempdx(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn));
cn                287 modules/imgproc/src/canny.cpp             Mat tempdy(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn));
cn                289 modules/imgproc/src/canny.cpp             memset(tempdx.ptr<short>(0), 0, cn * src.cols*sizeof(short));
cn                290 modules/imgproc/src/canny.cpp             memset(tempdy.ptr<short>(0), 0, cn * src.cols*sizeof(short));
cn                302 modules/imgproc/src/canny.cpp             Mat tempdx(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn));
cn                303 modules/imgproc/src/canny.cpp             Mat tempdy(boundaries.end - boundaries.start + 2 + ksize2, src.cols, CV_16SC(cn));
cn                305 modules/imgproc/src/canny.cpp             memset(tempdx.ptr<short>(tempdx.rows - 1), 0, cn * src.cols*sizeof(short));
cn                306 modules/imgproc/src/canny.cpp             memset(tempdy.ptr<short>(tempdy.rows - 1), 0, cn * src.cols*sizeof(short));
cn                318 modules/imgproc/src/canny.cpp             Mat tempdx(boundaries.end - boundaries.start + 2 + 2*ksize2, src.cols, CV_16SC(cn));
cn                319 modules/imgproc/src/canny.cpp             Mat tempdy(boundaries.end - boundaries.start + 2 + 2*ksize2, src.cols, CV_16SC(cn));
cn                335 modules/imgproc/src/canny.cpp         AutoBuffer<uchar> buffer(cn * mapstep * 3 * sizeof(int));
cn                339 modules/imgproc/src/canny.cpp         mag_buf[1] = mag_buf[0] + mapstep*cn;
cn                340 modules/imgproc/src/canny.cpp         mag_buf[2] = mag_buf[1] + mapstep*cn;
cn                356 modules/imgproc/src/canny.cpp                 int j = 0, width = src.cols * cn;
cn                390 modules/imgproc/src/canny.cpp                 int j = 0, width = src.cols * cn;
cn                426 modules/imgproc/src/canny.cpp             if (cn > 1)
cn                428 modules/imgproc/src/canny.cpp                 for(int j = 0, jn = 0; j < src.cols; ++j, jn += cn)
cn                431 modules/imgproc/src/canny.cpp                     for(int k = 1; k < cn; ++k)
cn                584 modules/imgproc/src/canny.cpp     const int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                603 modules/imgproc/src/canny.cpp     CV_OCL_RUN(_dst.isUMat() && (cn == 1 || cn == 3),
cn                604 modules/imgproc/src/canny.cpp                ocl_Canny(_src, _dst, (float)low_thresh, (float)high_thresh, aperture_size, L2gradient, cn, size))
cn                616 modules/imgproc/src/canny.cpp         if( aperture_size == 3 && !L2gradient && 1 == cn )
cn                691 modules/imgproc/src/canny.cpp     Mat dx(src.rows, src.cols, CV_16SC(cn));
cn                692 modules/imgproc/src/canny.cpp     Mat dy(src.rows, src.cols, CV_16SC(cn));
cn                709 modules/imgproc/src/canny.cpp     AutoBuffer<uchar> buffer((src.cols+2)*(src.rows+2) + cn * mapstep * 3 * sizeof(int));
cn                713 modules/imgproc/src/canny.cpp     mag_buf[1] = mag_buf[0] + mapstep*cn;
cn                714 modules/imgproc/src/canny.cpp     mag_buf[2] = mag_buf[1] + mapstep*cn;
cn                717 modules/imgproc/src/canny.cpp     uchar* map = (uchar*)(mag_buf[2] + mapstep*cn);
cn                760 modules/imgproc/src/canny.cpp                 int j = 0, width = src.cols * cn;
cn                794 modules/imgproc/src/canny.cpp                 int j = 0, width = src.cols * cn;
cn                830 modules/imgproc/src/canny.cpp             if (cn > 1)
cn                832 modules/imgproc/src/canny.cpp                 for(int j = 0, jn = 0; j < src.cols; ++j, jn += cn)
cn                835 modules/imgproc/src/canny.cpp                     for(int k = 1; k < cn; ++k)
cn                112 modules/imgproc/src/color.cpp     _Tp cn = 0;
cn                125 modules/imgproc/src/color.cpp         _Tp c = tab[i*4+1] - tab[i*4]*cn;
cn                126 modules/imgproc/src/color.cpp         _Tp b = f[i+1] - f[i] - (cn + c*2)*(_Tp)0.3333333333333333;
cn                127 modules/imgproc/src/color.cpp         _Tp d = (cn - c)*(_Tp)0.3333333333333333;
cn                130 modules/imgproc/src/color.cpp         cn = c;
cn               6444 modules/imgproc/src/color.cpp         const int cn = src_.channels();
cn               6455 modules/imgproc/src/color.cpp             for( int j = 0, k = 0; j < w * cn; j += 2 * cn, k++ )
cn               6458 modules/imgproc/src/color.cpp                 int r01 = row0[2-bIdx + cn + j]; int g01 = row0[1 + cn + j]; int b01 = row0[bIdx + cn + j];
cn               6460 modules/imgproc/src/color.cpp                 int r11 = row1[2-bIdx + cn + j]; int g11 = row1[1 + cn + j]; int b11 = row1[bIdx + cn + j];
cn                609 modules/imgproc/src/corner.cpp         int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                614 modules/imgproc/src/corner.cpp             (borderTypeNI == BORDER_CONSTANT || borderTypeNI == BORDER_REPLICATE) && cn == 1 && (!src.isSubmatrix() || isolated) )
cn                628 modules/imgproc/src/corner.cpp             if (ippiHarrisCornerGetBufferSize(roisize, masksize, blockSize, datatype, cn, &bufsize) >= 0)
cn                204 modules/imgproc/src/deriv.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn                207 modules/imgproc/src/deriv.cpp     int dtype = CV_MAKETYPE(ddepth, cn);
cn                558 modules/imgproc/src/deriv.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn                561 modules/imgproc/src/deriv.cpp     int dtype = CV_MAKE_TYPE(ddepth, cn);
cn                616 modules/imgproc/src/deriv.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn                619 modules/imgproc/src/deriv.cpp     int dtype = CV_MAKETYPE(ddepth, cn);
cn                673 modules/imgproc/src/deriv.cpp     int sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype), esz = CV_ELEM_SIZE(stype);
cn                693 modules/imgproc/src/deriv.cpp     int loc_mem_cn = dev.vendorID() == ocl::Device::VENDOR_NVIDIA && cn == 3 ? 4 : cn;
cn                707 modules/imgproc/src/deriv.cpp         int dtype = CV_MAKE_TYPE(ddepth, cn);
cn                730 modules/imgproc/src/deriv.cpp                                  ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]),
cn                731 modules/imgproc/src/deriv.cpp                                  ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]),
cn                734 modules/imgproc/src/deriv.cpp                                  ocl::typeToStr(CV_MAKETYPE(sdepth, cn)),
cn                735 modules/imgproc/src/deriv.cpp                                  ocl::typeToStr(CV_MAKETYPE(ddepth, cn)),
cn                736 modules/imgproc/src/deriv.cpp                                  ocl::typeToStr(CV_MAKETYPE(wdepth, cn)),
cn                737 modules/imgproc/src/deriv.cpp                                  cn);
cn                787 modules/imgproc/src/deriv.cpp             dstarg = ocl::KernelArg::WriteOnly(dst, cn, kercn);
cn                794 modules/imgproc/src/deriv.cpp     size_t globalsize[] = { dst.cols * cn / kercn, dst.rows };
cn                805 modules/imgproc/src/deriv.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn                808 modules/imgproc/src/deriv.cpp     _dst.create( _src.size(), CV_MAKETYPE(ddepth, cn) );
cn                904 modules/imgproc/src/deriv.cpp         int wtype = CV_MAKETYPE(wdepth, cn);
cn               2539 modules/imgproc/src/drawing.cpp         int cn = CV_MAT_CN( type );
cn               2540 modules/imgproc/src/drawing.cpp         switch( cn )
cn                183 modules/imgproc/src/filter.cpp         int cn = CV_MAT_CN(srcType);
cn                201 modules/imgproc/src/filter.cpp                 (*rowFilter)(&srcRow[0], dst, maxWidth, cn);
cn                305 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(bufType);
cn                385 modules/imgproc/src/filter.cpp             (*columnFilter)((const uchar**)brows, dst, dststep, i, roi.width*cn);
cn                387 modules/imgproc/src/filter.cpp             (*filter2D)((const uchar**)brows, dst, dststep, i, roi.width, cn);
cn                524 modules/imgproc/src/filter.cpp     int operator()(const uchar* _src, uchar* _dst, int width, int cn) const
cn                532 modules/imgproc/src/filter.cpp         width *= cn;
cn                542 modules/imgproc/src/filter.cpp                 for( k = 0; k < _ksize; k++, src += cn )
cn                573 modules/imgproc/src/filter.cpp                 for( k = 0; k < _ksize; k++, src += cn )
cn                616 modules/imgproc/src/filter.cpp     int operator()(const uchar* src, uchar* _dst, int width, int cn) const
cn                628 modules/imgproc/src/filter.cpp         src += (_ksize/2)*cn;
cn                629 modules/imgproc/src/filter.cpp         width *= cn;
cn                642 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn));
cn                644 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_si128((__m128i*)(src + cn));
cn                662 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn));
cn                664 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_si128((__m128i*)(src + cn));
cn                688 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn));
cn                690 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_si128((__m128i*)(src + cn));
cn                726 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn*2));
cn                728 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_si128((__m128i*)(src + cn*2));
cn                754 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn));
cn                756 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_si128((__m128i*)(src + cn));
cn                780 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src - cn*2));
cn                781 modules/imgproc/src/filter.cpp                         x1 = _mm_loadu_si128((__m128i*)(src + cn*2));
cn                810 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src + cn));
cn                811 modules/imgproc/src/filter.cpp                         x1 = _mm_loadu_si128((__m128i*)(src - cn));
cn                827 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_si128((__m128i*)(src + cn));
cn                828 modules/imgproc/src/filter.cpp                         x1 = _mm_loadu_si128((__m128i*)(src - cn));
cn                860 modules/imgproc/src/filter.cpp                     x0 = _mm_loadu_si128((__m128i*)(src + cn));
cn                861 modules/imgproc/src/filter.cpp                     x2 = _mm_loadu_si128((__m128i*)(src - cn));
cn                874 modules/imgproc/src/filter.cpp                     x0 = _mm_loadu_si128((__m128i*)(src + cn*2));
cn                875 modules/imgproc/src/filter.cpp                     x1 = _mm_loadu_si128((__m128i*)(src - cn*2));
cn                896 modules/imgproc/src/filter.cpp         src -= (_ksize/2)*cn;
cn                902 modules/imgproc/src/filter.cpp             for( k = j = 0; k < _ksize; k++, j += cn )
cn               1217 modules/imgproc/src/filter.cpp     int operator()(const uchar* _src, uchar* _dst, int width, int cn) const
cn               1225 modules/imgproc/src/filter.cpp         width *= cn;
cn               1231 modules/imgproc/src/filter.cpp             for( k = 0; k < _ksize; k++, src += cn )
cn               1423 modules/imgproc/src/filter.cpp     int operator()(const uchar* _src, uchar* _dst, int width, int cn) const
cn               1428 modules/imgproc/src/filter.cpp             int ret = ippiOperator(_src, _dst, width, cn);
cn               1442 modules/imgproc/src/filter.cpp         width *= cn;
cn               1448 modules/imgproc/src/filter.cpp             for( k = 0; k < _ksize; k++, src += cn )
cn               1469 modules/imgproc/src/filter.cpp     int ippiOperator(const uchar* _src, uchar* _dst, int width, int cn) const
cn               1472 modules/imgproc/src/filter.cpp         if ((1 != cn && 3 != cn) || width < _ksize*8)
cn               1482 modules/imgproc/src/filter.cpp             if( (cn == 1 && ippiFilterRowBorderPipelineGetBufferSize_32f_C1R(roisz, _ksize, &bufsz) < 0) ||
cn               1483 modules/imgproc/src/filter.cpp                 (cn == 3 && ippiFilterRowBorderPipelineGetBufferSize_32f_C3R(roisz, _ksize, &bufsz) < 0))
cn               1488 modules/imgproc/src/filter.cpp         int step = (int)(width*sizeof(dst[0])*cn);
cn               1492 modules/imgproc/src/filter.cpp         if( (cn == 1 && ippiFilterRowBorderPipeline_32f_C1R(src, step, &dst, roisz, _kx, _ksize, 0,
cn               1494 modules/imgproc/src/filter.cpp             (cn == 3 && ippiFilterRowBorderPipeline_32f_C3R(src, step, &dst, roisz, _kx, _ksize, 0,
cn               1516 modules/imgproc/src/filter.cpp     int operator()(const uchar* _src, uchar* _dst, int width, int cn) const
cn               1523 modules/imgproc/src/filter.cpp         const float* src = (const float*)_src + (_ksize/2)*cn;
cn               1526 modules/imgproc/src/filter.cpp         width *= cn;
cn               1538 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src - cn);
cn               1540 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src + cn);
cn               1541 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src - cn + 4);
cn               1543 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src + cn + 4);
cn               1553 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src - cn);
cn               1555 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src + cn);
cn               1556 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src - cn + 4);
cn               1558 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src + cn + 4);
cn               1570 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src - cn);
cn               1572 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src + cn);
cn               1573 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src - cn + 4);
cn               1575 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src + cn + 4);
cn               1592 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src - cn*2);
cn               1594 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src + cn*2);
cn               1595 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src - cn*2 + 4);
cn               1597 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src + cn*2 + 4);
cn               1609 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src - cn);
cn               1611 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src + cn);
cn               1612 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src - cn + 4);
cn               1614 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src + cn + 4);
cn               1621 modules/imgproc/src/filter.cpp                         x2 = _mm_add_ps(_mm_loadu_ps(src + cn*2), _mm_loadu_ps(src - cn*2));
cn               1622 modules/imgproc/src/filter.cpp                         y2 = _mm_add_ps(_mm_loadu_ps(src + cn*2 + 4), _mm_loadu_ps(src - cn*2 + 4));
cn               1640 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src + cn);
cn               1641 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src - cn);
cn               1642 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src + cn + 4);
cn               1643 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src - cn + 4);
cn               1655 modules/imgproc/src/filter.cpp                         x0 = _mm_loadu_ps(src + cn);
cn               1656 modules/imgproc/src/filter.cpp                         x2 = _mm_loadu_ps(src - cn);
cn               1657 modules/imgproc/src/filter.cpp                         y0 = _mm_loadu_ps(src + cn + 4);
cn               1658 modules/imgproc/src/filter.cpp                         y2 = _mm_loadu_ps(src - cn + 4);
cn               1673 modules/imgproc/src/filter.cpp                     x0 = _mm_loadu_ps(src + cn);
cn               1674 modules/imgproc/src/filter.cpp                     x2 = _mm_loadu_ps(src - cn);
cn               1675 modules/imgproc/src/filter.cpp                     y0 = _mm_loadu_ps(src + cn + 4);
cn               1676 modules/imgproc/src/filter.cpp                     y2 = _mm_loadu_ps(src - cn + 4);
cn               1681 modules/imgproc/src/filter.cpp                     x2 = _mm_sub_ps(_mm_loadu_ps(src + cn*2), _mm_loadu_ps(src - cn*2));
cn               1682 modules/imgproc/src/filter.cpp                     y2 = _mm_sub_ps(_mm_loadu_ps(src + cn*2 + 4), _mm_loadu_ps(src - cn*2 + 4));
cn               2232 modules/imgproc/src/filter.cpp     int operator()(const uchar* src, uchar* _dst, int width, int cn) const
cn               2244 modules/imgproc/src/filter.cpp         src += (_ksize/2)*cn;
cn               2245 modules/imgproc/src/filter.cpp         width *= cn;
cn               2260 modules/imgproc/src/filter.cpp                         x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2262 modules/imgproc/src/filter.cpp                         x2 = vld1_u8( (uint8_t *) (src + cn) );
cn               2289 modules/imgproc/src/filter.cpp                         x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2291 modules/imgproc/src/filter.cpp                         x2 = vld1_u8( (uint8_t *) (src + cn) );
cn               2325 modules/imgproc/src/filter.cpp                         x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2327 modules/imgproc/src/filter.cpp                         x2 = vld1_u8( (uint8_t *) (src + cn) );
cn               2339 modules/imgproc/src/filter.cpp                         x3 = vld1_u8( (uint8_t *) (src - cn*2) );
cn               2340 modules/imgproc/src/filter.cpp                         x4 = vld1_u8( (uint8_t *) (src + cn*2) );
cn               2362 modules/imgproc/src/filter.cpp                         x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2363 modules/imgproc/src/filter.cpp                         x1 = vld1_u8( (uint8_t *) (src + cn) );
cn               2385 modules/imgproc/src/filter.cpp                         x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2386 modules/imgproc/src/filter.cpp                         x1 = vld1_u8( (uint8_t *) (src + cn) );
cn               2413 modules/imgproc/src/filter.cpp                     x0 = vld1_u8( (uint8_t *) (src - cn) );
cn               2414 modules/imgproc/src/filter.cpp                     x1 = vld1_u8( (uint8_t *) (src + cn) );
cn               2424 modules/imgproc/src/filter.cpp                     x2 = vld1_u8( (uint8_t *) (src - cn*2) );
cn               2425 modules/imgproc/src/filter.cpp                     x3 = vld1_u8( (uint8_t *) (src + cn*2) );
cn               2939 modules/imgproc/src/filter.cpp     int operator()(const uchar* _src, uchar* _dst, int width, int cn) const
cn               2946 modules/imgproc/src/filter.cpp         const float* src = (const float*)_src + (_ksize/2)*cn;
cn               2949 modules/imgproc/src/filter.cpp         width *= cn;
cn               2982 modules/imgproc/src/filter.cpp                         x1 = vld1q_f32(src - cn);
cn               2983 modules/imgproc/src/filter.cpp                         x2 = vld1q_f32(src + cn);
cn               2984 modules/imgproc/src/filter.cpp                         x3 = vld1q_f32(src - cn*2);
cn               2985 modules/imgproc/src/filter.cpp                         x4 = vld1q_f32(src + cn*2);
cn               3018 modules/imgproc/src/filter.cpp                     x0 = vld1q_f32(src - cn);
cn               3019 modules/imgproc/src/filter.cpp                     x1 = vld1q_f32(src + cn);
cn               3020 modules/imgproc/src/filter.cpp                     x2 = vld1q_f32(src - cn*2);
cn               3021 modules/imgproc/src/filter.cpp                     x3 = vld1q_f32(src + cn*2);
cn               3084 modules/imgproc/src/filter.cpp     void operator()(const uchar* src, uchar* dst, int width, int cn)
cn               3092 modules/imgproc/src/filter.cpp         i = vecOp(src, dst, width, cn);
cn               3093 modules/imgproc/src/filter.cpp         width *= cn;
cn               3103 modules/imgproc/src/filter.cpp                 S += cn;
cn               3119 modules/imgproc/src/filter.cpp                 S += cn;
cn               3142 modules/imgproc/src/filter.cpp     void operator()(const uchar* src, uchar* dst, int width, int cn)
cn               3144 modules/imgproc/src/filter.cpp         int ksize2 = this->ksize/2, ksize2n = ksize2*cn;
cn               3148 modules/imgproc/src/filter.cpp         int i = this->vecOp(src, dst, width, cn), j, k;
cn               3150 modules/imgproc/src/filter.cpp         width *= cn;
cn               3168 modules/imgproc/src/filter.cpp                         DT s0 = S[-cn] + S[0]*2 + S[cn], s1 = S[1-cn] + S[1]*2 + S[1+cn];
cn               3174 modules/imgproc/src/filter.cpp                         DT s0 = S[-cn] - S[0]*2 + S[cn], s1 = S[1-cn] - S[1]*2 + S[1+cn];
cn               3182 modules/imgproc/src/filter.cpp                         DT s0 = S[0]*k0 + (S[-cn] + S[cn])*k1, s1 = S[1]*k0 + (S[1-cn] + S[1+cn])*k1;
cn               3193 modules/imgproc/src/filter.cpp                         DT s0 = -2*S[0] + S[-cn*2] + S[cn*2];
cn               3194 modules/imgproc/src/filter.cpp                         DT s1 = -2*S[1] + S[1-cn*2] + S[1+cn*2];
cn               3200 modules/imgproc/src/filter.cpp                         DT s0 = S[0]*k0 + (S[-cn] + S[cn])*k1 + (S[-cn*2] + S[cn*2])*k2;
cn               3201 modules/imgproc/src/filter.cpp                         DT s1 = S[1]*k0 + (S[1-cn] + S[1+cn])*k1 + (S[1-cn*2] + S[1+cn*2])*k2;
cn               3209 modules/imgproc/src/filter.cpp                 for( k = 1, j = cn; k <= ksize2; k++, j += cn )
cn               3221 modules/imgproc/src/filter.cpp                         DT s0 = S[cn] - S[-cn], s1 = S[1+cn] - S[1-cn];
cn               3229 modules/imgproc/src/filter.cpp                         DT s0 = (S[cn] - S[-cn])*k1, s1 = (S[1+cn] - S[1-cn])*k1;
cn               3239 modules/imgproc/src/filter.cpp                     DT s0 = (S[cn] - S[-cn])*k1 + (S[cn*2] - S[-cn*2])*k2;
cn               3240 modules/imgproc/src/filter.cpp                     DT s1 = (S[1+cn] - S[1-cn])*k1 + (S[1+cn*2] - S[1-cn*2])*k2;
cn               3248 modules/imgproc/src/filter.cpp                 for( k = 1, j = cn; k <= ksize2; k++, j += cn )
cn               3629 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(srcType);
cn               3630 modules/imgproc/src/filter.cpp     CV_Assert( cn == CV_MAT_CN(bufType) &&
cn               3684 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(dstType);
cn               3685 modules/imgproc/src/filter.cpp     CV_Assert( cn == CV_MAT_CN(bufType) &&
cn               3785 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(_srcType);
cn               3786 modules/imgproc/src/filter.cpp     CV_Assert( cn == CV_MAT_CN(_dstType) );
cn               3830 modules/imgproc/src/filter.cpp     int _bufType = CV_MAKETYPE(bdepth, cn);
cn               3919 modules/imgproc/src/filter.cpp     void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn)
cn               3928 modules/imgproc/src/filter.cpp         width *= cn;
cn               3934 modules/imgproc/src/filter.cpp                 kp[k] = (const ST*)src[pt[k].y] + pt[k].x*cn;
cn               4009 modules/imgproc/src/filter.cpp     int type = _src.type(), sdepth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               4011 modules/imgproc/src/filter.cpp     int dtype = CV_MAKE_TYPE(ddepth, cn), wdepth = std::max(std::max(sdepth, ddepth), CV_32F),
cn               4012 modules/imgproc/src/filter.cpp             wtype = CV_MAKE_TYPE(wdepth, cn);
cn               4013 modules/imgproc/src/filter.cpp     if (cn > 4)
cn               4056 modules/imgproc/src/filter.cpp         (ksize.width == 5 && ksize.height == 5 && cn == 1)))
cn               4067 modules/imgproc/src/filter.cpp         int pxLoadNumPixels = cn != 1 || sz.width % 4 ? 1 : 4;
cn               4068 modules/imgproc/src/filter.cpp         int pxLoadVecSize = cn * pxLoadNumPixels;
cn               4074 modules/imgproc/src/filter.cpp         if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4)
cn               4079 modules/imgproc/src/filter.cpp         else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4))
cn               4103 modules/imgproc/src/filter.cpp                 cn, anchor.x, anchor.y, ksize.width, ksize.height,
cn               4110 modules/imgproc/src/filter.cpp                 ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]),
cn               4111 modules/imgproc/src/filter.cpp                 ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), kerStr.c_str());
cn               4148 modules/imgproc/src/filter.cpp                                  (int)BLOCK_SIZE, cn, anchor.x, anchor.y,
cn               4155 modules/imgproc/src/filter.cpp                                  ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]),
cn               4156 modules/imgproc/src/filter.cpp                                  ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]));
cn               4193 modules/imgproc/src/filter.cpp     int type = src.type(), cn = CV_MAT_CN(type), sdepth = CV_MAT_DEPTH(type);
cn               4225 modules/imgproc/src/filter.cpp                                           radiusX, (int)localsize[0], (int)localsize[1], cn, btype,
cn               4229 modules/imgproc/src/filter.cpp                                           ocl::convertTypeStr(sdepth, bdepth, cn, cvt),
cn               4273 modules/imgproc/src/filter.cpp     int dtype = dst.type(), cn = CV_MAT_CN(dtype), ddepth = CV_MAT_DEPTH(dtype);
cn               4284 modules/imgproc/src/filter.cpp                                           anchor, (int)localsize[0], (int)localsize[1], cn,
cn               4286 modules/imgproc/src/filter.cpp                                           ocl::convertTypeStr(bdepth, ddepth, cn, cvt),
cn               4312 modules/imgproc/src/filter.cpp     int stype = _src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype),
cn               4314 modules/imgproc/src/filter.cpp             dtype = CV_MAKE_TYPE(ddepth, cn);
cn               4337 modules/imgproc/src/filter.cpp                              ocl::typeToStr(stype), ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]),
cn               4338 modules/imgproc/src/filter.cpp                              ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), ocl::typeToStr(dtype),
cn               4339 modules/imgproc/src/filter.cpp                              ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]), borderMap[borderType],
cn               4341 modules/imgproc/src/filter.cpp                              cn, 2*shift_bits, int_arithm ? " -D INTEGER_ARITHMETIC" : "");
cn               4370 modules/imgproc/src/filter.cpp     int type = _src.type(), sdepth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               4371 modules/imgproc/src/filter.cpp     if (cn > 4)
cn               4434 modules/imgproc/src/filter.cpp     UMat buf(bufSize, CV_MAKETYPE(bdepth, cn));
cn               4438 modules/imgproc/src/filter.cpp     _dst.create(srcSize, CV_MAKETYPE(ddepth, cn));
cn               4454 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(srcType), kdepth = _kernel.depth();
cn               4455 modules/imgproc/src/filter.cpp     CV_Assert( cn == CV_MAT_CN(dstType) && ddepth >= sdepth );
cn               4535 modules/imgproc/src/filter.cpp     int cn = CV_MAT_CN(_srcType);
cn               4536 modules/imgproc/src/filter.cpp     CV_Assert( cn == CV_MAT_CN(_dstType) );
cn               4589 modules/imgproc/src/filter.cpp         int stype = src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype),
cn               4621 modules/imgproc/src/filter.cpp                 if ((status = ippiFilterBorderGetSize(kernelSize, dstRoiSize, dataType, kernelType, cn, &specSize, &bufsize)) >= 0)
cn               4631 modules/imgproc/src/filter.cpp                             dataType, cn, ippRndFinancial, spec)) >= 0 ) ||
cn               4633 modules/imgproc/src/filter.cpp                             kernelSize, 0, dataType, cn, ippRndFinancial, spec)) >= 0))
cn                 70 modules/imgproc/src/filterengine.hpp     virtual void operator()(const uchar* src, uchar* dst, int width, int cn) = 0;
cn                126 modules/imgproc/src/filterengine.hpp     virtual void operator()(const uchar** src, uchar* dst, int dststep, int dstcount, int width, int cn) = 0;
cn                485 modules/imgproc/src/floodfill.cpp     int cn = img.channels();
cn                487 modules/imgproc/src/floodfill.cpp     if ( (cn != 1) && (cn != 3) )
cn                499 modules/imgproc/src/floodfill.cpp     for( i = 0; i < cn; i++ )
cn                567 modules/imgproc/src/floodfill.cpp         for( i = 0; i < cn; i++ )
cn                573 modules/imgproc/src/floodfill.cpp         for( i = 0; i < cn; i++ )
cn                579 modules/imgproc/src/floodfill.cpp         for( i = 0; i < cn; i++ )
cn               2075 modules/imgproc/src/histogram.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx)
cn               2083 modules/imgproc/src/histogram.cpp         if (totalChannels == cn)
cn               2089 modules/imgproc/src/histogram.cpp         else if (totalChannels > cn)
cn               2092 modules/imgproc/src/histogram.cpp             cnidx = i == 0 ? cn : (cn - totalChannels + ccn);
cn               1403 modules/imgproc/src/imgwarp.cpp                     int swidth, int dwidth, int cn, int xmin, int xmax ) const
cn               1409 modules/imgproc/src/imgwarp.cpp             xofs, (const uchar*)alpha, swidth, dwidth, cn, xmin, xmax );
cn               1419 modules/imgproc/src/imgwarp.cpp                 WT t0 = S0[sx]*a0 + S0[sx + cn]*a1;
cn               1420 modules/imgproc/src/imgwarp.cpp                 WT t1 = S1[sx]*a0 + S1[sx + cn]*a1;
cn               1438 modules/imgproc/src/imgwarp.cpp                 D[dx] = S[sx]*alpha[dx*2] + S[sx+cn]*alpha[dx*2+1];
cn               1518 modules/imgproc/src/imgwarp.cpp                     int swidth, int dwidth, int cn, int xmin, int xmax ) const
cn               1529 modules/imgproc/src/imgwarp.cpp                     int j, sx = xofs[dx] - cn;
cn               1533 modules/imgproc/src/imgwarp.cpp                         int sxj = sx + j*cn;
cn               1537 modules/imgproc/src/imgwarp.cpp                                 sxj += cn;
cn               1539 modules/imgproc/src/imgwarp.cpp                                 sxj -= cn;
cn               1550 modules/imgproc/src/imgwarp.cpp                     D[dx] = S[sx-cn]*alpha[0] + S[sx]*alpha[1] +
cn               1551 modules/imgproc/src/imgwarp.cpp                         S[sx+cn]*alpha[2] + S[sx+cn*2]*alpha[3];
cn               1591 modules/imgproc/src/imgwarp.cpp                     int swidth, int dwidth, int cn, int xmin, int xmax ) const
cn               1602 modules/imgproc/src/imgwarp.cpp                     int j, sx = xofs[dx] - cn*3;
cn               1606 modules/imgproc/src/imgwarp.cpp                         int sxj = sx + j*cn;
cn               1610 modules/imgproc/src/imgwarp.cpp                                 sxj += cn;
cn               1612 modules/imgproc/src/imgwarp.cpp                                 sxj -= cn;
cn               1623 modules/imgproc/src/imgwarp.cpp                     D[dx] = S[sx-cn*3]*alpha[0] + S[sx-cn*2]*alpha[1] +
cn               1624 modules/imgproc/src/imgwarp.cpp                         S[sx-cn]*alpha[2] + S[sx]*alpha[3] +
cn               1625 modules/imgproc/src/imgwarp.cpp                         S[sx+cn]*alpha[4] + S[sx+cn*2]*alpha[5] +
cn               1626 modules/imgproc/src/imgwarp.cpp                         S[sx+cn*3]*alpha[6] + S[sx+cn*4]*alpha[7];
cn               1708 modules/imgproc/src/imgwarp.cpp         int dy, cn = src.channels();
cn               1750 modules/imgproc/src/imgwarp.cpp                         ssize.width, dsize.width, cn, xmin, xmax );
cn               1779 modules/imgproc/src/imgwarp.cpp     int cn = src.channels();
cn               1780 modules/imgproc/src/imgwarp.cpp     ssize.width *= cn;
cn               1781 modules/imgproc/src/imgwarp.cpp     dsize.width *= cn;
cn               1782 modules/imgproc/src/imgwarp.cpp     xmin *= cn;
cn               1783 modules/imgproc/src/imgwarp.cpp     xmax *= cn;
cn               1807 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               1818 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               1835 modules/imgproc/src/imgwarp.cpp         else if (cn == 4)
cn               1860 modules/imgproc/src/imgwarp.cpp     int cn, step;
cn               1867 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               1878 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               1895 modules/imgproc/src/imgwarp.cpp         else if (cn == 4)
cn               1910 modules/imgproc/src/imgwarp.cpp     int cn, step;
cn               1917 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               1928 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               1945 modules/imgproc/src/imgwarp.cpp         else if (cn == 4)
cn               1960 modules/imgproc/src/imgwarp.cpp     int cn, step;
cn               1966 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               1968 modules/imgproc/src/imgwarp.cpp         fast_mode = _scale_x == 2 && _scale_y == 2 && (cn == 1 || cn == 4);
cn               1981 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               1993 modules/imgproc/src/imgwarp.cpp         else if (cn == 4)
cn               2008 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2019 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               2035 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               2051 modules/imgproc/src/imgwarp.cpp         else if (cn == 3)
cn               2076 modules/imgproc/src/imgwarp.cpp             CV_Assert(cn == 4);
cn               2109 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2118 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               2137 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               2153 modules/imgproc/src/imgwarp.cpp         else if (cn == 3)
cn               2172 modules/imgproc/src/imgwarp.cpp             CV_Assert(cn == 4);
cn               2197 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2206 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               2223 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               2241 modules/imgproc/src/imgwarp.cpp         else if (cn == 3)
cn               2260 modules/imgproc/src/imgwarp.cpp             CV_Assert(cn == 4);
cn               2283 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2291 modules/imgproc/src/imgwarp.cpp         cn(_cn), step(_step)
cn               2293 modules/imgproc/src/imgwarp.cpp         fast_mode = _scale_x == 2 && _scale_y == 2 && (cn == 1 || cn == 4);
cn               2307 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               2323 modules/imgproc/src/imgwarp.cpp         else if (cn == 4)
cn               2338 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2356 modules/imgproc/src/imgwarp.cpp         scale_x(_scale_x), scale_y(_scale_y), cn(_cn), step(_step), vecOp(_cn, _step)
cn               2358 modules/imgproc/src/imgwarp.cpp         fast_mode = scale_x == 2 && scale_y == 2 && (cn == 1 || cn == 3 || cn == 4);
cn               2369 modules/imgproc/src/imgwarp.cpp         if (cn == 1)
cn               2375 modules/imgproc/src/imgwarp.cpp         else if (cn == 3)
cn               2385 modules/imgproc/src/imgwarp.cpp                 CV_Assert(cn == 4);
cn               2401 modules/imgproc/src/imgwarp.cpp     int cn;
cn               2422 modules/imgproc/src/imgwarp.cpp         int cn = src.channels();
cn               2425 modules/imgproc/src/imgwarp.cpp         int dwidth1 = (ssize.width/scale_x)*cn;
cn               2426 modules/imgproc/src/imgwarp.cpp         dsize.width *= cn;
cn               2427 modules/imgproc/src/imgwarp.cpp         ssize.width *= cn;
cn               2473 modules/imgproc/src/imgwarp.cpp                     for( int sx = 0; sx < scale_x*cn; sx += cn )
cn               2532 modules/imgproc/src/imgwarp.cpp         int cn = dst->channels();
cn               2533 modules/imgproc/src/imgwarp.cpp         dsize.width *= cn;
cn               2554 modules/imgproc/src/imgwarp.cpp                 if( cn == 1 )
cn               2561 modules/imgproc/src/imgwarp.cpp                 else if( cn == 2 )
cn               2571 modules/imgproc/src/imgwarp.cpp                 else if( cn == 3 )
cn               2582 modules/imgproc/src/imgwarp.cpp                 else if( cn == 4 )
cn               2604 modules/imgproc/src/imgwarp.cpp                         for( int c = 0; c < cn; c++ )
cn               2672 modules/imgproc/src/imgwarp.cpp static int computeResizeAreaTab( int ssize, int dsize, int cn, double scale, DecimateAlpha* tab )
cn               2689 modules/imgproc/src/imgwarp.cpp             tab[k].di = dx * cn;
cn               2690 modules/imgproc/src/imgwarp.cpp             tab[k].si = (sx1 - 1) * cn;
cn               2697 modules/imgproc/src/imgwarp.cpp             tab[k].di = dx * cn;
cn               2698 modules/imgproc/src/imgwarp.cpp             tab[k].si = sx * cn;
cn               2705 modules/imgproc/src/imgwarp.cpp             tab[k].di = dx * cn;
cn               2706 modules/imgproc/src/imgwarp.cpp             tab[k].si = sx2 * cn;
cn               2798 modules/imgproc/src/imgwarp.cpp         int cn = src.channels();
cn               2807 modules/imgproc/src/imgwarp.cpp         CHECK_IPP_STATUS(getBufferSizeFunc(pSpec, dstSize, cn, &bufsize));
cn               2810 modules/imgproc/src/imgwarp.cpp         const Ipp8u* pSrc = src.ptr<Ipp8u>(srcOffset.y) + srcOffset.x * cn * itemSize;
cn               2811 modules/imgproc/src/imgwarp.cpp         Ipp8u* pDst = dst.ptr<Ipp8u>(dstOffset.y) + dstOffset.x * cn * itemSize;
cn               2883 modules/imgproc/src/imgwarp.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2896 modules/imgproc/src/imgwarp.cpp     if( !(cn <= 4 &&
cn               2915 modules/imgproc/src/imgwarp.cpp                        ocl::Image2D::isFormatSupported(depth, cn, true) &&
cn               2924 modules/imgproc/src/imgwarp.cpp                         ocl::convertTypeStr(wdepth, depth, cn, buf[1]),
cn               2925 modules/imgproc/src/imgwarp.cpp                         cn);
cn               2981 modules/imgproc/src/imgwarp.cpp             int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn);
cn               2990 modules/imgproc/src/imgwarp.cpp                             ocl::convertTypeStr(depth, wdepth, cn, buf[0]),
cn               2991 modules/imgproc/src/imgwarp.cpp                             ocl::convertTypeStr(wdepth, depth, cn, buf[1]),
cn               2992 modules/imgproc/src/imgwarp.cpp                             cn, INTER_RESIZE_COEF_BITS));
cn               3001 modules/imgproc/src/imgwarp.cpp             int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn);
cn               3007 modules/imgproc/src/imgwarp.cpp                             ocl::convertTypeStr(depth, wdepth, cn, buf[0]),
cn               3008 modules/imgproc/src/imgwarp.cpp                             ocl::convertTypeStr(wdepth, depth, cn, buf[1]),
cn               3009 modules/imgproc/src/imgwarp.cpp                             cn, INTER_RESIZE_COEF_BITS));
cn               3021 modules/imgproc/src/imgwarp.cpp                         ocl::vecopTypeToStr(type), ocl::vecopTypeToStr(depth), cn));
cn               3031 modules/imgproc/src/imgwarp.cpp         int wtype = CV_MAKE_TYPE(wdepth, cn);
cn               3036 modules/imgproc/src/imgwarp.cpp                                     ocl::convertTypeStr(depth, wdepth, cn, cvt[0]), cn);
cn               3043 modules/imgproc/src/imgwarp.cpp             int wdepth2 = std::max(CV_32F, depth), wtype2 = CV_MAKE_TYPE(wdepth2, cn);
cn               3046 modules/imgproc/src/imgwarp.cpp                                                 ocl::convertTypeStr(wdepth2, depth, cn, cvt[0]),
cn               3047 modules/imgproc/src/imgwarp.cpp                                                 ocl::typeToStr(wtype2), ocl::convertTypeStr(wdepth, wdepth2, cn, cvt[1]),
cn               3056 modules/imgproc/src/imgwarp.cpp             buildOption = buildOption + format(" -D convertToT=%s", ocl::convertTypeStr(wdepth, depth, cn, cvt[0]));
cn               3234 modules/imgproc/src/imgwarp.cpp     int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               3262 modules/imgproc/src/imgwarp.cpp             if( mode >= 0 && (cn == 1 || cn == 3 || cn == 4) &&
cn               3302 modules/imgproc/src/imgwarp.cpp                 AutoBuffer<int> _ofs(area + dsize.width*cn);
cn               3310 modules/imgproc/src/imgwarp.cpp                         ofs[k++] = (int)(sy*srcstep + sx*cn);
cn               3314 modules/imgproc/src/imgwarp.cpp                     int j = dx * cn;
cn               3316 modules/imgproc/src/imgwarp.cpp                     for( k = 0; k < cn; k++ )
cn               3325 modules/imgproc/src/imgwarp.cpp             CV_Assert( func != 0 && cn <= 4 );
cn               3330 modules/imgproc/src/imgwarp.cpp             int xtab_size = computeResizeAreaTab(ssize.width, dsize.width, cn, scale_x, xtab);
cn               3350 modules/imgproc/src/imgwarp.cpp     int xmin = 0, xmax = dsize.width, width = dsize.width*cn;
cn               3406 modules/imgproc/src/imgwarp.cpp         for( k = 0, sx *= cn; k < cn; k++ )
cn               3407 modules/imgproc/src/imgwarp.cpp             xofs[dx*cn + k] = sx + k;
cn               3421 modules/imgproc/src/imgwarp.cpp                 ialpha[dx*cn*ksize + k] = saturate_cast<short>(cbuf[k]*INTER_RESIZE_COEF_SCALE);
cn               3422 modules/imgproc/src/imgwarp.cpp             for( ; k < cn*ksize; k++ )
cn               3423 modules/imgproc/src/imgwarp.cpp                 ialpha[dx*cn*ksize + k] = ialpha[dx*cn*ksize + k - ksize];
cn               3428 modules/imgproc/src/imgwarp.cpp                 alpha[dx*cn*ksize + k] = cbuf[k];
cn               3429 modules/imgproc/src/imgwarp.cpp             for( ; k < cn*ksize; k++ )
cn               3430 modules/imgproc/src/imgwarp.cpp                 alpha[dx*cn*ksize + k] = alpha[dx*cn*ksize + k - ksize];
cn               3489 modules/imgproc/src/imgwarp.cpp     int cn = _src.channels();
cn               3511 modules/imgproc/src/imgwarp.cpp         if( cn == 1 )
cn               3539 modules/imgproc/src/imgwarp.cpp             for( dx = 0; dx < dsize.width; dx++, D += cn )
cn               3545 modules/imgproc/src/imgwarp.cpp                     if( cn == 3 )
cn               3550 modules/imgproc/src/imgwarp.cpp                     else if( cn == 4 )
cn               3557 modules/imgproc/src/imgwarp.cpp                         S = S0 + sy*sstep + sx*cn;
cn               3558 modules/imgproc/src/imgwarp.cpp                         for( k = 0; k < cn; k++ )
cn               3568 modules/imgproc/src/imgwarp.cpp                         S = S0 + sy*sstep + sx*cn;
cn               3576 modules/imgproc/src/imgwarp.cpp                         S = S0 + sy*sstep + sx*cn;
cn               3578 modules/imgproc/src/imgwarp.cpp                     for( k = 0; k < cn; k++ )
cn               3600 modules/imgproc/src/imgwarp.cpp         int cn = _src.channels(), x = 0, sstep = (int)_src.step;
cn               3602 modules/imgproc/src/imgwarp.cpp         if( (cn != 1 && cn != 3 && cn != 4) || !checkHardwareSupport(CV_CPU_SSE2) ||
cn               3607 modules/imgproc/src/imgwarp.cpp         const short* wtab = cn == 1 ? (const short*)_wtab : &BilinearTab_iC4[0][0][0];
cn               3610 modules/imgproc/src/imgwarp.cpp         __m128i xy2ofs = _mm_set1_epi32(cn + (sstep << 16));
cn               3614 modules/imgproc/src/imgwarp.cpp         if( cn == 1 )
cn               3672 modules/imgproc/src/imgwarp.cpp         else if( cn == 3 )
cn               3731 modules/imgproc/src/imgwarp.cpp         else if( cn == 4 )
cn               3808 modules/imgproc/src/imgwarp.cpp     int k, cn = _src.channels();
cn               3817 modules/imgproc/src/imgwarp.cpp     for( k = 0; k < cn; k++ )
cn               3851 modules/imgproc/src/imgwarp.cpp                 D += len*cn;
cn               3854 modules/imgproc/src/imgwarp.cpp                 if( cn == 1 )
cn               3864 modules/imgproc/src/imgwarp.cpp                 else if( cn == 2 )
cn               3874 modules/imgproc/src/imgwarp.cpp                 else if( cn == 3 )
cn               3885 modules/imgproc/src/imgwarp.cpp                 else if( cn == 4 )
cn               3899 modules/imgproc/src/imgwarp.cpp                     for( ; dx < X1; dx++, D += cn )
cn               3903 modules/imgproc/src/imgwarp.cpp                         const T* S = S0 + sy*sstep + sx*cn;
cn               3904 modules/imgproc/src/imgwarp.cpp                         for( k = 0; k < cn; k++ )
cn               3906 modules/imgproc/src/imgwarp.cpp                             WT t0 = S[k]*w[0] + S[k+cn]*w[1] + S[sstep+k]*w[2] + S[sstep+k+cn]*w[3];
cn               3913 modules/imgproc/src/imgwarp.cpp                 if( borderType == BORDER_TRANSPARENT && cn != 3 )
cn               3915 modules/imgproc/src/imgwarp.cpp                     D += (X1 - dx)*cn;
cn               3920 modules/imgproc/src/imgwarp.cpp                 if( cn == 1 )
cn               3961 modules/imgproc/src/imgwarp.cpp                     for( ; dx < X1; dx++, D += cn )
cn               3968 modules/imgproc/src/imgwarp.cpp                             for( k = 0; k < cn; k++ )
cn               3982 modules/imgproc/src/imgwarp.cpp                                 v0 = S0 + sy0*sstep + sx0*cn;
cn               3983 modules/imgproc/src/imgwarp.cpp                                 v1 = S0 + sy0*sstep + sx1*cn;
cn               3984 modules/imgproc/src/imgwarp.cpp                                 v2 = S0 + sy1*sstep + sx0*cn;
cn               3985 modules/imgproc/src/imgwarp.cpp                                 v3 = S0 + sy1*sstep + sx1*cn;
cn               3997 modules/imgproc/src/imgwarp.cpp                                 v0 = sx0 >= 0 && sy0 >= 0 ? S0 + sy0*sstep + sx0*cn : &cval[0];
cn               3998 modules/imgproc/src/imgwarp.cpp                                 v1 = sx1 >= 0 && sy0 >= 0 ? S0 + sy0*sstep + sx1*cn : &cval[0];
cn               3999 modules/imgproc/src/imgwarp.cpp                                 v2 = sx0 >= 0 && sy1 >= 0 ? S0 + sy1*sstep + sx0*cn : &cval[0];
cn               4000 modules/imgproc/src/imgwarp.cpp                                 v3 = sx1 >= 0 && sy1 >= 0 ? S0 + sy1*sstep + sx1*cn : &cval[0];
cn               4002 modules/imgproc/src/imgwarp.cpp                             for( k = 0; k < cn; k++ )
cn               4020 modules/imgproc/src/imgwarp.cpp     int cn = _src.channels();
cn               4046 modules/imgproc/src/imgwarp.cpp         for( dx = 0; dx < dsize.width; dx++, D += cn )
cn               4053 modules/imgproc/src/imgwarp.cpp                 const T* S = S0 + sy*sstep + sx*cn;
cn               4054 modules/imgproc/src/imgwarp.cpp                 for( k = 0; k < cn; k++ )
cn               4056 modules/imgproc/src/imgwarp.cpp                     WT sum = S[0]*w[0] + S[cn]*w[1] + S[cn*2]*w[2] + S[cn*3]*w[3];
cn               4058 modules/imgproc/src/imgwarp.cpp                     sum += S[0]*w[4] + S[cn]*w[5] + S[cn*2]*w[6] + S[cn*3]*w[7];
cn               4060 modules/imgproc/src/imgwarp.cpp                     sum += S[0]*w[8] + S[cn]*w[9] + S[cn*2]*w[10] + S[cn*3]*w[11];
cn               4062 modules/imgproc/src/imgwarp.cpp                     sum += S[0]*w[12] + S[cn]*w[13] + S[cn*2]*w[14] + S[cn*3]*w[15];
cn               4079 modules/imgproc/src/imgwarp.cpp                     for( k = 0; k < cn; k++ )
cn               4086 modules/imgproc/src/imgwarp.cpp                     x[i] = borderInterpolate(sx + i, ssize.width, borderType1)*cn;
cn               4090 modules/imgproc/src/imgwarp.cpp                 for( k = 0; k < cn; k++, S0++, w -= 16 )
cn               4110 modules/imgproc/src/imgwarp.cpp                 S0 -= cn;
cn               4125 modules/imgproc/src/imgwarp.cpp     int cn = _src.channels();
cn               4151 modules/imgproc/src/imgwarp.cpp         for( dx = 0; dx < dsize.width; dx++, D += cn )
cn               4155 modules/imgproc/src/imgwarp.cpp             const T* S = S0 + sy*sstep + sx*cn;
cn               4159 modules/imgproc/src/imgwarp.cpp                 for( k = 0; k < cn; k++ )
cn               4163 modules/imgproc/src/imgwarp.cpp                         sum += S[0]*w[0] + S[cn]*w[1] + S[cn*2]*w[2] + S[cn*3]*w[3] +
cn               4164 modules/imgproc/src/imgwarp.cpp                             S[cn*4]*w[4] + S[cn*5]*w[5] + S[cn*6]*w[6] + S[cn*7]*w[7];
cn               4182 modules/imgproc/src/imgwarp.cpp                     for( k = 0; k < cn; k++ )
cn               4189 modules/imgproc/src/imgwarp.cpp                     x[i] = borderInterpolate(sx + i, ssize.width, borderType1)*cn;
cn               4193 modules/imgproc/src/imgwarp.cpp                 for( k = 0; k < cn; k++, S0++, w -= 64 )
cn               4221 modules/imgproc/src/imgwarp.cpp                 S0 -= cn;
cn               4491 modules/imgproc/src/imgwarp.cpp     int cn = _src.channels(), type = _src.type(), depth = _src.depth(),
cn               4540 modules/imgproc/src/imgwarp.cpp                                ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)),
cn               4541 modules/imgproc/src/imgwarp.cpp                                ocl::convertTypeStr(wdepth, depth, cn, cvt[0]),
cn               4542 modules/imgproc/src/imgwarp.cpp                                ocl::convertTypeStr(depth, wdepth, cn, cvt[1]),
cn               4546 modules/imgproc/src/imgwarp.cpp     int scalarcn = cn == 3 ? 4 : cn;
cn               4550 modules/imgproc/src/imgwarp.cpp                            cn, ocl::typeToStr(sctype), depth);
cn               4593 modules/imgproc/src/imgwarp.cpp         int type = dst.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               4596 modules/imgproc/src/imgwarp.cpp                 !IPPSet(borderValue, dstRoi.ptr(), (int)dstRoi.step, dstRoiSize, cn, depth))
cn               5468 modules/imgproc/src/imgwarp.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               5478 modules/imgproc/src/imgwarp.cpp          (!doubleSupport && depth == CV_64F) || cn > 4)
cn               5486 modules/imgproc/src/imgwarp.cpp     int scalarcn = cn == 3 ? 4 : cn;
cn               5498 modules/imgproc/src/imgwarp.cpp                       ocl::typeToStr(sctype), cn, rowsPerWI);
cn               5508 modules/imgproc/src/imgwarp.cpp                       ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)), depth,
cn               5509 modules/imgproc/src/imgwarp.cpp                       ocl::convertTypeStr(depth, wdepth, cn, cvt[0]),
cn               5510 modules/imgproc/src/imgwarp.cpp                       ocl::convertTypeStr(wdepth, depth, cn, cvt[1]),
cn               5511 modules/imgproc/src/imgwarp.cpp                       doubleSupport ? " -D DOUBLE_SUPPORT" : "", cn, rowsPerWI);
cn               5612 modules/imgproc/src/imgwarp.cpp         int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               5614 modules/imgproc/src/imgwarp.cpp            ( cn == 1 || cn == 3 || cn == 4 ) &&
cn               6121 modules/imgproc/src/imgwarp.cpp         int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               6123 modules/imgproc/src/imgwarp.cpp            (cn == 1 || cn == 3 || cn == 4) &&
cn                562 modules/imgproc/src/moments.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                577 modules/imgproc/src/moments.cpp         if( cn > 1 )
cn                102 modules/imgproc/src/morph.cpp     int operator()(const uchar* src, uchar* dst, int width, int cn) const
cn                107 modules/imgproc/src/morph.cpp         cn *= ESZ;
cn                108 modules/imgproc/src/morph.cpp         int i, k, _ksize = ksize*cn;
cn                109 modules/imgproc/src/morph.cpp         width = (width & -4)*cn;
cn                115 modules/imgproc/src/morph.cpp             for( k = cn; k < _ksize; k += cn )
cn                126 modules/imgproc/src/morph.cpp             for( k = cn; k < _ksize; k += cn )
cn                144 modules/imgproc/src/morph.cpp     int operator()(const uchar* src, uchar* dst, int width, int cn) const
cn                149 modules/imgproc/src/morph.cpp         int i, k, _ksize = ksize*cn;
cn                150 modules/imgproc/src/morph.cpp         width = (width & -4)*cn;
cn                156 modules/imgproc/src/morph.cpp             for( k = cn; k < _ksize; k += cn )
cn                644 modules/imgproc/src/morph.cpp     void operator()(const uchar* src, uchar* dst, int width, int cn)
cn                646 modules/imgproc/src/morph.cpp         int i, j, k, _ksize = ksize*cn;
cn                651 modules/imgproc/src/morph.cpp         if( _ksize == cn )
cn                653 modules/imgproc/src/morph.cpp             for( i = 0; i < width*cn; i++ )
cn                658 modules/imgproc/src/morph.cpp         int i0 = vecOp(src, dst, width, cn);
cn                659 modules/imgproc/src/morph.cpp         width *= cn;
cn                661 modules/imgproc/src/morph.cpp         for( k = 0; k < cn; k++, S++, D++ )
cn                663 modules/imgproc/src/morph.cpp             for( i = i0; i <= width - cn*2; i += cn*2 )
cn                666 modules/imgproc/src/morph.cpp                 T m = s[cn];
cn                667 modules/imgproc/src/morph.cpp                 for( j = cn*2; j < _ksize; j += cn )
cn                670 modules/imgproc/src/morph.cpp                 D[i+cn] = op(m, s[j]);
cn                673 modules/imgproc/src/morph.cpp             for( ; i < width; i += cn )
cn                677 modules/imgproc/src/morph.cpp                 for( j = cn; j < _ksize; j += cn )
cn                799 modules/imgproc/src/morph.cpp     void operator()(const uchar** src, uchar* dst, int dststep, int count, int width, int cn)
cn                806 modules/imgproc/src/morph.cpp         width *= cn;
cn                812 modules/imgproc/src/morph.cpp                 kp[k] = (const T*)src[pt[k].y] + pt[k].x*cn;
cn               1268 modules/imgproc/src/morph.cpp     int type = src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1270 modules/imgproc/src/morph.cpp     if( !( depth == CV_8U || depth == CV_32F ) || !(cn == 1 || cn == 3 || cn == 4) ||
cn               1346 modules/imgproc/src/morph.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type);
cn               1349 modules/imgproc/src/morph.cpp     if (cn > 4 || (!doubleSupport && depth == CV_64F) ||
cn               1369 modules/imgproc/src/morph.cpp         wtype = CV_MAKETYPE(wdepth, cn);
cn               1390 modules/imgproc/src/morph.cpp     int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4;
cn               1391 modules/imgproc/src/morph.cpp     int pxLoadVecSize = cn * pxLoadNumPixels;
cn               1396 modules/imgproc/src/morph.cpp     if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4)
cn               1401 modules/imgproc/src/morph.cpp     else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4))
cn               1438 modules/imgproc/src/morph.cpp             cn, anchor.x, anchor.y, ksize.width, ksize.height,
cn               1446 modules/imgproc/src/morph.cpp             haveExtraMat ? ocl::convertTypeStr(depth, wdepth, cn, cvt[0]) : "noconvert",//to prevent overflow - src to WT
cn               1447 modules/imgproc/src/morph.cpp             haveExtraMat ? ocl::convertTypeStr(wdepth, depth, cn, cvt[1]) : "noconvert",//to prevent overflow - WT to dst
cn               1504 modules/imgproc/src/morph.cpp             cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type);
cn               1534 modules/imgproc/src/morph.cpp          (ksize.width == 5 && ksize.height == 5 && cn == 1)) &&
cn               1537 modules/imgproc/src/morph.cpp          && cn == 1
cn               1583 modules/imgproc/src/morph.cpp     int wdepth = std::max(depth, CV_32F), scalarcn = cn == 3 ? 4 : cn;
cn               1597 modules/imgproc/src/morph.cpp                                      ocl::typeToStr(type), depth, cn, ocl::typeToStr(depth),
cn               1598 modules/imgproc/src/morph.cpp                                      ocl::convertTypeStr(depth, wdepth, cn, cvt[0]),
cn               1599 modules/imgproc/src/morph.cpp                                      ocl::convertTypeStr(wdepth, depth, cn, cvt[1]),
cn                 16 modules/imgproc/src/opencl/accumulate.cl #define SRC_TSIZE cn * (int)sizeof(srcT1)
cn                 17 modules/imgproc/src/opencl/accumulate.cl #define DST_TSIZE cn * (int)sizeof(dstT1)
cn                 63 modules/imgproc/src/opencl/accumulate.cl                     for (int c = 0; c < cn; ++c)
cn                 35 modules/imgproc/src/opencl/bilateral.cl #if cn != 3
cn                 38 modules/imgproc/src/opencl/bilateral.cl #define TSIZE cn
cn                 45 modules/imgproc/src/opencl/bilateral.cl #if cn == 1
cn                 47 modules/imgproc/src/opencl/bilateral.cl #elif cn == 2
cn                 49 modules/imgproc/src/opencl/bilateral.cl #elif cn == 3
cn                 51 modules/imgproc/src/opencl/bilateral.cl #elif cn == 4
cn                 97 modules/imgproc/src/opencl/bilateral.cl #if cn == 1
cn                 67 modules/imgproc/src/opencl/blend_linear.cl         int src1_index = mad24(y, src1_step, src1_offset + x * cn * (int)sizeof(T));
cn                 68 modules/imgproc/src/opencl/blend_linear.cl         int src2_index = mad24(y, src2_step, src2_offset + x * cn * (int)sizeof(T));
cn                 71 modules/imgproc/src/opencl/blend_linear.cl         int dst_index = mad24(y, dst_step, dst_offset + x * cn * (int)sizeof(T));
cn                 82 modules/imgproc/src/opencl/blend_linear.cl         for (int i = 0; i < cn; ++i)
cn                 50 modules/imgproc/src/opencl/boxFilter.cl #if cn != 3
cn                 58 modules/imgproc/src/opencl/boxFilter.cl #define SRCSIZE (int)sizeof(ST1)*cn
cn                 59 modules/imgproc/src/opencl/boxFilter.cl #define DSTSIZE (int)sizeof(DT1)*cn
cn                 51 modules/imgproc/src/opencl/canny.cl #if cn == 1
cn                 96 modules/imgproc/src/opencl/canny.cl #if cn == 1
cn                136 modules/imgproc/src/opencl/canny.cl         smem[j] = loadpix(src + mad24(y, src_step, mad24(x, cn * (int)sizeof(TYPE), src_offset)));
cn                300 modules/imgproc/src/opencl/canny.cl         int dx_index = mad24(y, dx_step, mad24(x, cn * (int)sizeof(short), dx_offset));
cn                301 modules/imgproc/src/opencl/canny.cl         int dy_index = mad24(y, dy_step, mad24(x, cn * (int)sizeof(short), dy_offset));
cn                307 modules/imgproc/src/opencl/canny.cl #if cn > 1
cn                310 modules/imgproc/src/opencl/canny.cl         for (int j = 1; j < cn; ++j)
cn                139 modules/imgproc/src/opencl/filter2D.cl #if cn != 3
cn                147 modules/imgproc/src/opencl/filter2D.cl #define SRCSIZE (int)sizeof(srcT1) * cn
cn                148 modules/imgproc/src/opencl/filter2D.cl #define DSTSIZE (int)sizeof(dstT1) * cn
cn                160 modules/imgproc/src/opencl/filter2DSmall.cl #if cn != 3
cn                168 modules/imgproc/src/opencl/filter2DSmall.cl #define SRCSIZE (int)sizeof(srcT1) * cn
cn                169 modules/imgproc/src/opencl/filter2DSmall.cl #define DSTSIZE (int)sizeof(dstT1) * cn
cn                125 modules/imgproc/src/opencl/filterSmall.cl #if cn != 3
cn                133 modules/imgproc/src/opencl/filterSmall.cl #define SRCSIZE (int)sizeof(srcT1) * cn
cn                134 modules/imgproc/src/opencl/filterSmall.cl #define DSTSIZE (int)sizeof(dstT1) * cn
cn                267 modules/imgproc/src/opencl/filterSmall.cl #define WA_CONVERT_1 CAT(convert_uint, cn)
cn                 32 modules/imgproc/src/opencl/match_template.cl #if cn != 3
cn                 40 modules/imgproc/src/opencl/match_template.cl #define SQSUMS_PTR(ox, oy) mad24(y + oy, src_sqsums_step, mad24(x + ox, cn, src_sqsums_offset))
cn                 41 modules/imgproc/src/opencl/match_template.cl #define SUMS_PTR(ox, oy) mad24(y + oy, src_sums_step, mad24(x + ox, cn, src_sums_offset))
cn                 42 modules/imgproc/src/opencl/match_template.cl #define SUMS(ox, oy)    mad24(y+oy, src_sums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sums_offset))
cn                 43 modules/imgproc/src/opencl/match_template.cl #define SQ_SUMS(ox, oy) mad24(y+oy, src_sqsums_step, mad24(x+ox, (int)sizeof(T1)*cn, src_sqsums_offset))
cn                 65 modules/imgproc/src/opencl/match_template.cl #if cn == 1
cn                 67 modules/imgproc/src/opencl/match_template.cl #elif cn == 2
cn                 69 modules/imgproc/src/opencl/match_template.cl #elif cn == 3
cn                 71 modules/imgproc/src/opencl/match_template.cl #elif cn == 4
cn                132 modules/imgproc/src/opencl/match_template.cl             T1 image = *(__global const T1*)(img + mad24(y, img_step, mad24(x, (int)sizeof(T1)*cn, img_offset)));;
cn                141 modules/imgproc/src/opencl/match_template.cl #if cn==1 && PIX_PER_WI_X==4
cn                350 modules/imgproc/src/opencl/match_template.cl #if cn == 1
cn                376 modules/imgproc/src/opencl/match_template.cl #elif cn==3
cn                405 modules/imgproc/src/opencl/match_template.cl #elif (cn==2 || cn==4)
cn                422 modules/imgproc/src/opencl/match_template.cl #if cn==2
cn                444 modules/imgproc/src/opencl/match_template.cl #if cn == 1
cn                479 modules/imgproc/src/opencl/match_template.cl #elif cn==3
cn                520 modules/imgproc/src/opencl/match_template.cl #elif (cn==2 || cn==4)
cn                542 modules/imgproc/src/opencl/match_template.cl #if cn==2
cn                 32 modules/imgproc/src/opencl/medianFilter.cl #if cn != 3
cn                 39 modules/imgproc/src/opencl/medianFilter.cl #define TSIZE (int)sizeof(T1) * cn
cn                 52 modules/imgproc/src/opencl/medianFilter.cl #if cn == 1
cn                 66 modules/imgproc/src/opencl/medianFilter.cl #elif cn == 2
cn                 80 modules/imgproc/src/opencl/medianFilter.cl #elif cn == 4
cn                 48 modules/imgproc/src/opencl/morph.cl #if cn != 3
cn                 70 modules/imgproc/src/opencl/pyr_down.cl #if cn != 3
cn                227 modules/imgproc/src/opencl/pyr_down.cl #if cn == 1
cn                 61 modules/imgproc/src/opencl/pyr_up.cl #if cn != 3
cn                 56 modules/imgproc/src/opencl/remap.cl #if cn != 3
cn                434 modules/imgproc/src/opencl/remap.cl #if depth == 0 && cn == 1
cn                 60 modules/imgproc/src/opencl/resize.cl #if cn != 3
cn                 67 modules/imgproc/src/opencl/resize.cl #define TSIZE (int)sizeof(T1)*cn
cn                 72 modules/imgproc/src/opencl/resize.cl #if cn == 1
cn                 75 modules/imgproc/src/opencl/resize.cl #elif cn == 2
cn                 78 modules/imgproc/src/opencl/resize.cl #elif cn == 3
cn                 81 modules/imgproc/src/opencl/resize.cl #elif cn == 4
cn                 72 modules/imgproc/src/opencl/warp_affine.cl #if cn != 3
cn                208 modules/imgproc/src/opencl/warp_affine.cl #if depth == 0 && cn == 1
cn                349 modules/imgproc/src/opencl/warp_affine.cl #if depth == 0 && cn == 1
cn                 71 modules/imgproc/src/opencl/warp_perspective.cl #if cn != 3
cn                 44 modules/imgproc/src/phasecorr.cpp     int depth = src.depth(), cn = src.channels(), type = src.type();
cn                 63 modules/imgproc/src/phasecorr.cpp     int ncols = cols*cn;
cn                 64 modules/imgproc/src/phasecorr.cpp     int j0 = cn == 1;
cn                 65 modules/imgproc/src/phasecorr.cpp     int j1 = ncols - (cols % 2 == 0 && cn == 1);
cn                 75 modules/imgproc/src/phasecorr.cpp         if( !is_1d && cn == 1 )
cn                 98 modules/imgproc/src/phasecorr.cpp             if( is_1d && cn == 1 )
cn                119 modules/imgproc/src/phasecorr.cpp         if( !is_1d && cn == 1 )
cn                142 modules/imgproc/src/phasecorr.cpp             if( is_1d && cn == 1 )
cn                160 modules/imgproc/src/phasecorr.cpp     int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type();
cn                176 modules/imgproc/src/phasecorr.cpp     int ncols = cols*cn;
cn                177 modules/imgproc/src/phasecorr.cpp     int j0 = cn == 1;
cn                178 modules/imgproc/src/phasecorr.cpp     int j1 = ncols - (cols % 2 == 0 && cn == 1);
cn                191 modules/imgproc/src/phasecorr.cpp         if( !is_1d && cn == 1 )
cn                238 modules/imgproc/src/phasecorr.cpp             if( is_1d && cn == 1 )
cn                276 modules/imgproc/src/phasecorr.cpp         if( !is_1d && cn == 1 )
cn                322 modules/imgproc/src/phasecorr.cpp             if( is_1d && cn == 1 )
cn                858 modules/imgproc/src/pyramids.cpp     int cn = _src.channels();
cn                859 modules/imgproc/src/pyramids.cpp     int bufstep = (int)alignSize(dsize.width*cn, 16);
cn                863 modules/imgproc/src/pyramids.cpp     AutoBuffer<int> _tabM(dsize.width*cn);
cn                876 modules/imgproc/src/pyramids.cpp         int sx0 = borderInterpolate(x - PD_SZ/2, ssize.width, borderType)*cn;
cn                877 modules/imgproc/src/pyramids.cpp         int sx1 = borderInterpolate(x + width0*2 - PD_SZ/2, ssize.width, borderType)*cn;
cn                878 modules/imgproc/src/pyramids.cpp         for( k = 0; k < cn; k++ )
cn                880 modules/imgproc/src/pyramids.cpp             tabL[x*cn + k] = sx0 + k;
cn                881 modules/imgproc/src/pyramids.cpp             tabR[x*cn + k] = sx1 + k;
cn                885 modules/imgproc/src/pyramids.cpp     ssize.width *= cn;
cn                886 modules/imgproc/src/pyramids.cpp     dsize.width *= cn;
cn                887 modules/imgproc/src/pyramids.cpp     width0 *= cn;
cn                890 modules/imgproc/src/pyramids.cpp         tabM[x] = (x/cn)*2*cn + x % cn;
cn                903 modules/imgproc/src/pyramids.cpp             int limit = cn;
cn                910 modules/imgproc/src/pyramids.cpp                     row[x] = src[tab[x+cn*2]]*6 + (src[tab[x+cn]] + src[tab[x+cn*3]])*4 +
cn                911 modules/imgproc/src/pyramids.cpp                         src[tab[x]] + src[tab[x+cn*4]];
cn                917 modules/imgproc/src/pyramids.cpp                 if( cn == 1 )
cn                923 modules/imgproc/src/pyramids.cpp                 else if( cn == 3 )
cn                934 modules/imgproc/src/pyramids.cpp                 else if( cn == 4 )
cn                952 modules/imgproc/src/pyramids.cpp                         row[x] = src[sx]*6 + (src[sx - cn] + src[sx + cn])*4 +
cn                953 modules/imgproc/src/pyramids.cpp                             src[sx - cn*2] + src[sx + cn*2];
cn                982 modules/imgproc/src/pyramids.cpp     int cn = _src.channels();
cn                983 modules/imgproc/src/pyramids.cpp     int bufstep = (int)alignSize((dsize.width+1)*cn, 16);
cn                986 modules/imgproc/src/pyramids.cpp     AutoBuffer<int> _dtab(ssize.width*cn);
cn                997 modules/imgproc/src/pyramids.cpp     ssize.width *= cn;
cn                998 modules/imgproc/src/pyramids.cpp     dsize.width *= cn;
cn               1001 modules/imgproc/src/pyramids.cpp         dtab[x] = (x/cn)*2*cn + x % cn;
cn               1016 modules/imgproc/src/pyramids.cpp             if( ssize.width == cn )
cn               1018 modules/imgproc/src/pyramids.cpp                 for( x = 0; x < cn; x++ )
cn               1019 modules/imgproc/src/pyramids.cpp                     row[x] = row[x + cn] = src[x]*8;
cn               1023 modules/imgproc/src/pyramids.cpp             for( x = 0; x < cn; x++ )
cn               1026 modules/imgproc/src/pyramids.cpp                 WT t0 = src[x]*6 + src[x + cn]*2;
cn               1027 modules/imgproc/src/pyramids.cpp                 WT t1 = (src[x] + src[x + cn])*4;
cn               1028 modules/imgproc/src/pyramids.cpp                 row[dx] = t0; row[dx + cn] = t1;
cn               1029 modules/imgproc/src/pyramids.cpp                 dx = dtab[ssize.width - cn + x];
cn               1030 modules/imgproc/src/pyramids.cpp                 int sx = ssize.width - cn + x;
cn               1031 modules/imgproc/src/pyramids.cpp                 t0 = src[sx - cn] + src[sx]*7;
cn               1033 modules/imgproc/src/pyramids.cpp                 row[dx] = t0; row[dx + cn] = t1;
cn               1036 modules/imgproc/src/pyramids.cpp             for( x = cn; x < ssize.width - cn; x++ )
cn               1039 modules/imgproc/src/pyramids.cpp                 WT t0 = src[x-cn] + src[x]*6 + src[x+cn];
cn               1040 modules/imgproc/src/pyramids.cpp                 WT t1 = (src[x] + src[x+cn])*4;
cn               1042 modules/imgproc/src/pyramids.cpp                 row[dx+cn] = t1;
cn               1068 modules/imgproc/src/pyramids.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1071 modules/imgproc/src/pyramids.cpp     if (cn > 4 || (depth == CV_64F && !doubleSupport))
cn               1090 modules/imgproc/src/pyramids.cpp     if (depth == CV_8U && float_depth == CV_32F && cn == 1 && ocl::Device::getDefault().isIntel())
cn               1098 modules/imgproc/src/pyramids.cpp             ocl::typeToStr(type), ocl::typeToStr(CV_MAKETYPE(float_depth, cn)),
cn               1099 modules/imgproc/src/pyramids.cpp             ocl::convertTypeStr(float_depth, depth, cn, cvt[0]),
cn               1100 modules/imgproc/src/pyramids.cpp             ocl::convertTypeStr(depth, float_depth, cn, cvt[1]),
cn               1102 modules/imgproc/src/pyramids.cpp             cn, kercn, float_depth, borderMap[borderType], local_size
cn                131 modules/imgproc/src/samplers.cpp                        _DTp* dst, size_t dst_step, Size win_size, Point2f center, int cn )
cn                162 modules/imgproc/src/samplers.cpp         src += ip.y * src_step + ip.x*cn;
cn                163 modules/imgproc/src/samplers.cpp         win_size.width *= cn;
cn                169 modules/imgproc/src/samplers.cpp                 _WTp s0 = src[j]*a11 + src[j+cn]*a12 + src[j+src_step]*a21 + src[j+src_step+cn]*a22;
cn                170 modules/imgproc/src/samplers.cpp                 _WTp s1 = src[j+1]*a11 + src[j+cn+1]*a12 + src[j+src_step+1]*a21 + src[j+src_step+cn+1]*a22;
cn                177 modules/imgproc/src/samplers.cpp                 _WTp s0 = src[j]*a11 + src[j+cn]*a12 + src[j+src_step]*a21 + src[j+src_step+cn]*a22;
cn                186 modules/imgproc/src/samplers.cpp                                      sizeof(*src)*cn, src_size, win_size, ip, &r);
cn                196 modules/imgproc/src/samplers.cpp             for( c = 0; c < cn; c++ )
cn                198 modules/imgproc/src/samplers.cpp                 s0 = src[r.x*cn + c]*b1 + src2[r.x*cn + c]*b2;
cn                200 modules/imgproc/src/samplers.cpp                     dst[j*cn + c] = cast_op(s0);
cn                201 modules/imgproc/src/samplers.cpp                 s0 = src[r.width*cn + c]*b1 + src2[r.width*cn + c]*b2;
cn                203 modules/imgproc/src/samplers.cpp                     dst[j*cn + c] = cast_op(s0);
cn                206 modules/imgproc/src/samplers.cpp             for( j = r.x*cn; j < r.width*cn; j++ )
cn                208 modules/imgproc/src/samplers.cpp                 s0 = src[j]*a11 + src[j+cn]*a12 + src2[j]*a21 + src2[j+cn]*a22;
cn                221 modules/imgproc/src/samplers.cpp  float* dst, size_t dst_step, Size win_size, Point2f center0, int cn )
cn                232 modules/imgproc/src/samplers.cpp     if( cn == 1 &&
cn                266 modules/imgproc/src/samplers.cpp         (src, src_step, src_size, dst, dst_step, win_size, center0, cn );
cn                273 modules/imgproc/src/samplers.cpp                                const double *matrix, int cn )
cn                304 modules/imgproc/src/samplers.cpp                 if( cn == 1 )
cn                309 modules/imgproc/src/samplers.cpp                 else if( cn == 3 )
cn                322 modules/imgproc/src/samplers.cpp                     ptr += ixs*cn;
cn                323 modules/imgproc/src/samplers.cpp                     for( k = 0; k < cn; k++ )
cn                324 modules/imgproc/src/samplers.cpp                         dst[x*cn+k] = ptr[k]*w00 + ptr[k+cn]*w01 +
cn                325 modules/imgproc/src/samplers.cpp                                     ptr[src_step+k]*w10 + ptr[src_step+k+cn]*w11;
cn                346 modules/imgproc/src/samplers.cpp                     ptr0 += ixs*cn; ptr1 += ixs*cn;
cn                347 modules/imgproc/src/samplers.cpp                     for( k = 0; k < cn; k++ )
cn                348 modules/imgproc/src/samplers.cpp                         dst[x*cn + k] = ptr0[k]*w00 + ptr0[k+cn]*w01 + ptr1[k]*w10 + ptr1[k+cn]*w11;
cn                353 modules/imgproc/src/samplers.cpp                     ptr0 += ixs*cn; ptr1 += ixs*cn;
cn                354 modules/imgproc/src/samplers.cpp                     for( k = 0; k < cn; k++ )
cn                355 modules/imgproc/src/samplers.cpp                         dst[x*cn + k] = ptr0[k]*b1 + ptr1[k]*b;
cn                369 modules/imgproc/src/samplers.cpp     int depth = image.depth(), cn = image.channels();
cn                372 modules/imgproc/src/samplers.cpp     CV_Assert( cn == 1 || cn == 3 );
cn                374 modules/imgproc/src/samplers.cpp     _patch.create(patchSize, CV_MAKETYPE(ddepth, cn));
cn                410 modules/imgproc/src/samplers.cpp         (image.ptr(), image.step, image.size(), patch.ptr(), patch.step, patch.size(), center, cn);
cn                413 modules/imgproc/src/samplers.cpp         (image.ptr(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn);
cn                416 modules/imgproc/src/samplers.cpp         (image.ptr<float>(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn);
cn                343 modules/imgproc/src/segmentation.cpp     const int cn = 3;
cn                418 modules/imgproc/src/segmentation.cpp             dptr = dst_pyramid[level+1].ptr() + dstep + cn;
cn                427 modules/imgproc/src/segmentation.cpp                 for( j = 1; j < size1.width-1; j++, dptr += cn )
cn                 82 modules/imgproc/src/smooth.cpp     virtual void operator()(const uchar* src, uchar* dst, int width, int cn)
cn                 86 modules/imgproc/src/smooth.cpp         int i = 0, k, ksz_cn = ksize*cn;
cn                 88 modules/imgproc/src/smooth.cpp         width = (width - 1)*cn;
cn                 89 modules/imgproc/src/smooth.cpp         for( k = 0; k < cn; k++, S++, D++ )
cn                 92 modules/imgproc/src/smooth.cpp             for( i = 0; i < ksz_cn; i += cn )
cn                 95 modules/imgproc/src/smooth.cpp             for( i = 0; i < width; i += cn )
cn                 98 modules/imgproc/src/smooth.cpp                 D[i+cn] = s;
cn               1036 modules/imgproc/src/smooth.cpp     int type = _src.type(), sdepth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type), esz = CV_ELEM_SIZE(type);
cn               1042 modules/imgproc/src/smooth.cpp     if (cn > 4 || (!doubleSupport && (sdepth == CV_64F || ddepth == CV_64F)) ||
cn               1057 modules/imgproc/src/smooth.cpp         wtype = CV_MAKE_TYPE(wdepth, cn), dtype = CV_MAKE_TYPE(ddepth, cn);
cn               1081 modules/imgproc/src/smooth.cpp          (ksize.width == 5 && ksize.height == 5 && cn == 1)))
cn               1087 modules/imgproc/src/smooth.cpp         int pxLoadNumPixels = cn != 1 || size.width % 4 ? 1 : 4;
cn               1088 modules/imgproc/src/smooth.cpp         int pxLoadVecSize = cn * pxLoadNumPixels;
cn               1093 modules/imgproc/src/smooth.cpp         if (cn <= 2 && ksize.width <= 4 && ksize.height <= 4)
cn               1098 modules/imgproc/src/smooth.cpp         else if (cn < 4 || (ksize.width <= 4 && ksize.height <= 4))
cn               1122 modules/imgproc/src/smooth.cpp                 cn, anchor.x, anchor.y, ksize.width, ksize.height,
cn               1129 modules/imgproc/src/smooth.cpp                 ocl::convertTypeStr(sdepth, wdepth, cn, cvt[0]),
cn               1130 modules/imgproc/src/smooth.cpp                 ocl::convertTypeStr(wdepth, ddepth, cn, cvt[1]),
cn               1158 modules/imgproc/src/smooth.cpp                                  BLOCK_SIZE_X, BLOCK_SIZE_Y, ocl::typeToStr(type), ocl::typeToStr(CV_MAKE_TYPE(ddepth, cn)),
cn               1159 modules/imgproc/src/smooth.cpp                                  ocl::typeToStr(CV_MAKE_TYPE(wdepth, cn)),
cn               1160 modules/imgproc/src/smooth.cpp                                  ocl::convertTypeStr(wdepth, ddepth, cn, cvt[0]),
cn               1161 modules/imgproc/src/smooth.cpp                                  ocl::convertTypeStr(sdepth, wdepth, cn, cvt[1]),
cn               1165 modules/imgproc/src/smooth.cpp                                  ocl::typeToStr(sdepth), ocl::typeToStr(ddepth), cn);
cn               1185 modules/imgproc/src/smooth.cpp     _dst.create(size, CV_MAKETYPE(ddepth, cn));
cn               1291 modules/imgproc/src/smooth.cpp     int cn = CV_MAT_CN(srcType), sumType = CV_64F;
cn               1296 modules/imgproc/src/smooth.cpp     sumType = CV_MAKETYPE( sumType, cn );
cn               1314 modules/imgproc/src/smooth.cpp     int stype = src.type(), sdepth = CV_MAT_DEPTH(stype), cn = CV_MAT_CN(stype);
cn               1317 modules/imgproc/src/smooth.cpp     _dst.create( src.size(), CV_MAKETYPE(ddepth, cn) );
cn               1352 modules/imgproc/src/smooth.cpp                 if (ippiFilterBoxBorderGetBufferSize(roiSize, maskSize, ippDataType, cn, &bufSize) >= 0) \
cn               1434 modules/imgproc/src/smooth.cpp     virtual void operator()(const uchar* src, uchar* dst, int width, int cn)
cn               1438 modules/imgproc/src/smooth.cpp         int i = 0, k, ksz_cn = ksize*cn;
cn               1440 modules/imgproc/src/smooth.cpp         width = (width - 1)*cn;
cn               1441 modules/imgproc/src/smooth.cpp         for( k = 0; k < cn; k++, S++, D++ )
cn               1444 modules/imgproc/src/smooth.cpp             for( i = 0; i < ksz_cn; i += cn )
cn               1450 modules/imgproc/src/smooth.cpp             for( i = 0; i < width; i += cn )
cn               1454 modules/imgproc/src/smooth.cpp                 D[i+cn] = s;
cn               1494 modules/imgproc/src/smooth.cpp     int srcType = _src.type(), sdepth = CV_MAT_DEPTH(srcType), cn = CV_MAT_CN(srcType);
cn               1514 modules/imgproc/src/smooth.cpp     int sumType = CV_MAKETYPE( sumDepth, cn ), dstType = CV_MAKETYPE(ddepth, cn);
cn               1660 modules/imgproc/src/smooth.cpp         int depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1662 modules/imgproc/src/smooth.cpp         if ((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && (cn == 1 || cn == 3) &&
cn               1673 modules/imgproc/src/smooth.cpp                 if (ippiFilterGaussianGetBufferSize(roiSize, (Ipp32u)ksize.width, dataType, cn, &specSize, &bufferSize) >= 0)
cn               1833 modules/imgproc/src/smooth.cpp     int cn = _dst.channels(), m = _dst.rows, r = (ksize-1)/2;
cn               1838 modules/imgproc/src/smooth.cpp     int STRIPE_SIZE = std::min( _dst.cols, 512/cn );
cn               1840 modules/imgproc/src/smooth.cpp     std::vector<HT> _h_coarse(1 * 16 * (STRIPE_SIZE + 2*r) * cn + 16);
cn               1841 modules/imgproc/src/smooth.cpp     std::vector<HT> _h_fine(16 * 16 * (STRIPE_SIZE + 2*r) * cn + 16);
cn               1851 modules/imgproc/src/smooth.cpp         const uchar* src = _src.ptr() + x*cn;
cn               1852 modules/imgproc/src/smooth.cpp         uchar* dst = _dst.ptr() + (x - r)*cn;
cn               1854 modules/imgproc/src/smooth.cpp         memset( h_coarse, 0, 16*n*cn*sizeof(h_coarse[0]) );
cn               1855 modules/imgproc/src/smooth.cpp         memset( h_fine, 0, 16*16*n*cn*sizeof(h_fine[0]) );
cn               1858 modules/imgproc/src/smooth.cpp         for( c = 0; c < cn; c++ )
cn               1861 modules/imgproc/src/smooth.cpp                 COP( c, j, src[cn*j+c], += (cv::HT)(r+2) );
cn               1867 modules/imgproc/src/smooth.cpp                     COP( c, j, p[cn*j+c], ++ );
cn               1876 modules/imgproc/src/smooth.cpp             memset( H, 0, cn*sizeof(H[0]) );
cn               1877 modules/imgproc/src/smooth.cpp             memset( luc, 0, cn*sizeof(luc[0]) );
cn               1878 modules/imgproc/src/smooth.cpp             for( c = 0; c < cn; c++ )
cn               1883 modules/imgproc/src/smooth.cpp                     COP( c, j, p0[j*cn + c], -- );
cn               1884 modules/imgproc/src/smooth.cpp                     COP( c, j, p1[j*cn + c], ++ );
cn               1947 modules/imgproc/src/smooth.cpp                                 dst[dstep*i+cn*j+c] = (uchar)(16*k + b);
cn               2010 modules/imgproc/src/smooth.cpp                                 dst[dstep*i+cn*j+c] = (uchar)(16*k + b);
cn               2037 modules/imgproc/src/smooth.cpp     int     cn = _src.channels();
cn               2040 modules/imgproc/src/smooth.cpp     #define UPDATE_ACC01( pix, cn, op ) \
cn               2043 modules/imgproc/src/smooth.cpp         zone1[cn][p] op;                \
cn               2044 modules/imgproc/src/smooth.cpp         zone0[cn][p >> 4] op;           \
cn               2048 modules/imgproc/src/smooth.cpp     for( x = 0; x < size.width; x++, src += cn, dst += cn )
cn               2065 modules/imgproc/src/smooth.cpp         memset( zone0, 0, sizeof(zone0[0])*cn );
cn               2066 modules/imgproc/src/smooth.cpp         memset( zone1, 0, sizeof(zone1[0])*cn );
cn               2070 modules/imgproc/src/smooth.cpp             for( c = 0; c < cn; c++ )
cn               2074 modules/imgproc/src/smooth.cpp                     for( k = 0; k < m*cn; k += cn )
cn               2079 modules/imgproc/src/smooth.cpp                     for( k = 0; k < m*cn; k += cn )
cn               2092 modules/imgproc/src/smooth.cpp             for( c = 0; c < cn; c++ )
cn               2114 modules/imgproc/src/smooth.cpp             if( cn == 1 )
cn               2126 modules/imgproc/src/smooth.cpp             else if( cn == 3 )
cn               2141 modules/imgproc/src/smooth.cpp                 assert( cn == 4 );
cn               2381 modules/imgproc/src/smooth.cpp     int i, j, k, cn = _src.channels();
cn               2391 modules/imgproc/src/smooth.cpp             int sdelta = size.height == 1 ? cn : sstep;
cn               2392 modules/imgproc/src/smooth.cpp             int sdelta0 = size.height == 1 ? 0 : sstep - cn;
cn               2393 modules/imgproc/src/smooth.cpp             int ddelta = size.height == 1 ? cn : dstep;
cn               2396 modules/imgproc/src/smooth.cpp                 for( j = 0; j < cn; j++, src++ )
cn               2408 modules/imgproc/src/smooth.cpp         size.width *= cn;
cn               2414 modules/imgproc/src/smooth.cpp             int limit = useSIMD ? cn : size.width;
cn               2420 modules/imgproc/src/smooth.cpp                     int j0 = j >= cn ? j - cn : j;
cn               2421 modules/imgproc/src/smooth.cpp                     int j2 = j < size.width - cn ? j + cn : j;
cn               2437 modules/imgproc/src/smooth.cpp                 for( ; j <= size.width - VecOp::SIZE - cn; j += VecOp::SIZE )
cn               2439 modules/imgproc/src/smooth.cpp                     VT p0 = vop.load(row0+j-cn), p1 = vop.load(row0+j), p2 = vop.load(row0+j+cn);
cn               2440 modules/imgproc/src/smooth.cpp                     VT p3 = vop.load(row1+j-cn), p4 = vop.load(row1+j), p5 = vop.load(row1+j+cn);
cn               2441 modules/imgproc/src/smooth.cpp                     VT p6 = vop.load(row2+j-cn), p7 = vop.load(row2+j), p8 = vop.load(row2+j+cn);
cn               2460 modules/imgproc/src/smooth.cpp             int sdelta = size.height == 1 ? cn : sstep;
cn               2461 modules/imgproc/src/smooth.cpp             int sdelta0 = size.height == 1 ? 0 : sstep - cn;
cn               2462 modules/imgproc/src/smooth.cpp             int ddelta = size.height == 1 ? cn : dstep;
cn               2465 modules/imgproc/src/smooth.cpp                 for( j = 0; j < cn; j++, src++ )
cn               2480 modules/imgproc/src/smooth.cpp         size.width *= cn;
cn               2489 modules/imgproc/src/smooth.cpp             int limit = useSIMD ? cn*2 : size.width;
cn               2496 modules/imgproc/src/smooth.cpp                     int j1 = j >= cn ? j - cn : j;
cn               2497 modules/imgproc/src/smooth.cpp                     int j0 = j >= cn*2 ? j - cn*2 : j1;
cn               2498 modules/imgproc/src/smooth.cpp                     int j3 = j < size.width - cn ? j + cn : j;
cn               2499 modules/imgproc/src/smooth.cpp                     int j4 = j < size.width - cn*2 ? j + cn*2 : j3;
cn               2537 modules/imgproc/src/smooth.cpp                 for( ; j <= size.width - VecOp::SIZE - cn*2; j += VecOp::SIZE )
cn               2543 modules/imgproc/src/smooth.cpp                         p[k*5] = vop.load(rowk+j-cn*2); p[k*5+1] = vop.load(rowk+j-cn);
cn               2544 modules/imgproc/src/smooth.cpp                         p[k*5+2] = vop.load(rowk+j); p[k*5+3] = vop.load(rowk+j+cn);
cn               2545 modules/imgproc/src/smooth.cpp                         p[k*5+4] = vop.load(rowk+j+cn*2);
cn               2586 modules/imgproc/src/smooth.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2588 modules/imgproc/src/smooth.cpp     if ( !((depth == CV_8U || depth == CV_16U || depth == CV_16S || depth == CV_32F) && cn <= 4 && (m == 3 || m == 5)) )
cn               2592 modules/imgproc/src/smooth.cpp     bool useOptimized = (1 == cn) &&
cn               2602 modules/imgproc/src/smooth.cpp                          ocl::typeToStr(depth), ocl::typeToStr(depth), cn*4, cn)
cn               2604 modules/imgproc/src/smooth.cpp                          format("-D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn) ;
cn               2736 modules/imgproc/src/smooth.cpp         int cn = src0.channels();
cn               2737 modules/imgproc/src/smooth.cpp         CV_Assert( src.depth() == CV_8U && (cn == 1 || cn == 3 || cn == 4) );
cn               2768 modules/imgproc/src/smooth.cpp         int i, j, cn = dest->channels(), k;
cn               2779 modules/imgproc/src/smooth.cpp             const uchar* sptr = temp->ptr(i+radius) + radius*cn;
cn               2782 modules/imgproc/src/smooth.cpp             if( cn == 1 )
cn               2831 modules/imgproc/src/smooth.cpp                 assert( cn == 3 );
cn               2974 modules/imgproc/src/smooth.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               2977 modules/imgproc/src/smooth.cpp     if (depth != CV_8U || cn > 4)
cn               3013 modules/imgproc/src/smooth.cpp             space_ofs[maxk++] = (int)(i * temp.step + j * cn);
cn               3017 modules/imgproc/src/smooth.cpp     String cnstr = cn > 1 ? format("%d", cn) : "";
cn               3024 modules/imgproc/src/smooth.cpp             if (dst.cols % 4 == 0 && cn == 1) // For single channel x4 sized images.
cn               3033 modules/imgproc/src/smooth.cpp             radius, maxk, cn, ocl::typeToStr(CV_32SC(cn)), cnstr.c_str(),
cn               3034 modules/imgproc/src/smooth.cpp             ocl::convertTypeStr(CV_8U, CV_32S, cn, cvt[0]),
cn               3035 modules/imgproc/src/smooth.cpp             ocl::typeToStr(type), ocl::typeToStr(CV_32FC(cn)),
cn               3036 modules/imgproc/src/smooth.cpp             ocl::convertTypeStr(CV_32S, CV_32F, cn, cvt[1]),
cn               3037 modules/imgproc/src/smooth.cpp             ocl::convertTypeStr(CV_32F, CV_8U, cn, cvt[2]), gauss_color_coeff));
cn               3062 modules/imgproc/src/smooth.cpp     int cn = src.channels();
cn               3089 modules/imgproc/src/smooth.cpp         if( cn == 1 )
cn               3104 modules/imgproc/src/smooth.cpp     std::vector<float> _color_weight(cn*256);
cn               3113 modules/imgproc/src/smooth.cpp     for( i = 0; i < 256*cn; i++ )
cn               3127 modules/imgproc/src/smooth.cpp             space_ofs[maxk++] = (int)(i*temp.step + j*cn);
cn               3143 modules/imgproc/src/smooth.cpp         cn(_cn), radius(_radius), maxk(_maxk), space_ofs(_space_ofs),
cn               3161 modules/imgproc/src/smooth.cpp             const float* sptr = temp->ptr<float>(i+radius) + radius*cn;
cn               3164 modules/imgproc/src/smooth.cpp             if( cn == 1 )
cn               3224 modules/imgproc/src/smooth.cpp                 CV_Assert( cn == 3 );
cn               3311 modules/imgproc/src/smooth.cpp     int cn, radius, maxk, *space_ofs;
cn               3323 modules/imgproc/src/smooth.cpp     int cn = src.channels();
cn               3370 modules/imgproc/src/smooth.cpp     len = (float)(maxValSrc - minValSrc) * cn;
cn               3371 modules/imgproc/src/smooth.cpp     kExpNumBins = kExpNumBinsPerChannel * cn;
cn               3398 modules/imgproc/src/smooth.cpp             space_ofs[maxk++] = (int)(i*(temp.step/sizeof(float)) + j*cn);
cn               3403 modules/imgproc/src/smooth.cpp     BilateralFilter_32f_Invoker body(cn, radius, maxk, space_ofs, temp, dst, scale_index, space_weight, expLUT);
cn                 81 modules/imgproc/src/sumpixels.cpp                     Size size, int cn) const
cn                 83 modules/imgproc/src/sumpixels.cpp         if (sqsum || tilted || cn != 1 || !haveSSE2)
cn                150 modules/imgproc/src/sumpixels.cpp                 Size size, int cn )
cn                158 modules/imgproc/src/sumpixels.cpp                                    size, cn))
cn                166 modules/imgproc/src/sumpixels.cpp     size.width *= cn;
cn                168 modules/imgproc/src/sumpixels.cpp     memset( sum, 0, (size.width+cn)*sizeof(sum[0]));
cn                169 modules/imgproc/src/sumpixels.cpp     sum += sumstep + cn;
cn                173 modules/imgproc/src/sumpixels.cpp         memset( sqsum, 0, (size.width+cn)*sizeof(sqsum[0]));
cn                174 modules/imgproc/src/sumpixels.cpp         sqsum += sqsumstep + cn;
cn                179 modules/imgproc/src/sumpixels.cpp         memset( tilted, 0, (size.width+cn)*sizeof(tilted[0]));
cn                180 modules/imgproc/src/sumpixels.cpp         tilted += tiltedstep + cn;
cn                185 modules/imgproc/src/sumpixels.cpp         for( y = 0; y < size.height; y++, src += srcstep - cn, sum += sumstep - cn )
cn                187 modules/imgproc/src/sumpixels.cpp             for( k = 0; k < cn; k++, src++, sum++ )
cn                189 modules/imgproc/src/sumpixels.cpp                 ST s = sum[-cn] = 0;
cn                190 modules/imgproc/src/sumpixels.cpp                 for( x = 0; x < size.width; x += cn )
cn                200 modules/imgproc/src/sumpixels.cpp         for( y = 0; y < size.height; y++, src += srcstep - cn,
cn                201 modules/imgproc/src/sumpixels.cpp                         sum += sumstep - cn, sqsum += sqsumstep - cn )
cn                203 modules/imgproc/src/sumpixels.cpp             for( k = 0; k < cn; k++, src++, sum++, sqsum++ )
cn                205 modules/imgproc/src/sumpixels.cpp                 ST s = sum[-cn] = 0;
cn                206 modules/imgproc/src/sumpixels.cpp                 QT sq = sqsum[-cn] = 0;
cn                207 modules/imgproc/src/sumpixels.cpp                 for( x = 0; x < size.width; x += cn )
cn                222 modules/imgproc/src/sumpixels.cpp         AutoBuffer<ST> _buf(size.width+cn);
cn                226 modules/imgproc/src/sumpixels.cpp         for( k = 0; k < cn; k++, src++, sum++, tilted++, buf++ )
cn                228 modules/imgproc/src/sumpixels.cpp             sum[-cn] = tilted[-cn] = 0;
cn                230 modules/imgproc/src/sumpixels.cpp             for( x = 0, s = 0, sq = 0; x < size.width; x += cn )
cn                241 modules/imgproc/src/sumpixels.cpp             if( size.width == cn )
cn                242 modules/imgproc/src/sumpixels.cpp                 buf[cn] = 0;
cn                246 modules/imgproc/src/sumpixels.cpp                 sqsum[-cn] = 0;
cn                253 modules/imgproc/src/sumpixels.cpp             src += srcstep - cn;
cn                254 modules/imgproc/src/sumpixels.cpp             sum += sumstep - cn;
cn                255 modules/imgproc/src/sumpixels.cpp             tilted += tiltedstep - cn;
cn                256 modules/imgproc/src/sumpixels.cpp             buf += -cn;
cn                259 modules/imgproc/src/sumpixels.cpp                 sqsum += sqsumstep - cn;
cn                261 modules/imgproc/src/sumpixels.cpp             for( k = 0; k < cn; k++, src++, sum++, tilted++, buf++ )
cn                267 modules/imgproc/src/sumpixels.cpp                 sum[-cn] = 0;
cn                269 modules/imgproc/src/sumpixels.cpp                     sqsum[-cn] = 0;
cn                270 modules/imgproc/src/sumpixels.cpp                 tilted[-cn] = tilted[-tiltedstep];
cn                275 modules/imgproc/src/sumpixels.cpp                 tilted[0] = tilted[-tiltedstep] + t0 + buf[cn];
cn                277 modules/imgproc/src/sumpixels.cpp                 for( x = cn; x < size.width - cn; x += cn )
cn                280 modules/imgproc/src/sumpixels.cpp                     buf[x - cn] = t1 + t0;
cn                288 modules/imgproc/src/sumpixels.cpp                     t1 += buf[x + cn] + t0 + tilted[x - tiltedstep - cn];
cn                292 modules/imgproc/src/sumpixels.cpp                 if( size.width > cn )
cn                295 modules/imgproc/src/sumpixels.cpp                     buf[x - cn] = t1 + t0;
cn                303 modules/imgproc/src/sumpixels.cpp                     tilted[x] = t0 + t1 + tilted[x - tiltedstep - cn];
cn                317 modules/imgproc/src/sumpixels.cpp                               ST* tilted, size_t tiltedstep, Size size, int cn ) \
cn                318 modules/imgproc/src/sumpixels.cpp { integral_(src, srcstep, sum, sumstep, sqsum, sqsumstep, tilted, tiltedstep, size, cn); }
cn                336 modules/imgproc/src/sumpixels.cpp                              Size size, int cn );
cn                430 modules/imgproc/src/sumpixels.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                450 modules/imgproc/src/sumpixels.cpp     _sum.create( isize, CV_MAKETYPE(sdepth, cn) );
cn                455 modules/imgproc/src/sumpixels.cpp         _sqsum.create( isize, CV_MAKETYPE(sqdepth, cn) );
cn                462 modules/imgproc/src/sumpixels.cpp         if( ( depth == CV_8U ) && ( sdepth == CV_32F || sdepth == CV_32S ) && ( !_tilted.needed() ) && ( !_sqsum.needed() || sqdepth == CV_64F ) && ( cn == 1 ) )
cn                500 modules/imgproc/src/sumpixels.cpp         _tilted.create( isize, CV_MAKETYPE(sdepth, cn) );
cn                533 modules/imgproc/src/sumpixels.cpp           tilted.ptr(), tilted.step, src.size(), cn );
cn                 59 modules/imgproc/src/templmatch.cpp static bool extractFirstChannel_32F(InputArray _image, OutputArray _result, int cn)
cn                 67 modules/imgproc/src/templmatch.cpp                                                                             ocl::typeToStr(depth), cn, pxPerWIy));
cn                 81 modules/imgproc/src/templmatch.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                 82 modules/imgproc/src/templmatch.cpp     int wdepth = CV_32F, wtype = CV_MAKE_TYPE(wdepth, cn);
cn                 93 modules/imgproc/src/templmatch.cpp                          ocl::typeToStr(type), ocl::typeToStr(depth), ocl::typeToStr(wtype), cn,
cn                 94 modules/imgproc/src/templmatch.cpp                          ocl::convertTypeStr(depth, wdepth, cn, cvt),
cn                256 modules/imgproc/src/templmatch.cpp     int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                257 modules/imgproc/src/templmatch.cpp     int wdepth = CV_32F, wtype = CV_MAKE_TYPE(wdepth, cn);
cn                260 modules/imgproc/src/templmatch.cpp     int pxPerWIx = (cn==1 && dev.isIntel() && (dev.type() & ocl::Device::TYPE_GPU)) ? 4 : 1;
cn                261 modules/imgproc/src/templmatch.cpp     int rated_cn = cn;
cn                273 modules/imgproc/src/templmatch.cpp     const char* convertToWT1 = ocl::convertTypeStr(depth, wdepth, cn, cvt);
cn                278 modules/imgproc/src/templmatch.cpp                          convertToWT, convertToWT1, cn, pxPerWIx));
cn                320 modules/imgproc/src/templmatch.cpp     int type = _image.type(), cn = CV_MAT_CN(type);
cn                323 modules/imgproc/src/templmatch.cpp                   format("-D CCORR_NORMED -D T=%s -D cn=%d", ocl::typeToStr(type), cn));
cn                349 modules/imgproc/src/templmatch.cpp     int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                350 modules/imgproc/src/templmatch.cpp     int wdepth = CV_32F, wtype = CV_MAKE_TYPE(wdepth, cn);
cn                355 modules/imgproc/src/templmatch.cpp                          ocl::typeToStr(wtype), ocl::convertTypeStr(depth, wdepth, cn, cvt), cn));
cn                378 modules/imgproc/src/templmatch.cpp         int type = _image.type(), cn = CV_MAT_CN(type);
cn                381 modules/imgproc/src/templmatch.cpp                   format("-D SQDIFF_PREPARED -D T=%s -D cn=%d", ocl::typeToStr(type),  cn));
cn                409 modules/imgproc/src/templmatch.cpp     int type = _image.type(), cn = CV_MAT_CN(type);
cn                412 modules/imgproc/src/templmatch.cpp                   format("-D SQDIFF_NORMED -D T=%s -D cn=%d", ocl::typeToStr(type),  cn));
cn                444 modules/imgproc/src/templmatch.cpp     int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                447 modules/imgproc/src/templmatch.cpp                   format("-D CCOEFF -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn));
cn                454 modules/imgproc/src/templmatch.cpp     if (cn==1)
cn                479 modules/imgproc/src/templmatch.cpp     int type = image_sums.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                482 modules/imgproc/src/templmatch.cpp         format("-D CCOEFF_NORMED -D T=%s -D T1=%s -D cn=%d", ocl::typeToStr(type), ocl::typeToStr(depth), cn));
cn                493 modules/imgproc/src/templmatch.cpp     if (cn == 1)
cn                521 modules/imgproc/src/templmatch.cpp         for (int i = 0; i < cn; i ++)
cn                544 modules/imgproc/src/templmatch.cpp     int cn = _img.channels();
cn                546 modules/imgproc/src/templmatch.cpp     if (cn > 4)
cn                644 modules/imgproc/src/templmatch.cpp     int depth = img.depth(), cn = img.channels();
cn                692 modules/imgproc/src/templmatch.cpp     if( cn > 1 && depth != maxDepth )
cn                696 modules/imgproc/src/templmatch.cpp     if( (ccn > 1 || cn > 1) && cdepth != maxDepth )
cn                761 modules/imgproc/src/templmatch.cpp         for( k = 0; k < cn; k++ )
cn                766 modules/imgproc/src/templmatch.cpp             if( cn > 1 )
cn                820 modules/imgproc/src/templmatch.cpp     int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                831 modules/imgproc/src/templmatch.cpp         type = CV_MAKETYPE(CV_32F, cn);
cn                908 modules/imgproc/src/templmatch.cpp     int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                946 modules/imgproc/src/templmatch.cpp         if (method == CV_TM_SQDIFF && cn == 1 && useIppMT)
cn                959 modules/imgproc/src/templmatch.cpp     if (cn == 1 && useIppMT)
cn               1016 modules/imgproc/src/templmatch.cpp         q1 = q0 + templ.cols*cn;
cn               1018 modules/imgproc/src/templmatch.cpp         q3 = q2 + templ.cols*cn;
cn               1022 modules/imgproc/src/templmatch.cpp     double* p1 = p0 + templ.cols*cn;
cn               1024 modules/imgproc/src/templmatch.cpp     double* p3 = p2 + templ.cols*cn;
cn               1037 modules/imgproc/src/templmatch.cpp         for( j = 0; j < result.cols; j++, idx += cn, idx2 += cn )
cn               1044 modules/imgproc/src/templmatch.cpp                 for( k = 0; k < cn; k++ )
cn               1056 modules/imgproc/src/templmatch.cpp                 for( k = 0; k < cn; k++ )
cn               1141 modules/imgproc/src/thresh.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type),
cn               1172 modules/imgproc/src/thresh.cpp     k.args(ocl::KernelArg::ReadOnlyNoSize(src), ocl::KernelArg::WriteOnly(dst, cn, kercn),
cn               1177 modules/imgproc/src/thresh.cpp     size_t globalsize[2] = { dst.cols * cn / kercn, dst.rows };
cn                 59 modules/imgproc/test/ocl/test_boxfilter.cpp     int depth, cn, borderType;
cn                 70 modules/imgproc/test/ocl/test_boxfilter.cpp         cn = GET_PARAM(1);
cn                 78 modules/imgproc/test/ocl/test_boxfilter.cpp         int type = CV_MAKE_TYPE(depth, cn);
cn                 63 modules/imgproc/test/ocl/test_canny.cpp     int cn, apperture_size;
cn                 71 modules/imgproc/test/ocl/test_canny.cpp         cn = GET_PARAM(0);
cn                 79 modules/imgproc/test/ocl/test_canny.cpp         Mat img = readImageType("shared/fruits.png", CV_8UC(cn));
cn                109 modules/imgproc/test/ocl/test_histogram.cpp             int cn = randomInt(1, 5);
cn                110 modules/imgproc/test/ocl/test_histogram.cpp             randomSubMat(images[i], images_roi[i], roiSize, srcBorder, CV_MAKE_TYPE(depth, cn), 0, 125);
cn                115 modules/imgproc/test/ocl/test_histogram.cpp             channels.push_back(randomInt(0, cn) + totalChannels);
cn                116 modules/imgproc/test/ocl/test_histogram.cpp             totalChannels += cn;
cn                100 modules/imgproc/test/test_bilateral_filter.cpp         int cn = src.channels();
cn                150 modules/imgproc/test/test_bilateral_filter.cpp         len = (float)(maxValSrc - minValSrc) * cn;
cn                151 modules/imgproc/test/test_bilateral_filter.cpp         kExpNumBins = kExpNumBinsPerChannel * cn;
cn                178 modules/imgproc/test/test_bilateral_filter.cpp                 space_ofs[maxk++] = (int)(i*(temp.step/sizeof(float)) + j*cn);
cn                183 modules/imgproc/test/test_bilateral_filter.cpp             const float* sptr = temp.ptr<float>(i+radius) + radius*cn;
cn                186 modules/imgproc/test/test_bilateral_filter.cpp             if( cn == 1 )
cn                207 modules/imgproc/test/test_bilateral_filter.cpp                 assert( cn == 3 );
cn                123 modules/imgproc/test/test_color.cpp     int depth, cn;
cn                139 modules/imgproc/test/test_color.cpp     cn = (cvtest::randInt(rng) & 1) + 3;
cn                142 modules/imgproc/test/test_color.cpp     types[INPUT][0] = CV_MAKETYPE(depth, cn);
cn                145 modules/imgproc/test/test_color.cpp         types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(depth, cn);
cn                147 modules/imgproc/test/test_color.cpp     inplace = cn == 3 && cvtest::randInt(rng) % 2 != 0;
cn                210 modules/imgproc/test/test_color.cpp     int cn = src.channels(), dst_cn = dst.channels();
cn                218 modules/imgproc/test/test_color.cpp     assert( (cn == 3 || cn == 4) && (dst_cn == 3 || dst_cn == 1) );
cn                231 modules/imgproc/test/test_color.cpp                     src_buf[j*3] = src_row[j*cn + blue_idx]*c8u;
cn                232 modules/imgproc/test/test_color.cpp                     src_buf[j*3+1] = src_row[j*cn + 1]*c8u;
cn                233 modules/imgproc/test/test_color.cpp                     src_buf[j*3+2] = src_row[j*cn + (blue_idx^2)]*c8u;
cn                252 modules/imgproc/test/test_color.cpp                     src_buf[j*3] = src_row[j*cn + blue_idx]*c16u;
cn                253 modules/imgproc/test/test_color.cpp                     src_buf[j*3+1] = src_row[j*cn + 1]*c16u;
cn                254 modules/imgproc/test/test_color.cpp                     src_buf[j*3+2] = src_row[j*cn + (blue_idx^2)]*c16u;
cn                273 modules/imgproc/test/test_color.cpp                     src_buf[j*3] = src_row[j*cn + blue_idx];
cn                274 modules/imgproc/test/test_color.cpp                     src_buf[j*3+1] = src_row[j*cn + 1];
cn                275 modules/imgproc/test/test_color.cpp                     src_buf[j*3+2] = src_row[j*cn + (blue_idx^2)];
cn                305 modules/imgproc/test/test_color.cpp         int src_cn = dst.channels(), cn = dst2.channels();
cn                313 modules/imgproc/test/test_color.cpp         assert( cn == 3 || cn == 4 );
cn                334 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = saturate_cast<uchar>(b);
cn                335 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = saturate_cast<uchar>(g);
cn                336 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = saturate_cast<uchar>(r);
cn                337 modules/imgproc/test/test_color.cpp                         if( cn == 4 )
cn                338 modules/imgproc/test/test_color.cpp                             dst_row[j*cn + 3] = 255;
cn                357 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = saturate_cast<ushort>(b);
cn                358 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = saturate_cast<ushort>(g);
cn                359 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = saturate_cast<ushort>(r);
cn                360 modules/imgproc/test/test_color.cpp                         if( cn == 4 )
cn                361 modules/imgproc/test/test_color.cpp                             dst_row[j*cn + 3] = 65535;
cn                377 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = b;
cn                378 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = g;
cn                379 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = r;
cn                380 modules/imgproc/test/test_color.cpp                         if( cn == 4 )
cn                381 modules/imgproc/test/test_color.cpp                             dst_row[j*cn + 3] = 1.f;
cn                441 modules/imgproc/test/test_color.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn                445 modules/imgproc/test/test_color.cpp     if( cn == 3 )
cn               1290 modules/imgproc/test/test_color.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn               1296 modules/imgproc/test/test_color.cpp         types[INPUT][0] = types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(CV_8U,cn);
cn               1317 modules/imgproc/test/test_color.cpp         if( cn == 3 )
cn               1341 modules/imgproc/test/test_color.cpp     int depth = src.depth(), cn = src.channels();
cn               1364 modules/imgproc/test/test_color.cpp                         uchar b = src_row[j*cn + blue_idx];
cn               1365 modules/imgproc/test/test_color.cpp                         uchar g = src_row[j*cn + 1];
cn               1366 modules/imgproc/test/test_color.cpp                         uchar r = src_row[j*cn + (blue_idx^2)];
cn               1376 modules/imgproc/test/test_color.cpp                         int b = src_row[j*cn + blue_idx] >> 3;
cn               1377 modules/imgproc/test/test_color.cpp                         int g = src_row[j*cn + 1] >> g_rshift;
cn               1378 modules/imgproc/test/test_color.cpp                         int r = src_row[j*cn + (blue_idx^2)] >> 3;
cn               1380 modules/imgproc/test/test_color.cpp                         if( cn == 4 && src_row[j*4+3] )
cn               1393 modules/imgproc/test/test_color.cpp                     ushort b = src_row[j*cn + blue_idx];
cn               1394 modules/imgproc/test/test_color.cpp                     ushort g = src_row[j*cn + 1];
cn               1395 modules/imgproc/test/test_color.cpp                     ushort r = src_row[j*cn + (blue_idx^2)];
cn               1409 modules/imgproc/test/test_color.cpp                     float b = src_row[j*cn + blue_idx];
cn               1410 modules/imgproc/test/test_color.cpp                     float g = src_row[j*cn + 1];
cn               1411 modules/imgproc/test/test_color.cpp                     float r = src_row[j*cn + (blue_idx^2)];
cn               1427 modules/imgproc/test/test_color.cpp     int depth = src.depth(), cn = dst.channels();
cn               1454 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = b;
cn               1455 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = g;
cn               1456 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = r;
cn               1458 modules/imgproc/test/test_color.cpp                         if( cn == 4 )
cn               1459 modules/imgproc/test/test_color.cpp                             dst_row[j*cn + 3] = 255;
cn               1471 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + blue_idx] = b;
cn               1472 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 1] = g;
cn               1473 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + (blue_idx^2)] = r;
cn               1475 modules/imgproc/test/test_color.cpp                         if( cn == 4 )
cn               1478 modules/imgproc/test/test_color.cpp                             dst_row[j*cn + 3] = alpha;
cn               1495 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + blue_idx] = b;
cn               1496 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + 1] = g;
cn               1497 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + (blue_idx^2)] = r;
cn               1499 modules/imgproc/test/test_color.cpp                     if( cn == 4 )
cn               1500 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 3] = 65535;
cn               1515 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + blue_idx] = b;
cn               1516 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + 1] = g;
cn               1517 modules/imgproc/test/test_color.cpp                     dst_row[j*cn + (blue_idx^2)] = r;
cn               1519 modules/imgproc/test/test_color.cpp                     if( cn == 4 )
cn               1520 modules/imgproc/test/test_color.cpp                         dst_row[j*cn + 3] = 1.f;
cn               1898 modules/imgproc/test/test_color.cpp     int cn = reference.channels();
cn               1899 modules/imgproc/test/test_color.cpp     ssize.width *= cn;
cn               1910 modules/imgproc/test/test_color.cpp                 ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn,  y);
cn               1921 modules/imgproc/test/test_color.cpp                     std::cout << "lab: " << lab(cv::Rect(y, x / cn, 1, 1)) << std::endl;
cn               1923 modules/imgproc/test/test_color.cpp                 std::cout << "src: " << src(cv::Rect(y, x / cn, 1, 1)) << std::endl;
cn               2166 modules/imgproc/test/test_color.cpp         int cn = reference.channels();
cn               2167 modules/imgproc/test/test_color.cpp         ssize.width *= cn;
cn               2177 modules/imgproc/test/test_color.cpp                     ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn,  y);
cn                133 modules/imgproc/test/test_filter.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
cn                136 modules/imgproc/test/test_filter.cpp     cn += cn == 2;
cn                138 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                200 modules/imgproc/test/test_filter.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn                202 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                408 modules/imgproc/test/test_filter.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn                410 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                642 modules/imgproc/test/test_filter.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn                644 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn);
cn                687 modules/imgproc/test/test_filter.cpp     int cn = (cvtest::randInt(rng) % 4) + 1;
cn                689 modules/imgproc/test/test_filter.cpp     types[OUTPUT][0] = types[REF_OUTPUT][0] = types[INPUT][0] = CV_MAKETYPE(depth, cn);
cn                868 modules/imgproc/test/test_filter.cpp     int cn = CV_MAT_CN(types[INPUT][0]);
cn                869 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn);
cn                997 modules/imgproc/test/test_filter.cpp     int i, cn = src0.channels();
cn               1001 modules/imgproc/test/test_filter.cpp     if( cn == 1 )
cn               1006 modules/imgproc/test/test_filter.cpp     for( i = 0; i < cn; i++ )
cn               1009 modules/imgproc/test/test_filter.cpp         if( cn > 1 )
cn               1016 modules/imgproc/test/test_filter.cpp         if( cn > 1 )
cn               1065 modules/imgproc/test/test_filter.cpp     int cn = channels[cvtest::randInt(rng) % (sizeof(channels)/sizeof(channels[0]))];
cn               1070 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn               1608 modules/imgproc/test/test_filter.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
cn               1613 modules/imgproc/test/test_filter.cpp     cn += cn == 2;
cn               1617 modules/imgproc/test/test_filter.cpp     types[INPUT][0] = CV_MAKETYPE(depth,cn);
cn               1619 modules/imgproc/test/test_filter.cpp         types[OUTPUT][2] = types[REF_OUTPUT][2] = CV_MAKETYPE(sum_depth, cn);
cn               1620 modules/imgproc/test/test_filter.cpp     types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(CV_64F, cn);
cn               1729 modules/imgproc/test/test_filter.cpp     int cn = src.channels();
cn               1736 modules/imgproc/test/test_filter.cpp     if( cn == 1 )
cn               1744 modules/imgproc/test/test_filter.cpp     for( int i = 0; i < cn; i++ )
cn               1746 modules/imgproc/test/test_filter.cpp         if( cn > 1 )
cn               1757 modules/imgproc/test/test_filter.cpp         if( cn > 1 )
cn               1929 modules/imgproc/test/test_filter.cpp         int cn = rng.uniform(1, 5);
cn               1932 modules/imgproc/test/test_filter.cpp         Mat src(height, width, CV_8UC(cn)), dst0, dst1, dst2;
cn                 95 modules/imgproc/test/test_floodfill.cpp     int depth, cn;
cn                102 modules/imgproc/test/test_floodfill.cpp     cn = cvtest::randInt(rng) & 1 ? 3 : 1;
cn                110 modules/imgproc/test/test_floodfill.cpp     types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                140 modules/imgproc/test/test_floodfill.cpp     for( i = 0; i < cn; i++ )
cn                253 modules/imgproc/test/test_floodfill.cpp     int cn = CV_MAT_CN(_img->type);
cn                284 modules/imgproc/test/test_floodfill.cpp     p0.iofs = seed_pt.y*step + seed_pt.x*cn;
cn                296 modules/imgproc/test/test_floodfill.cpp         mdelta[1] = -1; idelta[1] = -cn;
cn                297 modules/imgproc/test/test_floodfill.cpp         mdelta[2] = 1; idelta[2] = cn;
cn                304 modules/imgproc/test/test_floodfill.cpp         idelta[0] = -step-cn; idelta[1] = -step; idelta[2] = -step+cn;
cn                307 modules/imgproc/test/test_floodfill.cpp         idelta[3] = -cn; idelta[4] = cn;
cn                310 modules/imgproc/test/test_floodfill.cpp         idelta[5] = step-cn; idelta[6] = step; idelta[7] = step+cn;
cn                313 modules/imgproc/test/test_floodfill.cpp     if( cn == 1 )
cn                442 modules/imgproc/test/test_floodfill.cpp                     if( cn == 1 )
cn                453 modules/imgproc/test/test_floodfill.cpp                     if( cn == 1 )
cn                103 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 3 + 1;
cn                106 modules/imgproc/test/test_imgwarp.cpp     cn += cn == 2;
cn                108 modules/imgproc/test/test_imgwarp.cpp     types[INPUT][0] = types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(depth, cn);
cn                127 modules/imgproc/test/test_imgwarp.cpp     int type = img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                130 modules/imgproc/test/test_imgwarp.cpp     vector<float> buffer(img.cols*cn);
cn                142 modules/imgproc/test/test_imgwarp.cpp         switch( cn )
cn                193 modules/imgproc/test/test_imgwarp.cpp         cv::Mat src(1, cols*cn, CV_32F, &buffer[0]);
cn                194 modules/imgproc/test/test_imgwarp.cpp         cv::Mat dst(1, cols*cn, depth, ptr);
cn                348 modules/imgproc/test/test_imgwarp.cpp     int depth = src.depth(), cn = src.channels();
cn                402 modules/imgproc/test/test_imgwarp.cpp                 const uchar* sptr = sptr0 + iys*step + ixs*cn;
cn                403 modules/imgproc/test/test_imgwarp.cpp                 for( k = 0; k < cn; k++ )
cn                406 modules/imgproc/test/test_imgwarp.cpp                     float v01 = sptr[cn + k];
cn                408 modules/imgproc/test/test_imgwarp.cpp                     float v11 = sptr[step + cn + k];
cn                419 modules/imgproc/test/test_imgwarp.cpp                 const ushort* sptr = (const ushort*)sptr0 + iys*step + ixs*cn;
cn                420 modules/imgproc/test/test_imgwarp.cpp                 for( k = 0; k < cn; k++ )
cn                423 modules/imgproc/test/test_imgwarp.cpp                     float v01 = sptr[cn + k];
cn                425 modules/imgproc/test/test_imgwarp.cpp                     float v11 = sptr[step + cn + k];
cn                436 modules/imgproc/test/test_imgwarp.cpp                 const float* sptr = (const float*)sptr0 + iys*step + ixs*cn;
cn                437 modules/imgproc/test/test_imgwarp.cpp                 for( k = 0; k < cn; k++ )
cn                440 modules/imgproc/test/test_imgwarp.cpp                     float v01 = sptr[cn + k];
cn                442 modules/imgproc/test/test_imgwarp.cpp                     float v11 = sptr[step + cn + k];
cn               1108 modules/imgproc/test/test_imgwarp.cpp     int cn = dst.channels();
cn               1113 modules/imgproc/test/test_imgwarp.cpp             float* d = dst.ptr<float>(y) + x*cn;
cn               1117 modules/imgproc/test/test_imgwarp.cpp             int dx = cn, dy = sstep;
cn               1126 modules/imgproc/test/test_imgwarp.cpp             s = src.ptr<float>(iy) + ix*cn;
cn               1127 modules/imgproc/test/test_imgwarp.cpp             for( int k = 0; k < cn; k++, s++ )
cn               1168 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 2 ? 3 : 1;
cn               1175 modules/imgproc/test/test_imgwarp.cpp     types[INPUT][0] = CV_MAKETYPE(src_depth,cn);
cn               1176 modules/imgproc/test/test_imgwarp.cpp     types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(dst_depth,cn);
cn               1276 modules/imgproc/test/test_imgwarp.cpp     int cn = cvtest::randInt(rng) % 2 ? 3 : 1;
cn               1282 modules/imgproc/test/test_imgwarp.cpp     types[INPUT][0] = CV_MAKETYPE(src_depth,cn);
cn               1283 modules/imgproc/test/test_imgwarp.cpp     types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(dst_depth,cn);
cn               1571 modules/imgproc/test/test_imgwarp.cpp     int cn = src.channels();
cn               1580 modules/imgproc/test/test_imgwarp.cpp         for (int x = 0; x < dst.cols * cn; x += cn)
cn               1584 modules/imgproc/test/test_imgwarp.cpp             for (int c = 0; c < cn; ++c)
cn               1586 modules/imgproc/test/test_imgwarp.cpp                 WT sum = WT(sptr0[x1 + c]) + WT(sptr0[x1 + c + cn]);
cn               1587 modules/imgproc/test/test_imgwarp.cpp                 sum += WT(sptr1[x1 + c]) + WT(sptr1[x1 + c + cn]) + (WT)(one);
cn               1607 modules/imgproc/test/test_imgwarp.cpp         int type = types[i], depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn               1611 modules/imgproc/test/test_imgwarp.cpp         SCOPED_TRACE(cn);
cn               1642 modules/imgproc/test/test_imgwarp.cpp         int cn = rng.uniform(1, 10);
cn               1643 modules/imgproc/test/test_imgwarp.cpp         Mat src(height, width, CV_8UC(cn)), dst;
cn                157 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = rng.uniform(1, 4);
cn                158 modules/imgproc/test/test_imgwarp_strict.cpp     while (cn == 2)
cn                159 modules/imgproc/test/test_imgwarp_strict.cpp         cn = rng.uniform(1, 4);
cn                161 modules/imgproc/test/test_imgwarp_strict.cpp     src.create(ssize, CV_MAKE_TYPE(depth, cn));
cn                243 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = _dst.channels();
cn                244 modules/imgproc/test/test_imgwarp_strict.cpp     dsize.width *= cn;
cn                266 modules/imgproc/test/test_imgwarp_strict.cpp                 PRINT_TO_LOG("Error in (dx, dy): (%d, %d)\n", dx / cn + 1, dy + 1);
cn                268 modules/imgproc/test/test_imgwarp_strict.cpp                 PRINT_TO_LOG("Dsize: (%d, %d)\n", dsize.width / cn, dsize.height);
cn                285 modules/imgproc/test/test_imgwarp_strict.cpp                 PRINT_TO_LOG("Channels: %d\n", cn);
cn                307 modules/imgproc/test/test_imgwarp_strict.cpp                 int cmin = MAX(dx / cn - radius, 0), cmax = MIN(dx / cn + radius, dsize.width);
cn                462 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = src.channels();
cn                477 modules/imgproc/test/test_imgwarp_strict.cpp             float* xyD = yD + cn * dx;
cn                484 modules/imgproc/test/test_imgwarp_strict.cpp             for (int r = 0; r < cn; ++r)
cn                496 modules/imgproc/test/test_imgwarp_strict.cpp                         xyD[r] += static_cast<float>(yS[sx * cn + r] * w);
cn                515 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = _dst.channels();
cn                524 modules/imgproc/test/test_imgwarp_strict.cpp             const float* xyS = yS + isx * cn;
cn                525 modules/imgproc/test/test_imgwarp_strict.cpp             float* xyD = yD + dx * cn;
cn                527 modules/imgproc/test/test_imgwarp_strict.cpp             for (int r = 0; r < cn; ++r)
cn                556 modules/imgproc/test/test_imgwarp_strict.cpp             float *xyD = yD + dx * cn;
cn                557 modules/imgproc/test/test_imgwarp_strict.cpp             const float* xyS = _extended_src_row.ptr<float>(0) + (isx + ksize - ofs) * cn;
cn                562 modules/imgproc/test/test_imgwarp_strict.cpp             for (int r = 0; r < cn; ++r)
cn                566 modules/imgproc/test/test_imgwarp_strict.cpp                     xyD[r] += w[k] * xyS[k * cn + r];
cn                834 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = _src.channels();
cn                843 modules/imgproc/test/test_imgwarp_strict.cpp             float* xyD = yD + cn * dx;
cn                848 modules/imgproc/test/test_imgwarp_strict.cpp                 const float *xyS = _src.ptr<float>(sy) + sx * cn;
cn                850 modules/imgproc/test/test_imgwarp_strict.cpp                 for (int r = 0; r < cn; ++r)
cn                856 modules/imgproc/test/test_imgwarp_strict.cpp                     for (int r = 0; r < cn; ++r)
cn                864 modules/imgproc/test/test_imgwarp_strict.cpp                     const float *xyS = _src.ptr<float>(sy) + sx * cn;
cn                866 modules/imgproc/test/test_imgwarp_strict.cpp                     for (int r = 0; r < cn; ++r)
cn                889 modules/imgproc/test/test_imgwarp_strict.cpp     int cn = _src.channels(), width1 = std::max(ssize.width - ksize + 1, 0),
cn                904 modules/imgproc/test/test_imgwarp_strict.cpp             float* xyD = yD + dx * cn;
cn                916 modules/imgproc/test/test_imgwarp_strict.cpp                 for (int r = 0; r < cn; ++r)
cn                920 modules/imgproc/test/test_imgwarp_strict.cpp                         const float* xyS = _src.ptr<float>(isy + y) + isx * cn;
cn                924 modules/imgproc/test/test_imgwarp_strict.cpp                             ix[y] += w[i] * xyS[i * cn + r];
cn                937 modules/imgproc/test/test_imgwarp_strict.cpp                     ar_x[k] = borderInterpolate(isx + k, ssize.width, borderType) * cn;
cn                941 modules/imgproc/test/test_imgwarp_strict.cpp                 for (int r = 0; r < cn; r++)
cn                113 modules/imgproc/test/test_moments.cpp     int cn = (cvtest::randInt(rng) % 4) + 1;
cn                123 modules/imgproc/test/test_moments.cpp     if( cn == 2 || try_umat )
cn                124 modules/imgproc/test/test_moments.cpp         cn = 1;
cn                127 modules/imgproc/test/test_moments.cpp     cn = 1;
cn                134 modules/imgproc/test/test_moments.cpp     types[INPUT][0] = CV_MAKETYPE(depth, cn);
cn                142 modules/imgproc/test/test_moments.cpp     if( cn > 1 )
cn                144 modules/imgproc/test/test_moments.cpp         coi = cvtest::randInt(rng) % cn;
cn                161 modules/imgproc/test/test_moments.cpp         int cn = test_mat[INPUT][0].channels();
cn                162 modules/imgproc/test/test_moments.cpp         if( cn > 1 )
cn                209 modules/imgproc/test/test_moments.cpp     int cn = src.channels();
cn                223 modules/imgproc/test/test_moments.cpp                 val = ptr[x*cn + coi];
cn                225 modules/imgproc/test/test_moments.cpp                 val = ((ushort*)ptr)[x*cn + coi];
cn                227 modules/imgproc/test/test_moments.cpp                 val = ((short*)ptr)[x*cn + coi];
cn                229 modules/imgproc/test/test_moments.cpp                 val = ((float*)ptr)[x*cn + coi];
cn                269 modules/imgproc/test/test_moments.cpp                 val = ptr[x*cn + coi];
cn                271 modules/imgproc/test/test_moments.cpp                 val = ((ushort*)ptr)[x*cn + coi];
cn                273 modules/imgproc/test/test_moments.cpp                 val = ((short*)ptr)[x*cn + coi];
cn                275 modules/imgproc/test/test_moments.cpp                 val = ((float*)ptr)[x*cn + coi];
cn                108 modules/imgproc/test/test_templmatch.cpp     int depth = cvtest::randInt(rng) % 2, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
cn                112 modules/imgproc/test/test_templmatch.cpp     types[INPUT][0] = types[INPUT][1] = CV_MAKETYPE(depth,cn);
cn                151 modules/imgproc/test/test_templmatch.cpp     int depth = CV_MAT_DEPTH(img->type), cn = CV_MAT_CN(img->type);
cn                152 modules/imgproc/test/test_templmatch.cpp     int width_n = templ->cols*cn, height = templ->rows;
cn                161 modules/imgproc/test/test_templmatch.cpp     for( i = 0; i < cn; i++ )
cn                181 modules/imgproc/test/test_templmatch.cpp             for( i = 0; i < cn; i++ )
cn                201 modules/imgproc/test/test_templmatch.cpp                 const uchar* a = img->data.ptr + i*img->step + j*cn;
cn                204 modules/imgproc/test/test_templmatch.cpp                 if( cn == 1 || method < CV_TM_CCOEFF )
cn                233 modules/imgproc/test/test_templmatch.cpp                 const float* a = (const float*)(img->data.ptr + i*img->step) + j*cn;
cn                236 modules/imgproc/test/test_templmatch.cpp                 if( cn == 1 || method < CV_TM_CCOEFF )
cn                 78 modules/imgproc/test/test_thresh.cpp     int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1;
cn                 82 modules/imgproc/test/test_thresh.cpp     types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn);
cn                126 modules/imgproc/test/test_thresh.cpp     int depth = _src.depth(), cn = _src.channels();
cn                127 modules/imgproc/test/test_thresh.cpp     int width_n = _src.cols*cn, height = _src.rows;
cn               1241 modules/java/generator/src/cpp/Mat.cpp   (JNIEnv* env, jclass, jlong self, jint cn, jint rows);
cn               1244 modules/java/generator/src/cpp/Mat.cpp   (JNIEnv* env, jclass, jlong self, jint cn, jint rows)
cn               1250 modules/java/generator/src/cpp/Mat.cpp         Mat _retval_ = me->reshape( cn, rows );
cn               1264 modules/java/generator/src/cpp/Mat.cpp   (JNIEnv* env, jclass, jlong self, jint cn);
cn               1267 modules/java/generator/src/cpp/Mat.cpp   (JNIEnv* env, jclass, jlong self, jint cn)
cn               1273 modules/java/generator/src/cpp/Mat.cpp         Mat _retval_ = me->reshape( cn );
cn                240 modules/objdetect/src/hog.cpp     int cn = img.channels();
cn                293 modules/objdetect/src/hog.cpp     if (cn == 3)
cn                320 modules/objdetect/src/hog.cpp         if( cn == 1 )
cn               1199 modules/objdetect/test/test_cascadeandhog.cpp     int cn = img.channels();
cn               1243 modules/objdetect/test/test_cascadeandhog.cpp        if( cn == 1 )
cn                114 modules/photo/src/denoising.cpp     int hn = (int)h.size(), type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                115 modules/photo/src/denoising.cpp     CV_Assert(hn == 1 || hn == cn);
cn                172 modules/photo/src/denoising.cpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                205 modules/photo/src/denoising.cpp     cvtColor(dst_lab, dst, COLOR_Lab2LBGR, cn);
cn                328 modules/photo/src/denoising.cpp     int type = srcImgs[0].type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                329 modules/photo/src/denoising.cpp     CV_Assert(hn == 1 || hn == cn);
cn                 34 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                                       const FT *h, int hn, int cn, int normType,
cn                 55 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn :
cn                 56 modules/photo/src/fast_nlmeans_denoising_opencl.hpp         std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max() * cn;
cn                 61 modules/photo/src/fast_nlmeans_denoising_opencl.hpp         den[i] = 1.0f / (h[i] * h[i] * cn);
cn                 87 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                 91 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) &&
cn                110 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          ocl::typeToStr(type), ocl::typeToStr(CV_32SC(cn)),
cn                116 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          depth == CV_8U ? ocl::typeToStr(CV_32SC(cn)) :
cn                117 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          format("long%s", cn > 1 ? format("%d", cn).c_str() : "").c_str(),
cn                118 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          depth == CV_8U ? ocl::convertTypeStr(depth, CV_32S, cn, buf[1]) :
cn                119 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          format("convert_long%s", cn > 1 ? format("%d", cn).c_str() : "").c_str(),
cn                122 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          ocl::convertTypeStr(depth, CV_32S, cn, buf[2]), cn,
cn                123 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          (depth == CV_8U ? sizeof(uchar) : sizeof(ushort)) * (cn == 3 ? 4 : cn),
cn                124 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                          ocl::convertTypeStr(CV_32S, depth, cn, buf[3]),
cn                135 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                                                        h, hn, cn, normType,
cn                140 modules/photo/src/fast_nlmeans_denoising_opencl.hpp                                                           h, hn, cn, normType,
cn                147 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     if (cn == 3) {
cn                160 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     if (cn == 3)
cn                168 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     UMat buffer(upColSumSize + colSumSize, CV_32SC(cn));
cn                178 modules/photo/src/fast_nlmeans_denoising_opencl.hpp     if (cn == 3) {
cn                 58 modules/photo/src/opencl/nlmeans.cl #if cn == 1
cn                 60 modules/photo/src/opencl/nlmeans.cl #elif cn == 2
cn                 62 modules/photo/src/opencl/nlmeans.cl #elif cn == 3
cn                 64 modules/photo/src/opencl/nlmeans.cl #elif cn == 4
cn                 83 modules/photo/src/opencl/nlmeans.cl #if cn == 1
cn                 85 modules/photo/src/opencl/nlmeans.cl #elif cn == 2
cn                 87 modules/photo/src/opencl/nlmeans.cl #elif cn == 3
cn                 89 modules/photo/src/opencl/nlmeans.cl #elif cn == 4
cn                 18 modules/photo/test/ocl/test_denoising.cpp     int cn, normType, templateWindowSize, searchWindowSize;
cn                 27 modules/photo/test/ocl/test_denoising.cpp         cn = GET_PARAM(0);
cn                 35 modules/photo/test/ocl/test_denoising.cpp         h.resize(cn);
cn                 36 modules/photo/test/ocl/test_denoising.cpp         for (int i=0; i<cn; i++)
cn                 42 modules/photo/test/ocl/test_denoising.cpp         const int type = CV_8UC(cn);
cn                 47 modules/photo/test/ocl/test_denoising.cpp                                   cn == 1 ? IMREAD_GRAYSCALE : IMREAD_COLOR);
cn                 55 modules/photo/test/ocl/test_denoising.cpp             ASSERT_TRUE(cn > 0 && cn <= 4);
cn                 56 modules/photo/test/ocl/test_denoising.cpp             if (cn == 2) {
cn                 61 modules/photo/test/ocl/test_denoising.cpp             else if (cn == 4) {
cn                168 modules/python/src2/cv2.cpp         int cn = CV_MAT_CN(type);
cn                178 modules/python/src2/cv2.cpp         if( cn > 1 )
cn                179 modules/python/src2/cv2.cpp             _sizes[dims++] = cn;
cn                137 modules/stitching/src/opencl/multibandblend.cl #define TYPE(type, cn) REF(CAT(REF(type), REF(cn)))
cn                247 modules/superres/src/btv_l1.cpp         int type = _src.type(), cn = CV_MAT_CN(type);
cn                249 modules/superres/src/btv_l1.cpp                       format("-D cn=%d", cn));
cn                271 modules/superres/src/btv_l1.cpp         int cn = _src.channels();
cn                272 modules/superres/src/btv_l1.cpp         CV_Assert( cn == 1 || cn == 3 || cn == 4 );
cn                283 modules/superres/src/btv_l1.cpp         const func_t func = funcs[cn];
cn                314 modules/superres/src/btv_l1.cpp         int cn = src1.channels();
cn                317 modules/superres/src/btv_l1.cpp                ocl::KernelArg::WriteOnly(dst, cn));
cn                319 modules/superres/src/btv_l1.cpp         size_t globalsize[2] = { src1.cols * cn, src1.rows };
cn                423 modules/superres/src/btv_l1.cpp         int cn = _src.channels();
cn                425 modules/superres/src/btv_l1.cpp                       format("-D cn=%d", cn));
cn                 70 modules/superres/src/btv_l1_cuda.cpp     template <int cn>
cn                 76 modules/superres/src/btv_l1_cuda.cpp     template <int cn> void calcBtvRegularization(PtrStepSzb src, PtrStepSzb dst, int ksize);
cn                167 modules/superres/src/input_array_utility.cpp     void convertToCn(InputArray src, OutputArray dst, int cn)
cn                171 modules/superres/src/input_array_utility.cpp         CV_Assert( cn == 1 || cn == 3 || cn == 4 );
cn                182 modules/superres/src/input_array_utility.cpp         const int code = codes[scn][cn];
cn                189 modules/superres/src/input_array_utility.cpp                 cuda::cvtColor(src.getGpuMat(), dst.getGpuMatRef(), code, cn);
cn                196 modules/superres/src/input_array_utility.cpp             cv::cvtColor(src, dst, code, cn);
cn                242 modules/superres/src/input_array_utility.cpp     const int cn = CV_MAT_CN(type);
cn                246 modules/superres/src/input_array_utility.cpp         convertToCn(src, buf0, cn);
cn                250 modules/superres/src/input_array_utility.cpp     if (src.channels() == cn)
cn                256 modules/superres/src/input_array_utility.cpp     convertToCn(src, buf0, cn);
cn                267 modules/superres/src/input_array_utility.cpp     const int cn = CV_MAT_CN(type);
cn                271 modules/superres/src/input_array_utility.cpp         convertToCn(src, buf0, cn);
cn                275 modules/superres/src/input_array_utility.cpp     if (src.channels() == cn)
cn                281 modules/superres/src/input_array_utility.cpp     convertToCn(src, buf0, cn);
cn                292 modules/superres/src/input_array_utility.cpp     const int cn = CV_MAT_CN(type);
cn                296 modules/superres/src/input_array_utility.cpp         convertToCn(src, buf0, cn);
cn                300 modules/superres/src/input_array_utility.cpp     if (src.channels() == cn)
cn                306 modules/superres/src/input_array_utility.cpp     convertToCn(src, buf0, cn);
cn                 46 modules/superres/src/opencl/superres_btvl1.cl #ifndef cn
cn                 90 modules/superres/src/opencl/superres_btvl1.cl         int src_index = mad24(y, src_step, sz * x * cn + src_offset);
cn                 91 modules/superres/src/opencl/superres_btvl1.cl         int dst_index = mad24(y * scale, dst_step, sz * x * scale * cn + dst_offset);
cn                 97 modules/superres/src/opencl/superres_btvl1.cl         for (int c = 0; c < cn; ++c)
cn                141 modules/superres/src/opencl/superres_btvl1.cl #if cn == 1
cn                153 modules/superres/src/opencl/superres_btvl1.cl #elif cn == 3
cn                112 modules/superres/test/test_superres.cpp     int type = _image.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
cn                113 modules/superres/test/test_superres.cpp     cv::Mat noise(_image.size(), CV_32FC(cn));
cn                198 modules/ts/include/opencv2/ts/ts_perf.hpp     static double getElem(cv::Mat& m, int x, int y, int cn = 0);
cn                227 modules/ts/src/cuda_test.cpp             const int cn = m.channels();
cn                232 modules/ts/src/cuda_test.cpp             p.x /= cn;
cn                234 modules/ts/src/cuda_test.cpp             ostr << static_cast<OutT>(m.at<T>(p.y, p.x * cn));
cn                237 modules/ts/src/cuda_test.cpp                 ostr << ", " << static_cast<OutT>(m.at<T>(p.y, p.x * cn + c));
cn                375 modules/ts/src/cuda_test.cpp             for (int cn = cn_start; cn <= cn_end; ++cn)
cn                377 modules/ts/src/cuda_test.cpp                 v.push_back(MatType(CV_MAKE_TYPE(depth, cn)));
cn                185 modules/ts/src/ts_func.cpp     int cn=a.channels();
cn                186 modules/ts/src/ts_func.cpp     int total = (int)planes[0].total(), maxsize = std::min(12*12*std::max(12/cn, 1), total);
cn                189 modules/ts/src/ts_func.cpp     buf[0].create(1, maxsize, CV_64FC(cn));
cn                191 modules/ts/src/ts_func.cpp         buf[1].create(1, maxsize, CV_64FC(cn));
cn                192 modules/ts/src/ts_func.cpp     buf[2].create(1, maxsize, CV_64FC(cn));
cn                193 modules/ts/src/ts_func.cpp     scalarToRawData(gamma, buf[2].ptr(), CV_64FC(cn), (int)(maxsize*cn));
cn                205 modules/ts/src/ts_func.cpp             size_t k, n = (j2 - j)*cn;
cn                511 modules/ts/src/ts_func.cpp randUniInt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta)
cn                513 modules/ts/src/ts_func.cpp     for( size_t i = 0; i < total; i += cn )
cn                514 modules/ts/src/ts_func.cpp         for( int k = 0; k < cn; k++ )
cn                523 modules/ts/src/ts_func.cpp randUniFlt_(RNG& rng, _Tp* data, size_t total, int cn, const Scalar& scale, const Scalar& delta)
cn                525 modules/ts/src/ts_func.cpp     for( size_t i = 0; i < total; i += cn )
cn                526 modules/ts/src/ts_func.cpp         for( int k = 0; k < cn; k++ )
cn                558 modules/ts/src/ts_func.cpp     int depth = a.depth(), cn = a.channels();
cn                559 modules/ts/src/ts_func.cpp     size_t total = plane.total()*cn;
cn                566 modules/ts/src/ts_func.cpp             randUniInt_(rng, plane.ptr<uchar>(), total, cn, scale, delta);
cn                569 modules/ts/src/ts_func.cpp             randUniInt_(rng, plane.ptr<schar>(), total, cn, scale, delta);
cn                572 modules/ts/src/ts_func.cpp             randUniInt_(rng, plane.ptr<ushort>(), total, cn, scale, delta);
cn                575 modules/ts/src/ts_func.cpp             randUniInt_(rng, plane.ptr<short>(), total, cn, scale, delta);
cn                578 modules/ts/src/ts_func.cpp             randUniInt_(rng, plane.ptr<int>(), total, cn, scale, delta);
cn                581 modules/ts/src/ts_func.cpp             randUniFlt_(rng, plane.ptr<float>(), total, cn, scale, delta);
cn                584 modules/ts/src/ts_func.cpp             randUniFlt_(rng, plane.ptr<double>(), total, cn, scale, delta);
cn                660 modules/ts/src/ts_func.cpp     int step = (int)(src.step/src.elemSize1()), cn = src.channels();
cn                664 modules/ts/src/ts_func.cpp                 ofs.push_back(i*step + j*cn);
cn                666 modules/ts/src/ts_func.cpp         ofs.push_back(anchor.y*step + anchor.x*cn);
cn                717 modules/ts/src/ts_func.cpp     int step = (int)(src.step/src.elemSize1()), cn = src.channels();
cn                721 modules/ts/src/ts_func.cpp                 ofs.push_back(i*step + j*cn);
cn                723 modules/ts/src/ts_func.cpp         ofs.push_back(anchor.y*step + anchor.x*cn);
cn                797 modules/ts/src/ts_func.cpp     int step = (int)(src.step/src.elemSize1()), cn = src.channels();
cn                800 modules/ts/src/ts_func.cpp                 ofs.push_back(i*step + j*cn);
cn               1128 modules/ts/src/ts_func.cpp norm_(const _Tp* src, size_t total, int cn, int normType, double startval, const uchar* mask)
cn               1133 modules/ts/src/ts_func.cpp         total *= cn;
cn               1141 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1145 modules/ts/src/ts_func.cpp                         result = std::max(result, (double)std::abs(0+src[i*cn + c]));
cn               1154 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1158 modules/ts/src/ts_func.cpp                         result += std::abs(0+src[i*cn + c]);
cn               1170 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1175 modules/ts/src/ts_func.cpp                         double v = src[i*cn + c];
cn               1185 modules/ts/src/ts_func.cpp norm_(const _Tp* src1, const _Tp* src2, size_t total, int cn, int normType, double startval, const uchar* mask)
cn               1190 modules/ts/src/ts_func.cpp         total *= cn;
cn               1198 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1202 modules/ts/src/ts_func.cpp                         result = std::max(result, (double)std::abs(src1[i*cn + c] - src2[i*cn + c]));
cn               1211 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1215 modules/ts/src/ts_func.cpp                         result += std::abs(src1[i*cn + c] - src2[i*cn + c]);
cn               1227 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               1232 modules/ts/src/ts_func.cpp                         double v = src1[i*cn + c] - src2[i*cn + c];
cn               1280 modules/ts/src/ts_func.cpp     int depth = src.depth(), cn = planes[0].channels();
cn               1291 modules/ts/src/ts_func.cpp             result = norm_((const uchar*)sptr, total, cn, normType, result, mptr);
cn               1294 modules/ts/src/ts_func.cpp             result = norm_((const schar*)sptr, total, cn, normType, result, mptr);
cn               1297 modules/ts/src/ts_func.cpp             result = norm_((const ushort*)sptr, total, cn, normType, result, mptr);
cn               1300 modules/ts/src/ts_func.cpp             result = norm_((const short*)sptr, total, cn, normType, result, mptr);
cn               1303 modules/ts/src/ts_func.cpp             result = norm_((const int*)sptr, total, cn, normType, result, mptr);
cn               1306 modules/ts/src/ts_func.cpp             result = norm_((const float*)sptr, total, cn, normType, result, mptr);
cn               1309 modules/ts/src/ts_func.cpp             result = norm_((const double*)sptr, total, cn, normType, result, mptr);
cn               1361 modules/ts/src/ts_func.cpp     int depth = src1.depth(), cn = planes[0].channels();
cn               1373 modules/ts/src/ts_func.cpp             result = norm_((const uchar*)sptr1, (const uchar*)sptr2, total, cn, normType, result, mptr);
cn               1376 modules/ts/src/ts_func.cpp             result = norm_((const schar*)sptr1, (const schar*)sptr2, total, cn, normType, result, mptr);
cn               1379 modules/ts/src/ts_func.cpp             result = norm_((const ushort*)sptr1, (const ushort*)sptr2, total, cn, normType, result, mptr);
cn               1382 modules/ts/src/ts_func.cpp             result = norm_((const short*)sptr1, (const short*)sptr2, total, cn, normType, result, mptr);
cn               1385 modules/ts/src/ts_func.cpp             result = norm_((const int*)sptr1, (const int*)sptr2, total, cn, normType, result, mptr);
cn               1388 modules/ts/src/ts_func.cpp             result = norm_((const float*)sptr1, (const float*)sptr2, total, cn, normType, result, mptr);
cn               1391 modules/ts/src/ts_func.cpp             result = norm_((const double*)sptr1, (const double*)sptr2, total, cn, normType, result, mptr);
cn               2158 modules/ts/src/ts_func.cpp       int d_rows, int d_cols, int a_cols, int cn,
cn               2169 modules/ts/src/ts_func.cpp             if( cn == 1 )
cn               2224 modules/ts/src/ts_func.cpp     int cn = a.channels();
cn               2225 modules/ts/src/ts_func.cpp     int a_step = (int)a.step1(), a_delta = cn;
cn               2226 modules/ts/src/ts_func.cpp     int b_step = (int)b.step1(), b_delta = cn;
cn               2229 modules/ts/src/ts_func.cpp     CV_Assert( a.type() == b.type() && a.dims == 2 && b.dims == 2 && cn <= 2 );
cn               2248 modules/ts/src/ts_func.cpp         c_delta = cn;
cn               2264 modules/ts/src/ts_func.cpp               (int)d.step1(), a_rows, b_cols, a_cols, cn, alpha, beta );
cn               2268 modules/ts/src/ts_func.cpp               (int)d.step1(), a_rows, b_cols, a_cols, cn, alpha, beta );
cn               2577 modules/ts/src/ts_func.cpp mean_(const _Tp* src, const uchar* mask, size_t total, int cn, Scalar& sum, int& nz)
cn               2582 modules/ts/src/ts_func.cpp         total *= cn;
cn               2583 modules/ts/src/ts_func.cpp         for( size_t i = 0; i < total; i += cn )
cn               2585 modules/ts/src/ts_func.cpp             for( int c = 0; c < cn; c++ )
cn               2595 modules/ts/src/ts_func.cpp                 for( int c = 0; c < cn; c++ )
cn               2596 modules/ts/src/ts_func.cpp                     sum[c] += src[i*cn + c];
cn               2613 modules/ts/src/ts_func.cpp     int depth = src.depth(), cn = src.channels();
cn               2623 modules/ts/src/ts_func.cpp             mean_((const uchar*)sptr, mptr, total, cn, sum, nz);
cn               2626 modules/ts/src/ts_func.cpp             mean_((const schar*)sptr, mptr, total, cn, sum, nz);
cn               2629 modules/ts/src/ts_func.cpp             mean_((const ushort*)sptr, mptr, total, cn, sum, nz);
cn               2632 modules/ts/src/ts_func.cpp             mean_((const short*)sptr, mptr, total, cn, sum, nz);
cn               2635 modules/ts/src/ts_func.cpp             mean_((const int*)sptr, mptr, total, cn, sum, nz);
cn               2638 modules/ts/src/ts_func.cpp             mean_((const float*)sptr, mptr, total, cn, sum, nz);
cn               2641 modules/ts/src/ts_func.cpp             mean_((const double*)sptr, mptr, total, cn, sum, nz);
cn               2900 modules/ts/src/ts_func.cpp         int i, depth = m.m->depth(), cn = m.m->channels(), width = m.m->cols*cn;
cn                300 modules/ts/src/ts_perf.cpp double Regression::getElem(cv::Mat& m, int y, int x, int cn)
cn                304 modules/ts/src/ts_perf.cpp     case CV_8U: return *(m.ptr<unsigned char>(y, x) + cn);
cn                305 modules/ts/src/ts_perf.cpp     case CV_8S: return *(m.ptr<signed char>(y, x) + cn);
cn                306 modules/ts/src/ts_perf.cpp     case CV_16U: return *(m.ptr<unsigned short>(y, x) + cn);
cn                307 modules/ts/src/ts_perf.cpp     case CV_16S: return *(m.ptr<signed short>(y, x) + cn);
cn                308 modules/ts/src/ts_perf.cpp     case CV_32S: return *(m.ptr<signed int>(y, x) + cn);
cn                309 modules/ts/src/ts_perf.cpp     case CV_32F: return *(m.ptr<float>(y, x) + cn);
cn                310 modules/ts/src/ts_perf.cpp     case CV_64F: return *(m.ptr<double>(y, x) + cn);
cn                326 modules/ts/src/ts_perf.cpp     int x, y, cn;
cn                329 modules/ts/src/ts_perf.cpp     cn = regRNG.uniform(0, m.channels());
cn                331 modules/ts/src/ts_perf.cpp     if(cn > 0) write() << "cn" << cn;
cn                332 modules/ts/src/ts_perf.cpp     write() << "val" << getElem(m, y, x, cn) << "}";
cn                336 modules/ts/src/ts_perf.cpp     cn = regRNG.uniform(0, m.channels());
cn                338 modules/ts/src/ts_perf.cpp     if (cn > 0) write() << "cn" << cn;
cn                339 modules/ts/src/ts_perf.cpp     write() << "val" << getElem(m, y, x, cn) << "}";
cn                 37 modules/video/perf/opencl/perf_bgfg_mog2.cpp static void prepareData(VideoCapture& cap, int cn, vector<Mat>& frame_buffer)
cn                 49 modules/video/perf/opencl/perf_bgfg_mog2.cpp     if(cn == 1)
cn                 61 modules/video/perf/opencl/perf_bgfg_mog2.cpp     const int cn = get<1>(params);
cn                 68 modules/video/perf/opencl/perf_bgfg_mog2.cpp     prepareData(cap, cn, frame_buffer);
cn                 91 modules/video/perf/opencl/perf_bgfg_mog2.cpp     const int cn = get<1>(params);
cn                 98 modules/video/perf/opencl/perf_bgfg_mog2.cpp     prepareData(cap, cn, frame_buffer);
cn                 47 modules/video/perf/perf_optflowpyrlk.cpp     int cn = get<2>(GetParam());
cn                 58 modules/video/perf/perf_optflowpyrlk.cpp     switch(cn)
cn                 61 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
cn                 62 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img2, frame2, COLOR_BGR2GRAY, cn);
cn                 69 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
cn                 70 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img2, frame2, COLOR_BGR2BGRA, cn);
cn                 73 modules/video/perf/perf_optflowpyrlk.cpp         FAIL() << "Unexpected number of channels: " << cn;
cn                120 modules/video/perf/perf_optflowpyrlk.cpp     int cn = get<2>(GetParam());
cn                132 modules/video/perf/perf_optflowpyrlk.cpp     switch(cn)
cn                135 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
cn                136 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img2, frame2, COLOR_BGR2GRAY, cn);
cn                143 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
cn                144 modules/video/perf/perf_optflowpyrlk.cpp         cvtColor(img2, frame2, COLOR_BGR2BGRA, cn);
cn                147 modules/video/perf/perf_optflowpyrlk.cpp         FAIL() << "Unexpected number of channels: " << cn;
cn                 47 modules/video/src/camshift.cpp     int cn;
cn                 53 modules/video/src/camshift.cpp         umat = _probImage.getUMat(), cn = umat.channels(), size = umat.size();
cn                 55 modules/video/src/camshift.cpp         mat = _probImage.getMat(), cn = mat.channels(), size = mat.size();
cn                 59 modules/video/src/camshift.cpp     CV_Assert( cn == 1 );
cn                 56 modules/video/src/lkpyramid.cpp     int rows = src.rows, cols = src.cols, cn = src.channels(), colsn = cols*cn, depth = src.depth();
cn                 58 modules/video/src/lkpyramid.cpp     dst.create(rows, cols, CV_MAKETYPE(DataType<deriv_type>::depth, cn*2));
cn                 65 modules/video/src/lkpyramid.cpp     int x, y, delta = (int)alignSize((cols + 2)*cn, 16);
cn                 67 modules/video/src/lkpyramid.cpp     deriv_type *trow0 = alignPtr(_tempBuf + cn, 16), *trow1 = alignPtr(trow0 + delta, 16);
cn                129 modules/video/src/lkpyramid.cpp         int x0 = (cols > 1 ? 1 : 0)*cn, x1 = (cols > 1 ? cols-2 : 0)*cn;
cn                130 modules/video/src/lkpyramid.cpp         for( int k = 0; k < cn; k++ )
cn                132 modules/video/src/lkpyramid.cpp             trow0[-cn + k] = trow0[x0 + k]; trow0[colsn + k] = trow0[x1 + k];
cn                133 modules/video/src/lkpyramid.cpp             trow1[-cn + k] = trow1[x0 + k]; trow1[colsn + k] = trow1[x1 + k];
cn                141 modules/video/src/lkpyramid.cpp             __m128i s0 = _mm_loadu_si128((const __m128i*)(trow0 + x - cn));
cn                142 modules/video/src/lkpyramid.cpp             __m128i s1 = _mm_loadu_si128((const __m128i*)(trow0 + x + cn));
cn                143 modules/video/src/lkpyramid.cpp             __m128i s2 = _mm_loadu_si128((const __m128i*)(trow1 + x - cn));
cn                145 modules/video/src/lkpyramid.cpp             __m128i s4 = _mm_loadu_si128((const __m128i*)(trow1 + x + cn));
cn                161 modules/video/src/lkpyramid.cpp             int16x8_t q0 = vld1q_s16((const int16_t*)&trow0[x+cn]);
cn                162 modules/video/src/lkpyramid.cpp             int16x8_t q1 = vld1q_s16((const int16_t*)&trow0[x-cn]);
cn                163 modules/video/src/lkpyramid.cpp             int16x8_t q2 = vld1q_s16((const int16_t*)&trow1[x+cn]);
cn                164 modules/video/src/lkpyramid.cpp             int16x8_t q3 = vld1q_s16((const int16_t*)&trow1[x-cn]);
cn                185 modules/video/src/lkpyramid.cpp             deriv_type t0 = (deriv_type)(trow0[x+cn] - trow0[x-cn]);
cn                186 modules/video/src/lkpyramid.cpp             deriv_type t1 = (deriv_type)((trow1[x+cn] + trow1[x-cn])*3 + trow1[x]*10);
cn                231 modules/video/src/lkpyramid.cpp     int j, cn = I.channels(), cn2 = cn*2;
cn                232 modules/video/src/lkpyramid.cpp     cv::AutoBuffer<deriv_type> _buf(winSize.area()*(cn + cn2));
cn                235 modules/video/src/lkpyramid.cpp     Mat IWinBuf(winSize, CV_MAKETYPE(derivDepth, cn), (deriv_type*)_buf);
cn                236 modules/video/src/lkpyramid.cpp     Mat derivIWinBuf(winSize, CV_MAKETYPE(derivDepth, cn2), (deriv_type*)_buf + winSize.area()*cn);
cn                314 modules/video/src/lkpyramid.cpp             const uchar* src = I.ptr() + (y + iprevPt.y)*stepI + iprevPt.x*cn;
cn                323 modules/video/src/lkpyramid.cpp             for( ; x <= winSize.width*cn - 4; x += 4, dsrc += 4*2, dIptr += 4*2 )
cn                328 modules/video/src/lkpyramid.cpp                 v01 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x + cn)), z);
cn                330 modules/video/src/lkpyramid.cpp                 v11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*(const int*)(src + x + stepI + cn)), z);
cn                364 modules/video/src/lkpyramid.cpp             for( ; x <= winSize.width*cn - 4; x += 4, dsrc += 4*2, dIptr += 4*2 )
cn                368 modules/video/src/lkpyramid.cpp                 uint8x8_t d2 = vld1_u8(&src[x+cn]);
cn                376 modules/video/src/lkpyramid.cpp                 uint8x8_t d6 = vld1_u8(&src[x + stepI + cn]);
cn                447 modules/video/src/lkpyramid.cpp             for( ; x < winSize.width*cn; x++, dsrc += 2, dIptr += 2 )
cn                449 modules/video/src/lkpyramid.cpp                 int ival = CV_DESCALE(src[x]*iw00 + src[x+cn]*iw01 +
cn                450 modules/video/src/lkpyramid.cpp                                       src[x+stepI]*iw10 + src[x+stepI+cn]*iw11, W_BITS1-5);
cn                544 modules/video/src/lkpyramid.cpp                 const uchar* Jptr = J.ptr() + (y + inextPt.y)*stepJ + inextPt.x*cn;
cn                551 modules/video/src/lkpyramid.cpp                 for( ; x <= winSize.width*cn - 8; x += 8, dIptr += 8*2 )
cn                555 modules/video/src/lkpyramid.cpp                     __m128i v01 = _mm_unpacklo_epi8(_mm_loadl_epi64((const __m128i*)(Jptr + x + cn)), z);
cn                557 modules/video/src/lkpyramid.cpp                     __m128i v11 = _mm_unpacklo_epi8(_mm_loadl_epi64((const __m128i*)(Jptr + x + stepJ + cn)), z);
cn                586 modules/video/src/lkpyramid.cpp                 for( ; x <= winSize.width*cn - 8; x += 8, dIptr += 8*2 )
cn                590 modules/video/src/lkpyramid.cpp                     uint8x8_t d2 = vld1_u8(&Jptr[x+cn]);
cn                592 modules/video/src/lkpyramid.cpp                     uint8x8_t d6 = vld1_u8(&Jptr[x+stepJ+cn]);
cn                657 modules/video/src/lkpyramid.cpp                 for( ; x < winSize.width*cn; x++, dIptr += 2 )
cn                659 modules/video/src/lkpyramid.cpp                     int diff = CV_DESCALE(Jptr[x]*iw00 + Jptr[x+cn]*iw01 +
cn                660 modules/video/src/lkpyramid.cpp                                           Jptr[x+stepJ]*iw10 + Jptr[x+stepJ+cn]*iw11,
cn                728 modules/video/src/lkpyramid.cpp                 const uchar* Jptr = J.ptr() + (y + inextPoint.y)*stepJ + inextPoint.x*cn;
cn                731 modules/video/src/lkpyramid.cpp                 for( x = 0; x < winSize.width*cn; x++ )
cn                733 modules/video/src/lkpyramid.cpp                     int diff = CV_DESCALE(Jptr[x]*iw00 + Jptr[x+cn]*iw01 +
cn                734 modules/video/src/lkpyramid.cpp                                           Jptr[x+stepJ]*iw10 + Jptr[x+stepJ+cn]*iw11,
cn                739 modules/video/src/lkpyramid.cpp             err[ptidx] = errval * 1.f/(32*winSize.width*cn*winSize.height);
cn               1385 modules/video/src/lkpyramid.cpp         int cn = A.channels();
cn               1386 modules/video/src/lkpyramid.cpp         CV_Assert( cn == 1 || cn == 3 || cn == 4 );
cn               1397 modules/video/src/lkpyramid.cpp         if( !equalSizes || cn != 1 )
cn               1401 modules/video/src/lkpyramid.cpp             if( cn != 1 )
cn                 75 modules/video/test/test_accum.cpp     int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) & 1 ? 3 : 1;
cn                 84 modules/video/test/test_accum.cpp         types[INPUT][i] = CV_MAKETYPE(depth,cn);
cn                 86 modules/video/test/test_accum.cpp     types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(accdepth,cn);
cn                185 modules/videoio/src/cap_ffmpeg.cpp         int step=0, width=0, height=0, cn=0;
cn                188 modules/videoio/src/cap_ffmpeg.cpp            !icvRetrieveFrame_FFMPEG_p(ffmpegCapture, &data, &step, &width, &height, &cn))
cn                190 modules/videoio/src/cap_ffmpeg.cpp         cvInitImageHeader(&frame, cvSize(width, height), 8, cn);
cn                 41 modules/videoio/src/cap_ffmpeg_api.hpp                                              int* step, int* width, int* height, int* cn);
cn                 43 modules/videoio/src/cap_ffmpeg_api.hpp                                              int* step, int* width, int* height, int* cn);
cn                 52 modules/videoio/src/cap_ffmpeg_api.hpp                                           int step, int width, int height, int cn, int origin);
cn                 60 modules/videoio/src/cap_ffmpeg_api.hpp                                        int* width, int* height, int* cn );
cn                 67 modules/videoio/src/cap_ffmpeg_api.hpp                                     int width, int height, int cn, int origin);
cn                214 modules/videoio/src/cap_ffmpeg_impl.hpp     int cn;
cn                233 modules/videoio/src/cap_ffmpeg_impl.hpp     bool retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn);
cn                642 modules/videoio/src/cap_ffmpeg_impl.hpp             frame.cn = 3;
cn                733 modules/videoio/src/cap_ffmpeg_impl.hpp bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int* width, int* height, int* cn)
cn                778 modules/videoio/src/cap_ffmpeg_impl.hpp     *cn = frame.cn;
cn               1002 modules/videoio/src/cap_ffmpeg_impl.hpp     bool writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin );
cn               1349 modules/videoio/src/cap_ffmpeg_impl.hpp bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int width, int height, int cn, int origin )
cn               1371 modules/videoio/src/cap_ffmpeg_impl.hpp             temp_image.step = (width*cn + 3) & -4;
cn               1374 modules/videoio/src/cap_ffmpeg_impl.hpp             temp_image.cn = cn;
cn               1378 modules/videoio/src/cap_ffmpeg_impl.hpp             memcpy(temp_image.data + y*temp_image.step, data + (height-1-y)*step, width*cn);
cn               1383 modules/videoio/src/cap_ffmpeg_impl.hpp     if( width*cn != step )
cn               1387 modules/videoio/src/cap_ffmpeg_impl.hpp             temp_image.step = width*cn;
cn               1390 modules/videoio/src/cap_ffmpeg_impl.hpp             temp_image.cn = cn;
cn               1406 modules/videoio/src/cap_ffmpeg_impl.hpp         if (cn != 3) {
cn               1411 modules/videoio/src/cap_ffmpeg_impl.hpp         if (cn != 1) {
cn               1873 modules/videoio/src/cap_ffmpeg_impl.hpp int cvRetrieveFrame_FFMPEG(CvCapture_FFMPEG* capture, unsigned char** data, int* step, int* width, int* height, int* cn)
cn               1875 modules/videoio/src/cap_ffmpeg_impl.hpp     return capture->retrieveFrame(0, data, step, width, height, cn);
cn               1903 modules/videoio/src/cap_ffmpeg_impl.hpp                          int width, int height, int cn, int origin)
cn               1905 modules/videoio/src/cap_ffmpeg_impl.hpp     return writer->writeFrame(data, step, width, height, cn, origin);
cn                131 modules/viz/include/opencv2/viz/vizcore.hpp         template<typename _Tp, int cn> inline bool isNan(const Vec<_Tp, cn>& v)
cn                 83 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java         final int cn = 3;
cn                 84 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java         float positions[] = new float[mCornersSize * cn];
cn                 87 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java             for (int j = 0; j < mPatternSize.width * cn; j += cn) {
cn                 88 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java                 positions[(int) (i * mPatternSize.width * cn + j + 0)] =
cn                 89 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java                         (2 * (j / cn) + i % 2) * (float) mSquareSize;
cn                 90 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java                 positions[(int) (i * mPatternSize.width * cn + j + 1)] =
cn                 92 samples/android/camera-calibration/src/org/opencv/samples/cameracalibration/CameraCalibrator.java                 positions[(int) (i * mPatternSize.width * cn + j + 2)] = 0;
cn                250 samples/cpp/stereo_match.cpp     int cn = img1.channels();
cn                252 samples/cpp/stereo_match.cpp     sgbm->setP1(8*cn*sgbmWinSize*sgbmWinSize);
cn                253 samples/cpp/stereo_match.cpp     sgbm->setP2(32*cn*sgbmWinSize*sgbmWinSize);