Searched refs:sineAngle (Results 1 – 2 of 2) sorted by relevance
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Mosaic.cpp | 234 double sineAngle = 0.0; in balanceRotations() local 236 for (int i = 0; i < frames_size; i++) sineAngle += frames[i]->trs[0][1]; in balanceRotations() 237 sineAngle /= frames_size; in balanceRotations() 239 double cosineAngle = sqrt(1.0 - sineAngle*sineAngle); in balanceRotations() 241 { cosineAngle, -sineAngle, 0 }, in balanceRotations() 242 { sineAngle, cosineAngle, 0}, in balanceRotations()
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Mosaic.cpp | 247 double sineAngle = 0.0; in balanceRotations() local 249 for (int i = 0; i < frames_size; i++) sineAngle += frames[i]->trs[0][1]; in balanceRotations() 250 sineAngle /= frames_size; in balanceRotations() 252 double cosineAngle = sqrt(1.0 - sineAngle*sineAngle); in balanceRotations() 254 { cosineAngle, -sineAngle, 0 }, in balanceRotations() 255 { sineAngle, cosineAngle, 0}, in balanceRotations()
|