/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | math_op.c | 58 Word32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */ in Isqrt() argument 63 exp = norm_l(L_x); in Isqrt() 64 L_x = (L_x << exp); /* L_x is normalized */ in Isqrt() 66 Isqrt_n(&L_x, &exp); in Isqrt() 67 L_y = (L_x << exp); /* denormalization */ in Isqrt() 164 Word32 L_x; in Pow2() local 166 L_x = vo_L_mult(fraction, 32); /* L_x = fraction<<6 */ in Pow2() 167 i = extract_h(L_x); /* Extract b10-b16 of fraction */ in Pow2() 168 L_x =L_x >> 1; in Pow2() 169 a = (Word16)(L_x); /* Extract b0-b9 of fraction */ in Pow2() [all …]
|
D | log2.c | 57 Word32 L_x, /* (i) : input value (normalized) */ in Log2_norm() argument 65 if (L_x <= (Word32) 0) in Log2_norm() 72 L_x = (L_x >> 9); in Log2_norm() 73 i = extract_h (L_x); /* Extract b25-b31 */ in Log2_norm() 74 L_x = (L_x >> 1); in Log2_norm() 75 a = (Word16)(L_x); /* Extract b10-b24 of fraction */ in Log2_norm() 99 Word32 L_x, /* (i) : input value */ in Log2() argument 106 exp = norm_l(L_x); in Log2() 107 Log2_norm ((L_x << exp), exp, exponent, fraction); in Log2()
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwb_math_op.cpp | 278 int32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */ in one_ov_sqrt() argument 284 exp = normalize_amr_wb(L_x); in one_ov_sqrt() 285 L_x <<= exp; /* L_x is normalized */ in one_ov_sqrt() 288 one_ov_sqrt_norm(&L_x, &exp); in one_ov_sqrt() 290 L_y = shl_int32(L_x, exp); /* denormalization */ in one_ov_sqrt() 390 int32 L_x; in power_of_2() local 392 L_x = fraction << 5; /* L_x = fraction<<6 */ in power_of_2() 394 a = (int16)(L_x); /* Extract b0-b9 of fraction */ in power_of_2() 397 L_x = ((int32)table_pow2[i]) << 15; /* table[i] << 16 */ in power_of_2() 399 L_x -= ((int32)tmp * a); /* L_x -= tmp*a*2 */ in power_of_2() [all …]
|
D | pvamrwb_math_op.h | 77 int32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */ 96 int32 L_x, /* (i) : input value */ 102 int32 L_x, /* (i) : input value (normalized) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | pow2.cpp | 183 Word32 L_x; in Pow2() local 185 L_x = L_mult(fraction, 32, pOverflow); /* L_x = fraction<<6 */ in Pow2() 189 i = ((Word16)(L_x >> 16)) & 31; /* ensure index i is bounded */ in Pow2() 190 a = (Word16)((L_x >> 1) & 0x7fff); in Pow2() 192 L_x = L_deposit_h(pow2_tbl[i]); /* pow2_tbl[i] << 16 */ in Pow2() 196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */ in Pow2() 199 L_x = L_shr_r(L_x, exp, pOverflow); in Pow2() 201 return (L_x); in Pow2()
|
D | inv_sqrt.cpp | 222 Word32 L_x, /* (i) : input value */ in Inv_sqrt() argument 233 if (L_x <= (Word32) 0) in Inv_sqrt() 238 exp = norm_l(L_x); in Inv_sqrt() 239 L_x <<= exp; /* L_x is normalize */ in Inv_sqrt() 245 L_x >>= 1; in Inv_sqrt() 250 L_x >>= 9; in Inv_sqrt() 251 i = (Word16)(L_x >> 16); /* Extract b25-b31 */ in Inv_sqrt() 252 a = (Word16)(L_x >> 1); /* Extract b10-b24 */ in Inv_sqrt()
|
D | sqrt_l.cpp | 211 Word32 L_x, /* i : input value, Q31 */ in sqrt_l_exp() argument 233 if (L_x <= (Word32) 0) in sqrt_l_exp() 239 e = norm_l(L_x) & 0xFFFE; /* get next lower EVEN norm. exp */ in sqrt_l_exp() 240 L_x = L_shl(L_x, e, pOverflow); /* L_x is normalized to [0.25..1) */ in sqrt_l_exp() 243 L_x >>= 10; in sqrt_l_exp() 244 i = (Word16)(L_x >> 15) & 63; /* Extract b25-b31, 16<= i <=63 */ in sqrt_l_exp() 247 a = (Word16)(L_x); /* Extract b10-b24 */ in sqrt_l_exp()
|
D | log2_norm.cpp | 197 Word32 L_x, /* (i) : input value (normalized) */ in Log2_norm() argument 206 if (L_x <= (Word32) 0) in Log2_norm() 219 L_x >>= 10; in Log2_norm() 220 i = (Word16)(L_x >> 15); /* Extract b25-b31 */ in Log2_norm() 221 a = L_x & 0x7fff; /* Extract b10-b24 of fraction */ in Log2_norm()
|
D | log2.cpp | 164 Word32 L_x, /* (i) : input value */ in Log2() argument 174 exp = norm_l(L_x); in Log2() 175 result = L_x << exp; in Log2()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | log2.h | 48 Word32 L_x, /* (i) : input value */ 54 Word32 L_x, /* (i) : input value (normalized) */
|
D | math_op.h | 28 Word32 L_x /* (i) Q0 : input value (range: 0<=val<=7fffffff) */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | inv_sqrt.h | 106 Word32 L_x, /* (i) : input value */
|
D | log2.h | 107 Word32 L_x, /* (i) : input value */
|
D | sqrt_l.h | 105 Word32 L_x, /* i : input value, Q31 */
|
D | log2_norm.h | 106 Word32 L_x, /* (i) : input value (normalized) */
|