Lines Matching defs:cn
5310 int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
5311 return cn > 16 ? "?" : tab[depth*16 + cn-1];
5327 int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
5328 return cn > 16 ? "?" : tab[depth*16 + cn-1];
5344 int cn = CV_MAT_CN(type), depth = CV_MAT_DEPTH(type);
5345 return cn > 16 ? "?" : tab[depth*16 + cn-1];
5348 const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf)
5352 const char *typestr = typeToStr(CV_MAKETYPE(ddepth, cn));
5543 static cl_image_format getImageFormat(int depth, int cn, bool norm)
5553 int channelOrder = channelOrders[cn];
5593 int err, depth = src.depth(), cn = src.channels();
5594 CV_Assert(cn <= 4);
5595 cl_image_format format = getImageFormat(depth, cn, norm);
5704 bool Image2D::isFormatSupported(int depth, int cn, bool norm)
5706 cl_image_format format = Impl::getImageFormat(depth, cn, norm);