10 static inline int16_t DSPSampClamp(int32_t val)
12 if (val < -32768) val = -32768;
13 else if (val > 32767) val = 32767;
17 unsigned DSPDecompressFrame(int16_t* out,
const uint8_t* in,
18 const int16_t coefs[8][2], int16_t* prev1, int16_t* prev2,
20 unsigned DSPDecompressFrameStereoStride(int16_t* out,
const uint8_t* in,
21 const int16_t coefs[8][2], int16_t* prev1, int16_t* prev2,
23 unsigned DSPDecompressFrameStereoDupe(int16_t* out,
const uint8_t* in,
24 const int16_t coefs[8][2], int16_t* prev1, int16_t* prev2,
27 unsigned DSPDecompressFrameRanged(int16_t* out,
const uint8_t* in,
28 const int16_t coefs[8][2], int16_t* prev1, int16_t* prev2,
29 unsigned firstSample,
unsigned lastSample);
31 unsigned DSPDecompressFrameStateOnly(
const uint8_t* in,
32 const int16_t coefs[8][2], int16_t* prev1, int16_t* prev2,