Searched refs:cos_theta_through3 (Results 1 - 1 of 1) sorted by relevance

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_utilities_poly.cpp32 double cos_theta_through3,sin_theta_through3,min2_cos_theta_plu,min2_cos_theta_min; local
59 cos_theta_through3=cos(theta_through3);
60 sin_theta_through3=sqrt(db_maxd(0.0,1.0-cos_theta_through3*cos_theta_through3));
62 /*cos(theta_through3+2*pi/3)=cos_theta_through3*cos(2*pi/3)-sin_theta_through3*sin(2*pi/3)
63 = -0.5*cos_theta_through3-sqrt(3)/2.0*sin_theta_through3
64 = -0.5*(cos_theta_through3+sqrt(3)*sin_theta_through3)*/
65 min2_cos_theta_plu=cos_theta_through3+DB_SQRT3*sin_theta_through3;
66 min2_cos_theta_min=cos_theta_through3-DB_SQRT3*sin_theta_through3;
68 roots[0]= -2.0*srq*cos_theta_through3
[all...]

Completed in 440 milliseconds