FreeRDP
prim_shift.c File Reference
#include <freerdp/config.h>
#include <freerdp/types.h>
#include <freerdp/primitives.h>
#include "prim_internal.h"
#include "prim_shift.h"

Functions

static INLINE INT16 shift (INT16 val, UINT32 sh)
 
static INLINE pstatus_t general_lShiftC_16s_inplace (INT16 *WINPR_RESTRICT pSrcDst, UINT32 val, UINT32 len)
 
static INLINE pstatus_t general_lShiftC_16s (const INT16 *pSrc, UINT32 val, INT16 *pDst, UINT32 len)
 
static INLINE pstatus_t general_rShiftC_16s (const INT16 *pSrc, UINT32 val, INT16 *pDst, UINT32 len)
 
static INLINE pstatus_t general_lShiftC_16u (const UINT16 *pSrc, UINT32 val, UINT16 *pDst, UINT32 len)
 
static INLINE pstatus_t general_rShiftC_16u (const UINT16 *pSrc, UINT32 val, UINT16 *pDst, UINT32 len)
 
static INLINE pstatus_t general_shiftC_16s (const INT16 *pSrc, INT32 val, INT16 *pDst, UINT32 len)
 
static INLINE pstatus_t general_shiftC_16u (const UINT16 *pSrc, INT32 val, UINT16 *pDst, UINT32 len)
 
void primitives_init_shift (primitives_t *prims)
 
void primitives_init_shift_opt (primitives_t *WINPR_RESTRICT prims)
 

Function Documentation

◆ general_lShiftC_16s()

static INLINE pstatus_t general_lShiftC_16s ( const INT16 *  pSrc,
UINT32  val,
INT16 *  pDst,
UINT32  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ general_lShiftC_16s_inplace()

static INLINE pstatus_t general_lShiftC_16s_inplace ( INT16 *WINPR_RESTRICT  pSrcDst,
UINT32  val,
UINT32  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ general_lShiftC_16u()

static INLINE pstatus_t general_lShiftC_16u ( const UINT16 pSrc,
UINT32  val,
UINT16 pDst,
UINT32  len 
)
static
Here is the caller graph for this function:

◆ general_rShiftC_16s()

static INLINE pstatus_t general_rShiftC_16s ( const INT16 *  pSrc,
UINT32  val,
INT16 *  pDst,
UINT32  len 
)
static
Here is the caller graph for this function:

◆ general_rShiftC_16u()

static INLINE pstatus_t general_rShiftC_16u ( const UINT16 pSrc,
UINT32  val,
UINT16 pDst,
UINT32  len 
)
static
Here is the caller graph for this function:

◆ general_shiftC_16s()

static INLINE pstatus_t general_shiftC_16s ( const INT16 *  pSrc,
INT32  val,
INT16 *  pDst,
UINT32  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ general_shiftC_16u()

static INLINE pstatus_t general_shiftC_16u ( const UINT16 pSrc,
INT32  val,
UINT16 pDst,
UINT32  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ primitives_init_shift()

void primitives_init_shift ( primitives_t prims)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ primitives_init_shift_opt()

void primitives_init_shift_opt ( primitives_t *WINPR_RESTRICT  prims)
Here is the call graph for this function:

◆ shift()

static INLINE INT16 shift ( INT16  val,
UINT32  sh 
)
static
Here is the caller graph for this function: