Lines Matching refs:WORD32

23 static PLATFORM_INLINE WORD32 ixheaacd_min32(WORD32 a, WORD32 b) {  in ixheaacd_min32()
24 WORD32 min_val; in ixheaacd_min32()
31 static PLATFORM_INLINE WORD32 ixheaacd_max32(WORD32 a, WORD32 b) { in ixheaacd_max32()
32 WORD32 max_val; in ixheaacd_max32()
39 static PLATFORM_INLINE WORD32 ixheaacd_shl32(WORD32 a, WORD b) { in ixheaacd_shl32()
40 WORD32 out_val; in ixheaacd_shl32()
46 out_val = (WORD32)a << b; in ixheaacd_shl32()
51 static PLATFORM_INLINE WORD32 ixheaacd_shr32(WORD32 a, WORD b) { in ixheaacd_shr32()
52 WORD32 out_val; in ixheaacd_shr32()
61 out_val = (WORD32)a >> b; in ixheaacd_shr32()
67 static PLATFORM_INLINE WORD32 ixheaacd_shl32_sat(WORD32 a, WORD b) { in ixheaacd_shl32_sat()
68 WORD32 out_val; in ixheaacd_shl32_sat()
78 static PLATFORM_INLINE WORD32 ixheaacd_shl32_dir(WORD32 a, WORD b) { in ixheaacd_shl32_dir()
79 WORD32 out_val; in ixheaacd_shl32_dir()
90 static PLATFORM_INLINE WORD32 ixheaacd_shl32_dir_sat(WORD32 a, WORD b) { in ixheaacd_shl32_dir_sat()
91 WORD32 out_val; in ixheaacd_shl32_dir_sat()
102 static PLATFORM_INLINE WORD32 ixheaacd_shr32_dir(WORD32 a, WORD b) { in ixheaacd_shr32_dir()
103 WORD32 out_val; in ixheaacd_shr32_dir()
114 static PLATFORM_INLINE WORD32 shr32_dir_sat(WORD32 a, WORD b) { in shr32_dir_sat()
115 WORD32 out_val; in shr32_dir_sat()
126 static PLATFORM_INLINE WORD32 ixheaacd_mult16x16in32(WORD16 a, WORD16 b) { in ixheaacd_mult16x16in32()
127 WORD32 product; in ixheaacd_mult16x16in32()
129 product = (WORD32)a * (WORD32)b; in ixheaacd_mult16x16in32()
134 static PLATFORM_INLINE WORD32 mult16x16in32_32(WORD32 a, WORD32 b) { in mult16x16in32_32()
135 WORD32 product; in mult16x16in32_32()
137 product = (WORD32)a * (WORD32)b; in mult16x16in32_32()
142 static PLATFORM_INLINE WORD32 ixheaacd_mult16x16in32_shl(WORD16 a, WORD16 b) { in ixheaacd_mult16x16in32_shl()
143 WORD32 product; in ixheaacd_mult16x16in32_shl()
150 static PLATFORM_INLINE WORD32 ixheaacd_mult16x16in32_shl_sat(WORD16 a, in ixheaacd_mult16x16in32_shl_sat()
152 WORD32 product; in ixheaacd_mult16x16in32_shl_sat()
153 product = (WORD32)a * (WORD32)b; in ixheaacd_mult16x16in32_shl_sat()
154 if (product != (WORD32)0x40000000L) { in ixheaacd_mult16x16in32_shl_sat()
162 static PLATFORM_INLINE WORD32 ixheaacd_add32(WORD32 a, WORD32 b) { in ixheaacd_add32()
163 WORD32 sum; in ixheaacd_add32()
165 sum = (WORD32)a + (WORD32)b; in ixheaacd_add32()
170 static PLATFORM_INLINE WORD32 ixheaacd_sub32(WORD32 a, WORD32 b) { in ixheaacd_sub32()
171 WORD32 diff; in ixheaacd_sub32()
173 diff = (WORD32)a - (WORD32)b; in ixheaacd_sub32()
178 static PLATFORM_INLINE WORD32 ixheaacd_add32_sat(WORD32 a, WORD32 b) { in ixheaacd_add32_sat()
183 if ((((WORD32)a ^ (WORD32)b) & (WORD32)MIN_32) == 0) { in ixheaacd_add32_sat()
184 if (((WORD32)sum ^ (WORD32)a) & (WORD32)MIN_32) { in ixheaacd_add32_sat()
189 return (WORD32)sum; in ixheaacd_add32_sat()
192 static PLATFORM_INLINE WORD32 ixheaacd_add32_sat3(WORD32 a, WORD32 b, in ixheaacd_add32_sat3()
193 WORD32 c) { in ixheaacd_add32_sat3()
207 return (WORD32)sum; in ixheaacd_add32_sat3()
210 static PLATFORM_INLINE WORD32 ixheaacd_sub32_sat(WORD32 a, WORD32 b) { in ixheaacd_sub32_sat()
215 if ((((WORD32)a ^ (WORD32)b) & (WORD32)MIN_32) != 0) { in ixheaacd_sub32_sat()
216 if (((WORD32)diff ^ (WORD32)a) & (WORD32)MIN_32) { in ixheaacd_sub32_sat()
221 return (WORD32)diff; in ixheaacd_sub32_sat()
224 static PLATFORM_INLINE WORD ixheaacd_norm32(WORD32 a) { in ixheaacd_norm32()
230 if (a == (WORD32)0xffffffffL) { in ixheaacd_norm32()
236 for (norm_val = 0; a < (WORD32)0x40000000L; norm_val++) { in ixheaacd_norm32()
245 static PLATFORM_INLINE WORD ixheaacd_pnorm32(WORD32 a) { in ixheaacd_pnorm32()
251 for (norm_val = 0; a < (WORD32)0x40000000L; norm_val++) { in ixheaacd_pnorm32()
259 static PLATFORM_INLINE WORD bin_expo32(WORD32 a) { in bin_expo32()
267 static PLATFORM_INLINE WORD32 ixheaacd_abs32(WORD32 a) { in ixheaacd_abs32()
268 WORD32 abs_val; in ixheaacd_abs32()
279 static PLATFORM_INLINE WORD32 ixheaacd_abs32_nrm(WORD32 a) { in ixheaacd_abs32_nrm()
280 WORD32 abs_val; in ixheaacd_abs32_nrm()
291 static PLATFORM_INLINE WORD32 ixheaacd_abs32_sat(WORD32 a) { in ixheaacd_abs32_sat()
292 WORD32 abs_val; in ixheaacd_abs32_sat()
305 static PLATFORM_INLINE WORD32 ixheaacd_negate32(WORD32 a) { in ixheaacd_negate32()
306 WORD32 neg_val; in ixheaacd_negate32()
313 static PLATFORM_INLINE WORD32 ixheaacd_negate32_sat(WORD32 a) { in ixheaacd_negate32_sat()
314 WORD32 neg_val; in ixheaacd_negate32_sat()
324 static PLATFORM_INLINE WORD32 div32(WORD32 a, WORD32 b, WORD *q_format) { in div32()
325 WORD32 quotient; in div32()
377 static PLATFORM_INLINE WORD32 ixheaacd_mac16x16in32_sat(WORD32 a, WORD16 b, in ixheaacd_mac16x16in32_sat()
379 WORD32 acc; in ixheaacd_mac16x16in32_sat()
388 static PLATFORM_INLINE WORD32 mac16x16hin32(WORD32 a, WORD32 b, WORD32 c) { in mac16x16hin32()
389 WORD32 acc; in mac16x16hin32()
398 static PLATFORM_INLINE WORD32 ixheaacd_mac16x16in32_shl(WORD32 a, WORD16 b, in ixheaacd_mac16x16in32_shl()
400 WORD32 acc; in ixheaacd_mac16x16in32_shl()
409 static PLATFORM_INLINE WORD32 ixheaacd_mac16x16in32_shl_sat(WORD32 a, WORD16 b, in ixheaacd_mac16x16in32_shl_sat()
411 WORD32 acc; in ixheaacd_mac16x16in32_shl_sat()
420 static PLATFORM_INLINE WORD32 msu16x16in32(WORD32 a, WORD16 b, WORD16 c) { in msu16x16in32()
421 WORD32 acc; in msu16x16in32()
430 static PLATFORM_INLINE WORD32 msu16x16in32_shl(WORD32 a, WORD16 b, WORD16 c) { in msu16x16in32_shl()
431 WORD32 acc; in msu16x16in32_shl()
440 static PLATFORM_INLINE WORD32 msu16x16in32_shl_sat(WORD32 a, WORD16 b, in msu16x16in32_shl_sat()
442 WORD32 acc; in msu16x16in32_shl_sat()
451 static PLATFORM_INLINE WORD32 add32_shr(WORD32 a, WORD32 b) { in add32_shr()
452 WORD32 sum; in add32_shr()
462 static PLATFORM_INLINE WORD32 sub32_shr(WORD32 a, WORD32 b) { in sub32_shr()
463 WORD32 diff; in sub32_shr()