Lines Matching refs:uchar
70 uchar step; //local-optimal step
76 uchar min_val, max_val;
82 void icvFindStereoCorrespondenceByBirchfieldDP( uchar* src1, uchar* src2, in icvFindStereoCorrespondenceByBirchfieldDP()
83 uchar* disparities, in icvFindStereoCorrespondenceByBirchfieldDP()
93 uchar *dispdata; in icvFindStereoCorrespondenceByBirchfieldDP()
96 uchar val, prevval, prev, curr; in icvFindStereoCorrespondenceByBirchfieldDP()
98 uchar* dest = disparities; in icvFindStereoCorrespondenceByBirchfieldDP()
107 uchar* dsi = (uchar*)cvAlloc(sizeof(uchar)*imgW*dispH); in icvFindStereoCorrespondenceByBirchfieldDP()
108 uchar* edges = (uchar*)cvAlloc(sizeof(uchar)*imgW*imgH); in icvFindStereoCorrespondenceByBirchfieldDP()
115 uchar* srcdata1 = src1 + widthStep * y; in icvFindStereoCorrespondenceByBirchfieldDP()
116 uchar* srcdata2 = src2 + widthStep * y; in icvFindStereoCorrespondenceByBirchfieldDP()
123 val = (uchar)((curr + prev)>>1); in icvFindStereoCorrespondenceByBirchfieldDP()
124 rData[j-1].max_val = (uchar)CV_IMAX3( val, prevval, prev ); in icvFindStereoCorrespondenceByBirchfieldDP()
125 rData[j-1].min_val = (uchar)CV_IMIN3( val, prevval, prev ); in icvFindStereoCorrespondenceByBirchfieldDP()
141 dsi[j] = (uchar)t; in icvFindStereoCorrespondenceByBirchfieldDP()
145 dsi[j] = (uchar)t; in icvFindStereoCorrespondenceByBirchfieldDP()
194 uchar* _edges = edges + y*imgW + x; in icvFindStereoCorrespondenceByBirchfieldDP()
222 _cell[d].step = (uchar)t; in icvFindStereoCorrespondenceByBirchfieldDP()
285 dispdata[x] = (uchar)(d - 1); in icvFindStereoCorrespondenceByBirchfieldDP()
297 dispdata[i] = (uchar)(d-1); in icvFindStereoCorrespondenceByBirchfieldDP()
378 disparities[y*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
388 disparities[i*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
400 disparities[i*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
406 disparities[y*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
435 disparities[y*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
445 disparities[y*widthStep+i] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
457 disparities[y*widthStep+i] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()
463 disparities[y*widthStep+x] = (uchar)d; in icvFindStereoCorrespondenceByBirchfieldDP()