Searched refs:L_product_arr (Results 1 – 3 of 3) 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()
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()