Home
last modified time | relevance | path

Searched refs:Q_new (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c75 Word16 Q_new, /* (i) : scaling performed on exc */
205 Word16 tmp, gain1, gain2, exp, Q_new, mu, shift, max; in coder() local
315 Q_new = shift; in coder()
316 if (Q_new > st->Q_max[0]) in coder()
318 Q_new = st->Q_max[0]; in coder()
320 if (Q_new > st->Q_max[1]) in coder()
322 Q_new = st->Q_max[1]; in coder()
324 exp = (Q_new - st->Q_old); in coder()
325 st->Q_old = Q_new; in coder()
336 L_tmp = (L_tmp << Q_new); in coder()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder.cpp322 int16 fac, stab_fac, voice_fac, Q_new = 0; in pvDecoder_AmrWb() local
864 Q_new = 0; in pvDecoder_AmrWb()
868 while ((L_tmp < 0x08000000L) && (Q_new < tmp)) in pvDecoder_AmrWb()
871 Q_new += 1; in pvDecoder_AmrWb()
878 (int16)(Q_new - st->Q_old)); in pvDecoder_AmrWb()
880 st->Q_old = Q_new; in pvDecoder_AmrWb()
963 tmp = add_int16(norm_s(max), Q_new) - 1; in pvDecoder_AmrWb()
1046 gain_code = amr_wb_round(shl_int32(L_gain_code, Q_new)); in pvDecoder_AmrWb()
1119 Q_new, in pvDecoder_AmrWb()
1142 scale_signal(exc, L_FRAME, (int16)(-Q_new)); in pvDecoder_AmrWb()
Dsynthesis_amr_wb.cpp139 int16 Q_new, /* (i) : scaling performed on exc */ in synthesis_amr_wb() argument
186 Syn_filt_32(Aq, M, exc, Q_new, synth_hi + M, synth_lo + M, L_SUBFR); in synthesis_amr_wb()
248 Q_new -= 3; in synthesis_amr_wb()
251 exp_ener -= Q_new << 1; in synthesis_amr_wb()
Dsynthesis_amr_wb.h79 int16 Q_new, /* (i) : scaling performed on exc */
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
DSyn_filt_32_neon.s46 ADD r7, r3, #4 @ 4 + Q_new
47 MOV r3, r6, ASR r7 @ a0 = Aq[0] >> (4 + Q_new)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
DSyn_filt_32_opt.s46 ADD r7, r3, #4 @ 4 + Q_new
47 MOV r3, r6, ASR r7 @ a0 = Aq[0] >> (4 + Q_new)