diff --git a/src/math/exp_fcn.c b/src/math/exp_fcn.c index 2bace8a430cc..6ada84202212 100644 --- a/src/math/exp_fcn.c +++ b/src/math/exp_fcn.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -258,6 +259,7 @@ int32_t sofm_exp_fixed(int32_t x) return y; } +EXPORT_SYMBOL(sofm_exp_fixed); #endif /* EXPONENTIAL_GENERIC */ @@ -284,3 +286,4 @@ int32_t sofm_db2lin_fixed(int32_t db) arg = (int32_t)Q_MULTSR_32X32((int64_t)db, SOFM_EXP_LOG10_DIV20_Q27, 24, 27, 27); return sofm_exp_fixed(arg); } +EXPORT_SYMBOL(sofm_db2lin_fixed); diff --git a/src/math/exp_fcn_hifi.c b/src/math/exp_fcn_hifi.c index f0a263b76873..10775133e8a4 100644 --- a/src/math/exp_fcn_hifi.c +++ b/src/math/exp_fcn_hifi.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -370,5 +371,6 @@ int32_t sofm_exp_fixed(int32_t x) return y; } +EXPORT_SYMBOL(sofm_exp_fixed); #endif diff --git a/src/math/lut_trig.c b/src/math/lut_trig.c index 5c88b957d413..a40729327932 100644 --- a/src/math/lut_trig.c +++ b/src/math/lut_trig.c @@ -6,6 +6,7 @@ #include #include +#include #include #define SOFM_LUT_SINE_C_Q20 341782638 /* 2 * SINE_NQUART / pi in Q12.20 */ @@ -106,3 +107,4 @@ int16_t sofm_lut_sin_fixed_16b(int32_t w) sine = s0 + q_mults_32x32(frac, delta, Q_SHIFT_BITS_64(31, 16, 16)); /* Q1.16 */ return sat_int16((sine + 1) >> 1); /* Round to Q1.15 */ } +EXPORT_SYMBOL(sofm_lut_sin_fixed_16b);