OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cosine
(Results
1 - 8
of
8
) sorted by null
/external/opencore/codecs_v2/audio/aac/dec/src/
pv_sine.cpp
157
Int32
cosine
;
local
161
z = -z; /* sign does not play a role in
cosine
*/
168
cosine
= pv_sine(z);
172
cosine
= Q_fmt(0.99999999906868) - (fxp_mul32_Q30(z, z) >> 1);
175
return
cosine
;
/frameworks/base/media/libstagefright/codecs/aacdec/
pv_sine.cpp
157
Int32
cosine
;
local
161
z = -z; /* sign does not play a role in
cosine
*/
168
cosine
= pv_sine(z);
172
cosine
= Q_fmt(0.99999999906868) - (fxp_mul32_Q30(z, z) >> 1);
175
return
cosine
;
/external/skia/include/effects/
SkColorMatrix.h
40
void setSinCos(Axis, SkScalar sine, SkScalar
cosine
);
/frameworks/base/graphics/java/android/graphics/
ColorMatrix.java
122
float
cosine
= FloatMath.cos(radians);
local
127
mArray[6] = mArray[12] =
cosine
;
133
mArray[0] = mArray[12] =
cosine
;
139
mArray[0] = mArray[6] =
cosine
;
/external/v8/test/mjsunit/
sin-cos.js
40
assertArrayEquals(expected_cos, output_cos, "
cosine
");
42
// By accident, the slow case for sine and
cosine
were both sine at
/external/skia/src/utils/
SkColorMatrix.cpp
35
void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar
cosine
)
47
fMat[index[0]] =
cosine
;
50
fMat[index[3]] =
cosine
;
/external/skia/src/core/
SkCordic.cpp
221
float
cosine
= cosf(radian);
local
229
error = fabsf(
cosine
- cosine2);
231
SkDebugf("cos error : angle = %g ; cos = %g ; cordic = %g\n", angle,
cosine
, cosine2);
/frameworks/base/core/java/android/gesture/
GestureUtils.java
35
* <li>gesture similarity comparison (e.g., calculating Euclidean or
Cosine
418
* Calculates the
cosine
distance between two instances.
434
* Calculates the "minimum"
cosine
distance between two instances.
455
final double
cosine
= Math.cos(angle);
local
456
final double sine =
cosine
* tan;
457
return (float) Math.acos(a *
cosine
+ b * sine);
Completed in 1843 milliseconds