/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
log2.h | 31 Filename: /audio/gsm_amr/c/include/log2.h 52 This file contains the function prototype definition for Log2 function. 106 void Log2( 108 Word16 *pExponent, /* (o) : Integer part of Log2. (range: 0<=val<=30)*/ 109 Word16 *pFraction, /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
log2.h | 21 * File : log2.h 22 * Purpose : Computes log2(L_x) 47 void Log2 ( 49 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 50 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1)*/ 56 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 57 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */
|
typedefs.h | 183 #define Log2 voAWB_Log2
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/math/ |
font_math.h | 26 static int32_t Log2(int32_t a) {
|
/external/sfntly/cpp/src/sfntly/math/ |
font_math.h | 26 static int32_t Log2(int32_t a) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
log2.cpp | 30 Filename: /audio/gsm_amr/c/src/log2.c 59 #include "log2.h" 87 FUNCTION NAME: log2() 93 pExponent = pointer to the integer part of Log2 of type Word16 whose 95 pFraction = pointer to the fractional part of Log2 of type Word16 101 pExponent -> integer part of the newly calculated Log2 102 pFraction -> fractional part of the newly calculated Log2 103 pOverflow -> 1 if the log2() operation resulted in saturation 131 [1] log2.c, UMTS GSM AMR speech codec, R99 - Version 3.2.0, March 2, 2001 163 void Log2( [all...] |
gc_pred.cpp | 53 #include "log2.h" 299 * = 1/2 * Log2(energy) * 302 // ener_code = 1/2 * Log2(ener_code); Note: Log2=log2+30 303 Log2(ener_code, &exp, &frac); 348 // Log2 = log2 + 27 351 // fact = 10/log2(10) = 3.01 = 24660 Q13 356 * = K - fact * Log2(ener_code [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
log2.c | 19 * File : log2.c * 20 * Purpose : Computes log2(L_x) * 24 #include "log2.h" 34 #include "log2_tab.h" /* Table for Log2() */ 40 * PURPOSE: Computes log2(L_x, exp), where L_x is positive and 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) 59 Word16 *exponent, /* (o) : Integer part of Log2. (range: 0<=val<=30) */ 60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ 88 * FUNCTION: Log2() [all...] |
q_gain2.c | 34 #include "log2.h" 174 * = MEAN_ENER - 3.0103*log2(energy of code/ L_subfr) * 184 Log2(L_tmp, &exp, &frac); 323 * = 6.0206*log2(g_code) * 324 * = 6.0206*(log2(g_codeQ11) - 11) * 328 Log2(L_tmp, &exp, &frac);
|
dtx.c | 34 #include "log2.h" 194 /* quantize logarithmic energy to 6 bits (-6 : 66 dB) which corresponds to -2:22 in log2(E). */ 200 /* Add 2 in Q8 = 512 to get log2(E) between 0:24 */ 233 /* log2(E) in Q9 (log2(E) lies in between -2:22) */ 238 /* the result corresponds to log2(gain) in Q10 */ 313 Log2(enr, &log_en_e, &log_en_m); 319 /* Find energy per sample by multiplying with 0.0059322, i.e subtract log2(1/0.0059322) = 7.39722 The 322 /* Subtract 3 dB = 0.99658 in log2(E) = 127 in Q7. */ 325 /* Find energy per sample (divide by L_FRAME=256), i.e subtract log2(256) = 8.0 (1024 in Q7) * [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
dec_gain.cpp | 75 #include "log2.h" 236 * qua_ener = log2(g) * 240 /* Log2(x Q12) = log2(x) + 12 */ 242 Log2(temp1, &exp, &frac, pOverflow); 283 * = Log2(g_fac) *
|
dtx_dec.cpp | 61 #include "log2.h" 734 Log2(L_deposit_l(pred_err), &log_pg_e, &log_pg_m); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
qgain475.cpp | 57 #include "log2.h" 435 * qua_ener = log2(g) * 439 Log2 (L_deposit_l (g_code), &exp, &frac); // Log2(x Q12) = log2(x) + 12 514 * qua_ener = log2(g) * 518 /* Log2(x Q12) = log2(x) + 12 */ 519 Log2((Word32) g_code, &exp, &frac, pOverflow); 606 // qua_ener_MR122 = log2(predErrFact [all...] |
calc_en.cpp | 59 #include "log2.h" 100 ltpg = LTP coding gain (log2()), pointer to type Word16 129 ltpg = log2(LP_res_en / LTP_res_en) 154 Word16 *ltpg // o : LTP coding gain (log2()), Q13 227 // Log2 = log2() + 27 228 Log2(L_temp, <pg_exp, <pg_frac); 230 // ltpg = log2(LtpGain) * 2^13 --> range: +- 4 = +- 12 dB 273 Word16 *ltpg, /* o : LTP coding gain (log2()), Q13 */ 379 /* Log2 = log2() + 27 * [all...] |
dtx_enc.cpp | 125 #include "log2.h" 900 Log2(L_frame_en, &log_en_e, &log_en_m); 906 // divide with L_FRAME i.e subtract with log2(L_FRAME) = 7.32193 979 Log2(L_frame_en, &log_en_e, &log_en_m, pOverflow); 996 /* divide with L_FRAME i.e subtract with log2(L_FRAME) = 7.32193 */ [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 289 // log2(Y*0.5) 294 static void detectLog2OfHalf(Value *&Op, Value *&Y, IntrinsicInst *&Log2) { 302 if (II->getIntrinsicID() != Intrinsic::log2 || !II->hasUnsafeAlgebra()) 304 Log2 = II; 477 // X * log2(0.5*Y) = X*log2(Y) - X 481 IntrinsicInst *Log2; 482 detectLog2OfHalf(Op0, OpY, Log2); 486 detectLog2OfHalf(Op1, OpY, Log2); 493 Log2->setArgOperand(0, OpY) [all...] |
/external/compiler-rt/lib/asan/ |
asan_fake_stack.cc | 42 uptr log = Log2(rounded_size);
|
asan_allocator2.cc | 123 u32 res = Log2(rz_size) - 4;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.h | 231 INLINE uptr Log2(uptr x) {
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/ |
font.cc | 117 int32_t log2_of_max_power_of_2 = FontMath::Log2(table_headers->size());
|
/external/sfntly/cpp/src/sfntly/ |
font.cc | 117 int32_t log2_of_max_power_of_2 = FontMath::Log2(table_headers->size());
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/ |
venc_test.cpp | 209 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 210 #define FractionToQ16(q,num,den) { OMX_U32 power; Log2(den,power); q = num << (16 - power); } [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/ |
venc_test.cpp | 249 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 250 #define FractionToQ16(q,num,den) { OMX_U32 power; Log2(den,power); q = num << (16 - power); } [all...] |
/external/llvm/unittests/ADT/ |
APIntTest.cpp | 438 TEST(APIntTest, Log2) {
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
video_encoder_device.cpp | 135 #define Log2(number, power) { OMX_U32 temp = number; power = 0; while( (0 == (temp & 0x1)) && power < 16) { temp >>=0x1; power++; } } 136 #define Q16ToFraction(q,num,den) { OMX_U32 power; Log2(q,power); num = q >> power; den = 0x1 << (16 - power); } [all...] |