Lines Matching refs:L_product_arr
106 L_product_arr = 16-bit limited product of var1 and var2 (Word16)
139 Word32 L_product_arr;
141 L_product_arr = (Word32) var1 *(Word32) var2;
142 L_product_arr += (Word32) 0x00004000L;
143 L_product_arr &= (Word32) 0xffff8000L;
144 L_product_arr >>= 15;
146 if (L_product_arr & (Word32) 0x00010000L)
148 L_product_arr |= (Word32) 0xffff0000L;
154 var_out = saturate (L_product_arr);
193 register Word32 L_product_arr;
195 L_product_arr = ((Word32) var1) * var2; /* product */
196 L_product_arr += (Word32) 0x00004000L; /* round */
197 L_product_arr >>= 15; /* shift */
200 L_product_arr |= (Word32) - (L_product_arr & (Word32) 0x00010000L);
204 /* i.e., var_out = saturate (L_product_arr) */
206 if (L_product_arr > 0X00007fffL)
209 L_product_arr = MAX_16;
211 else if (L_product_arr < (Word32) 0xffff8000L)
214 L_product_arr = MIN_16;
217 return ((Word16) L_product_arr);