13 #ifndef _MpDspUtilsShift_h_    14 #define _MpDspUtilsShift_h_    32    const int32_t thresold = INT16_MAX>>scale;
    33    return (a>=thresold) ? INT16_MAX : 
    34                           a<-thresold ? -INT16_MAX :
    45    const int32_t thresold = INT32_MAX>>scale;
    46    return (a>=thresold) ? INT32_MAX : 
    47                           a<-thresold ? -INT32_MAX :
    51 #endif  // _MpDspUtilsShift_h_ static void shl16_I(int32_t &a, unsigned scale)
Definition: MpDspUtilsShift.h:25
 
static int32_t shl16(int32_t a, unsigned scale)
Definition: MpDspUtilsShift.h:30
 
static void shl32_I(int32_t &a, unsigned scale)
Definition: MpDspUtilsShift.h:38
 
static int32_t shl32(int32_t a, unsigned scale)
Definition: MpDspUtilsShift.h:43