/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
cnst_vad.h | 54 #define UNIRSHFT 6 /* = log2(MAX_16/UNITY) */ 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) [all...] |
basicop_malloc.h | 79 #define MAX_16 (Word16)0x7fff
|
basic_op.h | 246 return (((var1 == MIN_16) ? MAX_16 : -var1)); 295 var_out = (var1 >> 15) ^ MAX_16;
|
mult.h | 172 product = (Word32) MAX_16;
|
basic_op_c_equivalent.h | 466 product = (Word32) MAX_16;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
wb_vad_c.h | 30 #define UNIRSHFT 7 /* = log2(MAX_16/UNITY), UNITY = 256 */ 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 * [all...] |
basic_op.h | 28 #define MAX_16 (Word16)+32767 /* 0x7fff */ 34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ? (MIN_16): ((L_var1) & 0xffff))) 36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) /* Short abs, 1 */ 40 #define negate(var1) ((Word16)(((var1) == MIN_16) ? MAX_16 : (-(var1)))) /* Short negate, 1*/ 228 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
negate.cpp | 92 var_out = (var1 == MIN_16) ? MAX_16 : -var1; 173 var1 = (var1 == MIN_16) ? MAX_16 : -var1;
|
add.cpp | 191 sum = MAX_16;
|
sub.cpp | 206 diff = MAX_16;
|
mult_r.cpp | 209 L_product_arr = MAX_16;
|
shr.cpp | 246 result = ((var1 > 0) ? MAX_16 : MIN_16);
|
div_s.cpp | 118 var_out = MAX_16; 265 var_out = MAX_16;
|
syn_filt.cpp | 308 temp = MAX_16; 329 temp = MAX_16; 366 temp = MAX_16; 384 *(p_y++) = MAX_16;
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
pvamrwbdecoder_basic_op.h | 59 #define MAX_16 (int16)+32767 /* 0x7fff */ 86 return (((var1 == MIN_16) ? MAX_16 : -var1)); 129 var_out = (var1 >> 15) ^ MAX_16;
|
pvamrwbdecoder_basic_op_cequivalent.h | 95 L_sum = (L_sum >> 31) ^ MAX_16; 134 L_diff = (L_diff >> 31) ^ MAX_16; 173 L_product = (L_product >> 31) ^ MAX_16;
|
pvamrwb_math_op.cpp | 103 L_product_arr = (L_product_arr >> 31) ^ MAX_16; 254 var_out = MAX_16;
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
bit_cnt.h | 28 #define INVALID_BITCOUNT (MAX_16/4)
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
bgnscd.cpp | 438 currEnergy = MAX_16; 460 noiseFloor = MAX_16;
|
dtx_dec.cpp | 727 pred_err = MAX_16; // 0.99997 in Q15 730 pred_err = mult(pred_err, sub(MAX_16, mult(refl[i], refl[i]))); 1058 L_temp = (Word32)((tmp_int_length > 0) ? MAX_16 : MIN_16); 1079 st->log_en = (log_en_index > 0) ? MAX_16 : MIN_16; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
ton_stab.cpp | 445 dist_min1 = MAX_16; 456 dist_min2 = MAX_16; 542 dist_min1 = MAX_16; 553 dist_min2 = MAX_16;
|
pitch_ol.cpp | 443 *cor_max = MAX_16; [all...] |
cl_ltp.cpp | 549 *gp_limit = MAX_16; 705 *gp_limit = MAX_16;
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
basicop2.c | 66 var_out = MAX_16; 207 // var_out = MAX_16; 279 var_out = (Word16)((var1 > 0) ? MAX_16 : MIN_16); 503 // var_out = (Word16)((var1 == MIN_16) ? MAX_16 : -var1); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
sf_estim.c | 419 prevScfLast[j] = MAX_16; 420 prevScfNext[j] = MAX_16; 421 deltaPeLast[j] = MAX_16; 429 scfMin = MAX_16; 540 scfMin = MAX_16; 581 scfMin = MAX_16; 779 minScf = MAX_16;
|