/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/ |
D | pvamrwbdecoder_basic_op.h | 114 __inline int16 shl_int16(int16 var1, int16 var2) in shl_int16() argument 118 if (var2 < 0) in shl_int16() 120 var2 = (-var2) & (0xf); in shl_int16() 121 var_out = var1 >> var2; in shl_int16() 125 var2 &= 0xf; in shl_int16() 126 var_out = var1 << var2; in shl_int16() 127 if (var_out >> var2 != var1) in shl_int16() 158 __inline int32 shl_int32(int32 L_var1, int16 var2) in shl_int32() argument 162 if (var2 > 0) in shl_int32() 164 L_var_out = L_var1 << var2; in shl_int32() [all …]
|
D | pvamrwbdecoder_basic_op_armv5.h | 62 __inline int16 add_int16(int16 var1, int16 var2) in add_int16() argument 70 mov L_var_aux, var2, lsl #16 in add_int16() 79 __inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() argument 87 mov L_var_aux, var2, lsl #16 in sub_int16() 108 __inline int32 mac_16by16_to_int32(int32 L_var3, int16 var1, int16 var2) in mac_16by16_to_int32() argument 115 smulbb L_var_out, var1, var2 in mac_16by16_to_int32() 132 __inline int32 msu_16by16_from_int32(int32 L_var3, int16 var1, int16 var2) in msu_16by16_from_int32() argument 139 smulbb L_var_out, var1, var2 in msu_16by16_from_int32() 145 __inline int32 mul_16by16_to_int32(int16 var1, int16 var2) in mul_16by16_to_int32() argument 151 smulbb L_var_out, var1, var2 in mul_16by16_to_int32() [all …]
|
D | pvamrwbdecoder_basic_op_cequivalent.h | 88 __inline int16 add_int16(int16 var1, int16 var2) in add_int16() argument 92 L_sum = (int32) var1 + var2; in add_int16() 127 __inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() argument 131 L_diff = (int32) var1 - var2; in sub_int16() 165 __inline int16 mult_int16(int16 var1, int16 var2) in mult_int16() argument 169 L_product = ((int32) var1 * (int32) var2) >> 15; in mult_int16() 296 __inline int32 mac_16by16_to_int32(int32 L_var3, int16 var1, int16 var2) in mac_16by16_to_int32() argument 301 L_mul = ((int32) var1 * (int32) var2); in mac_16by16_to_int32() 355 __inline int32 msu_16by16_from_int32(int32 L_var3, int16 var1, int16 var2) in msu_16by16_from_int32() argument 360 L_mul = ((int32) var1 * (int32) var2); in msu_16by16_from_int32() [all …]
|
D | pvamrwbdecoder_basic_op_gcc_armv5.h | 59 static inline int16 sub_int16(int16 var1, int16 var2) in sub_int16() argument 64 register int32 rb = (int32)var2; in sub_int16() 80 static inline int16 add_int16(int16 var1, int16 var2) in add_int16() argument 85 register int32 rb = (int32)var2; in add_int16() 155 static inline int32 msu_16by16_from_int32(int32 L_var3, int16 var1, int16 var2) in msu_16by16_from_int32() argument 159 register int32 rb = (int32)var2; in msu_16by16_from_int32() 174 static inline int32 mac_16by16_to_int32(int32 L_var3, int16 var1, int16 var2) in mac_16by16_to_int32() argument 178 register int32 rb = (int32)var2; in mac_16by16_to_int32() 193 static inline int32 mul_16by16_to_int32(int16 var1, int16 var2) in mul_16by16_to_int32() argument 197 register int32 rb = (int32)var2; in mul_16by16_to_int32() [all …]
|
D | pvamrwb_math_op.cpp | 94 int16 mult_int16_r(int16 var1, int16 var2) in mult_int16_r() argument 98 L_product_arr = (int32) var1 * (int32) var2; /* product */ in mult_int16_r() 152 int16 shr_rnd(int16 var1, int16 var2) in shr_rnd() argument 156 var_out = (int16)(var1 >> (var2 & 0xf)); in shr_rnd() 157 if (var2) in shr_rnd() 159 if ((var1 & ((int16) 1 << (var2 - 1))) != 0) in shr_rnd() 204 int16 div_16by16(int16 var1, int16 var2) in div_16by16() argument 214 if ((var1 > var2) || (var1 < 0)) in div_16by16() 220 if (var1 != var2) in div_16by16() 224 L_denom = (int32) var2; in div_16by16()
|
D | pvamrwb_math_op.h | 109 int16 mult_int16_r(int16 var1, int16 var2); /* Mult with round, 2 */ 110 int16 shr_rnd(int16 var1, int16 var2); /* Shift right with round, 2 */ 112 int16 div_16by16(int16 var1, int16 var2); /* Short division, 18 */
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/include/ |
D | basic_op.h | 211 Word16 var2, in Mac_32_16() argument 216 L_var3 = L_mac(L_var3, L_var1_hi, var2, pOverflow); in Mac_32_16() 218 product = mult(L_var1_lo, var2, pOverflow); in Mac_32_16() 275 static inline Word16 shl(Word16 var1, Word16 var2, Flag *pOverflow) in shl() argument 281 if (var2 < 0) in shl() 283 var2 = -var2; in shl() 284 if (var2 < 15) in shl() 286 var_out = var1 >> var2; in shl() 292 var_out = var1 << var2; in shl() 293 if (var_out >> var2 != var1) in shl() [all …]
|
D | mpy_32_16.h | 95 Word16 var2, in Mpy_32_16() argument 105 __asm {SMULBB L_product, L_var1_hi, var2} in Mpy_32_16() 107 __asm {SMULBB result, L_var1_lo, var2} in Mpy_32_16() 117 Word16 var2, 123 register Word32 rc = var2; 161 Word16 var2, 168 L_product = (Word32) L_var1_hi * var2; 180 result = ((Word32)L_var1_lo * var2) >> 15;
|
D | basic_op_c_equivalent.h | 199 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac() argument 203 result = (Word32) var1 * var2; in L_mac() 247 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult() argument 251 L_product = (Word32) var1 * var2; in L_mult() 291 static inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu() argument 295 result = L_mult(var1, var2, pOverflow); in L_msu() 397 Word16 var2, in Mpy_32_16() argument 404 L_product = (Word32) L_var1_hi * var2; in Mpy_32_16() 416 result = ((Word32)L_var1_lo * var2) >> 15; in Mpy_32_16() 453 static inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult() argument [all …]
|
D | basic_op_arm_v5.h | 190 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac() argument 197 __asm {SMULBB result, var1, var2} in L_mac() 223 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult() argument 232 SMULBB product, var1, var2 in L_mult() 263 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu() argument 272 SMULBB product, var1, var2 in L_msu() 355 Word16 var2, in Mpy_32_16() argument 365 __asm {SMULBB L_product, L_var1_hi, var2} in Mpy_32_16() 367 __asm {SMULBB result, L_var1_lo, var2} in Mpy_32_16() 394 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult() argument [all …]
|
D | l_mult.h | 109 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult() argument 118 SMULBB product, var1, var2 in L_mult() 127 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) 130 register Word32 rb = var2; 151 static inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) 155 L_product = (Word32) var1 * var2;
|
D | basic_op_arm_gcc_v5.h | 197 static inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac() argument 201 register Word32 rc = var2; in L_mac() 241 __inline Word32 L_mult(Word16 var1, Word16 var2, Flag *pOverflow) in L_mult() argument 244 register Word32 rb = var2; in L_mult() 286 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu() argument 290 register Word32 rc = var2; in L_msu() 415 Word16 var2, in Mpy_32_16() argument 421 register Word32 rc = var2; in Mpy_32_16() 477 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult() argument 480 register Word32 rb = var2; in mult()
|
D | mult.h | 109 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) in mult() argument 117 SMULBB product, var1, var2 in mult() 128 __inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) 131 register Word32 rb = var2; 159 static inline Word16 mult(Word16 var1, Word16 var2, Flag *pOverflow) 163 product = ((Word32) var1 * var2) >> 15;
|
D | l_msu.h | 109 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_msu() argument 118 SMULBB product, var1, var2 in L_msu() 127 __inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 131 register Word32 rc = var2; 152 static inline Word32 L_msu(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 156 result = L_mult(var1, var2, pOverflow);
|
D | l_mac.h | 108 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) in L_mac() argument 115 __asm {SMULBB result, var1, var2} in L_mac() 122 static inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 126 register Word32 rc = var2; 146 __inline Word32 L_mac(Word32 L_var3, Word16 var1, Word16 var2, Flag *pOverflow) 150 result = (Word32) var1 * var2;
|
D | mac_32.h | 128 Word16 var2, in Mac_32_16() argument 133 L_var3 = L_mac(L_var3, L_var1_hi, var2, pOverflow); in Mac_32_16() 135 product = mult(L_var1_lo, var2, pOverflow); in Mac_32_16()
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/ |
D | shr.cpp | 205 Word16 shr(register Word16 var1, register Word16 var2, Flag *pOverflow) in shr() argument 210 if (var2 != 0) in shr() 212 if (var2 > 0) in shr() 214 if (var2 >= 15) in shr() 222 result = (~((~var1) >> var2)); in shr() 226 result = (var1 >> var2); in shr() 232 if (var2 < -16) in shr() 234 var2 = -16; in shr() 237 var2 = -var2; /* Shift right negative is equivalent */ in shr() 240 temp_res = ((Word32) var1) << var2; in shr()
|
D | shr_r.cpp | 196 Word16 shr_r(register Word16 var1, register Word16 var2, Flag *pOverflow) in shr_r() argument 206 if (var2 > 15) in shr_r() 212 var_out = shr(var1, var2, pOverflow); in shr_r() 213 if (var2 > 0) in shr_r() 215 if ((var1 & ((Word16) 1 << (var2 - 1))) != 0) in shr_r()
|
D | l_shr_r.cpp | 193 Word32 L_shr_r(register Word32 L_var1, register Word16 var2, Flag *pOverflow) in L_shr_r() argument 197 if (var2 > 31) in L_shr_r() 203 result = L_shr(L_var1, var2, pOverflow); in L_shr_r() 205 if (var2 > 0) in L_shr_r() 207 if ((L_var1 & ((Word32) 1 << (var2 - 1))) != 0) in L_shr_r()
|
D | div_s.cpp | 210 Word16 div_s(register Word16 var1, register Word16 var2) in div_s() argument 225 if ((var1 > var2) || (var1 < 0)) in div_s() 231 if (var1 != var2) in div_s() 235 L_denom = (Word32) var2; in div_s()
|
D | sub.cpp | 190 Word16 sub(Word16 var1, Word16 var2, Flag *pOverflow) in sub() argument 195 diff = (Word32) var1 - var2; in sub()
|
D | add.cpp | 176 Word16 add(Word16 var1, Word16 var2, Flag *pOverflow) in add() argument 182 sum = (Word32) var1 + var2; in add()
|
D | mult_r.cpp | 190 Word16 mult_r(Word16 var1, Word16 var2, Flag *pOverflow) in mult_r() argument 195 L_product_arr = ((Word32) var1) * var2; /* product */ in mult_r()
|
/external/jpeg/ |
D | jdct.h | 171 #define MULTIPLY16V16(var1,var2) (((INT16) (var1)) * ((INT16) (var2))) argument 175 #define MULTIPLY16V16(var1,var2) ((var1) * (var2)) argument
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
D | regress-69607.js | 30 var var2; variable 46 var2 = 0;
|