Searched refs:PD_SZ (Results 1 – 2 of 2) sorted by relevance
/external/opencv/cv/src/ |
D | cvpyramids.cpp | 77 #define PD_SZ 5 macro 87 worktype* rows[PD_SZ]; /* array of rows pointers. dim(rows) is PD_SZ */ \ 91 int pd_sz = (PD_SZ + 1)*buffer_step; \ 92 int fst = 0, lst = size.height <= PD_SZ/2 ? size.height : PD_SZ/2 + 1; \ 106 for( y1 = 0; y1 < PD_SZ; y1++ ) \ 120 if( size.width > PD_SZ/2 ) \ 148 if( size.width > PD_SZ/2 ) \ 181 if( y < size.height - PD_SZ/2 ) \ 198 if( size.height > PD_SZ/2 ) /* top */ \ 208 fst = PD_SZ - 2; \ [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | pyramids.cpp | 852 const int PD_SZ = 5; in pyrDown_() local 860 AutoBuffer<WT> _buf(bufstep*PD_SZ + 16); in pyrDown_() 862 int tabL[CV_CN_MAX*(PD_SZ+2)], tabR[CV_CN_MAX*(PD_SZ+2)]; in pyrDown_() 865 WT* rows[PD_SZ]; in pyrDown_() 872 … int k, x, sy0 = -PD_SZ/2, sy = sy0, width0 = std::min((ssize.width-PD_SZ/2-1)/2 + 1, dsize.width); in pyrDown_() 874 for( x = 0; x <= PD_SZ+1; x++ ) in pyrDown_() 876 int sx0 = borderInterpolate(x - PD_SZ/2, ssize.width, borderType)*cn; in pyrDown_() 877 int sx1 = borderInterpolate(x + width0*2 - PD_SZ/2, ssize.width, borderType)*cn; in pyrDown_() 900 WT* row = buf + ((sy - sy0) % PD_SZ)*bufstep; in pyrDown_() 963 for( k = 0; k < PD_SZ; k++ ) in pyrDown_() [all …]
|