Searched refs:log_en (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | dtx_enc.cpp | 676 Word16 log_en; in dtx_enc() local 689 log_en = 0; in dtx_enc() 706 log_en = add(log_en, temp, pOverflow); in dtx_enc() 716 if (log_en < 0) in dtx_enc() 718 log_en = ~((~log_en) >> 1); in dtx_enc() 722 log_en = log_en >> 1; in dtx_enc() 740 st->log_en_index = add(log_en, 2560, pOverflow); in dtx_enc() 779 log_en = (Word16)(((Word32) st->log_en_index) << (-2 + 10)); in dtx_enc() 781 log_en = sub(log_en, 11560, pOverflow); in dtx_enc() 783 if (log_en > 0) in dtx_enc() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | dtx.c | 167 Word16 log_en, gain, level, exp, exp0, tmp; in dtx_enc() local 174 log_en = 0; in dtx_enc() 183 log_en = add(log_en, st->log_en_hist[i]); in dtx_enc() 198 log_en = (log_en >> 2); in dtx_enc() 201 log_en = add(log_en, 512); in dtx_enc() 204 log_en = mult(log_en, 21504); in dtx_enc() 207 st->log_en_index = shr(log_en, 6); in dtx_enc() 234 log_en = shl(st->log_en_index, 15 - 6); in dtx_enc() 237 log_en = mult(log_en, 12483); in dtx_enc() 241 log_en_int_e = (log_en >> 10); in dtx_enc() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | dtx_dec.cpp | 260 st->log_en = 3500; in dtx_dec_reset() 315 st->log_en_hist[i] = st->log_en; in dtx_dec_reset() 925 st->log_en = 0; in dtx_dec() 942 st->log_en = add(st->log_en, temp, pOverflow); in dtx_dec() 966 st->log_en = sub(st->log_en, st->log_en_adjust, pOverflow); in dtx_dec() 1039 st->old_log_en = st->log_en; in dtx_dec() 1079 st->log_en = (log_en_index > 0) ? MAX_16 : MIN_16; in dtx_dec() 1083 st->log_en = (log_en_index) << (11 - 2); in dtx_dec() 1087 st->log_en = sub(st->log_en, (2560 * 2), pOverflow); in dtx_dec() 1092 st->log_en = MIN_16; in dtx_dec() [all …]
|
D | dtx_dec.h | 110 Word16 log_en; member
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dtx_decoder_amr_wb.cpp | 130 st->log_en = 3500; in dtx_dec_amr_wb_reset() 146 st->log_en_hist[i] = st->log_en; in dtx_dec_amr_wb_reset() 235 st->log_en = 0; in dtx_dec_amr_wb() 245 st->log_en = add_int16(st->log_en, st->log_en_hist[i]); in dtx_dec_amr_wb() 254 st->log_en >>= 1; in dtx_dec_amr_wb() 258 st->log_en += 1024; in dtx_dec_amr_wb() 260 if (st->log_en < 0) in dtx_dec_amr_wb() 261 st->log_en = 0; in dtx_dec_amr_wb() 277 st->old_log_en = st->log_en; in dtx_dec_amr_wb() 316 st->log_en = shl_int16(log_en_index, 15 - 6); in dtx_dec_amr_wb() [all …]
|
D | dtx.h | 132 int16 log_en; member
|