Home
last modified time | relevance | path

Searched refs:db_sqr (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities.h78 inline double db_sqr(double a) in db_sqr() function
86 inline long db_sqr(long a) in db_sqr() function
94 inline long db_sqr(int a) in db_sqr() function
235 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])); in db_SquareSum3()
242 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])+ in db_SquareSum7()
243 db_sqr(x[3])+db_sqr(x[4])+db_sqr(x[5])+ in db_SquareSum7()
244 db_sqr(x[6])); in db_SquareSum7()
251 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])+ in db_SquareSum9()
252 db_sqr(x[3])+db_sqr(x[4])+db_sqr(x[5])+ in db_SquareSum9()
253 db_sqr(x[6])+db_sqr(x[7])+db_sqr(x[8])); in db_SquareSum9()
Ddb_utilities_poly.h351 n0=db_sqr(C[0]) +db_sqr(C[1]) +db_sqr(C[2]) +db_sqr(C[3]); in db_EigenVector4x4()
352 n1=db_sqr(C[4]) +db_sqr(C[5]) +db_sqr(C[6]) +db_sqr(C[7]); in db_EigenVector4x4()
353 n2=db_sqr(C[8]) +db_sqr(C[9]) +db_sqr(C[10])+db_sqr(C[11]); in db_EigenVector4x4()
354 n3=db_sqr(C[12])+db_sqr(C[13])+db_sqr(C[14])+db_sqr(C[15]); in db_EigenVector4x4()
Ddb_utilities_camera.h128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation()
135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation()
176 k1=db_sqr(H[2])+db_sqr(H[5]); in db_FocalFromCamRotFocalHomography()
177 k2=db_sqr(H[6])+db_sqr(H[7]); in db_FocalFromCamRotFocalHomography()
180 return(db_SafeSqrt(db_SafeDivision(k1,1.0-db_sqr(H[8])))); in db_FocalFromCamRotFocalHomography()
184 return(db_SafeSqrt(db_SafeDivision(1.0-db_sqr(H[8]),k2))); in db_FocalFromCamRotFocalHomography()
284 s=db_SafeSqrt(1.0-db_sqr(c)); in db_MultiplyRotationOntoImageHomography()
Ddb_image_homography.cpp147 p2[1]=db_sqr(apx)+db_sqr(apy); in db_CommonFocalLengthFromRotation_2Point()
148 p3[1]=db_sqr(bpx)+db_sqr(bpy); in db_CommonFocalLengthFromRotation_2Point()
150 p5[1]=db_sqr(ax)+db_sqr(ay); in db_CommonFocalLengthFromRotation_2Point()
151 p6[1]=db_sqr(bx)+db_sqr(by); in db_CommonFocalLengthFromRotation_2Point()
272 s+=db_sqr(r[0])+db_sqr(r[1]); in db_StitchSimilarity2DRaw()
273 sp+=db_sqr(rp[0])+db_sqr(rp[1]); in db_StitchSimilarity2DRaw()
Ddb_utilities_linalg.h63 return(db_sqr(x[0])+db_sqr(x[7])+db_sqr(x[14])+ in db_SquareSum6Stride7()
64 db_sqr(x[21])+db_sqr(x[28])+db_sqr(x[35])); in db_SquareSum6Stride7()
72 return(db_sqr(x[0])+db_sqr(x[9])+db_sqr(x[18])+ in db_SquareSum8Stride9()
73 db_sqr(x[27])+db_sqr(x[36])+db_sqr(x[45])+ in db_SquareSum8Stride9()
74 db_sqr(x[54])+db_sqr(x[63])); in db_SquareSum8Stride9()
Ddb_framestitching.cpp123 s+=db_sqr(r[0])+db_sqr(r[1])+db_sqr(r[2]); in db_StitchSimilarity3DRaw()
124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]); in db_StitchSimilarity3DRaw()
Ddb_metrics.h73 x2=db_sqr(f[0]); in db_CauchyDerivative()
74 y2=db_sqr(f[1]); in db_CauchyDerivative()
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
Ddb_rob_image_homography.cpp186 back+=db_sqr(f[0])+db_sqr(f[1]); in db_RobImageHomography_Jacobians()
220 back+=db_sqr(f[0])+db_sqr(f[1]); in db_RobCamRotation_Jacobians()
374 fi2=db_sqr(fi); in db_RobImageHomographyJH_dRotFocal()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.h78 inline double db_sqr(double a) in db_sqr() function
86 inline long db_sqr(long a) in db_sqr() function
94 inline long db_sqr(int a) in db_sqr() function
235 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])); in db_SquareSum3()
242 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])+ in db_SquareSum7()
243 db_sqr(x[3])+db_sqr(x[4])+db_sqr(x[5])+ in db_SquareSum7()
244 db_sqr(x[6])); in db_SquareSum7()
251 return(db_sqr(x[0])+db_sqr(x[1])+db_sqr(x[2])+ in db_SquareSum9()
252 db_sqr(x[3])+db_sqr(x[4])+db_sqr(x[5])+ in db_SquareSum9()
253 db_sqr(x[6])+db_sqr(x[7])+db_sqr(x[8])); in db_SquareSum9()
Ddb_utilities_poly.h351 n0=db_sqr(C[0]) +db_sqr(C[1]) +db_sqr(C[2]) +db_sqr(C[3]); in db_EigenVector4x4()
352 n1=db_sqr(C[4]) +db_sqr(C[5]) +db_sqr(C[6]) +db_sqr(C[7]); in db_EigenVector4x4()
353 n2=db_sqr(C[8]) +db_sqr(C[9]) +db_sqr(C[10])+db_sqr(C[11]); in db_EigenVector4x4()
354 n3=db_sqr(C[12])+db_sqr(C[13])+db_sqr(C[14])+db_sqr(C[15]); in db_EigenVector4x4()
Ddb_utilities_camera.h128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation()
135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation()
176 k1=db_sqr(H[2])+db_sqr(H[5]); in db_FocalFromCamRotFocalHomography()
177 k2=db_sqr(H[6])+db_sqr(H[7]); in db_FocalFromCamRotFocalHomography()
180 return(db_SafeSqrt(db_SafeDivision(k1,1.0-db_sqr(H[8])))); in db_FocalFromCamRotFocalHomography()
184 return(db_SafeSqrt(db_SafeDivision(1.0-db_sqr(H[8]),k2))); in db_FocalFromCamRotFocalHomography()
284 s=db_SafeSqrt(1.0-db_sqr(c)); in db_MultiplyRotationOntoImageHomography()
Ddb_image_homography.cpp147 p2[1]=db_sqr(apx)+db_sqr(apy); in db_CommonFocalLengthFromRotation_2Point()
148 p3[1]=db_sqr(bpx)+db_sqr(bpy); in db_CommonFocalLengthFromRotation_2Point()
150 p5[1]=db_sqr(ax)+db_sqr(ay); in db_CommonFocalLengthFromRotation_2Point()
151 p6[1]=db_sqr(bx)+db_sqr(by); in db_CommonFocalLengthFromRotation_2Point()
272 s+=db_sqr(r[0])+db_sqr(r[1]); in db_StitchSimilarity2DRaw()
273 sp+=db_sqr(rp[0])+db_sqr(rp[1]); in db_StitchSimilarity2DRaw()
Ddb_utilities_linalg.h63 return(db_sqr(x[0])+db_sqr(x[7])+db_sqr(x[14])+ in db_SquareSum6Stride7()
64 db_sqr(x[21])+db_sqr(x[28])+db_sqr(x[35])); in db_SquareSum6Stride7()
72 return(db_sqr(x[0])+db_sqr(x[9])+db_sqr(x[18])+ in db_SquareSum8Stride9()
73 db_sqr(x[27])+db_sqr(x[36])+db_sqr(x[45])+ in db_SquareSum8Stride9()
74 db_sqr(x[54])+db_sqr(x[63])); in db_SquareSum8Stride9()
Ddb_framestitching.cpp123 s+=db_sqr(r[0])+db_sqr(r[1])+db_sqr(r[2]); in db_StitchSimilarity3DRaw()
124 sp+=db_sqr(rp[0])+db_sqr(rp[1])+db_sqr(rp[2]); in db_StitchSimilarity3DRaw()
Ddb_metrics.h73 x2=db_sqr(f[0]); in db_CauchyDerivative()
74 y2=db_sqr(f[1]); in db_CauchyDerivative()
128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredReprojectionErrorHomography()
142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); in db_SquaredInhomogenousHomographyError()
Ddb_rob_image_homography.cpp186 back+=db_sqr(f[0])+db_sqr(f[1]); in db_RobImageHomography_Jacobians()
220 back+=db_sqr(f[0])+db_sqr(f[1]); in db_RobCamRotation_Jacobians()
374 fi2=db_sqr(fi); in db_RobImageHomographyJH_dRotFocal()
/packages/apps/Camera/jni/feature_stab/src/dbreg/
Ddbreg.cpp680 m_outlier_t2 = db_sqr(i*m_max_cost_pix/m_nr_bins); in SetOutlierThreshold()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
Ddbreg.cpp679 m_outlier_t2 = db_sqr(i*m_max_cost_pix/m_nr_bins); in SetOutlierThreshold()