Home
last modified time | relevance | path

Searched refs:float16_t (Results 1 – 25 of 112) sorted by relevance

12345

/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/CommonTables/
Darm_mve_tables_f16.c50 float16_t rearranged_twiddle_stride1_16_f16[8]={
51 (float16_t)1.00000000000000000000f,(float16_t)0.00000000000000000000f,
52 (float16_t)0.92387953251128673848f,(float16_t)0.38268343236508978178f,
53 (float16_t)0.70710678118654757274f,(float16_t)0.70710678118654757274f,
54 (float16_t)0.38268343236508983729f,(float16_t)0.92387953251128673848f,};
56 float16_t rearranged_twiddle_stride2_16_f16[8]={
57 (float16_t)1.00000000000000000000f,(float16_t)0.00000000000000000000f,
58 (float16_t)0.70710678118654757274f,(float16_t)0.70710678118654757274f,
59 (float16_t)0.00000000000000006123f,(float16_t)1.00000000000000000000f,
60 (float16_t)-0.70710678118654746172f,(float16_t)0.70710678118654757274f,};
[all …]
Darm_common_tables_f16.c71 const float16_t twiddleCoefF16_16[32] = {
72 (float16_t)1.000000000f, (float16_t)0.000000000f,
73 (float16_t)0.923879533f, (float16_t)0.382683432f,
74 (float16_t)0.707106781f, (float16_t)0.707106781f,
75 (float16_t)0.382683432f, (float16_t)0.923879533f,
76 (float16_t)0.000000000f, (float16_t)1.000000000f,
77 (float16_t)-0.382683432f, (float16_t)0.923879533f,
78 (float16_t)-0.707106781f, (float16_t)0.707106781f,
79 (float16_t)-0.923879533f, (float16_t)0.382683432f,
80 (float16_t)-1.000000000f, (float16_t)0.000000000f,
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/
Dsvm_functions_f16.h67 __STATIC_INLINE float16_t arm_exponent_f16(float16_t x, int32_t nb) in arm_exponent_f16()
69 float16_t r = x; in arm_exponent_f16()
87 float16_t intercept; /**< Intercept */
88 const float16_t *dualCoefficients; /**< Dual coefficients */
89 const float16_t *supportVectors; /**< Support vectors */
101 float16_t intercept; /**< Intercept */
102 const float16_t *dualCoefficients; /**< Dual coefficients */
103 const float16_t *supportVectors; /**< Support vectors */
106 float16_t coef0; /**< Polynomial constant */
107 float16_t gamma; /**< Gamma factor */
[all …]
Dstatistics_functions_f16.h53 const float16_t * pSrc,
55 float16_t * pResult);
64 const float16_t * pSrc,
66 float16_t * pResult);
75 const float16_t * pSrc,
77 float16_t * pResult);
86 const float16_t * pSrc,
88 float16_t * pResult);
97 const float16_t * pSrc,
99 float16_t * pResult);
[all …]
Dfiltering_functions_f16.h50float16_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
51 …const float16_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. …
65 const float16_t * pCoeffs,
66 float16_t * pState,
78 const float16_t * pSrc,
79 float16_t * pDst,
89float16_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
90 …const float16_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
99float16_t coeffs[12][8]; /**< Points to the array of modified coefficients. The array is of lengt…
112 const float16_t * pSrc,
[all …]
Ddistance_functions_f16.h63 float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
73 float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
88 float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
99 float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
110 float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
123 float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize);
135 float16_t arm_cosine_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
157 float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB,uint32_t blockSize…
172 float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32…
Dbasic_math_functions_f16.h53 const float16_t * pSrcA,
54 const float16_t * pSrcB,
55 float16_t * pDst,
66 const float16_t * pSrcA,
67 const float16_t * pSrcB,
68 float16_t * pDst,
79 const float16_t * pSrc,
80 float16_t scale,
81 float16_t * pDst,
91 const float16_t * pSrc,
[all …]
Dcomplex_math_functions_f16.h51 const float16_t * pSrc,
52 float16_t * pDst,
62 const float16_t * pSrc,
63 float16_t * pDst,
73 const float16_t * pSrc,
74 float16_t * pDst,
86 const float16_t * pSrcA,
87 const float16_t * pSrcB,
89 float16_t * realResult,
90 float16_t * imagResult);
[all …]
Dsupport_functions_f16.h49 void arm_copy_f16(const float16_t * pSrc, float16_t * pDst, uint32_t blockSize);
57 void arm_fill_f16(float16_t value, float16_t * pDst, uint32_t blockSize);
65 void arm_f16_to_q15(const float16_t * pSrc, q15_t * pDst, uint32_t blockSize);
73 void arm_q15_to_f16(const q15_t * pSrc, float16_t * pDst, uint32_t blockSize);
82 void arm_float_to_f16(const float32_t * pSrc, float16_t * pDst, uint32_t blockSize);
90 void arm_f16_to_float(const float16_t * pSrc, float32_t * pDst, uint32_t blockSize);
102 float16_t arm_weighted_sum_f16(const float16_t *in
103 , const float16_t *weigths
118 void arm_barycenter_f16(const float16_t *in
119 , const float16_t *weights
[all …]
Dtransform_functions_f16.h54 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
58 float16_t onebyfftLen; /**< value of 1/fftLen. */
69 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
73 float16_t onebyfftLen; /**< value of 1/fftLen. */
82 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
89 …const float16_t *rearranged_twiddle_stride1; /**< reordered twiddle offset 1 storage */ …
90 …const float16_t *rearranged_twiddle_stride2; /**< reordered twiddle offset 2 storage */ …
91 const float16_t *rearranged_twiddle_stride3;
102 float16_t * p1,
113 const float16_t * pTwiddleRFFT; /**< Twiddle factors real stage */
[all …]
Dinterpolation_functions_f16.h46 float16_t x1; /**< x1 */
47 float16_t xSpacing; /**< xSpacing */
48 float16_t *pYData; /**< pointer to the table of Y values */
58 float16_t *pData; /**< points to the data table. */
73 float16_t arm_linear_interp_f16(
75 float16_t x);
93 float16_t arm_bilinear_interp_f16(
95 float16_t X,
96 float16_t Y);
Dfast_math_functions_f16.h60 float16_t in, in arm_sqrt_f16()
61 float16_t * pOut) in arm_sqrt_f16()
66 *pOut=(float16_t)r; in arm_sqrt_f16()
83 const float16_t * pSrc,
84 float16_t * pDst,
95 const float16_t * pSrc,
96 float16_t * pDst,
107 const float16_t * pSrc,
108 float16_t * pDst,
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Include/
Darm_common_tables_f16.h44 extern const float16_t twiddleCoefF16_16[32];
48 extern const float16_t twiddleCoefF16_32[64];
52 extern const float16_t twiddleCoefF16_64[128];
56 extern const float16_t twiddleCoefF16_128[256];
60 extern const float16_t twiddleCoefF16_256[512];
64 extern const float16_t twiddleCoefF16_512[1024];
68 extern const float16_t twiddleCoefF16_1024[2048];
72 extern const float16_t twiddleCoefF16_2048[4096];
76 extern const float16_t twiddleCoefF16_4096[8192];
82 extern const float16_t twiddleCoefF16_rfft_32[32];
[all …]
Darm_mve_tables_f16.h52 extern float16_t rearranged_twiddle_stride1_16_f16[8];
53 extern float16_t rearranged_twiddle_stride2_16_f16[8];
54 extern float16_t rearranged_twiddle_stride3_16_f16[8];
62 extern float16_t rearranged_twiddle_stride1_64_f16[40];
63 extern float16_t rearranged_twiddle_stride2_64_f16[40];
64 extern float16_t rearranged_twiddle_stride3_64_f16[40];
72 extern float16_t rearranged_twiddle_stride1_256_f16[168];
73 extern float16_t rearranged_twiddle_stride2_256_f16[168];
74 extern float16_t rearranged_twiddle_stride3_256_f16[168];
82 extern float16_t rearranged_twiddle_stride1_1024_f16[680];
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_f16.c40 static float16_t arm_inverse_fft_length_f16(uint16_t fftLen) in arm_inverse_fft_length_f16()
42 float16_t retValue=1.0; in arm_inverse_fft_length_f16()
48 retValue = (float16_t)0.000244140625f; in arm_inverse_fft_length_f16()
52 retValue = (float16_t)0.00048828125f; in arm_inverse_fft_length_f16()
56 retValue = (float16_t)0.0009765625f; in arm_inverse_fft_length_f16()
60 retValue = (float16_t)0.001953125f; in arm_inverse_fft_length_f16()
64 retValue = (float16_t)0.00390625f; in arm_inverse_fft_length_f16()
68 retValue = (float16_t)0.0078125f; in arm_inverse_fft_length_f16()
72 retValue = (float16_t)0.015625f; in arm_inverse_fft_length_f16()
76 retValue = (float16_t)0.03125f; in arm_inverse_fft_length_f16()
[all …]
Darm_rfft_fast_f16.c39 float16_t * p, in stage_rfft_f16()
40 float16_t * pOut) in stage_rfft_f16()
43 float16_t twR, twI; /* RFFT Twiddle coefficients */ in stage_rfft_f16()
44 const float16_t * pCoeff = S->pTwiddleRFFT; /* Points to RFFT Twiddle factors */ in stage_rfft_f16()
45 float16_t *pA = p; /* increasing pointer */ in stage_rfft_f16()
46 float16_t *pB = p; /* decreasing pointer */ in stage_rfft_f16()
47 float16_t xAR, xAI, xBR, xBI; /* temporary variables */ in stage_rfft_f16()
48 float16_t t1a, t1b; /* temporary variables */ in stage_rfft_f16()
49 float16_t p0, p1, p2, p3; /* temporary variables */ in stage_rfft_f16()
199 float16_t * p, in merge_rfft_f16()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/
Darm_biquad_cascade_df1_init_f16.c81 const float16_t * pCoeffs, in arm_biquad_cascade_df1_init_f16()
82 float16_t * pState) in arm_biquad_cascade_df1_init_f16()
91 memset(pState, 0, (4U * (uint32_t) numStages) * sizeof(float16_t)); in arm_biquad_cascade_df1_init_f16()
99 static void generateCoefsFastBiquadF16(float16_t b0, float16_t b1, float16_t b2, float16_t a1, floa… in generateCoefsFastBiquadF16()
126 newCoef->coeffs[i][0] = (float16_t) coeffs[0][i]; in generateCoefsFastBiquadF16()
127 newCoef->coeffs[i][1] = (float16_t) coeffs[1][i]; in generateCoefsFastBiquadF16()
128 newCoef->coeffs[i][2] = (float16_t) coeffs[2][i]; in generateCoefsFastBiquadF16()
129 newCoef->coeffs[i][3] = (float16_t) coeffs[3][i]; in generateCoefsFastBiquadF16()
130 newCoef->coeffs[i][4] = (float16_t) coeffs[4][i]; in generateCoefsFastBiquadF16()
131 newCoef->coeffs[i][5] = (float16_t) coeffs[5][i]; in generateCoefsFastBiquadF16()
[all …]
Darm_correlate_f16.c104float16_t const *pSrcX, *pSrcY; \
110 … pSrcX = (float16_t const *) pX; \
111 … pSrcY = (float16_t const *) pY; \
143float16_t const *pSrcX, *pSrcY; \
148 … pSrcX = (float16_t const *) pX; \
149 … pSrcY = (float16_t const *) pY; \
175float16_t const *pSrcX, *pSrcY; \
183 … pSrcX = (float16_t const *) pX; \
184 … pSrcY = (float16_t const *) pY; \
225float16_t const *pSrcX, *pSrcY; \
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_vec_mult_f16.c57 const float16_t *pSrcVec, in arm_mat_vec_mult_f16()
58 float16_t *pDstVec) in arm_mat_vec_mult_f16()
62 const float16_t *pSrcA = pSrcMat->pData; in arm_mat_vec_mult_f16()
63 const float16_t *pInA0; in arm_mat_vec_mult_f16()
64 const float16_t *pInA1; in arm_mat_vec_mult_f16()
65 float16_t *px; in arm_mat_vec_mult_f16()
77 const float16_t *pInA2, *pInA3; in arm_mat_vec_mult_f16()
78 float16_t const *pSrcA0Vec, *pSrcA1Vec, *pSrcA2Vec, *pSrcA3Vec, *pInVec; in arm_mat_vec_mult_f16()
80 float16_t const *pSrcVecPtr = pSrcVec; in arm_mat_vec_mult_f16()
168 float16_t const *pSrcA0Vec, *pSrcA1Vec, *pInVec; in arm_mat_vec_mult_f16()
[all …]
Darm_mat_mult_f16.c65 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_f16_2x2_mve()
75 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_2x2_mve()
79 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_2x2_mve()
94 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_2x2_mve()
102 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_2x2_mve()
134 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_f16_3x3_mve()
145 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_3x3_mve()
149 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_3x3_mve()
164 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_3x3_mve()
172 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_3x3_mve()
[all …]
Darm_mat_cmplx_mult_f16.c71 float16_t const *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_cmplx_mult_f16_2x2_mve()
72 float16_t *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_cmplx_mult_f16_2x2_mve()
73 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_cmplx_mult_f16_2x2_mve()
75 float16_t *pInA0 = pInA; in arm_mat_cmplx_mult_f16_2x2_mve()
96 pInB = (float16_t const *)pSrcB->pData; in arm_mat_cmplx_mult_f16_2x2_mve()
144 float16_t const *pInB = pSrcB->pData; /* input data matrix pointer B */ in arm_mat_cmplx_mult_f16_3x3_mve()
145 float16_t *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_cmplx_mult_f16_3x3_mve()
146 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_cmplx_mult_f16_3x3_mve()
148 float16_t *pInA0 = pInA; in arm_mat_cmplx_mult_f16_3x3_mve()
149 float16_t *pInA1 = pInA0 + CMPLX_DIM * MATRIX_DIM; in arm_mat_cmplx_mult_f16_3x3_mve()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/BayesFunctions/
Darm_gaussian_naive_bayes_predict_f16.c61 const float16_t * in, in arm_gaussian_naive_bayes_predict_f16()
62 float16_t *pOutputProbabilities, in arm_gaussian_naive_bayes_predict_f16()
63 float16_t *pBufferB in arm_gaussian_naive_bayes_predict_f16()
67 const float16_t *pTheta = S->theta; in arm_gaussian_naive_bayes_predict_f16()
68 const float16_t *pSigma = S->sigma; in arm_gaussian_naive_bayes_predict_f16()
69 float16_t *buffer = pOutputProbabilities; in arm_gaussian_naive_bayes_predict_f16()
70 const float16_t *pIn = in; in arm_gaussian_naive_bayes_predict_f16()
71 float16_t result; in arm_gaussian_naive_bayes_predict_f16()
76 float16_t *logclassPriors=pBufferB; in arm_gaussian_naive_bayes_predict_f16()
77 float16_t *pLogPrior = logclassPriors; in arm_gaussian_naive_bayes_predict_f16()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/
Darm_barycenter_f16.c67 void arm_barycenter_f16(const float16_t *in, in arm_barycenter_f16()
68 const float16_t *weights, in arm_barycenter_f16()
69 float16_t *out, in arm_barycenter_f16()
73 const float16_t *pIn, *pW; in arm_barycenter_f16()
74 const float16_t *pIn1, *pIn2, *pIn3, *pIn4; in arm_barycenter_f16()
75 float16_t *pOut; in arm_barycenter_f16()
77 float16_t accum, w; in arm_barycenter_f16()
101 float16_t w1, w2, w3, w4; in arm_barycenter_f16()
112 outV = vld1q((const float16_t *) pOut); in arm_barycenter_f16()
194 tmp = vld1q((const float16_t *) pOut); in arm_barycenter_f16()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/
Darm_var_f16.c58 const float16_t * pSrc, in arm_var_f16()
60 float16_t * pResult) in arm_var_f16()
64 f16x8_t sumVec = vdupq_n_f16((float16_t) 0.0); in arm_var_f16()
65 float16_t fMean; in arm_var_f16()
88 vecSrc = vldrhq_z_f16((float16_t const *) pSrc, p); in arm_var_f16()
101 *pResult = vecAddAcrossF16Mve(sumVec) / (float16_t) (blockSize - 1.0f); in arm_var_f16()
106 const float16_t * pSrc, in arm_var_f16()
108 float16_t * pResult) in arm_var_f16()
114 const float16_t * pInput = pSrc; in arm_var_f16()
162 fMean = sum / (float16_t) blockSize; in arm_var_f16()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/
Darm_jensenshannon_distance_f16.c55 __STATIC_INLINE float16_t rel_entr(float16_t x, float16_t y) in rel_entr()
67 float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSiz… in arm_jensenshannon_distance_f16()
70 float16_t tmp; in arm_jensenshannon_distance_f16()
148 float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSiz… in arm_jensenshannon_distance_f16()
151 float16_t result; in arm_jensenshannon_distance_f16()

12345