Home
last modified time | relevance | path

Searched refs:cosValue (Results 1 – 8 of 8) sorted by relevance

/external/skia/legacy/src/core/
DSkMath.cpp400 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument
403 if (cosValue) { in SkScalarSinCos()
404 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
405 if (SkScalarNearlyZero(*cosValue)) { in SkScalarSinCos()
406 *cosValue = 0; in SkScalarSinCos()
468 SkFixed sinValue, cosValue; in SkFixedSinCos() local
484 cosValue = interp_table(gSkSinTable, index, partial); in SkFixedSinCos()
493 cosValue = SK_Fixed1; in SkFixedSinCos()
496 cosValue = gSkSinTable[kTableSize - index]; in SkFixedSinCos()
502 SkTSwap<SkFixed>(sinValue, cosValue); in SkFixedSinCos()
[all …]
/external/skia/src/core/
DSkMath.cpp399 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument
402 if (cosValue) { in SkScalarSinCos()
403 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
404 if (SkScalarNearlyZero(*cosValue)) { in SkScalarSinCos()
405 *cosValue = 0; in SkScalarSinCos()
467 SkFixed sinValue, cosValue; in SkFixedSinCos() local
483 cosValue = interp_table(gSkSinTable, index, partial); in SkFixedSinCos()
492 cosValue = SK_Fixed1; in SkFixedSinCos()
495 cosValue = gSkSinTable[kTableSize - index]; in SkFixedSinCos()
501 SkTSwap<SkFixed>(sinValue, cosValue); in SkFixedSinCos()
[all …]
/external/skia/legacy/include/core/
DSkFixed.h146 SkFixed cosValue; in SkFixedCos() local
147 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos()
148 return cosValue; in SkFixedCos()
DSkMatrix.h199 void setSinCos(SkScalar sinValue, SkScalar cosValue,
203 void setSinCos(SkScalar sinValue, SkScalar cosValue);
DSkScalar.h194 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue);
/external/skia/include/core/
DSkFixed.h153 SkFixed cosValue; in SkFixedCos() local
154 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos()
155 return cosValue; in SkFixedCos()
DSkMatrix.h207 void setSinCos(SkScalar sinValue, SkScalar cosValue,
211 void setSinCos(SkScalar sinValue, SkScalar cosValue);
DSkScalar.h205 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue);