Searched defs:L_x (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dinv_sqrt.cpp108 L_x = input value (Word32)
115 L_y = inverse squareroot of L_x (Word32)
126 This function computes 1/sqrt(L_x), where L_x is positive.
127 If L_x is negative or zero, the result is 1 (3fff ffff).
129 The function 1/sqrt(L_x) is approximated by a table and linear
132 1- Normalization of L_x.
135 4- i = bit25-b31 of L_x; 16<=i<=63 because of normalization.
155 Word32 L_x // (i) : input value
166 if (L_x <
221 Inv_sqrt( Word32 L_x, Flag * pOverflow ) argument
[all...]
H A Dlog2.cpp92 L_x = input value of type Word32
117 This function computes logarithm (base2) of the input L_x, where L_x is
118 positive. If L_x is negative or zero, the result is 0.
120 This function first normalizes the input L_x and calls the function Log2_norm
164 Word32 L_x, /* (i) : input value */
174 exp = norm_l(L_x);
175 result = L_x << exp;
163 Log2( Word32 L_x, Word16 *pExponent, Word16 *pFraction, Flag *pOverflow ) argument
H A Dlog2_norm.cpp91 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
196 Log2_norm( Word32 L_x, Word16 exp, Word16 *exponent, Word16 *fraction ) argument
[all...]
H A Dpow2.cpp88 L_x = Result of the Pow2() computation (Word32)
103 This function computes L_x = pow(2.0, exponent.fraction)
105 The function Pow2(L_x) is approximated by a table and linear interpolation.
109 3- L_x = table[i]<<16 - (table[i] - table[i+1]) * a * 2
110 4- L_x = L_x >> (30-exponent) (with rounding)
131 Word32 L_x;
133 L_x = L_mult (fraction, 32); // L_x = fraction<<6
134 i = extract_h (L_x); // Extrac
183 Word32 L_x; local
[all...]
H A Dsqrt_l.cpp90 L_x = input value (Word32)
98 L_y = squareroot of L_x (Word32)
109 This function computes sqrt(L_x), where L_x is positive.
112 The function sqrt(L_x) is approximated by a table and linear
115 1- Normalization of L_x.
118 4- i = bit25-b31 of L_x; 16<=i<=63 because of normalization.
138 Word32 L_x, // i : input value
156 if (L_x <= (Word32) 0)
167 e = norm_l (L_x)
210 sqrt_l_exp( Word32 L_x, Word16 *pExp, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dlog2.c20 * Purpose : Computes log2(L_x) *
40 * PURPOSE: Computes log2(L_x, exp), where L_x is positive and
42 * If L_x is negative or zero, the result is 0.
45 * The function Log2(L_x) is approximated by a table and linear
46 * interpolation. The following steps are used to compute Log2(L_x)
49 * 2- i = bit25-b31 of L_x; 32<=i<=63 (because of normalization).
57 Word32 L_x, /* (i) : input value (normalized) */
58 Word16 exp, /* (i) : norm_l (L_x) */
65 if (L_x <
56 Log2_norm( Word32 L_x, Word16 exp, Word16 *exponent, Word16 *fraction ) argument
98 Log2( Word32 L_x, Word16 *exponent, Word16 *fraction ) argument
[all...]
H A Dmath_op.c47 | Compute 1/sqrt(L_x). |
48 | if L_x is negative or zero, result is 1 (7fffffff). |
52 | 1- Normalization of L_x. |
53 | 2- call Isqrt_n(L_x, exponant) |
54 | 3- L_y = L_x << exponant |
58 Word32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */
63 exp = norm_l(L_x);
64 L_x = (L_x << exp); /* L_x i
164 Word32 L_x; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwb_math_op.cpp36 one_ov_sqrt() : Compute 1/sqrt(L_x)
268 Compute 1/sqrt(L_x).
269 if L_x is negative or zero, result is 1 (7fffffff).
273 1- Normalization of L_x.
274 2- call Isqrt_n(L_x, exponant)
275 3- L_y = L_x << exponant
278 int32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */
284 exp = normalize_amr_wb(L_x);
285 L_x <<= exp; /* L_x i
390 int32 L_x; local
489 Lg2_normalized( int32 L_x, int16 exp, int16 *exponent, int16 *fraction ) argument
538 amrwb_log_2( int32 L_x, int16 *exponent, int16 *fraction ) argument
[all...]

Completed in 368 milliseconds