diff options
| author | George Marques <george@gmarqu.es> | 2016-05-01 12:48:46 -0300 |
|---|---|---|
| committer | George Marques <george@gmarqu.es> | 2016-05-02 13:18:34 -0300 |
| commit | 7c59d819a7ebb936d51ca032e66a2489e4080d08 (patch) | |
| tree | df6747620113a36812194db3456729aac2fa1b08 /drivers/opus/celt/arm/fixed_armv4.h | |
| parent | a3d81cab8a97eeece54ebadb82c40532188b4d57 (diff) | |
| download | redot-engine-7c59d819a7ebb936d51ca032e66a2489e4080d08.tar.gz | |
Update Opus driver to 1.1.2
And opusfile to 0.7.
Diffstat (limited to 'drivers/opus/celt/arm/fixed_armv4.h')
| -rw-r--r-- | drivers/opus/celt/arm/fixed_armv4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/opus/celt/arm/fixed_armv4.h b/drivers/opus/celt/arm/fixed_armv4.h index b690bc8cea..efb3b1896a 100644 --- a/drivers/opus/celt/arm/fixed_armv4.h +++ b/drivers/opus/celt/arm/fixed_armv4.h @@ -68,6 +68,10 @@ static OPUS_INLINE opus_val32 MULT16_32_Q15_armv4(opus_val16 a, opus_val32 b) #undef MAC16_32_Q15 #define MAC16_32_Q15(c, a, b) ADD32(c, MULT16_32_Q15(a, b)) +/** 16x32 multiply, followed by a 16-bit shift right and 32-bit add. + Result fits in 32 bits. */ +#undef MAC16_32_Q16 +#define MAC16_32_Q16(c, a, b) ADD32(c, MULT16_32_Q16(a, b)) /** 32x32 multiplication, followed by a 31-bit shift right. Results fits in 32 bits */ #undef MULT32_32_Q31 |
