HPM SDK
HPMicro Software Development Kit

Functions

static void hpm_dsp_clip_f32 (float32_t *src, float32_t *dst, float32_t low, float32_t high, uint32_t size)
 Elementwise clipping of f32 function. More...
 
static void hpm_dsp_clip_q31 (q31_t *src, q31_t *dst, q31_t low, q31_t high, uint32_t size)
 Elementwise clipping of q31 function. More...
 
static void hpm_dsp_clip_q15 (q15_t *src, q15_t *dst, q15_t low, q15_t high, uint32_t size)
 Elementwise clipping of q15 function. More...
 
static void hpm_dsp_clip_q7 (q7_t *src, q7_t *dst, q7_t low, q7_t high, uint32_t size)
 Elementwise clipping of q7 function. More...
 

Detailed Description

Function Documentation

◆ hpm_dsp_clip_f32()

static void hpm_dsp_clip_f32 ( float32_t *  src,
float32_t *  dst,
float32_t  low,
float32_t  high,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Elementwise clipping of f32 function.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]lowlower bound.
[in]highhigher bound.
[in]sizenumber of elements in a vector

◆ hpm_dsp_clip_q15()

static void hpm_dsp_clip_q15 ( q15_t *  src,
q15_t *  dst,
q15_t  low,
q15_t  high,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Elementwise clipping of q15 function.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]lowlower bound.
[in]highhigher bound.
[in]sizenumber of elements in a vector

◆ hpm_dsp_clip_q31()

static void hpm_dsp_clip_q31 ( q31_t *  src,
q31_t *  dst,
q31_t  low,
q31_t  high,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Elementwise clipping of q31 function.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]lowlower bound.
[in]highhigher bound.
[in]sizenumber of elements in a vector

◆ hpm_dsp_clip_q7()

static void hpm_dsp_clip_q7 ( q7_t *  src,
q7_t *  dst,
q7_t  low,
q7_t  high,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Elementwise clipping of q7 function.

Parameters
[in]*srcpointer of the input vector
[out]*dstpointer of the output vector
[in]lowlower bound.
[in]highhigher bound.
[in]sizenumber of elements in a vector