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/ltp/testcases/kernel/pty/
Dptem01.c141 struct winsize wsz2 = { 60, 100, 11, 777 }; in test2() local
189 if (ioctl(slavefd, TIOCSWINSZ, &wsz2) != 0) { in test2()
197 if (wsz.ws_row != wsz2.ws_row || wsz.ws_col != wsz2.ws_col || in test2()
198 wsz.ws_xpixel != wsz2.ws_xpixel || in test2()
199 wsz.ws_ypixel != wsz2.ws_ypixel) { in test2()