Home | History | Annotate | Download | only in src

Lines Matching full:disph

92     int     dispH =  maxDisparity + 3; 
105 #define CELL(d,x) cells[(d)+(x)*dispH]
107 uchar* dsi = (uchar*)cvAlloc(sizeof(uchar)*imgW*dispH);
109 _CvDPCell* cells = (_CvDPCell*)cvAlloc(sizeof(_CvDPCell)*imgW*MAX(dispH,(imgH+1)/2));
180 CELL(0,x).sum = CELL(dispH-1,x).sum = ICV_MAX_DP_SUM_VAL;
181 CELL(0,x).step = CELL(dispH-1,x).step = ICV_DP_STEP_LEFT;
183 for( d = 2; d < dispH; d++ )
196 _CvDPCell* _cell = cells + x*dispH;
204 sum[0] = _cell[d-dispH].sum - param2;
211 if( _cell[d-1-dispH].step != ICV_DP_STEP_UP && (_edges[1-d] & 2) )
215 sum[2] = _cell[d-1-dispH].sum + param1;
245 else if( _cell[d-1-dispH].step != ICV_DP_STEP_UP && (_edges[1-d] & 2) )
247 sum[2] = _cell[d-1-dispH].sum + param1;