Searched refs:MAX_16 (Results 1 – 25 of 27) sorted by relevance
12
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 …]
246 return (((var1 == MIN_16) ? MAX_16 : -var1)); in negate()295 var_out = (var1 >> 15) ^ MAX_16; in shl()
79 #define MAX_16 (Word16)0x7fff macro
172 product = (Word32) MAX_16;
467 product = (Word32) MAX_16; in mult()
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 …]
59 #define MAX_16 ((int16)+32767) /* 0x7fff */ macro86 return (((var1 == MIN_16) ? MAX_16 : -var1)); in negate_int16()129 var_out = (var1 >> 15) ^ MAX_16; in shl_int16()
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()
103 L_product_arr = (L_product_arr >> 31) ^ MAX_16; in mult_int16_r()254 var_out = MAX_16; in div_16by16()
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()
173 var1 = (var1 == MIN_16) ? MAX_16 : -var1; in negate()
191 sum = MAX_16; in add()
209 diff = MAX_16; in sub()
209 L_product_arr = MAX_16; in mult_r()
246 result = ((var1 > 0) ? MAX_16 : MIN_16); in shr()
265 var_out = MAX_16; in div_s()
312 cheb = MAX_16; in Chebps()
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()
438 currEnergy = MAX_16; in Bgn_scd()460 noiseFloor = MAX_16; in Bgn_scd()
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()
1053 sig_out[i] = MAX_16; in agc2()
542 dist_min1 = MAX_16; in check_lsp()553 dist_min2 = MAX_16; in check_lsp()
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()
705 *gp_limit = MAX_16; in cl_ltp()
987 log_en = (log_en_e > 0) ? MAX_16 : MIN_16; in dtx_buffer()