Searched refs:cosw (Results 1 - 1 of 1) sorted by relevance

/external/svox/pico/compat/jni/
H A Dcom_android_tts_compat_SynthProxy.cpp74 double cosw = float(cos(w)); local
78 double b0 = amp * ((amp+1.0F) - ((amp-1.0F)*cosw) + (beta*sinw));
79 double b1 = 2.0F * amp * ((amp-1.0F) - ((amp+1.0F)*cosw));
80 double b2 = amp * ((amp+1.0F) - ((amp-1.0F)*cosw) - (beta*sinw));
81 double a0 = (amp+1.0F) + ((amp-1.0F)*cosw) + (beta*sinw);
82 double a1 = 2.0F * ((amp-1.0F) + ((amp+1.0F)*cosw));
83 double a2 = -((amp+1.0F) + ((amp-1.0F)*cosw) - (beta*sinw));

Completed in 199 milliseconds