Home | History | Annotate | Download | only in src

Lines Matching refs:dst

83 icvPyrDownG5x5_##flavor##_CnR( const type* src, int srcstep, type* dst,                 \
95 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
98 for( y = 0; y < size.height; y += 2, dst += dststep ) \
185 dst[x] = (type)_pd_scale_( PD_FILTER( row01[x], row01[x1], \
193 dst[x] = (type)_pd_scale_( PD_RB( row01[x], row01[x1], \
201 dst[x] = (type)_pd_scale_( PD_LT( row01[x], row01[x1], row23[x] )); \
206 dst[x] = (type)_pd_scale_( PD_SINGULAR( row01[x], row01[x1] )); \
281 icvPyrUpG5x5_##flavor##_CnR( const type* src, int srcstep, type* dst, \
293 srcstep /= sizeof(src[0]); dststep /= sizeof(dst[0]); \
296 for( y = 0; y < size.height; y++, dst += 2 * dststep ) \
313 dst1 = dst + dststep; \
393 dst[x] = (type)_pu_scale_( PU_FILTER( row0[x], row1[x], row2[x] )); \
402 dst[x] = (type)_pu_scale_( PU_RB( row0[x], row1[x] )); \
411 dst[x] = (type)_pu_scale_( PU_LT( row0[x], row1[x] )); \
417 dst[x] = (type)_pu_scale_( PU_SINGULAR( row0[x] )); \
497 dst, int dst_step, CvSize dst_size, int channels ) \
530 dst_step /= sizeof(dst[0]); \
536 dst2 = dst + (Hd - rows)*dst_step; \
538 dst += (Wd - cols)*channels; \
651 dst[j] = (arrtype)_pd_scale_( PD_SINGULAR( buf[j], buf[j+(H-1)*bufW] ));\
666 dst[j]= (arrtype)_pd_scale_(PD_LT( buf[j], buf[j+bufW], buf[j+bufW*2]));\
670 dst += dst_step; \
672 dst[j] = (arrtype)_pd_scale_( PD_LT( buf[j+bufW*2], \
697 dst[j]=(arrtype)_pd_scale_( PD_LT( buf[j], buf[j+bufW], buf[j+bufW*2]));\
701 dst += dst_step; \
702 for( i = 1; i < Hd_; i++, dst += dst_step, buf += bufW*2 ) \
705 dst[j] = (arrtype)_pd_scale_( PD_FILTER( buf[j-bufW*2], buf[j-bufW],\
713 dst[j] = (arrtype)_pd_scale_( PD_RB( buf[j-bufW*2], buf[j-bufW], \
719 dst[j]=(arrtype)_pd_scale_( PD_LT( buf[j-bufW*2], \
758 dst = dst2; \
763 for( ; rows--; dst += dst_step, buf += Wn ) \
766 dst[0] = (arrtype)_pd_scale_( PD_SINGULAR( buf[0], buf[Wn-1] )); \
769 dst[0] = (arrtype)_pd_scale_( PD_SINGULAR( buf[0], buf[Wn-3] )); \
770 dst[1] = (arrtype)_pd_scale_( PD_SINGULAR( buf[1], buf[Wn-2] )); \
771 dst[2] = (arrtype)_pd_scale_( PD_SINGULAR( buf[2], buf[Wn-1] )); \
779 for( ; rows--; dst += dst_step, buf += Wn ) \
782 dst[0] = (arrtype)_pd_scale_( PD_LT(buf[0], buf[1], buf[2] )); \
785 dst[0] = (arrtype)_pd_scale_( PD_LT(buf[0], buf[3], buf[6] )); \
786 dst[1] = (arrtype)_pd_scale_( PD_LT(buf[1], buf[4], buf[7] )); \
787 dst[2] = (arrtype)_pd_scale_( PD_LT(buf[2], buf[5], buf[8] )); \
793 for( ; rows--; dst += dst_step, buf += Wn ) \
797 dst[0] = (arrtype)_pd_scale_( PD_LT(buf[0], buf[1], buf[2] )); \
798 dst[1] = (arrtype)_pd_scale_( PD_LT(buf[2], buf[1], buf[0] )); \
802 dst[0] = (arrtype)_pd_scale_( PD_LT(buf[0], buf[3], buf[6] )); \
803 dst[1] = (arrtype)_pd_scale_( PD_LT(buf[1], buf[4], buf[7] )); \
804 dst[2] = (arrtype)_pd_scale_( PD_LT(buf[2], buf[5], buf[8] )); \
805 dst[3] = (arrtype)_pd_scale_( PD_LT(buf[6], buf[3], buf[0] )); \
806 dst[4] = (arrtype)_pd_scale_( PD_LT(buf[7], buf[4], buf[1] )); \
807 dst[5] = (arrtype)_pd_scale_( PD_LT(buf[8], buf[5], buf[2] )); \
814 for( ; rows--; dst += dst_step, buf += Wn ) \
819 dst[0] = (arrtype)_pd_scale_( PD_LT( buf[0], buf[1], buf[2] )); \
824 dst[i] = (arrtype)_pd_scale_( PD_FILTER(buf[i*2-2], buf[i*2-1], \
830 dst[i] = (arrtype)_pd_scale_( PD_RB( buf[i*2-2],buf[i*2-1], \
833 dst[i] = (arrtype)_pd_scale_( PD_LT( buf[i*2-2], \
839 dst[0] = (arrtype)_pd_scale_( PD_LT( buf[0], buf[3], buf[6] )); \
840 dst[1] = (arrtype)_pd_scale_( PD_LT( buf[1], buf[4], buf[7] )); \
841 dst[2] = (arrtype)_pd_scale_( PD_LT( buf[2], buf[5], buf[8] )); \
846 dst[i] = (arrtype)_pd_scale_( PD_FILTER(buf[i*2-6], buf[i*2-3], \
853 dst[i] = (arrtype)_pd_scale_( PD_RB( buf[i*2-6],buf[i*2-3], \
855 dst[i+1] = (arrtype)_pd_scale_( PD_RB( buf[i*2-5],buf[i*2-2], \
857 dst[i+2] = (arrtype)_pd_scale_( PD_RB( buf[i*2-4],buf[i*2-1], \
862 dst[i] = (arrtype)_pd_scale_( PD_LT( buf[i*2-6], buf[i*2-3], buf[i*2] )); \
863 dst[i+1] = (arrtype)_pd_scale_( PD_LT( buf[i*2-5], buf[i*2-2], buf[i*2+1]));\
864 dst[i+2] = (arrtype)_pd_scale_( PD_LT( buf[i*2-4], buf[i*2-1], buf[i*2+2]));\
895 CvSize srcsize, void* dst,
914 ( const void* src, int srcstep, void* dst,
918 ( const void* src, int srcstep, void* dst, int dststep, CvSize size, void* buffer );
943 CvMat dststub, *dst = (CvMat*)dstarr;
957 CV_CALL( dst = cvGetMat( dst, &dststub, &coi2 ));
965 if( !CV_ARE_TYPES_EQ( src, dst ))
968 if( src->cols*2 != dst->cols || src->rows*2 != dst->rows )
1007 func( src->data.ptr, src->step, dst->data.ptr, dst->step, size, buffer, cn );
1010 dst->data.ptr, dst->step ? dst->step : CV_STUB_STEP, size, buffer ));
1036 CvMat dststub, *dst = (CvMat*)dstarr;
1051 CV_CALL( dst = cvGetMat( dst, &dststub, &coi2 ));
1059 if( !CV_ARE_TYPES_EQ( src, dst ))
1063 dst_size = cvGetMatSize(dst);
1076 /*if( src->data.ptr == dst->data.ptr )
1115 func( src->data.ptr, src->step, dst->data.ptr,
1116 dst->step, src_size2, buffer, cn );
1119 dst->data.ptr, dst->step ? dst->step : CV_STUB_STEP, src_size2, buffer ));
1130 dst->data.ptr, dst->step, dst_size, CV_MAT_CN(type) ));