Searched defs:sina (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java186 float sina = (float) Math.sin(angle);
188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina);
189 PointF topRight = rotatePoint(topRight(), center, cosa, sina);
190 PointF bottomLeft = rotatePoint(bottomLeft(), center, cosa, sina);
191 PointF bottomRight = rotatePoint(bottomRight(), center, cosa, sina);
340 private static PointF rotatePoint(PointF p, PointF c, float cosa, float sina) { argument
341 float x = (p.x - c.x) * cosa - (p.y - c.y) * sina + c.x;
342 float y = (p.x - c.x) * sina + (p.y - c.y) * cosa + c.y;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c283 int cosa, sina, cosb, sinb; local
291 sina = *csptr++;
300 *buf0++ = MULHIGH(cosa, tr1) + MULHIGH(sina, ti1);
301 *buf0++ = MULHIGH(cosa, ti1) - MULHIGH(sina, tr1);
318 int cosa, sina, cosb, sinb; local
326 sina = *csptr++;
335 *buf0++ = MULHIGH(cosa, tr1) + MULHIGH(sina, ti1);
336 *buf1-- = MULHIGH(sina, tr1) - MULHIGH(cosa, ti1);

Completed in 171 milliseconds