/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_mult_q7.c | 65 q7_t const *pInB = (q7_t const *)pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_q7_2x2_mve() 66 q7_t *pInA = pSrcA->pData; /* input data matrix pointer A */ in arm_mat_mult_q7_2x2_mve() 67 q7_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_q7_2x2_mve() 69 q7_t *pInA0 = pInA; in arm_mat_mult_q7_2x2_mve() 70 q7_t *pInA1 = pInA0 + MATRIX_DIM; in arm_mat_mult_q7_2x2_mve() 87 pOut[0 * MATRIX_DIM] = (q7_t) __SSAT(acc0 >> 7, 8); in arm_mat_mult_q7_2x2_mve() 88 pOut[1 * MATRIX_DIM] = (q7_t) __SSAT(acc1 >> 7, 8); in arm_mat_mult_q7_2x2_mve() 99 pOut[0 * MATRIX_DIM] = (q7_t) __SSAT(acc0 >> 7, 8); in arm_mat_mult_q7_2x2_mve() 100 pOut[1 * MATRIX_DIM] = (q7_t) __SSAT(acc1 >> 7, 8); in arm_mat_mult_q7_2x2_mve() 114 q7_t const *pInB = (q7_t const *)pSrcB->pData; /* input data matrix pointer B */ in arm_mat_mult_q7_3x3_mve() [all …]
|
D | arm_mat_vec_mult_q7.c | 55 const q7_t *pSrcVec, in arm_mat_vec_mult_q7() 56 q7_t *pDstVec) in arm_mat_vec_mult_q7() 58 const q7_t *pMatSrc = pSrcMat->pData; in arm_mat_vec_mult_q7() 59 const q7_t *pMat0, *pMat1; in arm_mat_vec_mult_q7() 62 q7_t *px; in arm_mat_vec_mult_q7() 74 q7_t const *pMat0Vec, *pMat1Vec, *pMat2Vec, *pMat3Vec, *pVec; in arm_mat_vec_mult_q7() 75 const q7_t *pMat2, *pMat3; in arm_mat_vec_mult_q7() 76 q7_t const *pSrcVecPtr = pSrcVec; in arm_mat_vec_mult_q7() 160 q7_t const *pMat0Vec, *pMat1Vec, *pVec; in arm_mat_vec_mult_q7() 161 q7_t const *pSrcVecPtr = pSrcVec; in arm_mat_vec_mult_q7() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_fir_q7.c | 61 const q7_t *pSmp = &pSample[j]; \ 69 *pOutput++ = (q7_t) __SSAT((acc[j] >> 7U), 8); \ 74 q7_t *pState = S->pState; /* State pointer */ \ 75 const q7_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ \ 76 q7_t *pStateCur; /* Points to the current sample of the state */ \ 77 const q7_t *pSamples; /* Temporary pointer to the sample buffer */ \ 78 q7_t *pOutput; /* Temporary pointer to the output buffer */ \ 79 const q7_t *pTempSrc; /* Temporary pointer to the source data */ \ 80 q7_t *pTempDest; /* Temporary pointer to the destination buffer */\ 145 const q7_t * __restrict pSrc, in arm_fir_q7_49_64_mve() [all …]
|
D | arm_conv_q7.c | 65 const q7_t * pSrcA, in arm_conv_q7() 67 const q7_t * pSrcB, in arm_conv_q7() 69 q7_t * pDst) in arm_conv_q7() 71 const q7_t *pIn1 = pSrcA; /* inputA pointer */ in arm_conv_q7() 72 const q7_t *pIn2 = pSrcB; /* inputB pointer */ in arm_conv_q7() 76 const q7_t *pX; in arm_conv_q7() 77 const q7_t *pY; in arm_conv_q7() 78 const q7_t *pA; in arm_conv_q7() 79 const q7_t *pB; in arm_conv_q7() 120 *pDst++ = (q7_t) acc0; in arm_conv_q7() [all …]
|
D | arm_correlate_q7.c | 69 const q7_t * pSrcA, in arm_correlate_q7() 71 const q7_t * pSrcB, in arm_correlate_q7() 73 q7_t * pDst) in arm_correlate_q7() 75 const q7_t *pIn1 = pSrcA; /* inputA pointer */ in arm_correlate_q7() 76 const q7_t *pIn2 = pSrcB + (srcBLen - 1U); /* inputB pointer */ in arm_correlate_q7() 77 const q7_t *pX, *pY; in arm_correlate_q7() 78 const q7_t *pA, *pB; in arm_correlate_q7() 146 *pDst = (q7_t) acc0; in arm_correlate_q7() 148 *pDst = (q7_t) acc1; in arm_correlate_q7() 161 *pDst = (q7_t) acc; in arm_correlate_q7() [all …]
|
D | arm_fir_sparse_q7.c | 61 const q7_t * pSrc, in arm_fir_sparse_q7() 62 q7_t * pDst, in arm_fir_sparse_q7() 63 q7_t * pScratchIn, in arm_fir_sparse_q7() 67 q7_t *pState = S->pState; /* State pointer */ in arm_fir_sparse_q7() 68 const q7_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_sparse_q7() 69 q7_t *px; /* Scratch buffer pointer */ in arm_fir_sparse_q7() 70 q7_t *py = pState; /* Temporary pointers for state buffer */ in arm_fir_sparse_q7() 71 q7_t *pb = pScratchIn; /* Temporary pointers for scratch buffer */ in arm_fir_sparse_q7() 72 q7_t *pOut = pDst; /* Destination pointer */ in arm_fir_sparse_q7() 80 q7_t coeff = *pCoeffs++; /* Read the coefficient value */ in arm_fir_sparse_q7() [all …]
|
D | arm_conv_opt_q7.c | 60 const q7_t * pSrcA, in arm_conv_opt_q7() 62 const q7_t * pSrcB, in arm_conv_opt_q7() 64 q7_t * pDst, in arm_conv_opt_q7() 73 const q7_t *pIn1, *pIn2; /* InputA and inputB pointer */ in arm_conv_opt_q7() 76 const q7_t *px; /* Temporary input1 pointer */ in arm_conv_opt_q7() 77 q7_t *pOut = pDst; /* Output pointer */ in arm_conv_opt_q7() 78 q7_t out0, out1, out2, out3; /* Temporary variables */ in arm_conv_opt_q7() 195 pIn2 = (q7_t *) py; in arm_conv_opt_q7() 298 out0 = (q7_t) (__SSAT(acc0 >> 7U, 8)); in arm_conv_opt_q7() 299 out1 = (q7_t) (__SSAT(acc1 >> 7U, 8)); in arm_conv_opt_q7() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/ |
D | arm_abs_q7.c | 59 const q7_t * pSrc, in arm_abs_q7() 60 q7_t * pDst, in arm_abs_q7() 100 const q7_t * pSrc, in arm_abs_q7() 101 q7_t * pDst, in arm_abs_q7() 105 q7_t in; /* Temporary input variable */ in arm_abs_q7() 119 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() 121 *pDst++ = (in > 0) ? in : ((in == (q7_t) 0x80) ? (q7_t) 0x7f : -in); in arm_abs_q7() 126 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() 128 *pDst++ = (in > 0) ? in : ((in == (q7_t) 0x80) ? (q7_t) 0x7f : -in); in arm_abs_q7() 133 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() [all …]
|
D | arm_negate_q7.c | 56 const q7_t * pSrc, in arm_negate_q7() 57 q7_t * pDst, in arm_negate_q7() 97 const q7_t * pSrc, in arm_negate_q7() 98 q7_t * pDst, in arm_negate_q7() 102 q7_t in; /* Temporary input variable */ in arm_negate_q7() 123 *pDst++ = (in == (q7_t) 0x80) ? (q7_t) 0x7f : -in; in arm_negate_q7() 126 *pDst++ = (in == (q7_t) 0x80) ? (q7_t) 0x7f : -in; in arm_negate_q7() 129 *pDst++ = (in == (q7_t) 0x80) ? (q7_t) 0x7f : -in; in arm_negate_q7() 132 *pDst++ = (in == (q7_t) 0x80) ? (q7_t) 0x7f : -in; in arm_negate_q7() 157 *pDst++ = (q7_t) __QSUB8(0, in); in arm_negate_q7() [all …]
|
D | arm_mult_q7.c | 57 const q7_t * pSrcA, in arm_mult_q7() 58 const q7_t * pSrcB, in arm_mult_q7() 59 q7_t * pDst, in arm_mult_q7() 102 const q7_t * pSrcA, in arm_mult_q7() 103 const q7_t * pSrcB, in arm_mult_q7() 104 q7_t * pDst, in arm_mult_q7() 112 q7_t out1, out2, out3, out4; /* Temporary output variables */ in arm_mult_q7() 124 out1 = (q7_t) __SSAT((((q15_t) (*pSrcA++) * (*pSrcB++)) >> 7), 8); in arm_mult_q7() 125 out2 = (q7_t) __SSAT((((q15_t) (*pSrcA++) * (*pSrcB++)) >> 7), 8); in arm_mult_q7() 126 out3 = (q7_t) __SSAT((((q15_t) (*pSrcA++) * (*pSrcB++)) >> 7), 8); in arm_mult_q7() [all …]
|
D | arm_scale_q7.c | 59 const q7_t * pSrc, in arm_scale_q7() 60 q7_t scaleFract, in arm_scale_q7() 62 q7_t * pDst, in arm_scale_q7() 124 const q7_t * pSrc, in arm_scale_q7() 125 q7_t scaleFract, in arm_scale_q7() 127 q7_t * pDst, in arm_scale_q7() 136 q7_t in1, in2, in3, in4; /* Temporary input variables */ in arm_scale_q7() 137 q7_t out1, out2, out3, out4; /* Temporary output variables */ in arm_scale_q7() 155 out1 = (q7_t) (__SSAT(((in1) * scaleFract) >> kShift, 8)); in arm_scale_q7() 156 out2 = (q7_t) (__SSAT(((in2) * scaleFract) >> kShift, 8)); in arm_scale_q7() [all …]
|
D | arm_offset_q7.c | 57 const q7_t * pSrc, in arm_offset_q7() 58 q7_t offset, in arm_offset_q7() 59 q7_t * pDst, in arm_offset_q7() 99 const q7_t * pSrc, in arm_offset_q7() 100 q7_t offset, in arm_offset_q7() 101 q7_t * pDst, in arm_offset_q7() 126 *pDst++ = (q7_t) __SSAT((q15_t) *pSrc++ + offset, 8); in arm_offset_q7() 127 *pDst++ = (q7_t) __SSAT((q15_t) *pSrc++ + offset, 8); in arm_offset_q7() 128 *pDst++ = (q7_t) __SSAT((q15_t) *pSrc++ + offset, 8); in arm_offset_q7() 129 *pDst++ = (q7_t) __SSAT((q15_t) *pSrc++ + offset, 8); in arm_offset_q7() [all …]
|
D | arm_add_q7.c | 59 const q7_t * pSrcA, in arm_add_q7() 60 const q7_t * pSrcB, in arm_add_q7() 61 q7_t * pDst, in arm_add_q7() 104 const q7_t * pSrcA, in arm_add_q7() 105 const q7_t * pSrcB, in arm_add_q7() 106 q7_t * pDst, in arm_add_q7() 124 *pDst++ = (q7_t) __SSAT ((q15_t) *pSrcA++ + *pSrcB++, 8); in arm_add_q7() 125 *pDst++ = (q7_t) __SSAT ((q15_t) *pSrcA++ + *pSrcB++, 8); in arm_add_q7() 126 *pDst++ = (q7_t) __SSAT ((q15_t) *pSrcA++ + *pSrcB++, 8); in arm_add_q7() 127 *pDst++ = (q7_t) __SSAT ((q15_t) *pSrcA++ + *pSrcB++, 8); in arm_add_q7() [all …]
|
D | arm_sub_q7.c | 57 const q7_t * pSrcA, in arm_sub_q7() 58 const q7_t * pSrcB, in arm_sub_q7() 59 q7_t * pDst, in arm_sub_q7() 102 const q7_t * pSrcA, in arm_sub_q7() 103 const q7_t * pSrcB, in arm_sub_q7() 104 q7_t * pDst, in arm_sub_q7() 122 *pDst++ = (q7_t) __SSAT((q15_t) *pSrcA++ - *pSrcB++, 8); in arm_sub_q7() 123 *pDst++ = (q7_t) __SSAT((q15_t) *pSrcA++ - *pSrcB++, 8); in arm_sub_q7() 124 *pDst++ = (q7_t) __SSAT((q15_t) *pSrcA++ - *pSrcB++, 8); in arm_sub_q7() 125 *pDst++ = (q7_t) __SSAT((q15_t) *pSrcA++ - *pSrcB++, 8); in arm_sub_q7() [all …]
|
D | arm_shift_q7.c | 60 const q7_t * pSrc, in arm_shift_q7() 62 q7_t * pDst, in arm_shift_q7() 105 const q7_t * pSrc, in arm_shift_q7() 107 q7_t * pDst, in arm_shift_q7() 116 q7_t in1, in2, in3, in4; /* Temporary input variables */ in arm_shift_q7() 142 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 143 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 144 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 145 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 200 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7()
|
/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/ |
D | arm_absmin_no_idx_q7.c | 56 const q7_t * pSrc, in arm_absmin_no_idx_q7() 58 q7_t * pResult) in arm_absmin_no_idx_q7() 62 q7_t const *pSrcVec; in arm_absmin_no_idx_q7() 64 q7_t minValue = Q7_ABSMAX; in arm_absmin_no_idx_q7() 68 pSrcVec = (q7_t const *) pSrc; in arm_absmin_no_idx_q7() 109 const q7_t * pSrc, in arm_absmin_no_idx_q7() 111 q7_t * pResult) in arm_absmin_no_idx_q7() 113 … q7_t cur_absmin, out; /* Temporary variables to store the output value. */\ in arm_absmin_no_idx_q7() 119 …out = (out > 0) ? out : (q7_t)__QSUB8(0, out); … in arm_absmin_no_idx_q7() 128 …cur_absmin = (cur_absmin > 0) ? cur_absmin : (q7_t)__QSUB8(0, cur_absmin); … in arm_absmin_no_idx_q7() [all …]
|
D | arm_absmax_no_idx_q7.c | 57 const q7_t * pSrc, in arm_absmax_no_idx_q7() 59 q7_t * pResult) in arm_absmax_no_idx_q7() 63 q7_t const *pSrcVec; in arm_absmax_no_idx_q7() 68 pSrcVec = (q7_t const *) pSrc; in arm_absmax_no_idx_q7() 93 const q7_t * pSrc, in arm_absmax_no_idx_q7() 95 q7_t * pResult) in arm_absmax_no_idx_q7() 97 … q7_t cur_absmax, out; /* Temporary variables to store the output value. */\ in arm_absmax_no_idx_q7() 103 …out = (out > 0) ? out : (q7_t)__QSUB8(0, out); … in arm_absmax_no_idx_q7() 113 …cur_absmax = (cur_absmax > 0) ? cur_absmax : (q7_t)__QSUB8(0, cur_absmax); … in arm_absmax_no_idx_q7() 122 …cur_absmax = (cur_absmax > 0) ? cur_absmax : (q7_t)__QSUB8(0, cur_absmax); … in arm_absmax_no_idx_q7() [all …]
|
D | arm_absmin_q7.c | 57 const q7_t *pSrc, in arm_small_blk_absmin_q7() 59 q7_t *pResult, in arm_small_blk_absmin_q7() 64 q7_t const *pSrcVec; in arm_small_blk_absmin_q7() 66 q7_t minValue = Q7_ABSMAX; in arm_small_blk_absmin_q7() 77 pSrcVec = (q7_t const *) pSrc; in arm_small_blk_absmin_q7() 136 const q7_t * pSrc, in arm_absmin_q7() 138 q7_t * pResult, in arm_absmin_q7() 150 q7_t curBlkExtr = Q7_MAX; in arm_absmin_q7() 158 const q7_t *curSrc = pSrc; in arm_absmin_q7() 192 const q7_t * pSrc, in arm_absmin_q7() [all …]
|
D | arm_absmax_q7.c | 62 const q7_t * pSrc, in arm_small_blk_absmax_q7() 64 q7_t * pResult, in arm_small_blk_absmax_q7() 69 q7_t maxValue = Q7_ABSMIN; in arm_small_blk_absmax_q7() 113 const q7_t * pSrc, in arm_absmax_q7() 115 q7_t * pResult, in arm_absmax_q7() 127 q7_t curBlkExtr = Q7_MIN; in arm_absmax_q7() 135 const q7_t *curSrc = pSrc; in arm_absmax_q7() 168 const q7_t * pSrc, in arm_absmax_q7() 170 q7_t * pResult, in arm_absmax_q7() 173 … q7_t cur_absmax, out; /* Temporary variables to store the output value. */\ in arm_absmax_q7() [all …]
|
D | arm_mse_q7.c | 57 const q7_t * pSrcA, in arm_mse_q7() 58 const q7_t * pSrcB, in arm_mse_q7() 60 q7_t * pResult) in arm_mse_q7() 105 *pResult = (q7_t) __SSAT((q15_t) (sum / blockSize)>>5, 8); in arm_mse_q7() 109 const q7_t * pSrcA, in arm_mse_q7() 110 const q7_t * pSrcB, in arm_mse_q7() 112 q7_t * pResult) in arm_mse_q7() 116 … q7_t inA,inB; /* Temporary variable to store input value */ in arm_mse_q7() 128 inA = (q7_t) __SSAT((q15_t) inA - (q15_t)inB, 8); in arm_mse_q7() 133 inA = (q7_t) __SSAT((q15_t) inA - (q15_t)inB, 8); in arm_mse_q7() [all …]
|
D | arm_max_no_idx_q7.c | 54 const q7_t * pSrc, in arm_max_no_idx_q7() 56 q7_t * pResult) in arm_max_no_idx_q7() 60 q7_t const *pSrcVec; in arm_max_no_idx_q7() 62 q7_t maxValue = Q7_MIN; in arm_max_no_idx_q7() 66 pSrcVec = (q7_t const *) pSrc; in arm_max_no_idx_q7() 107 const q7_t * pSrc, in arm_max_no_idx_q7() 109 q7_t * pResult) in arm_max_no_idx_q7() 111 q7_t maxVal1, out; /* Temporary variables to store the output value. */ in arm_max_no_idx_q7()
|
D | arm_min_no_idx_q7.c | 53 const q7_t * pSrc, in arm_min_no_idx_q7() 55 q7_t * pResult) in arm_min_no_idx_q7() 59 q7_t const *pSrcVec; in arm_min_no_idx_q7() 61 q7_t minValue = Q7_MAX; in arm_min_no_idx_q7() 65 pSrcVec = (q7_t const *) pSrc; in arm_min_no_idx_q7() 105 const q7_t * pSrc, in arm_min_no_idx_q7() 107 q7_t * pResult) in arm_min_no_idx_q7() 109 q7_t minVal1, out; /* Temporary variables to store the output value. */ in arm_min_no_idx_q7()
|
/third_party/cmsis/CMSIS/DSP/Include/dsp/ |
D | basic_math_functions.h | 54 const q7_t * pSrcA, 55 const q7_t * pSrcB, 56 q7_t * pDst, 156 const q7_t * pSrcA, 157 const q7_t * pSrcB, 158 q7_t * pDst, 228 const q7_t * pSrcA, 229 const q7_t * pSrcB, 230 q7_t * pDst, 301 const q7_t * pSrc, [all …]
|
D | statistics_functions.h | 204 const q7_t * pSrc, 216 const q7_t * pSrc, 218 q7_t * pResult); 410 const q7_t * pSrc, 412 q7_t * pResult, 423 const q7_t * pSrc, 425 q7_t * pResult, 435 const q7_t * pSrc, 437 q7_t * pResult); 600 const q7_t * pSrc, [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/ |
D | arm_q31_to_q7.c | 56 q7_t * pDst, in arm_q31_to_q7() 105 *pDst++ = (q7_t) (*pSrcVec++ >> 24); in arm_q31_to_q7() 114 q7_t * pDst, in arm_q31_to_q7() 122 q7_t out1, out2, out3, out4; in arm_q31_to_q7() 133 out1 = (q7_t) (*pIn++ >> 24); in arm_q31_to_q7() 134 out2 = (q7_t) (*pIn++ >> 24); in arm_q31_to_q7() 135 out3 = (q7_t) (*pIn++ >> 24); in arm_q31_to_q7() 136 out4 = (q7_t) (*pIn++ >> 24); in arm_q31_to_q7() 158 *pDst++ = (q7_t) (*pIn++ >> 24); in arm_q31_to_q7()
|