Home
last modified time | relevance | path

Searched refs:log_en_index (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Ddtx_enc.cpp370 st->log_en_index = 0; in dtx_enc_reset()
685 (st->log_en_index == 0)) in dtx_enc()
740 st->log_en_index = add(log_en, 2560, pOverflow); in dtx_enc()
742 st->log_en_index = add(st->log_en_index, 128, pOverflow); in dtx_enc()
743 if (st->log_en_index < 0) in dtx_enc()
745 st->log_en_index = ~((~st->log_en_index) >> 8); in dtx_enc()
749 st->log_en_index = st->log_en_index >> 8; in dtx_enc()
768 if (st->log_en_index > 63) in dtx_enc()
770 st->log_en_index = 63; in dtx_enc()
772 else if (st->log_en_index < 0) in dtx_enc()
[all …]
Ddtx_enc.h106 Word16 log_en_index; member
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Ddtx.c109 st->log_en_index = 0; in dtx_enc_reset()
207 st->log_en_index = shr(log_en, 6); in dtx_enc()
209 if(st->log_en_index > 63) in dtx_enc()
211 st->log_en_index = 63; in dtx_enc()
213 if (st->log_en_index < 0) in dtx_enc()
215 st->log_en_index = 0; in dtx_enc()
227 Parm_serial((st->log_en_index), 6, prms); in dtx_enc()
234 log_en = shl(st->log_en_index, 15 - 6); in dtx_enc()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Ddtx_dec.cpp854 Word16 log_en_index; in dtx_dec() local
1075 log_en_index = parm[4]; in dtx_dec()
1077 if ((log_en_index > 63) || (log_en_index < -64)) 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()
1090 if (log_en_index == 0) in dtx_dec()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Ddtx.h47 Word16 log_en_index; member
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Ddtx.h95 int16 log_en_index; member
Ddtx_decoder_amr_wb.cpp204 int16 log_en_index; in dtx_dec_amr_wb() local
309 log_en_index = Serial_parm(6, prms); in dtx_dec_amr_wb()
316 st->log_en = shl_int16(log_en_index, 15 - 6); in dtx_dec_amr_wb()