Home
last modified time | relevance | path

Searched refs:cosine (Results 1 – 25 of 67) sorted by relevance

123

/external/aac/libFDK/include/
DFDK_trigFcts.h157 FIXP_DBL *cosine) { in fixp_sin_cos_residual_inline() argument
207 *cosine = (FIXP_DBL)((cl * csign) << (DFRACT_BITS - FRACT_BITS)); in fixp_sin_cos_residual_inline()
212 *cosine = (FIXP_DBL)(cl * csign) >> 1; in fixp_sin_cos_residual_inline()
230 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
231 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
233 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
236 *out++ = cosine - (error0 << 1); in inline_fixp_cos_sin()
240 *out++ = SATURATE_LEFT_SHIFT(cosine - (error0 << 1), 1, DFRACT_BITS); in inline_fixp_cos_sin()
244 residual = fixp_sin_cos_residual_inline(x2, scale, &sine, &cosine); in inline_fixp_cos_sin()
246 error1 = fMultDiv2(cosine, residual); in inline_fixp_cos_sin()
[all …]
/external/aac/libFDK/src/
DFDK_trigFcts.cpp300 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
302 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
306 return cosine - error; in fixp_cos()
309 return SATURATE_LEFT_SHIFT(cosine - error, 1, DFRACT_BITS); in fixp_cos()
314 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
316 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
317 error = fMult(cosine, residual); in fixp_sin()
327 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
329 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos_sin()
331 error1 = fMult(cosine, residual); in fixp_cos_sin()
[all …]
/external/libxaac/decoder/armv7/
Dixheaacd_eld_decoder_sbr_pre_twiddle.s16 …LDR r6, [r2], #4 @Load and increment pointer *pTwiddles++ Lower - cosine , high…
19 SMULWB r8, r4, r6 @mult32x16in32(Xre, cosine)
24 …ADD r12, r8, r10, LSL #1 @mac32x16in32_shl( mult32x16in32_shl(Xre, cosine) , mult32x16…
30 SMULWB r9, r5, r6 @mult32x16in32(Xim, cosine)
37 …SUB r14, r9, r7, LSL #1 @sub32(mult32x16in32_shl(Xim, cosine) , mult32x16in32_shl(Xre,…
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
DHarmonicCoefficientsGuesser.java268 double cosine = FastMath.cos(omegaX); in guessPhi() local
270 fcMean += omega * currentY * cosine - currentYPrime * sine; in guessPhi()
271 fsMean += omega * currentY * sine + currentYPrime * cosine; in guessPhi()
/external/skqp/gm/
Daaa.cpp103 SkScalar cosine; in DEF_SIMPLE_GM() local
104 SkScalar sine = SkScalarSinCos(a, &cosine); in DEF_SIMPLE_GM()
105 path.lineTo(C + R * cosine, C + R * sine); in DEF_SIMPLE_GM()
/external/skia/gm/
Daaa.cpp103 SkScalar cosine; in DEF_SIMPLE_GM() local
104 SkScalar sine = SkScalarSinCos(a, &cosine); in DEF_SIMPLE_GM()
105 path.lineTo(C + R * cosine, C + R * sine); in DEF_SIMPLE_GM()
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dblocks_test.py34 cosine = 1. - eps
38 cosine = _dot(g1, g2) / g1_norm / g2_norm
40 cosine = tf.minimum(tf.maximum(cosine, eps - 1.), 1. - eps)
41 degree = tf.acos(cosine) * 180. / 3.141592653589793
/external/skia/src/effects/
DSkColorMatrix.cpp103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument
114 fMat[index[0]] = cosine; in setSinCos()
117 fMat[index[3]] = cosine; in setSinCos()
/external/skqp/src/effects/
DSkColorMatrix.cpp103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument
114 fMat[index[0]] = cosine; in setSinCos()
117 fMat[index[3]] = cosine; in setSinCos()
/external/crcalc/tests/src/com/hp/creals/
DCRTest.java121 UnaryCRFunction cosine = UnaryCRFunction.sinFunction in testCR() local
123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed"); in testCR()
124 check_eq(cosine.execute(three), three.cos(), in testCR()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Cosh.pbtxt3 summary: "Computes hyperbolic cosine of x element-wise."
Dapi_def_Acosh.pbtxt3 summary: "Computes inverse hyperbolic cosine of x element-wise."
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.intrinsics.vert.out17 0:5 arc cosine ( temp float)
41 0:16 cosine ( temp float)
43 0:17 hyp. cosine ( temp float)
122 0:49 cosine ( temp float)
166 0:72 arc cosine ( temp 2-component vector of float)
190 0:83 cosine ( temp 2-component vector of float)
192 0:84 hyp. cosine ( temp 2-component vector of float)
295 0:123 cosine ( temp 2-component vector of float)
331 0:141 arc cosine ( temp 3-component vector of float)
355 0:152 cosine ( temp 3-component vector of float)
[all …]
D130.vert.out99 0:41 hyp. cosine ( global float)
106 0:42 arc hyp. cosine ( global 4-component vector of float)
249 0:41 hyp. cosine ( global float)
256 0:42 arc hyp. cosine ( global 4-component vector of float)
/external/python/cpython2/Doc/library/
Dcmath.rst123 Return the arc cosine of *x*. There are two branch cuts: One extends right from
146 Return the cosine of *x*.
164 Return the inverse hyperbolic cosine of *x*. There is one branch cut,
192 Return the hyperbolic cosine of *x*.
Dmath.rst234 Return the arc cosine of *x*, in radians.
259 Return the cosine of *x* radians.
296 Return the inverse hyperbolic cosine of *x*.
317 Return the hyperbolic cosine of *x*.
/external/toybox/tests/
Dbc.test33 run_bc_test cosine
/external/skqp/include/effects/
DSkColorMatrix.h44 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
/external/skia/include/effects/
DSkColorMatrix.h44 void setSinCos(Axis, SkScalar sine, SkScalar cosine);
/external/python/cpython3/Doc/library/
Dcmath.rst116 Return the arc cosine of *x*. There are two branch cuts: One extends right from
136 Return the cosine of *x*.
154 Return the inverse hyperbolic cosine of *x*. There is one branch cut,
176 Return the hyperbolic cosine of *x*.
/external/eigen/unsupported/Eigen/
DMatrixFunctions33 * - \ref matrixbase_cos "MatrixBase::cos()", for computing the matrix cosine
34 * - \ref matrixbase_cosh "MatrixBase::cosh()", for computing the matrix hyperbolic cosine
76 Compute the matrix cosine.
85 This function computes the matrix cosine. Use ArrayBase::cos() for computing the entry-wise cosine.
95 Compute the matrix hyberbolic cosine.
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc316 float cosine = dot / scale; in AngleRad() local
317 float acosine = acos(cosine); in AngleRad()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc316 float cosine = dot / scale; in AngleRad() local
317 float acosine = acos(cosine); in AngleRad()
/external/ImageMagick/MagickCore/
Dpaint.c542 cosine, in GradientImage() local
549 cosine=cos((double) DegreesToRadians(gradient->angle-90.0)); in GradientImage()
550 distance=fabs((double) (image->columns-1.0)*cosine)+ in GradientImage()
552 gradient->gradient_vector.x1=0.5*((image->columns-1.0)-distance*cosine); in GradientImage()
554 gradient->gradient_vector.x2=0.5*((image->columns-1.0)+distance*cosine); in GradientImage()
/external/arm-optimized-routines/test/testcases/directed/
Dcosf.tst1 ; cosf.tst - Directed test cases for SP cosine

123