/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
dec_lag3.cpp | 43 (1) Updated to accept new parameter, Flag *pOverflow. 51 (1) Removed optimization -- mult(i, 3, pOverflow) is NOT the same as adding 75 pOverflow -- Pointer to type Flag -- Flag set when overflow occurs 195 Flag *pOverflow /* o : Flag set when overflow occurs */ 213 pOverflow); 219 pOverflow); 225 i = add(i, i, pOverflow); 226 i = add(i, *T0, pOverflow); 232 pOverflow); 238 pOverflow); [all...] |
dec_lag6.cpp | 43 (1) Updated to accept new parameter, Flag *pOverflow. 51 (1) Removed optimization -- mult(i, 3, pOverflow) is NOT the same as adding 73 pOverflow -- Pointer to type Flag -- Flag set when overflow occurs 192 Flag *pOverflow /* o : Flag set when overflow occurs */ 211 pOverflow); 217 pOverflow); 223 i = add(i, i, pOverflow); 224 i = add(i, *T0, pOverflow); 232 pOverflow); 238 pOverflow); [all...] |
dec_gain.cpp | 114 pOverflow = pointer to overflow flag 189 Flag * pOverflow 204 index = shl(index, 2, pOverflow); 242 Log2(temp1, &exp, &frac, pOverflow); 243 exp = sub(exp, 12, pOverflow); 245 temp1 = shr_r(frac, 5, pOverflow); 246 temp2 = shl(exp, 10, pOverflow); 247 qua_ener_MR122 = add(temp1, temp2, pOverflow); 250 L_tmp = Mpy_32_16(exp, frac, 24660, pOverflow); 251 L_tmp = L_shl(L_tmp, 13, pOverflow); [all...] |
d_gain_c.cpp | 62 pOverflow= pointer to value indicating existence of overflow (Flag) 67 pOverflow = 1 if there is an overflow else it is zero. 196 Flag *pOverflow 218 &exp_inn_en, &frac_inn_en, pOverflow); 226 temp = sub((Word16)mode, (Word16)MR122, pOverflow); 229 gcode0 = (Word16)(Pow2(exp, frac, pOverflow)); /* predicted gain */ 230 gcode0 = shl(gcode0, 4, pOverflow); 231 *gain_code = shl(mult(gcode0, *p++, pOverflow), 1, pOverflow); 235 gcode0 = (Word16)(Pow2(14, frac, pOverflow)); [all...] |
ex_ctrl.cpp | 93 pOverflow = pointer to overflow indicator 96 pOverflow = 1 if overflow exists in the math functions called by this function. 157 Flag *pOverflow 167 prevEnergy = shr(add(exEnergyHist[7], exEnergyHist[8], pOverflow) , 1, pOverflow); 177 testEnergy = shl(prevEnergy, 2, pOverflow); /* testEnergy = 4*prevEnergy; */ 182 testEnergy = sub(testEnergy, prevEnergy, pOverflow); 192 excEnergy = shl(excEnergy, exp, pOverflow); 194 t0 = L_mult(avgEnergy, excEnergy, pOverflow); 195 t0 = L_shr(t0, sub(20, exp, pOverflow), pOverflow) [all...] |
d8_31pf.cpp | 111 pOverflow Flag set when overflow occurs, pointer of type Flag * 170 Flag *pOverflow) /* o : Flag set when overflow occurs */ 192 pOverflow); 198 pOverflow); 206 pOverflow); 212 pOverflow); 220 pOverflow); 233 pOverflow); 239 pOverflow); 251 pOverflow); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
enc_lag3.cpp | 94 pOverflow = pointer indicating overflow of type Flag 97 pOverflow = 1 if there is an overflow else it is zero. 259 Flag *pOverflow 273 temp1 = sub(T0, 85, pOverflow); 277 temp2 = add(T0, T0, pOverflow); 278 i = add(temp2, T0, pOverflow); 279 temp2 = sub(i, 58, pOverflow); 280 index = add(temp2, T0_frac, pOverflow); 284 index = add(T0, 112, pOverflow); 295 i = sub(T0, T0_min, pOverflow); [all...] |
enc_lag6.cpp | 43 Changed to accept the pOverflow flag for EPOC compatibility. 46 (1) Removed optimization -- mult(i, 6, pOverflow) is NOT the same as adding 103 pOverflow -- Pointer to Flag -- overflow indicator 191 Flag *pOverflow /* o : overflow indicator */ 206 index = add(i, T0_frac, pOverflow); 210 index = add(T0, 368, pOverflow); 218 temp = sub(T0, T0_min, pOverflow); 220 i = add(temp, temp, pOverflow); 221 i = add(temp, i, pOverflow); 222 i = add(i, i, pOverflow); [all...] |
qgain795.cpp | 45 Changed to accept the pOverflow flag for EPOC compatibility. 48 (1) Removed optimization -- mult(i, 3, pOverflow) is NOT the same as adding 152 pOverflow -- Pointer to Flag -- overflow indicator 222 Flag *pOverflow /* o : overflow indicator */ 258 exp_code = sub(exp_gcode0, 10, pOverflow); 261 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); 262 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); 263 exp_max[2] = add(exp_coeff[2], add(15, shl(exp_code, 1, pOverflow), pOverflow), pOverflow); [all...] |
qua_gain.cpp | 43 Changed to accept the pOverflow flag for EPOC compatibility. 139 Flag *pOverflow -- Pointer to Flag -- overflow indicator 208 Flag *pOverflow /* o : overflow indicator */ 252 gcode0 = (Word16)(Pow2(14, frac_gcode0, pOverflow)); 271 exp_code = sub(exp_gcode0, 11, pOverflow); 274 exp_max[0] = sub(exp_coeff[0], 13, pOverflow); 275 exp_max[1] = sub(exp_coeff[1], 14, pOverflow); 277 temp = shl(exp_code, 1, pOverflow); 278 temp = add(15, temp, pOverflow); 279 exp_max[2] = add(exp_coeff[2], temp, pOverflow); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
mac_32.h | 110 Flag *pOverflow) 114 L_var3 = L_mac(L_var3, L_var1_hi, L_var2_hi, pOverflow); 116 product = mult(L_var1_hi, L_var2_lo, pOverflow); 117 L_var3 = L_mac(L_var3, product, 1, pOverflow); 119 product = mult(L_var1_lo, L_var2_hi, pOverflow); 120 L_var3 = L_mac(L_var3, product, 1, pOverflow); 129 Flag *pOverflow) 133 L_var3 = L_mac(L_var3, L_var1_hi, var2, pOverflow); 135 product = mult(L_var1_lo, var2, pOverflow); 136 L_var3 = L_mac(L_var3, product, 1, pOverflow); [all...] |
round.h | 106 Word16 pv_round(Word32 L_var1, Flag *pOverflow);
|
l_add.h | 43 pOverflow 111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 115 OSCL_UNUSED_ARG(pOverflow); 125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 131 OSCL_UNUSED_ARG(pOverflow); 144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) 155 *pOverflow = 1;
|
l_sub.h | 109 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) 113 OSCL_UNUSED_ARG(pOverflow); 126 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) 132 OSCL_UNUSED_ARG(pOverflow); 145 register Flag *pOverflow) 156 *pOverflow = 1;
|
add.h | 44 Changed "overflow" to "pOverflow" in the function prototype. 106 Word16 add(Word16 var1, Word16 var2, Flag *pOverflow);
|
basic_op.h | 155 pOverflow = pointer to overflow (Flag) 158 pOverflow -> 1 if the 32 bit mac operation resulted in overflow 169 Flag *pOverflow) 173 L_var3 = L_mac(L_var3, L_var1_hi, L_var2_hi, pOverflow); 175 product = mult(L_var1_hi, L_var2_lo, pOverflow); 176 L_var3 = L_mac(L_var3, product, 1, pOverflow); 178 product = mult(L_var1_lo, L_var2_hi, pOverflow); 179 L_var3 = L_mac(L_var3, product, 1, pOverflow); 199 pOverflow = pointer to overflow (Flag) 202 pOverflow -> 1 if the 32 bit mac operation resulted in overflo [all...] |
div_32.h | 107 Flag *pOverflow) ;
|
int_lpc.h | 37 parameter pOverflow for the basic math ops. 131 Flag *pOverflow 153 Flag *pOverflow 181 Flag *pOverflow 200 Flag *pOverflow
|
inv_sqrt.h | 107 Flag *pOverflow /* (i) : pointer to overflow flag */
|
l_add_c.h | 104 Word32 L_add_c(Word32 L_var1, Word32 L_var2, Flag *pOverflow, Flag *pCarry);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
pow2.cpp | 85 pOverflow = pointer to overflow flag 89 pOverflow -> 1 if the Pow2() function results in saturation 179 Flag *pOverflow 185 L_x = L_mult(fraction, 32, pOverflow); /* L_x = fraction<<6 */ 195 tmp = sub(pow2_tbl[i], pow2_tbl[i + 1], pOverflow); 196 L_x = L_msu(L_x, tmp, a, pOverflow); /* L_x -= tmp*a*2 */ 198 exp = sub(30, exponent, pOverflow); 199 L_x = L_shr_r(L_x, exp, pOverflow);
|
round.cpp | 44 Description: Added a parameter to the function interface, pOverflow which is 104 pOverflow = pointer to overflow (Flag) 187 Word16 pv_round(register Word32 L_var1, Flag *pOverflow) 191 L_var1 = L_add(L_var1, (Word32) 0x00008000L, pOverflow);
|
add.cpp | 98 pOverflow = pointer to overflow (Flag) 101 pOverflow -> 1 if the add operation resulted in overflow 176 Word16 add(Word16 var1, Word16 var2, Flag *pOverflow) 190 *pOverflow = 1; 195 *pOverflow = 1;
|
int_lpc.cpp | 37 Changed to accept the pOverflow flag for EPOC compatibility. 109 pOverflow -- pointer to type Flag -- Overflow indicator 182 Flag *pOverflow 203 pOverflow); /* Subframe 1 */ 210 pOverflow); /* Subframe 2 */ 226 pOverflow); /* Subframe 3 */ 233 pOverflow); /* Subframe 4 */ 256 pOverflow -- pointer to type Flag -- Overflow indicator 319 Flag *pOverflow 336 Lsp_Az(lsp, Az, pOverflow); /* Subframe 1 * [all...] |
mult_r.cpp | 44 2) Changed the name of pointer "overflow" to "Poverflow" 100 pOverflow = pointer to overflow (Flag) 103 pOverflow -> 1 if the add operation resulted in overflow 190 Word16 mult_r(Word16 var1, Word16 var2, Flag *pOverflow) 208 *pOverflow = 1; 213 *pOverflow = 1;
|