Home
last modified time | relevance | path

Searched refs:L_var1 (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h34 #define saturate(L_var1) (((L_var1) > 0X00007fffL) ? (MAX_16): (((L_var1) < (Word32) 0xffff8000L) ?… argument
41 #define L_negate(L_var1) (((L_var1) == (MIN_32)) ? (MAX_32) : (-(L_var1))) /* Long … argument
60 #define vo_L_shr_r(L_var1, var2) (((L_var1)+((Word32)(1L<<((var2)-1))))>>(var2)) argument
74 static_vo Word16 voround (Word32 L_var1); /* Round, …
77 static_vo Word32 L_add (Word32 L_var1, Word32 L_var2); /* Long add, 2 */
78 static_vo Word32 L_sub (Word32 L_var1, Word32 L_var2); /* Long sub, 2 */
80 static_vo Word32 L_shl2(Word32 L_var1, Word16 var2); /* var2 > 0*/
81 static_vo Word32 L_shl (Word32 L_var1, Word16 var2); /* Long shift left, 2 */
82 static_vo Word32 L_shr (Word32 L_var1, Word16 var2); /* Long shift right, 2*/
83 static_vo Word32 L_shr_r (Word32 L_var1, Word16 var2); /* Long shift right with round,…
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_arm.h55 __inline Int32 fxp_mul32_Q30(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q30() argument
62 smull result64_lo, result64_hi, L_var2, L_var1 in fxp_mul32_Q30()
69 __inline Int32 fxp_mac32_Q30(const Int32 L_var1, const Int32 L_var2, Int32 L_add) in fxp_mac32_Q30() argument
75 smull result64_lo, result64_hi, L_var2, L_var1 in fxp_mac32_Q30()
88 __inline Int32 fxp_mul32_Q32(Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q32() argument
93 smull L_var1, result64_hi, L_var2, L_var1 in fxp_mul32_Q32()
98 __inline Int32 fxp_mul32_Q28(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q28() argument
105 smull result64_lo, result64_hi, L_var2, L_var1 in fxp_mul32_Q28()
113 __inline Int32 fxp_mul32_Q27(const Int32 L_var1, const Int32 L_var2) in fxp_mul32_Q27() argument
120 smull result64_lo, result64_hi, L_var2, L_var1 in fxp_mul32_Q27()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dnorm_l.cpp200 Word16 norm_l(Word32 L_var1) in norm_l() argument
211 if (L_var1) in norm_l()
214 Word32 y = L_var1 - (L_var1 < 0); in norm_l()
215 L_var1 = y ^(y >> 31); in norm_l()
218 while (!(0x40000000L & L_var1)) in norm_l()
221 if ((0x20000000L & L_var1)) in norm_l()
226 if ((0x10000000L & L_var1)) in norm_l()
231 if ((0x08000000L & L_var1)) in norm_l()
236 L_var1 <<= 4; in norm_l()
Dround.cpp187 Word16 pv_round(Word32 L_var1, Flag *pOverflow) in pv_round() argument
191 L_var1 = L_add(L_var1, (Word32) 0x00008000L, pOverflow); in pv_round()
192 result = (Word16)(L_var1 >> 16); in pv_round()
Dl_abs.cpp179 Word32 L_abs(Word32 L_var1) in L_abs() argument
189 Word32 y = L_var1 - (L_var1 < 0); in L_abs()
Dl_shr_r.cpp193 Word32 L_shr_r(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shr_r() argument
203 result = L_shr(L_var1, var2, pOverflow); in L_shr_r()
207 if ((L_var1 & ((Word32) 1 << (var2 - 1))) != 0) in L_shr_r()
Dextract_h.cpp163 Word16 extract_h(Word32 L_var1) in extract_h() argument
176 return ((Word16)(L_var1 >> 16)); in extract_h()
Dextract_l.cpp162 Word16 extract_l(Word32 L_var1) in extract_l() argument
175 return ((Word16) L_var1); in extract_l()
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpvamrwbdecoder_basic_op_cequivalent.h205 __inline int32 add_int32(int32 L_var1, int32 L_var2) in add_int32() argument
211 if (L_var1 < MIN_32 - L_var2) { in add_int32()
215 if (L_var1 > MAX_32 - L_var2) { in add_int32()
220 return L_var1 + L_var2; in add_int32()
251 __inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32() argument
255 if (L_var1 > MAX_32 + L_var2) { in sub_int32()
259 if (L_var1 < MIN_32 + L_var2) { in sub_int32()
264 return L_var1 - L_var2; in sub_int32()
401 __inline int16 amr_wb_round(int32 L_var1) in amr_wb_round() argument
403 if (L_var1 <= (MAX_32 - 0x00008000L)) in amr_wb_round()
[all …]
Dpvamrwbdecoder_basic_op.h158 __inline int32 shl_int32(int32 L_var1, int16 var2) in shl_int32() argument
164 L_var_out = L_var1 << var2; in shl_int32()
165 if (L_var_out >> var2 != L_var1) in shl_int32()
167 L_var_out = (L_var1 >> 31) ^ MAX_32; in shl_int32()
173 L_var_out = L_var1 >> var2; in shl_int32()
202 __inline int32 shr_int32(int32 L_var1, int16 var2) in shr_int32() argument
208 L_var_out = L_var1 >> (var2 & 0x1f); in shr_int32()
214 L_var_out = L_var1 << var2; in shr_int32()
215 if (L_var_out >> var2 != L_var1) in shr_int32()
217 L_var_out = (L_var1 >> 31) ^ MAX_32; in shr_int32()
Dpvamrwbdecoder_basic_op_gcc_armv5.h125 static inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32() argument
128 register int32 ra = L_var1; in sub_int32()
140 static inline int32 add_int32(int32 L_var1, int32 L_var2) in add_int32() argument
143 register int32 ra = L_var1; in add_int32()
226 static inline int16 amr_wb_round(int32 L_var1) in amr_wb_round() argument
229 register int32 ra = (int32)L_var1; in amr_wb_round()
241 static inline int16 amr_wb_shl1_round(int32 L_var1) in amr_wb_shl1_round() argument
244 register int32 ra = (int32)L_var1; in amr_wb_shl1_round()
258 static inline int32 fxp_mac_16by16(const int16 L_var1, const int16 L_var2, int32 L_add) in fxp_mac_16by16() argument
261 register int32 ra = (int32)L_var1; in fxp_mac_16by16()
[all …]
Dpvamrwbdecoder_basic_op_armv5.h96 __inline int32 add_int32(int32 L_var1, int32 L_var2) in add_int32() argument
102 qadd L_var_out, L_var1, L_var2 in add_int32()
121 __inline int32 sub_int32(int32 L_var1, int32 L_var2) in sub_int32() argument
127 qsub L_var_out, L_var1, L_var2 in sub_int32()
170 __inline int16 amr_wb_round(int32 L_var1) in amr_wb_round() argument
176 qadd L_var_out, L_var1, (int32) 0x00008000L in amr_wb_round()
184 __inline int16 amr_wb_shl1_round(int32 L_var1) in amr_wb_shl1_round() argument
190 qadd L_var_out, L_var1, L_var1 in amr_wb_shl1_round()
231 __inline int32 fxp_mul32_by_16b(int32 L_var1, const int32 L_var2) in fxp_mul32_by_16b() argument
236 smulwb L_mult, L_var1, L_var2 in fxp_mul32_by_16b()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dnorm_l.h107 Word16 norm_l(Word32 L_var1);
111 __inline Word16 norm_l(Word32 L_var1)
117 CMP L_var1, #0
118 EORNE L_var1, L_var1, L_var1, LSL #1
119 CLZNE var_out, L_var1
127 static inline Word16 norm_l(Word32 L_var1)
130 register Word32 ra = L_var1;
131 if (L_var1)
Dl_add.h111 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add() argument
118 QADD result, L_var1, L_var2 in L_add()
125 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
127 register Word32 ra = L_var1;
144 static inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow)
148 L_sum = L_var1 + L_var2;
150 if ((L_var1 ^ L_var2) >= 0)
152 if ((L_sum ^ L_var1) < 0)
154 L_sum = (L_var1 < 0) ? MIN_32 : MAX_32;
Dl_sub.h109 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub() argument
117 QSUB result, L_var1, L_var2 in L_sub()
126 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow)
128 register Word32 ra = L_var1;
144 static inline Word32 L_sub(register Word32 L_var1, register Word32 L_var2,
149 L_diff = L_var1 - L_var2;
151 if ((L_var1 ^ L_var2) < 0)
153 if ((L_diff ^ L_var1) & MIN_32)
155 L_diff = (L_var1 < 0L) ? MIN_32 : MAX_32;
Dbasic_op_c_equivalent.h119 static inline Word32 L_add(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_add() argument
123 L_sum = L_var1 + L_var2; in L_add()
125 if ((L_var1 ^ L_var2) >= 0) in L_add()
127 if ((L_sum ^ L_var1) < 0) in L_add()
129 L_sum = (L_var1 < 0) ? MIN_32 : MAX_32; in L_add()
158 static inline Word32 L_sub(Word32 L_var1, Word32 L_var2, in L_sub() argument
163 L_diff = L_var1 - L_var2; in L_sub()
165 if ((L_var1 ^ L_var2) < 0) in L_sub()
167 if ((L_diff ^ L_var1) & MIN_32) in L_sub()
169 L_diff = (L_var1 < 0L) ? MIN_32 : MAX_32; in L_sub()
[all …]
Dbasic_op.h327 static inline Word32 L_shl(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shl() argument
335 L_var_out = L_var1 << var2; in L_shl()
336 if (L_var_out >> var2 != L_var1) in L_shl()
338 L_var_out = (L_var1 >> 31) ^ MAX_32; in L_shl()
346 L_var_out = L_var1 >> var2; in L_shl()
380 static inline Word32 L_shr(Word32 L_var1, Word16 var2, Flag *pOverflow) in L_shr() argument
390 L_var_out = L_var1 >> var2; in L_shr()
397 L_var_out = L_var1 << (var2) ; in L_shr()
398 if ((L_var_out >> (var2)) != L_var1) in L_shr()
400 L_var_out = (L_var1 >> 31) ^ MAX_32; in L_shr()
Dbasic_op_arm_v5.h119 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add() argument
126 QADD result, L_var1, L_var2 in L_add()
152 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub() argument
160 QSUB result, L_var1, L_var2 in L_sub()
411 __inline Word32 amrnb_fxp_mac_16_by_16bb(Word32 L_var1, Word32 L_var2, Word32 L_var3) in amrnb_fxp_mac_16_by_16bb() argument
416 smlabb result, L_var1, L_var2, L_var3 in amrnb_fxp_mac_16_by_16bb()
421 __inline Word32 amrnb_fxp_msu_16_by_16bb(Word32 L_var1, Word32 L_var2, Word32 L_var3) in amrnb_fxp_msu_16_by_16bb() argument
426 rsb L_var1, L_var1, #0 in amrnb_fxp_msu_16_by_16bb()
427 smlabb result, L_var1, L_var2, L_var3 in amrnb_fxp_msu_16_by_16bb()
Dbasic_op_arm_gcc_v5.h121 __inline Word32 L_add(register Word32 L_var1, register Word32 L_var2, Flag *pOverflow) in L_add() argument
123 register Word32 ra = L_var1; in L_add()
158 __inline Word32 L_sub(Word32 L_var1, Word32 L_var2, Flag *pOverflow) in L_sub() argument
160 register Word32 ra = L_var1; in L_sub()
501 __inline Word32 amrnb_fxp_mac_16_by_16bb(Word32 L_var1, Word32 L_var2, Word32 L_var3) in amrnb_fxp_mac_16_by_16bb() argument
503 register Word32 ra = L_var1; in amrnb_fxp_mac_16_by_16bb()
515 __inline Word32 amrnb_fxp_msu_16_by_16bb(Word32 L_var1, Word32 L_var2, Word32 L_var3) in amrnb_fxp_msu_16_by_16bb() argument
517 register Word32 ra = L_var1; in amrnb_fxp_msu_16_by_16bb()
Dl_negate.h103 Word32 L_negate(Word32 L_var1);
Dl_abs.h100 Word32 L_abs(Word32 L_var1);
Dextract_l.h103 Word16 extract_l(Word32 L_var1);
Dextract_h.h103 Word16 extract_h(Word32 L_var1);
Dround.h106 Word16 pv_round(Word32 L_var1, Flag *pOverflow);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dl_negate.cpp150 Word32 L_negate(Word32 L_var1) in L_negate() argument
159 L_var1 = (L_var1 == MIN_32) ? MAX_32 : -L_var1; in L_negate()
164 return (L_var1); in L_negate()

12