Searched refs:nr_roots (Results 1 – 4 of 4) sorted by relevance
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.cpp | 28 void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d) in db_SolveCubic() argument 40 if(a==0.0) db_SolveQuadratic(roots,nr_roots,b,c,d); in db_SolveCubic() 53 *nr_roots=3; in db_SolveCubic() 74 *nr_roots=1; in db_SolveCubic() 82 *nr_roots=2; in db_SolveCubic() 94 void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double e) in db_SolveQuartic() argument 111 if(a==0.0) db_SolveCubic(roots,nr_roots,b,c,d,e); in db_SolveQuartic() 114 db_SolveCubic(roots,nr_roots,a,b,c,d); in db_SolveQuartic() 115 roots[*nr_roots]=0.0; in db_SolveQuartic() 116 *nr_roots+=1; in db_SolveQuartic() [all …]
|
D | db_utilities_poly.h | 39 inline void db_SolveQuadratic(double *roots,int *nr_roots,double a,double b,double c) in db_SolveQuadratic() argument 47 if(b==0.0) *nr_roots=0; in db_SolveQuadratic() 51 *nr_roots=1; in db_SolveQuadratic() 59 *nr_roots=2; in db_SolveQuadratic() 65 if(q==0.0) *nr_roots=1; in db_SolveQuadratic() 68 else *nr_roots=0; in db_SolveQuadratic() 79 DB_API void db_SolveCubic(double *roots,int *nr_roots,double a,double b,double c,double d); 84 DB_API void db_SolveQuartic(double *roots,int *nr_roots,double a,double b,double c,double d,double … 89 DB_API void db_SolveQuarticForced(double *roots,int *nr_roots,double a,double b,double c,double d,d… 284 inline void db_RealEigenvalues4x4(double lambda[4],int *nr_roots,const double A[16],int forced=0) [all …]
|
D | db_framestitching.cpp | 32 int nr_roots; in db_RotationFromMOuterProductSum() local 50 db_RealEigenvalues4x4(lambda,&nr_roots,N,1); in db_RotationFromMOuterProductSum() 51 if(nr_roots) in db_RotationFromMOuterProductSum() 54 if(nr_roots>=2) in db_RotationFromMOuterProductSum() 57 if(nr_roots>=3) in db_RotationFromMOuterProductSum() 61 if(nr_roots>=4) if(lambda[3]>lambda_max) lambda_max=lambda[3]; in db_RotationFromMOuterProductSum()
|
D | db_image_homography.cpp | 120 int nr_roots,i,j; in db_CommonFocalLengthFromRotation_2Point() local 162 db_SolveCubic(roots,&nr_roots,p9[4],p9[3],p9[2],p9[1]); in db_CommonFocalLengthFromRotation_2Point() 164 for(j=0,i=0;i<nr_roots;i++) in db_CommonFocalLengthFromRotation_2Point()
|