Lines Matching defs:in
5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
14 * The description header can be found in signal_processing_library.h
20 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in);
22 WebRtc_Word32 WebRtcSpl_SqrtLocal(WebRtc_Word32 in)
29 y=in/2
36 B = in;
38 B = WEBRTC_SPL_RSHIFT_W32(B, 1); // B = in/2
39 B = B - ((WebRtc_Word32)0x40000000); // B = in/2 - 1/2
40 x_half = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(B, 16);// x_half = x/2 = (in-1)/2
42 B = B + ((WebRtc_Word32)0x40000000); // Add 0.5 twice (since 1.0 does not exist in Q31)
81 Example of how the algorithm works, with ut=sqrt(in), and
82 with in=73632 and ut=271 (even shift value case):
84 in=73632
85 y= in/131072
92 in=73632
102 in = 73632
112 in=73632
124 in = 73632