Inlined shift operations.

This commit is contained in:
Armin Novak 2017-01-16 12:39:34 +01:00
parent 326aafc7f8
commit 9cf6af36fb
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
#include "prim_internal.h"
/* ------------------------------------------------------------------------- */
static pstatus_t general_lShiftC_16s(
static INLINE pstatus_t general_lShiftC_16s(
const INT16* pSrc,
UINT32 val,
INT16* pDst,
@ -36,7 +36,7 @@ static pstatus_t general_lShiftC_16s(
}
/* ------------------------------------------------------------------------- */
static pstatus_t general_rShiftC_16s(
static INLINE pstatus_t general_rShiftC_16s(
const INT16* pSrc,
UINT32 val,
INT16* pDst,
@ -50,7 +50,7 @@ static pstatus_t general_rShiftC_16s(
}
/* ------------------------------------------------------------------------- */
static pstatus_t general_lShiftC_16u(
static INLINE pstatus_t general_lShiftC_16u(
const UINT16* pSrc,
UINT32 val,
UINT16* pDst,
@ -64,7 +64,7 @@ static pstatus_t general_lShiftC_16u(
}
/* ------------------------------------------------------------------------- */
static pstatus_t general_rShiftC_16u(
static INLINE pstatus_t general_rShiftC_16u(
const UINT16* pSrc,
UINT32 val,
UINT16* pDst,
@ -78,7 +78,7 @@ static pstatus_t general_rShiftC_16u(
}
/* ------------------------------------------------------------------------- */
static pstatus_t general_shiftC_16s(
static INLINE pstatus_t general_shiftC_16s(
const INT16* pSrc,
INT32 val,
INT16* pDst,
@ -91,7 +91,7 @@ static pstatus_t general_shiftC_16s(
}
/* ------------------------------------------------------------------------- */
static pstatus_t general_shiftC_16u(
static INLINE pstatus_t general_shiftC_16u(
const UINT16* pSrc,
INT32 val,
UINT16* pDst,