Split off common lossless dsp inline functions.

Change-Id: I64f96897b11d1c21f033c7e47b21edccb5c68738
This commit is contained in:
Vincent Rabaud
2016-09-12 17:23:15 +02:00
parent 490ae5b13d
commit c9b45863e2
14 changed files with 194 additions and 144 deletions

View File

@ -17,6 +17,7 @@
#include <assert.h>
#include <emmintrin.h>
#include "./lossless.h"
#include "./lossless_common.h"
// For sign-extended multiplying constants, pre-shifted by 5:
#define CST_5b(X) (((int16_t)((uint16_t)X << 8)) >> 5)