/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | cnst_vad.h | 56 #define TONE_THR (Word16)(0.65*MAX_16) /* Threshold for tone detection */ 59 #define ALPHA_UP1 (Word16)((1.0 - 0.95)*MAX_16) /* Normal update, upwards: */ 60 #define ALPHA_DOWN1 (Word16)((1.0 - 0.936)*MAX_16) /* Normal update, downwards */ 61 #define ALPHA_UP2 (Word16)((1.0 - 0.985)*MAX_16) /* Forced update, upwards */ 62 #define ALPHA_DOWN2 (Word16)((1.0 - 0.943)*MAX_16) /* Forced update, downwards */ 63 #define ALPHA3 (Word16)((1.0 - 0.95)*MAX_16) /* Update downwards */ 64 #define ALPHA4 (Word16)((1.0 - 0.9)*MAX_16) /* For stationary estimation */ 65 #define ALPHA5 (Word16)((1.0 - 0.5)*MAX_16) /* For stationary estimation */ 72 #define VAD_SLOPE (Word16)(MAX_16*(float)(VAD_THR_LOW-VAD_THR_HIGH)/(float)(VAD_P2-VAD_P1)) 115 #define CVAD_THRESH_ADAPT_HIGH (Word16)(0.6 * MAX_16) /* threshold for adapt stopping high */ [all …]
|
D | basic_op.h | 246 return (((var1 == MIN_16) ? MAX_16 : -var1)); in negate() 295 var_out = (var1 >> 15) ^ MAX_16; in shl()
|
D | basicop_malloc.h | 79 #define MAX_16 (Word16)0x7fff macro
|
D | mult.h | 172 product = (Word32) MAX_16;
|
D | basic_op_c_equivalent.h | 467 product = (Word32) MAX_16; in mult()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | wb_vad_c.h | 33 #define TONE_THR (Word16)(0.65*MAX_16) /* Threshold for tone detection */ 38 #define ALPHA_SP_UP (Word16)((1.0 - 0.85)*MAX_16) 39 #define ALPHA_SP_DOWN (Word16)((1.0 - 0.85)*MAX_16) 48 #define ALPHA_UP1 (Word16)((1.0 - 0.95)*MAX_16) /* Normal update, upwards: */ 49 #define ALPHA_DOWN1 (Word16)((1.0 - 0.936)*MAX_16) /* Normal update, downwards */ 50 #define ALPHA_UP2 (Word16)((1.0 - 0.985)*MAX_16) /* Forced update, upwards */ 51 #define ALPHA_DOWN2 (Word16)((1.0 - 0.943)*MAX_16) /* Forced update, downwards */ 52 #define ALPHA3 (Word16)((1.0 - 0.95)*MAX_16) /* Update downwards */ 53 #define ALPHA4 (Word16)((1.0 - 0.9)*MAX_16) /* For stationary estimation */ 54 #define ALPHA5 (Word16)((1.0 - 0.5)*MAX_16) /* For stationary estimation */ [all …]
|
D | basic_op.h | 28 #define MAX_16 ((Word16)+32767) /* 0x7fff */ macro 34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ?… 36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) /* Short… 40 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1)))) /* Short… 227 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); in shl() 233 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); in shl() 1007 var_out = MAX_16; in div_s() 1012 var_out = MAX_16; in div_s() 1023 var_out = MAX_16; in div_s()
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwbdecoder_basic_op.h | 59 #define MAX_16 ((int16)+32767) /* 0x7fff */ macro 86 return (((var1 == MIN_16) ? MAX_16 : -var1)); in negate_int16() 129 var_out = (var1 >> 15) ^ MAX_16; in shl_int16()
|
D | pvamrwbdecoder_basic_op_cequivalent.h | 95 L_sum = (L_sum >> 31) ^ MAX_16; in add_int16() 134 L_diff = (L_diff >> 31) ^ MAX_16; in sub_int16() 173 L_product = (L_product >> 31) ^ MAX_16; in mult_int16()
|
D | pvamrwb_math_op.cpp | 103 L_product_arr = (L_product_arr >> 31) ^ MAX_16; in mult_int16_r() 254 var_out = MAX_16; in div_16by16()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | syn_filt.cpp | 310 temp = MAX_16; in Syn_filt() 331 temp = MAX_16; in Syn_filt() 368 temp = MAX_16; in Syn_filt() 386 *(p_y++) = MAX_16; in Syn_filt()
|
D | negate.cpp | 173 var1 = (var1 == MIN_16) ? MAX_16 : -var1; in negate()
|
D | add.cpp | 191 sum = MAX_16; in add()
|
D | sub.cpp | 209 diff = MAX_16; in sub()
|
D | mult_r.cpp | 209 L_product_arr = MAX_16; in mult_r()
|
D | shr.cpp | 246 result = ((var1 > 0) ? MAX_16 : MIN_16); in shr()
|
D | div_s.cpp | 265 var_out = MAX_16; in div_s()
|
D | az_lsp.cpp | 312 cheb = MAX_16; in Chebps()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | dtx_dec.cpp | 1058 L_temp = (Word32)((tmp_int_length > 0) ? MAX_16 : MIN_16); in dtx_dec() 1079 st->log_en = (log_en_index > 0) ? MAX_16 : MIN_16; in dtx_dec() 1146 temp = MAX_16; in dtx_dec() 1204 L_temp = (Word32)((lsp_int[i] > 0) ? MAX_16 : MIN_16); in dtx_dec() 1217 lsf_variab_factor = MAX_16; in dtx_dec() 1274 pred_err = MAX_16; /* 0.99997 in Q15 */ in dtx_dec() 1280 temp = MAX_16 - (Word16) L_temp; in dtx_dec() 1358 L_temp = (Word32)((tmp_int_length > 0) ? MAX_16 : MIN_16); in dtx_dec() 1538 L_temp = (Word32)((log_en_e > 0) ? MAX_16 : MIN_16); in dtx_dec_activity_update()
|
D | bgnscd.cpp | 438 currEnergy = MAX_16; in Bgn_scd() 460 noiseFloor = MAX_16; in Bgn_scd()
|
D | dec_amr.cpp | 1682 pit_sharp = (st->sharp > 0) ? MAX_16 : MIN_16; in Decoder_amr() 1699 pit_sharp = (st->sharp > 0) ? MAX_16 : MIN_16; in Decoder_amr() 1716 pit_sharp = (st->sharp > 0) ? MAX_16 : MIN_16; in Decoder_amr() 1733 pit_sharp = (st->sharp > 0) ? MAX_16 : MIN_16; in Decoder_amr() 1748 pit_sharp = (st->sharp > 0) ? MAX_16 : MIN_16; in Decoder_amr() 1788 pit_sharp = (gain_pit > 0) ? MAX_16 : MIN_16; in Decoder_amr()
|
D | agc.cpp | 1053 sig_out[i] = MAX_16; in agc2()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | ton_stab.cpp | 542 dist_min1 = MAX_16; in check_lsp() 553 dist_min2 = MAX_16; in check_lsp()
|
D | pitch_ol.cpp | 443 *cor_max = MAX_16; in Lag_max() 1102 j = (pit_min > 0) ? MAX_16 : MIN_16; in Pitch_ol() 1129 j = (pit_min > 0) ? MAX_16 : MIN_16; in Pitch_ol()
|
D | cl_ltp.cpp | 705 *gp_limit = MAX_16; in cl_ltp()
|