Lines Matching refs:stack_top
53 uchar **stack_top, **stack_bottom = 0; in cvCanny() local
135 CV_CALL( stack_top = stack_bottom = (uchar**)cvAlloc( maxsize*sizeof(stack_top[0]) )); in cvCanny()
153 #define CANNY_PUSH(d) *(d) = (uchar)2, *stack_top++ = (d) in cvCanny()
154 #define CANNY_POP(d) (d) = *--stack_top in cvCanny()
219 if( (stack_top - stack_bottom) + size.width > maxsize ) in cvCanny()
223 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny()
224 … memcpy( new_stack_bottom, stack_bottom, (stack_top - stack_bottom)*sizeof(stack_top[0]) ); in cvCanny()
225 stack_top = new_stack_bottom + (stack_top - stack_bottom); in cvCanny()
305 while( stack_top > stack_bottom ) in cvCanny()
308 if( (stack_top - stack_bottom) + 8 > maxsize ) in cvCanny()
312 CV_CALL( new_stack_bottom = (uchar**)cvAlloc( maxsize * sizeof(stack_top[0])) ); in cvCanny()
313 … memcpy( new_stack_bottom, stack_bottom, (stack_top - stack_bottom)*sizeof(stack_top[0]) ); in cvCanny()
314 stack_top = new_stack_bottom + (stack_top - stack_bottom); in cvCanny()