LIBML  Version 3.2.4
LIBML DSP Software Library
Macros | Functions
tpt_vlog_q31.c File Reference
#include "ref_math.h"
Include dependency graph for tpt_vlog_q31.c:

Macros

#define LOG_Q31_ACCURACY   31
 
#define LOG_Q31_INTEGER_PART   5
 
#define LOQ_Q31_THRESHOLD   (1u << LOG_Q31_ACCURACY)
 
#define LOQ_Q31_Q32_HALF   LOQ_Q31_THRESHOLD
 
#define LOQ_Q31_Q30_HALF   (LOQ_Q31_Q32_HALF >> 2)
 
#define LOG_Q31_INVLOG2EXP   0x58b90bfbuL
 

Functions

static uint32_t tpt_scalar_vlog_q31 (uint32_t aInData)
 
void tpt_vlog_q31 (q31_t *aOutData, const q31_t *aInData, uint32_t aCount)
 q31 vector of log values. More...
 

Macro Definition Documentation

◆ LOG_Q31_ACCURACY

#define LOG_Q31_ACCURACY   31

◆ LOG_Q31_INTEGER_PART

#define LOG_Q31_INTEGER_PART   5

◆ LOG_Q31_INVLOG2EXP

#define LOG_Q31_INVLOG2EXP   0x58b90bfbuL

◆ LOQ_Q31_Q30_HALF

#define LOQ_Q31_Q30_HALF   (LOQ_Q31_Q32_HALF >> 2)

◆ LOQ_Q31_Q32_HALF

#define LOQ_Q31_Q32_HALF   LOQ_Q31_THRESHOLD

◆ LOQ_Q31_THRESHOLD

#define LOQ_Q31_THRESHOLD   (1u << LOG_Q31_ACCURACY)

Function Documentation

◆ tpt_scalar_vlog_q31()

static uint32_t tpt_scalar_vlog_q31 ( uint32_t  aInData)
inlinestatic