Home
last modified time | relevance | path

Searched refs:fac (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/codecs/amrwb/enc/src/
Dweight_a.c35 Word32 num = m - 1, fac; in Weight_a() local
37 fac = gamma; in Weight_a()
39 *ap++ =(Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); in Weight_a()
40 fac = (vo_L_mult(fac, gamma) + 0x8000) >> 16; in Weight_a()
43 *ap++ = (Word16)(((vo_L_mult((*a++), fac)) + 0x8000) >> 16); in Weight_a()
Ddeemph.c92 Word16 fac; in Deemph_32() local
95 fac = mu >> 1; /* Q15 --> Q14 */ in Deemph_32()
100 L_tmp += ((*mem) * fac)<<1; in Deemph_32()
109 L_tmp += (y[i - 1] * fac)<<1; in Deemph_32()
DvoAMRWBEnc.c210 Word16 stab_fac, fac, gain_code_lo; in coder() local
1250 fac = vo_mult(stab_fac, tmp); in coder()
1269 L_gain_code = Mpy_32_16(gain_code, gain_code_lo, (32767 - fac)); in coder()
1271 L_gain_code = vo_L_add(L_gain_code, Mpy_32_16(gain_code, gain_code_lo, fac)); in coder()
1343 Word16 fac, tmp, exp; in synthesis() local
1460 fac = div_s(tmp, ener); in synthesis()
1463 fac = 0; in synthesis()
1467 gain1 = 32767 - fac; in synthesis()
/frameworks/av/media/codecs/amrwb/dec/src/
Dweight_amrwb_lpc.cpp123 int16 i, fac; in weight_amrwb_lpc() local
126 fac = gamma; in weight_amrwb_lpc()
129 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); in weight_amrwb_lpc()
130 fac = (int16)(fxp_mac_16by16(fac, gamma, roundFactor) >> 15); in weight_amrwb_lpc()
132 ap[i] = (int16)(fxp_mac_16by16(a[i], fac, roundFactor) >> 15); in weight_amrwb_lpc()
Dsynthesis_amr_wb.cpp150 int16 i, fac, exp; in synthesis_amr_wb() local
308 fac = div_16by16(tmp, ener); in synthesis_amr_wb()
312 fac = 0; in synthesis_amr_wb()
316 gain1 = 32767 - fac; in synthesis_amr_wb()
Dpvamrwbdecoder.cpp322 int16 fac, stab_fac, voice_fac, Q_new = 0; in pvDecoder_AmrWb() local
1006 fac = mult_int16(stab_fac, tmp); in pvDecoder_AmrWb()
1030 L_gain_code = fxp_mul32_by_16b(L_gain_code, (32767 - fac)) << 1; in pvDecoder_AmrWb()
1033 L_gain_code = add_int32(L_gain_code, fxp_mul32_by_16b(L_tmp, fac) << 1); in pvDecoder_AmrWb()
/frameworks/av/media/codecs/amrnb/common/src/
Dweight_a.cpp177 const Word16 fac[], /* (i) : Spectral expansion factors. */ in Weight_Ai() argument
189 fac += 1; in Weight_Ai()
190 *(a_exp) = (Word16)((((Word32) * (a)) * *(fac - 1) in Weight_Ai()
/frameworks/av/media/codecs/amrnb/common/include/
Dweight_a.h73 const Word16 fac[],/* (i) : Spectral expansion factors. */
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV7/
DDeemph_32_neon.s45 MOV r8, r5, ASR #1 @fac = mu >> 1
53 MOV r12, r10, LSL #1 @L_tmp = L_mac(L_tmp, *mem, fac)
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV5E/
DDeemph_32_opt.s45 MOV r8, r5, ASR #1 @fac = mu >> 1
53 MOV r12, r10, LSL #1 @L_tmp = L_mac(L_tmp, *mem, fac)
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_f32_helper.rsh190 float fac = 1.0f / result.alpha;
191 result.red *= fac;
192 result.green *= fac;
193 result.blue *= fac;
Dlayered_filter_d1new_helper.rsh253 float fac = 1.0f / result.a;
254 result.r *= fac;
255 result.g *= fac;
256 result.b *= fac;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java909 for (String fac : dialFacList) { in isFacToDial()
910 if (fac.equals(mSc)) { in isFacToDial()