Home | History | Annotate | Download | only in src

Lines Matching refs:L_x

91     L_x = normalized input value of type Word32
92 exp = number of shifts required to normalize L_x; it is of type Word16
114 The function Log2(L_x) calculates the logarithm of the normalized input
115 buffer L_x. The logarithm is approximated by a table and linear
116 interpolation. The following steps are used to compute Log2(L_x):
119 2. i = bit25-b31 of L_x; 32<=i<=63 (because of normalization).
138 Word32 L_x, // (i) : input value (normalized)
139 Word16 exp, // (i) : norm_l (L_x)
147 if (L_x <= (Word32) 0)
156 L_x = L_shr (L_x, 9);
157 i = extract_h (L_x); // Extract b25-b31
158 L_x = L_shr (L_x, 1);
159 a = extract_l (L_x); // Extract b10-b24 of fraction
197 Word32 L_x, /* (i) : input value (normalized) */
198 Word16 exp, /* (i) : norm_l (L_x) */
206 if (L_x <= (Word32) 0)
216 /* At this point, L_x > 0 */
217 /* Shift L_x to the right by 10 to extract bits 10-31, */
219 L_x >>= 10;
220 i = (Word16)(L_x >> 15); /* Extract b25-b31 */
221 a = L_x & 0x7fff; /* Extract b10-b24 of fraction */