Lines Matching refs:mstep
107 int mstep, istep;
172 mstep = dst->step / sizeof(mask[0]);
184 mask[j] = mask[j + mstep*(size.height-1)] = WSHED;
190 img += istep; mask += mstep;
197 if( m[0] == 0 && (m[-1] > 0 || m[1] > 0 || m[-mstep] > 0 || m[mstep] > 0) )
208 if( m[-mstep] > 0 )
213 if( m[mstep] > 0 )
219 ws_push( idx, i*mstep + j, i*istep + j*3 );
268 t = m[-mstep];
274 t = m[mstep];
299 if( m[-mstep] == 0 )
302 ws_push( t, mofs - mstep, iofs - istep );
304 m[-mstep] = IN_QUEUE;
306 if( m[mstep] == 0 )
309 ws_push( t, mofs + mstep, iofs + istep );
311 m[mstep] = IN_QUEUE;
404 int mstep = 0;
416 mstep = m.step;
417 mask = m.data.ptr + mstep;
422 for( i = 1; i < size1.height-1; i++, dptr += dstep - (size1.width-2)*3, mask += mstep*2 )
441 mask += mstep )