You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user