Home | History | Annotate | Download | only in ilbc

Lines Matching refs:w00

38   int32_t w00,w10,w11, endiff, crit;
47 w00 = w10 = w11 = 0;
57 w00=WebRtcSpl_DotProductWithScale(current,current,ENH_BLOCKL,scale);
61 if (w00<0) w00 = WEBRTC_SPL_WORD32_MAX;
64 /* Rescale w00 and w11 to w00prim and w11prim, so that w00prim/w11prim
67 bitsw00 = WebRtcSpl_GetSizeInBits(w00);
79 w00prim = WEBRTC_SPL_LSHIFT_W32(w00, scale1);
82 /* Perform C = sqrt(w11/w00) (C is in Q11 since (16+6)/2=11) */
102 /* crit = 0.05 * w00 (Result in Q-6) */
110 if( w00 < 1) {
111 w00=1;
114 /* Calculate w11*w00, w10*w10 and w00*w00 in the same Q domain */
127 (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale));
134 (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale),
135 (int16_t)WEBRTC_SPL_SHIFT_W32(w00, -scale));
137 /* Calculate (w11*w00-w10*w10)/(w00*w00) in Q16 */
166 /* A sqrt( (ENH_A0-(ENH_A0^2)/4)*(w00*w00)/(w11*w00 + w10*w10) ) in Q9 */
169 /* B_W32 is in Q30 ( B = 1 - ENH_A0/2 - A * w10/w00 ) */
173 w00prim = WEBRTC_SPL_SHIFT_W32(w00, -scale2);