Searched refs:CV_MAT_CN_MASK (Results 1 – 13 of 13) sorted by relevance
158 #define CV_MAT_CN_MASK ((CV_CN_MAX - 1) << CV_CN_SHIFT) macro159 #define CV_MAT_CN(flags) ((((flags) & CV_MAT_CN_MASK) >> CV_CN_SHIFT) + 1)
489 ((((mat1)->type ^ (mat2)->type) & CV_MAT_CN_MASK) == 0)
281 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn - 1) << CV_CN_SHIFT); in reshape()
486 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn-1) << CV_CN_SHIFT); in reshape()529 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn-1) << CV_CN_SHIFT); in reshape()
199 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn - 1) << CV_CN_SHIFT); in reshape()
963 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn-1) << CV_CN_SHIFT); in reshape()1006 hdr.flags = (hdr.flags & ~CV_MAT_CN_MASK) | ((new_cn-1) << CV_CN_SHIFT); in reshape()
525 #define CV_MAT_CN_MASK ((CV_CN_MAX - 1) << CV_CN_SHIFT) macro526 #define CV_MAT_CN(flags) ((((flags) & CV_MAT_CN_MASK) >> CV_CN_SHIFT) + 1)597 ((((mat1)->type ^ (mat2)->type) & CV_MAT_CN_MASK) == 0)
591 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvSubRS()620 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvSubRS()1063 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAddS()1092 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAddS()
389 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvInRangeS()1526 sctype = (type & CV_MAT_CN_MASK) | CV_32SC1; in cvAbsDiffS()
2990 header->type = CV_MAKETYPE( mat->type & ~CV_MAT_CN_MASK, new_cn ); in cvReshapeMatND()3026 header->type = CV_MAKETYPE( header->type & ~CV_MAT_CN_MASK, new_cn ); in cvReshapeMatND()3171 header->type = CV_MAKETYPE( mat->type & ~CV_MAT_CN_MASK, new_cn ); in cvReshape()
607 (src->type & CV_MAT_CN_MASK)|(dst->type & CV_MAT_DEPTH_MASK)); in cvConvertImage()
628 (src->type & CV_MAT_CN_MASK)|(dst->type & CV_MAT_DEPTH_MASK)); in cvConvertImage()
632 types[INPUT][2] = types[INPUT][3] &= ~CV_MAT_CN_MASK; in get_test_array_types_and_sizes()859 types[INPUT][2] &= ~CV_MAT_CN_MASK; in get_test_array_types_and_sizes()