Lines Matching refs:Cn
126 #define ICV_DEF_PX2PL_COI( arrtype, len, cn ) \
130 for( j = 0; j <= (len) - 4; j += 4, (src) += 4*(cn))\
133 arrtype t1 = (src)[(cn)]; \
138 t0 = (src)[(cn)*2]; \
139 t1 = (src)[(cn)*3]; \
145 for( ; j < (len); j++, (src) += (cn)) \
153 cn, entry_macro ) \
154 IPCVAPI_IMPL( CvStatus, icvCopy_##flavor##_C##cn##P##cn##R,\
165 ICV_DEF_PX2PL_C##cn( arrtype, size.width ); \
166 src -= size.width*(cn); \
176 CvSize size, int cn, int coi ), \
177 (src, srcstep, dst, dststep, size, cn, coi)) \
185 ICV_DEF_PX2PL_COI( arrtype, size.width, cn ); \
186 src -= size.width*(cn); \
280 #define ICV_DEF_PL2PX_COI( arrtype, len, cn ) \
284 for( j = 0; j <= (len) - 4; j += 4, (dst) += 4*(cn))\
290 (dst)[(cn)] = t1; \
295 (dst)[(cn)*2] = t0; \
296 (dst)[(cn)*3] = t1; \
299 for( ; j < (len); j++, (dst) += (cn)) \
306 #define ICV_DEF_COPY_PL2PX_FUNC_2D( arrtype, flavor, cn, entry_macro ) \
307 IPCVAPI_IMPL( CvStatus, icvCopy_##flavor##_P##cn##C##cn##R, \
318 ICV_DEF_PL2PX_C##cn( arrtype, size.width ); \
319 dst -= size.width*(cn); \
330 CvSize size, int cn, int coi ), \
331 (src, srcstep, dst, dststep, size, cn, coi)) \
338 ICV_DEF_PL2PX_COI( arrtype, size.width, cn ); \
339 dst -= size.width*(cn); \
415 ICV_DEF_PXPLCOI_TAB( icvInitSplitRCoiTable, Cn, C1 )
417 ICV_DEF_PXPLCOI_TAB( icvInitCvtPlaneToPixRCoiTable, C1, Cn )
424 CvSize size, int cn, int coi );
431 CvSize size, int cn, int coi );
447 int type, cn, coi = 0;
470 cn = CV_MAT_CN( type );
474 if( cn == 1 )
510 if( nzplanes == cn )
528 size, cn, nzidx + 1 ));
557 int type, cn, coi = 0;
576 cn = CV_MAT_CN( type );
580 if( cn == 1 )
615 if( nzplanes == cn )
633 size, cn, nzidx + 1 ));
800 int cn;
821 cn = CV_MAT_CN(mat->type);
822 src_cn[i+1] = src_cn[i] + cn;
823 src_step[i] = mat->step / elem_size - size.width * cn;
828 cn = CV_MAT_CN(mat->type);
829 dst_cn[i+1] = dst_cn[i] + cn;
830 dst_step[i] = mat->step / elem_size - size.width * cn;
847 int cn = from_to[i*2 + k];
851 if( cn < 0 || cn >= cn_arr[b+1] )
853 if( k == 0 && cn < 0 )
869 for( ; cn >= cn_arr[a+1]; a++ )
874 sptr[i] = src0[a] + (cn - cn_arr[a])*elem_size;
880 dptr[i] = dst0[a] + (cn - cn_arr[a])*elem_size;