/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
dtx_enc.cpp | 316 st->log_en_index = 0; 370 st->log_en_index = 0; 548 (st->log_en_index == 0)) 578 st->log_en_index = add(log_en, 2560); // +2.5 in Q10 579 st->log_en_index = add(st->log_en_index, 128); // add 0.5/4 in Q10 580 st->log_en_index = shr(st->log_en_index, 8); 582 if (sub(st->log_en_index, 63) > 0) 584 st->log_en_index = 63 [all...] |
dtx_enc.h | 106 Word16 log_en_index; member in struct:__anon29640
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
dtx.c | 109 st->log_en_index = 0; 195 /* st->log_en_index = (short)( (log_en + 2.0) * 2.625 ); */ 207 st->log_en_index = shr(log_en, 6); 209 if(st->log_en_index > 63) 211 st->log_en_index = 63; 213 if (st->log_en_index < 0) 215 st->log_en_index = 0; 227 Parm_serial((st->log_en_index), 6, prms); 232 /* level = (float)( pow( 2.0f, (float)st->log_en_index / 2.625 - 2.0 ) ); */ 234 log_en = shl(st->log_en_index, 15 - 6) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
dtx.h | 47 Word16 log_en_index; member in struct:__anon29659
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
dtx_dec.cpp | 400 Word16 log_en_index; 582 log_en_index = parm[4]; 584 st->log_en = shl(log_en_index, (11 - 2)); 590 if (log_en_index == 0) 854 Word16 log_en_index; local 1075 log_en_index = parm[4]; 1077 if ((log_en_index > 63) || (log_en_index < -64)) 1079 st->log_en = (log_en_index > 0) ? MAX_16 : MIN_16; 1083 st->log_en = (log_en_index) << (11 - 2) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dtx.h | 95 int16 log_en_index; member in struct:__anon29652
|
dtx_decoder_amr_wb.cpp | 204 int16 log_en_index; local 309 log_en_index = Serial_parm(6, prms); 314 /* st->log_en = (float)log_en_index / 2.625 - 2.0; */ 316 st->log_en = shl_int16(log_en_index, 15 - 6);
|