Home | History | Annotate | Download | only in src

Lines Matching defs:mind

304             int minsad = INT_MAX, mind = -1;
341 mind = (short)_mm_cvtsi128_si32(mind8);
342 minsad = sad[mind];
354 __m128i d1 = _mm_set1_epi16((short)(mind-1)), d2 = _mm_set1_epi16((short)(mind+1));
376 int p = sad[mind+1], n = sad[mind-1], d = p + n - 2*sad[mind];
377 dptr[y*dstep] = (short)(((ndisp - mind - 1 + mindisp)*256 + (d != 0 ? (p-n)*128/d : 0) + 15) >> 4);
500 int minsad = INT_MAX, mind = -1;
511 mind = d;
526 if( sad[d] <= thresh && (d < mind-1 || d > mind+1))
539 int p = sad[mind+1], n = sad[mind-1], d = p + n - 2*sad[mind];
540 dptr[y*dstep] = (short)(((ndisp - mind - 1 + mindisp)*256 + (d != 0 ? (p-n)*128/d : 0) + 15) >> 4);