Home
last modified time | relevance | path

Searched refs:wsz2 (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cv/src/
Dcvstereobm.cpp110 int x, y, wsz2 = winsize/2; in icvPrefilter() local
111 int* vsum = (int*)cvAlignPtr(buf + (wsz2 + 1)*sizeof(vsum[0]), 32); in icvPrefilter()
125 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in icvPrefilter()
127 for( y = 1; y < wsz2; y++ ) in icvPrefilter()
135 const uchar* top = sptr + srcstep*MAX(y-wsz2-1,0); in icvPrefilter()
136 const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); in icvPrefilter()
146 for( x = 0; x <= wsz2; x++ ) in icvPrefilter()
152 int sum = vsum[0]*(wsz2 + 1); in icvPrefilter()
153 for( x = 1; x <= wsz2; x++ ) in icvPrefilter()
161 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in icvPrefilter()
[all …]
/external/opencv3/modules/calib3d/src/
Dstereobm.cpp112 int x, y, wsz2 = winsize/2; in prefilterNorm() local
113 int* vsum = (int*)alignPtr(buf + (wsz2 + 1)*sizeof(vsum[0]), 32); in prefilterNorm()
127 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in prefilterNorm()
129 for( y = 1; y < wsz2; y++ ) in prefilterNorm()
137 const uchar* top = sptr + srcstep*MAX(y-wsz2-1,0); in prefilterNorm()
138 const uchar* bottom = sptr + srcstep*MIN(y+wsz2,size.height-1); in prefilterNorm()
147 for( x = 0; x <= wsz2; x++ ) in prefilterNorm()
153 int sum = vsum[0]*(wsz2 + 1); in prefilterNorm()
154 for( x = 1; x <= wsz2; x++ ) in prefilterNorm()
162 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in prefilterNorm()
[all …]