g723.1: use MULL(a,b,15) for MULL2()
idea by vitor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cb58adaaa3
commit
631eee6e90
@ -324,7 +324,7 @@ static void inverse_quant(int16_t *cur_lsp, int16_t *prev_lsp,
|
|||||||
* @param b 16 bit multiplier
|
* @param b 16 bit multiplier
|
||||||
*/
|
*/
|
||||||
#define MULL2(a, b) \
|
#define MULL2(a, b) \
|
||||||
((((a) >> 16) * (b) << 1) + (((a) & 0xffff) * (b) >> 15))
|
MULL(a,b,15)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert LSP frequencies to LPC coefficients.
|
* Convert LSP frequencies to LPC coefficients.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user