|
| #define | __FORCEINLINE __attribute__((always_inline)) inline |
| #define | __STATIC_FORCEINLINE static inline __attribute__((always_inline)) |
| #define | LIKELY(EXPR) |
| #define | UNLIKELY(EXPR) |
| #define | SWAP(x, y, T) |
| #define | SWAP_PAIR(x, y, T) |
| #define | SQUARE(val) |
| #define | OPT_BRANCH_PREDICTION 1 |
| #define | OPT_HIGHLY_ACCURATE 0 |
| #define | TPT_MATH_LOOPUNROLL 8 |
| #define | F64_MAX ((f64_t)DBL_MAX) |
| #define | F64_MIN (-DBL_MAX) |
| #define | F32_MAX ((f32_t)FLT_MAX) |
| #define | F32_MIN (-FLT_MAX) |
| #define | Q63_MAX ((q63_t)(0x7FFFFFFFFFFFFFFFLL)) |
| #define | Q63_MIN ((q63_t)(0x8000000000000000LL)) |
| #define | Q31_MAX ((q31_t)(0x7FFFFFFFL)) |
| #define | Q31_MIN ((q31_t)(0x80000000L)) |
| #define | Q15_MAX ((q15_t)(0x7FFF)) |
| #define | Q15_MIN ((q15_t)(0x8000)) |
| #define | Q7_MAX ((q7_t)(0x7F)) |
| #define | Q7_MIN ((q7_t)(0x80)) |
| #define | F64_ABSMAX ((f64_t)DBL_MAX) |
| #define | F64_ABSMIN ((f64_t)0.0) |
| #define | F32_ABSMAX ((f32_t)FLT_MAX) |
| #define | F32_ABSMIN ((f32_t)0.0) |
| #define | Q31_ABSMAX ((q31_t)(0x7FFFFFFFL)) |
| #define | Q31_ABSMIN ((q31_t)0) |
| #define | Q15_ABSMAX ((q15_t)(0x7FFF)) |
| #define | Q15_ABSMIN ((q15_t)0) |
| #define | Q7_ABSMAX ((q7_t)(0x7F)) |
| #define | Q7_ABSMIN ((q7_t)0) |
| #define | ABS(val, bit) |
| #define | CLIP(val, bit) |
| #define | CLIPS(val, bit) |
| #define | __CLZ __DSP_CLZ |
| #define | SCALE_COL_T(T, A, ROW, v, i, aRows, aCols) |
| #define | __SSAT __TPT_SSAT |
| #define | __PKHBT(x, y, z) |
| #define | __PKHTB(x, y, z) |
| #define | __PACKq7(w, x, y, z) |
| #define | mult_32x32_keep32(a, x, y) |
| #define | multAcc_32x32_keep32(a, x, y) |
| #define | multSub_32x32_keep32(a, x, y) |
| #define | mult_32x32_keep32_R(a, x, y) |
| #define | multAcc_32x32_keep32_R(a, x, y) |
| #define | multSub_32x32_keep32_R(a, x, y) |
| #define | SCALE_COL_F32(A, ROW, v, i, aRows, aCols) |
| #define | SCALE_COL_F64(A, ROW, v, i, aRows, aCols) |
| #define | F32_TO_Q7(val) |
| | Convert F32 to Q7 format This will use saturating arithmetic.
|
| #define | F32_TO_Q15(val) |
| | Convert F32 to Q15 format This will use saturating arithmetic.
|
| #define | F32_TO_Q31(val) |
| | Convert F32 to Q31 format This will use saturating arithmetic.
|
| #define | Q7_TO_F32(val) |
| | Convert Q7 to F32 format.
|
| #define | Q15_TO_F32(val) |
| | Convert Q15 to F32 format.
|
| #define | Q31_TO_F32(val) |
| | Convert Q31 to F32 format.
|
| #define | F64_TO_Q7(val) |
| | Convert F64 to Q7 format This will use saturating arithmetic.
|
| #define | F64_TO_Q15(val) |
| | Convert F64 to Q15 format This will use saturating arithmetic.
|
| #define | F64_TO_Q31(val) |
| | Convert F64 to Q31 format This will use saturating arithmetic.
|
| #define | Q7_TO_F64(val) |
| | Convert Q7 to F64 format.
|
| #define | Q15_TO_F64(val) |
| | Convert Q15 to F64 format.
|
| #define | Q31_TO_F64(val) |
| | Convert Q31 to F64 format.
|
|
| typedef long double | f128_t |
| | 128-bit floating-point type definition.
|
| typedef double | f64_t |
| | 64-bit floating-point type definition.
|
| typedef float | f32_t |
| | 32-bit floating-point type definition.
|
| typedef int64_t | q63_t |
| | 64-bit fractional data type in 1.63 format.
|
| typedef int32_t | q31_t |
| | 32-bit fractional data type in 1.31 format.
|
| typedef int16_t | q15_t |
| | 16-bit fractional data type in 1.15 format.
|
| typedef int8_t | q7_t |
| | 8-bit fractional data type in 1.7 format.
|
| typedef int16_t | q1_14_t |
| | 16-bit fractional data type in 2.14 format.
|
| typedef int16_t | q2_13_t |
| | 16-bit fractional data type in 3.13 format.
|
| typedef int16_t | q3_12_t |
| | 16-bit fractional data type in 4.12 format.
|
| typedef int16_t | q4_11_t |
| | 16-bit fractional data type in 5.11 format.
|
| typedef int16_t | q5_10_t |
| | 16-bit fractional data type in 6.10 format.
|
| typedef int16_t | q6_9_t |
| | 16-bit fractional data type in 7.9 format.
|
| typedef int32_t | q1_30_t |
| | 32-bit fractional data type in 2.30 format.
|
| typedef int32_t | q2_29_t |
| | 32-bit fractional data type in 3.29 format.
|
| typedef int32_t | q3_28_t |
| | 32-bit fractional data type in 4.28 format.
|
| typedef int32_t | q4_27_t |
| | 32-bit fractional data type in 5.27 format.
|
| typedef int32_t | q5_26_t |
| | 32-bit fractional data type in 6.26 format.
|
| typedef int32_t | q6_25_t |
| | 32-bit fractional data type in 7.25 format.
|
| typedef int32_t | q7_24_t |
| | 32-bit fractional data type in 8.24 format.
|
| typedef int32_t | q17_14_t |
| | 32-bit fractional data type in 18.14 format.
|
| typedef int64_t | q1_62_t |
| | 64-bit fractional data type in 2.62 format.
|
| typedef int64_t | q15_48_t |
| | 64-bit fractional data type in 16.48 format.
|
| typedef int64_t | q33_30_t |
| | 64-bit fractional data type in 34.30 format.
|
| typedef enum tpt_status_e | tpt_status |
| | Error status returned by some functions in the library.
|
| typedef struct tpt_linear_interpolate_f32_s | tpt_linear_interpolate_f32_t |
| | Instance structure for the floating-point Linear Interpolate function.
|
| typedef struct tpt_bilinear_interpolate_f32_s | tpt_bilinear_interpolate_f32_t |
| | Instance structure for the floating-point bilinear interpolation function.
|
| typedef struct tpt_bilinear_interpolate_q7_s | tpt_bilinear_interpolate_q7_t |
| | Instance structure for the Q7 bilinear interpolation function.
|
| typedef struct tpt_bilinear_interpolate_q15_s | tpt_bilinear_interpolate_q15_t |
| | Instance structure for the Q15 bilinear interpolation function.
|
| typedef struct tpt_bilinear_interpolate_q31_s | tpt_bilinear_interpolate_q31_t |
| | Instance structure for the Q31 bilinear interpolation function.
|
|
| static q7_t | clip_q63_to_q7 (q63_t x) |
| | Clips Q63 to Q7 values.
|
| static q15_t | clip_q63_to_q15 (q63_t x) |
| | Clips Q63 to Q15 values.
|
| static q31_t | clip_q63_to_q31 (q63_t x) |
| | Clips Q63 to Q31 values.
|
| static q7_t | clip_q31_to_q7 (q31_t x) |
| | Clips Q31 to Q7 values.
|
| static q15_t | clip_q31_to_q15 (q31_t x) |
| | Clips Q31 to Q15 values.
|
| static q7_t | clip_q15_to_q7 (q15_t x) |
| | Clips Q15 to Q7 values.
|
| static uint8_t | __DSP_CLZ (uint32_t aData) |
| static uint8_t | __CLZ32 (uint32_t aData) |
| static q63_t | mult32x64 (q63_t x, q31_t y) |
| | Multiplies 32 X 64 and returns 32 bit result in 2.30 format.
|
| static q31_t | mult32x32_keep32 (q31_t acc, q31_t x, q31_t y) |
| | Multiplies 32 X 32 and returns 32 bit result in 1.31 format.
|
| static int32_t | __TPT_SSAT (int32_t aValue, uint32_t aBits) |
| static uint32_t | __QADD8 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __QSUB8 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __QADD16 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SHADD16 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __QSUB16 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SHSUB16 (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __QASX (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SHASX (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __QSAX (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SHSAX (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SMUSDX (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SMUADX (uint32_t aValue1, uint32_t aValue2) |
| static int32_t | __QADD (int32_t aValue1, int32_t aValue2) |
| static int32_t | __QSUB (int32_t aValue1, int32_t aValue2) |
| static uint32_t | __SMLAD (uint32_t aValue1, uint32_t aValue2, uint32_t aSum) |
| static uint32_t | __SMLADX (uint32_t aValue1, uint32_t aValue2, uint32_t aSum) |
| static uint32_t | __SMLSDX (uint32_t aValue1, uint32_t aValue2, uint32_t aSum) |
| static uint64_t | __SMLALD (uint32_t aValue1, uint32_t aValue2, uint32_t aSum) |
| static uint64_t | __SMLALDX (uint32_t aValue1, uint32_t aValue2, uint64_t aSum) |
| static uint32_t | __SMUAD (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SMUSD (uint32_t aValue1, uint32_t aValue2) |
| static uint32_t | __SXTB16 (uint32_t aValue) |
| static int32_t | __SMMLA (uint32_t aValue1, uint32_t aValue2, int32_t aSum) |
| static f32_t | tpt_linear_interpolate_f32 (tpt_linear_interpolate_f32_t *aFunction, f32_t aX) |
| | Process function for the floating-point Linear Interpolation Function.
|
| static q31_t | tpt_linear_interpolate_q31 (q31_t *pYData, q31_t aX, uint32_t nValues) |
| | Process function for the Q31 Linear Interpolation Function.
|
| static q15_t | tpt_linear_interpolate_q15 (q15_t *pYData, q31_t aX, uint32_t nValues) |
| | Process function for the Q15 Linear Interpolation Function.
|
| static q7_t | tpt_linear_interpolate_q7 (q7_t *pYData, q31_t aX, uint32_t nValues) |
| | Process function for the Q7 Linear Interpolation Function.
|
| static f32_t | tpt_bilinear_interpolate_f32 (const tpt_bilinear_interpolate_f32_t *aFunction, f32_t aX, f32_t aY) |
| | Floating-point bilinear interpolation.
|
| static q31_t | tpt_bilinear_interpolate_q31 (tpt_bilinear_interpolate_q31_t *aFunction, q31_t aX, q31_t aY) |
| | Q31 bilinear interpolation.
|
| static q15_t | tpt_bilinear_interpolate_q15 (tpt_bilinear_interpolate_q15_t *aFunction, q31_t aX, q31_t aY) |
| | Q15 bilinear interpolation.
|
| static q7_t | tpt_bilinear_interpolate_q7 (tpt_bilinear_interpolate_q7_t *aFunction, q31_t aX, q31_t aY) |
| | Q7 bilinear interpolation.
|