Lines Matching refs:orient
173 CvMat orientstub, *orient = (CvMat*)orientation; in cvCalcMotionGradient() local
183 CV_CALL( orient = cvGetMat( orient, &orientstub )); in cvCalcMotionGradient()
194 if( CV_MAT_TYPE( mhi->type ) != CV_32FC1 || CV_MAT_TYPE( orient->type ) != CV_32FC1 ) in cvCalcMotionGradient()
198 if( !CV_ARE_SIZES_EQ( mhi, mask ) || !CV_ARE_SIZES_EQ( orient, mhi )) in cvCalcMotionGradient()
201 if( orient->data.ptr == mhi->data.ptr ) in cvCalcMotionGradient()
221 cvGetRow( orient, &orient_row, 0 ); in cvCalcMotionGradient()
229 orient_row.data.ptr = orient->data.ptr + y*orient->step; in cvCalcMotionGradient()
260 orient_row.data.ptr = orient->data.ptr + y*orient->step; in cvCalcMotionGradient()
296 CvMat orientstub, *orient = (CvMat*)orientation; in cvCalcGlobalOrientation() local
309 CV_CALL( orient = cvGetMat( orient, &orientstub )); in cvCalcGlobalOrientation()
314 if( CV_MAT_TYPE( mhi->type ) != CV_32FC1 || CV_MAT_TYPE( orient->type ) != CV_32FC1 ) in cvCalcGlobalOrientation()
318 if( !CV_ARE_SIZES_EQ( mhi, mask ) || !CV_ARE_SIZES_EQ( orient, mhi )) in cvCalcGlobalOrientation()
324 if( orient->data.ptr == mhi->data.ptr ) in cvCalcGlobalOrientation()
329 _orient = orient; in cvCalcGlobalOrientation()
347 if( CV_IS_MAT_CONT( mhi->type & mask->type & orient->type )) in cvCalcGlobalOrientation()
355 cvGetRow( orient, &orient_row, 0 ); in cvCalcGlobalOrientation()
372 orient_row.data.ptr = orient->data.ptr + orient->step*y; in cvCalcGlobalOrientation()