Searched refs:L_product_arr (Results 1 – 5 of 5) sorted by relevance
193 Word32 L_product_arr; in mult_r() local195 L_product_arr = ((Word32) var1) * var2; /* product */ in mult_r()196 L_product_arr += (Word32) 0x00004000L; /* round */ in mult_r()197 L_product_arr >>= 15; /* shift */ in mult_r()200 L_product_arr |= (Word32) - (L_product_arr & (Word32) 0x00010000L); in mult_r()206 if (L_product_arr > 0X00007fffL) in mult_r()209 L_product_arr = MAX_16; in mult_r()211 else if (L_product_arr < (Word32) 0xffff8000L) in mult_r()214 L_product_arr = MIN_16; in mult_r()217 return ((Word16) L_product_arr); in mult_r()
96 int32 L_product_arr; in mult_int16_r() local98 L_product_arr = (int32) var1 * (int32) var2; /* product */ in mult_int16_r()99 L_product_arr += (int32) 0x00004000L; /* round */ in mult_int16_r()100 L_product_arr >>= 15; /* shift */ in mult_int16_r()101 if ((L_product_arr >> 15) != (L_product_arr >> 31)) in mult_int16_r()103 L_product_arr = (L_product_arr >> 31) ^ MAX_16; in mult_int16_r()106 return ((int16)L_product_arr); in mult_int16_r()
907 Word32 L_product_arr; in mult_r() local909 L_product_arr = (Word32) var1 *(Word32) var2; /* product */ in mult_r()910 L_product_arr += (Word32) 0x00004000L; /* round */ in mult_r()911 L_product_arr &= (Word32) 0xffff8000L; in mult_r()912 L_product_arr >>= 15; /* shift */ in mult_r()914 if (L_product_arr & (Word32) 0x00010000L) /* sign extend when necessary */ in mult_r()916 L_product_arr |= (Word32) 0xffff0000L; in mult_r()918 var_out = saturate(L_product_arr); in mult_r()
1062 Word32 L_product_arr; in mult_r() local1064 L_product_arr = (Word32)var1 *(Word32)var2; /* product */ in mult_r()1065 L_product_arr += (Word32)0x00004000L; /* round */ in mult_r()1066 L_product_arr >>= 15; /* shift */ in mult_r()1068 var_out = saturate(L_product_arr); in mult_r()
668 Word32 L_product_arr; in mult_r() local669 L_product_arr = (Word32) var1 *(Word32) var2; /* product */ in mult_r()670 L_product_arr += (Word32) 0x00004000L; /* round */ in mult_r()671 L_product_arr &= (Word32) 0xffff8000L; in mult_r()672 L_product_arr >>= 15; /* shift */ in mult_r()673 if (L_product_arr & (Word32) 0x00010000L) /* sign extend when necessary */ in mult_r()675 L_product_arr |= (Word32) 0xffff0000L; in mult_r()677 var_out = saturate (L_product_arr); in mult_r()