LIBML  Version 3.2.4
LIBML DSP Software Library
Data Structures | Macros | Enumerations | Functions
arm_math_support.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  arm_sort_instance_f32
 
struct  arm_merge_sort_instance_f32
 
struct  arm_spline_instance_f32
 

Macros

#define arm_copy_f32(pSrc, pDst, blockSize)   tpt_copy_f32(pDst, pSrc, blockSize)
 
#define arm_copy_q7(pSrc, pDst, blockSize)   tpt_copy_q7(pDst, pSrc, blockSize)
 
#define arm_copy_q15(pSrc, pDst, blockSize)   tpt_copy_q15(pDst, pSrc, blockSize)
 
#define arm_copy_q31(pSrc, pDst, blockSize)   tpt_copy_q31(pDst, pSrc, blockSize)
 
#define arm_fill_f32(value, pDst, blockSize)    tpt_fill_f32(pDst, value, blockSize)
 
#define arm_fill_q7(value, pDst, blockSize)   tpt_fill_q7(pDst, value, blockSize)
 
#define arm_fill_q15(value, pDst, blockSize)    tpt_fill_q15(pDst, value, blockSize)
 
#define arm_fill_q31(value, pDst, blockSize)    tpt_fill_q31(pDst, value, blockSize)
 
#define arm_sort_f32(S, pSrc, pDst, blockSize)    tpt_sort_f32(pDst, pSrc, blockSize, (S)->dir, (S)->alg)
 
#define arm_merge_sort_f32(S, pSrc, pDst, blockSize)    tpt_merge_sort_f32(pDst, pSrc, blockSize, (S)->dir, (S)->buffer)
 
#define arm_linear_interp_instance_f32   tpt_linear_interp_f32_t
 
#define arm_bilinear_interp_instance_f32   tpt_bilinear_interp_f32_t
 
#define arm_bilinear_interp_instance_q7   tpt_bilinear_interp_q7_t
 
#define arm_bilinear_interp_instance_q15   tpt_bilinear_interp_q15_t
 
#define arm_bilinear_interp_instance_q31   tpt_bilinear_interp_q31_t
 
#define arm_linear_interp_f32   tpt_linear_interp_f32
 
#define arm_linear_interp_q7   tpt_linear_interp_q7
 
#define arm_linear_interp_q15   tpt_linear_interp_q15
 
#define arm_linear_interp_q31   tpt_linear_interp_q31
 
#define arm_bilinear_interp_f32   tpt_bilinear_interp_f32
 
#define arm_bilinear_interp_q7   tpt_bilinear_interp_q7
 
#define arm_bilinear_interp_q15   tpt_bilinear_interp_q15
 
#define arm_bilinear_interp_q31   tpt_bilinear_interp_q31
 
#define arm_float_to_q7(pSrc, pDst, blockSize)    tpt_float_to_q7(pDst, pSrc, blockSize)
 
#define arm_float_to_q15(pSrc, pDst, blockSize)    tpt_float_to_q15(pDst, pSrc, blockSize)
 
#define arm_float_to_q31(pSrc, pDst, blockSize)    tpt_float_to_q31(pDst, pSrc, blockSize)
 
#define arm_q31_to_q7(pSrc, pDst, blockSize)    tpt_q31_to_q7(pDst, pSrc, blockSize)
 
#define arm_q31_to_q15(pSrc, pDst, blockSize)    tpt_q31_to_q15(pDst, pSrc, blockSize)
 
#define arm_q15_to_q7(pSrc, pDst, blockSize)    tpt_q15_to_q7(pDst, pSrc, blockSize)
 
#define arm_q15_to_q31(pSrc, pDst, blockSize)    tpt_q15_to_q31(pDst, pSrc, blockSize)
 
#define arm_q7_to_f32(pSrc, pDst, blockSize)    tpt_q7_to_f32(pDst, pSrc, blockSize)
 
#define arm_q7_to_q15(pSrc, pDst, blockSize)    tpt_q7_to_q15(pDst, pSrc, blockSize)
 
#define arm_q7_to_q31(pSrc, pDst, blockSize)    tpt_q7_to_q31(pDst, pSrc, blockSize)
 

Enumerations

enum  arm_sort_alg {
  ARM_SORT_BITONIC = 0 , ARM_SORT_BUBBLE = 1 , ARM_SORT_HEAP = 2 , ARM_SORT_INSERTION = 3 ,
  ARM_SORT_QUICK = 4 , ARM_SORT_SELECTION = 5
}
 
enum  arm_sort_dir { ARM_SORT_DESCENDING = 0 , ARM_SORT_ASCENDING = 1 }
 
enum  arm_spline_type { ARM_SPLINE_NATURAL = 0 , ARM_SPLINE_PARABOLIC_RUNOUT = 1 }
 

Functions

static uint32_t arm_recip_q31 (q31_t in, q31_t *dst, const q31_t *pRecipTable)
 
static uint32_t arm_recip_q15 (q15_t in, q15_t *dst, const q15_t *pRecipTable)
 
static float32_t arm_exponent_f32 (float32_t x, int32_t nb)
 
static void arm_norm_64_to_32u (uint64_t in, int32_t *normalized, int32_t *norm)
 
static q31_t arm_div_q63_to_q31 (q63_t num, q31_t den)
 
static void arm_sort_init_f32 (arm_sort_instance_f32 *S, arm_sort_alg alg, arm_sort_dir dir)
 
static void arm_merge_sort_init_f32 (arm_merge_sort_instance_f32 *S, arm_sort_dir dir, f32_t *buffer)
 
void arm_spline_f32 (arm_spline_instance_f32 *S, const float32_t *xq, float32_t *pDst, uint32_t blockSize)
 
static void arm_spline_init_f32 (arm_spline_instance_f32 *S, arm_spline_type type, const f32_t *x, const f32_t *y, uint32_t n, f32_t *coeffs, f32_t *tempBuffer)
 
float32_t arm_weighted_sum_f32 (const float32_t *in, const float32_t *weigths, uint32_t blockSize)
 
void arm_barycenter_f32 (const float32_t *in, const float32_t *weights, float32_t *out, uint32_t nbVectors, uint32_t vecDim)
 

Macro Definition Documentation

◆ arm_bilinear_interp_f32

#define arm_bilinear_interp_f32   tpt_bilinear_interp_f32

◆ arm_bilinear_interp_instance_f32

#define arm_bilinear_interp_instance_f32   tpt_bilinear_interp_f32_t

◆ arm_bilinear_interp_instance_q15

#define arm_bilinear_interp_instance_q15   tpt_bilinear_interp_q15_t

◆ arm_bilinear_interp_instance_q31

#define arm_bilinear_interp_instance_q31   tpt_bilinear_interp_q31_t

◆ arm_bilinear_interp_instance_q7

#define arm_bilinear_interp_instance_q7   tpt_bilinear_interp_q7_t

◆ arm_bilinear_interp_q15

#define arm_bilinear_interp_q15   tpt_bilinear_interp_q15

◆ arm_bilinear_interp_q31

#define arm_bilinear_interp_q31   tpt_bilinear_interp_q31

◆ arm_bilinear_interp_q7

#define arm_bilinear_interp_q7   tpt_bilinear_interp_q7

◆ arm_copy_f32

#define arm_copy_f32 (   pSrc,
  pDst,
  blockSize 
)    tpt_copy_f32(pDst, pSrc, blockSize)

◆ arm_copy_q15

#define arm_copy_q15 (   pSrc,
  pDst,
  blockSize 
)    tpt_copy_q15(pDst, pSrc, blockSize)

◆ arm_copy_q31

#define arm_copy_q31 (   pSrc,
  pDst,
  blockSize 
)    tpt_copy_q31(pDst, pSrc, blockSize)

◆ arm_copy_q7

#define arm_copy_q7 (   pSrc,
  pDst,
  blockSize 
)    tpt_copy_q7(pDst, pSrc, blockSize)

◆ arm_fill_f32

#define arm_fill_f32 (   value,
  pDst,
  blockSize 
)     tpt_fill_f32(pDst, value, blockSize)

◆ arm_fill_q15

#define arm_fill_q15 (   value,
  pDst,
  blockSize 
)     tpt_fill_q15(pDst, value, blockSize)

◆ arm_fill_q31

#define arm_fill_q31 (   value,
  pDst,
  blockSize 
)     tpt_fill_q31(pDst, value, blockSize)

◆ arm_fill_q7

#define arm_fill_q7 (   value,
  pDst,
  blockSize 
)    tpt_fill_q7(pDst, value, blockSize)

◆ arm_float_to_q15

#define arm_float_to_q15 (   pSrc,
  pDst,
  blockSize 
)     tpt_float_to_q15(pDst, pSrc, blockSize)

◆ arm_float_to_q31

#define arm_float_to_q31 (   pSrc,
  pDst,
  blockSize 
)     tpt_float_to_q31(pDst, pSrc, blockSize)

◆ arm_float_to_q7

#define arm_float_to_q7 (   pSrc,
  pDst,
  blockSize 
)     tpt_float_to_q7(pDst, pSrc, blockSize)

◆ arm_linear_interp_f32

#define arm_linear_interp_f32   tpt_linear_interp_f32

◆ arm_linear_interp_instance_f32

#define arm_linear_interp_instance_f32   tpt_linear_interp_f32_t

◆ arm_linear_interp_q15

#define arm_linear_interp_q15   tpt_linear_interp_q15

◆ arm_linear_interp_q31

#define arm_linear_interp_q31   tpt_linear_interp_q31

◆ arm_linear_interp_q7

#define arm_linear_interp_q7   tpt_linear_interp_q7

◆ arm_merge_sort_f32

#define arm_merge_sort_f32 (   S,
  pSrc,
  pDst,
  blockSize 
)     tpt_merge_sort_f32(pDst, pSrc, blockSize, (S)->dir, (S)->buffer)

◆ arm_q15_to_q31

#define arm_q15_to_q31 (   pSrc,
  pDst,
  blockSize 
)     tpt_q15_to_q31(pDst, pSrc, blockSize)

◆ arm_q15_to_q7

#define arm_q15_to_q7 (   pSrc,
  pDst,
  blockSize 
)     tpt_q15_to_q7(pDst, pSrc, blockSize)

◆ arm_q31_to_q15

#define arm_q31_to_q15 (   pSrc,
  pDst,
  blockSize 
)     tpt_q31_to_q15(pDst, pSrc, blockSize)

◆ arm_q31_to_q7

#define arm_q31_to_q7 (   pSrc,
  pDst,
  blockSize 
)     tpt_q31_to_q7(pDst, pSrc, blockSize)

◆ arm_q7_to_f32

#define arm_q7_to_f32 (   pSrc,
  pDst,
  blockSize 
)     tpt_q7_to_f32(pDst, pSrc, blockSize)

◆ arm_q7_to_q15

#define arm_q7_to_q15 (   pSrc,
  pDst,
  blockSize 
)     tpt_q7_to_q15(pDst, pSrc, blockSize)

◆ arm_q7_to_q31

#define arm_q7_to_q31 (   pSrc,
  pDst,
  blockSize 
)     tpt_q7_to_q31(pDst, pSrc, blockSize)

◆ arm_sort_f32

#define arm_sort_f32 (   S,
  pSrc,
  pDst,
  blockSize 
)     tpt_sort_f32(pDst, pSrc, blockSize, (S)->dir, (S)->alg)

Enumeration Type Documentation

◆ arm_sort_alg

Enumerator
ARM_SORT_BITONIC 
ARM_SORT_BUBBLE 
ARM_SORT_HEAP 
ARM_SORT_INSERTION 
ARM_SORT_QUICK 
ARM_SORT_SELECTION 

◆ arm_sort_dir

Enumerator
ARM_SORT_DESCENDING 
ARM_SORT_ASCENDING 

◆ arm_spline_type

Enumerator
ARM_SPLINE_NATURAL 
ARM_SPLINE_PARABOLIC_RUNOUT 

Function Documentation

◆ arm_barycenter_f32()

void arm_barycenter_f32 ( const float32_t in,
const float32_t weights,
float32_t out,
uint32_t  nbVectors,
uint32_t  vecDim 
)

◆ arm_div_q63_to_q31()

static q31_t arm_div_q63_to_q31 ( q63_t  num,
q31_t  den 
)
inlinestatic

◆ arm_exponent_f32()

static float32_t arm_exponent_f32 ( float32_t  x,
int32_t  nb 
)
inlinestatic

◆ arm_merge_sort_init_f32()

static void arm_merge_sort_init_f32 ( arm_merge_sort_instance_f32 S,
arm_sort_dir  dir,
f32_t buffer 
)
inlinestatic

◆ arm_norm_64_to_32u()

static void arm_norm_64_to_32u ( uint64_t  in,
int32_t *  normalized,
int32_t *  norm 
)
inlinestatic

◆ arm_recip_q15()

static uint32_t arm_recip_q15 ( q15_t  in,
q15_t dst,
const q15_t pRecipTable 
)
inlinestatic

◆ arm_recip_q31()

static uint32_t arm_recip_q31 ( q31_t  in,
q31_t dst,
const q31_t pRecipTable 
)
inlinestatic

◆ arm_sort_init_f32()

static void arm_sort_init_f32 ( arm_sort_instance_f32 S,
arm_sort_alg  alg,
arm_sort_dir  dir 
)
inlinestatic

◆ arm_spline_f32()

void arm_spline_f32 ( arm_spline_instance_f32 S,
const float32_t xq,
float32_t pDst,
uint32_t  blockSize 
)

◆ arm_spline_init_f32()

static void arm_spline_init_f32 ( arm_spline_instance_f32 S,
arm_spline_type  type,
const f32_t x,
const f32_t y,
uint32_t  n,
f32_t coeffs,
f32_t tempBuffer 
)
inlinestatic

◆ arm_weighted_sum_f32()

float32_t arm_weighted_sum_f32 ( const float32_t in,
const float32_t weigths,
uint32_t  blockSize 
)