Home
last modified time | relevance | path

Searched +full:- +full:l (Results 1 – 25 of 94) sorted by relevance

1234

/cmsis-dsp-latest/Source/TransformFunctions/
Darm_cfft_radix2_q31.c1 /* ----------------------------------------------------------------------
4 * Description: Radix-2 Decimation in Frequency CFFT & CIFFT Fixed point processing function
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
56 @brief Processing function for the fixed-point CFFT/CIFFT.
58 @param[in] S points to an instance of the fixed-point CFFT/CIFFT structure
59 …t] pSrc points to the complex data buffer of size <code>2*fftLen</code>. Processing occurs in-place
[all …]
Darm_cfft_radix2_q15.c1 /* ----------------------------------------------------------------------
4 * Description: Radix-2 Decimation in Frequency CFFT & CIFFT Fixed point processing function
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
56 @brief Processing function for the fixed-point CFFT/CIFFT.
58 @param[in] S points to an instance of the fixed-point CFFT/CIFFT structure
59 …t] pSrc points to the complex data buffer of size <code>2*fftLen</code>. Processing occurs in-place
[all …]
Darm_cfft_radix2_f32.c1 /* ----------------------------------------------------------------------
4 * Description: Radix-2 Decimation in Frequency CFFT & CIFFT Floating point processing function
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
58 @brief Radix-2 CFFT/CIFFT.
60 @param[in] S points to an instance of the floating-point Radix-2 CFFT/CIFFT structure
61 …t] pSrc points to the complex data buffer of size <code>2*fftLen</code>. Processing occurs in-place
[all …]
Darm_cfft_radix2_f16.c1 /* ----------------------------------------------------------------------
4 * Description: Radix-2 Decimation in Frequency CFFT & CIFFT Floating point processing function
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
66 @brief Radix-2 CFFT/CIFFT.
68 @param[in] S points to an instance of the floating-point Radix-2 CFFT/CIFFT structure
69 …t] pSrc points to the complex data buffer of size <code>2*fftLen</code>. Processing occurs in-place
[all …]
Darm_cfft_f64.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
44 /* ----------------------------------------------------------------------
46 * ---------------------------------------------------------------------- */
49 * @brief Core function for the Double Precision floating-point CFFT butterfly process.
50 * @param[in, out] *pSrc points to the in-place buffer of F64 data type.
[all …]
Darm_rfft_fast_f16.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
44 const float16_t * pCoeff = S->pTwiddleRFFT; /* Points to RFFT Twiddle factors */ in stage_rfft_f16()
62 k = (S->Sint).fftLen - 1; in stage_rfft_f16()
77 // U2 = XB(1) - XA(1); % It is imaginary in stage_rfft_f16()
80 // real(tw * (xB - xA)) = twR * (xBR - xAR) - twI * (xBI - xAI); in stage_rfft_f16()
[all …]
Darm_rfft_fast_f32.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
39 const float32_t * pCoeff = S->pTwiddleRFFT; /* Points to RFFT Twiddle factors */ in stage_rfft_f32()
52 vecStridesBkwd = -vecStridesFwd; in stage_rfft_f32()
57 k = (S->Sint).fftLen - 1; in stage_rfft_f32()
72 // U2 = XB(1) - XA(1); % It is imaginary in stage_rfft_f32()
[all …]
Darm_cfft_f32.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
102 (0 - 16) * (int32_t)sizeof(q31_t *), in _arm_radix4_butterfly_f32_mve()
103 (1 - 16) * (int32_t)sizeof(q31_t *), in _arm_radix4_butterfly_f32_mve()
104 (8 - 16) * (int32_t)sizeof(q31_t *), in _arm_radix4_butterfly_f32_mve()
105 (9 - 16) * (int32_t)sizeof(q31_t *) in _arm_radix4_butterfly_f32_mve()
[all …]
/cmsis-dsp-latest/Source/FilteringFunctions/
Darm_fir_interpolate_f32.c1 /* ----------------------------------------------------------------------
4 * Description: Floating-point FIR interpolation sequences
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
38 …After upsampling by a factor of <code>L</code>, the signal should be filtered by a lowpass filter …
39 cutoff frequency of <code>1/L</code> in order to eliminate high frequency copies of the spectrum.
43 The upsampler inserts <code>L-1</code> zeros between each sample.
[all …]
Darm_fir_interpolate_q15.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
48 The function is implemented using a 64-bit internal accumulator.
50 … The 2.30 intermediate results are accumulated in a 64-bit accumulator in 34.30 format.
65 q15_t *pState = S->pState; /* State pointer */ in arm_fir_interpolate_q15()
66 const q15_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_fir_interpolate_q15()
[all …]
Darm_fir_interpolate_q31.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
48 The function is implemented using an internal 64-bit accumulator.
51 …r to avoid overflows completely the input signal must be scaled down by <code>1/(numTaps/L)</code>.
52 since <code>numTaps/L</code> additions occur per output sample.
53 …After all multiply-accumulates are performed, the 2.62 accumulator is truncated to 1.32 format and…
[all …]
Darm_fir_interpolate_init_f32.c1 /* ----------------------------------------------------------------------
4 * Description: Floating-point FIR interpolator initialization function
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
41 @brief Initialization function for the floating-point FIR interpolator.
42 @param[in,out] S points to an instance of the floating-point FIR interpolator structure
43 @param[in] L upsample factor
[all …]
Darm_fir_interpolate_init_q15.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
43 @param[in] L upsample factor
49 - \ref ARM_MATH_SUCCESS : Operation successful
50- \ref ARM_MATH_ARGUMENT_ERROR : filter length <code>numTaps</code> is not a multiple of the inter…
56 {b[numTaps-1], b[numTaps-2], b[numTaps-2], ..., b[1], b[0]}
[all …]
Darm_fir_interpolate_init_q31.c1 /* ----------------------------------------------------------------------
9 * Target Processor: Cortex-M and Cortex-A cores
10 * -------------------------------------------------------------------- */
12 * Copyright (C) 2010-2021 ARM Limited or its affiliates. All rights reserved.
14 * SPDX-License-Identifier: Apache-2.0
20 * www.apache.org/licenses/LICENSE-2.0
43 @param[in] L upsample factor
49 - \ref ARM_MATH_SUCCESS : Operation successful
50- \ref ARM_MATH_ARGUMENT_ERROR : filter length <code>numTaps</code> is not a multiple of the inter…
55 {b[numTaps-1], b[numTaps-2], b[numTaps-2], ..., b[1], b[0]}
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/
Dfusion.hpp1 // -*- C++ -*-
259 Scalar const operator[](const index_t i) const {return(this->derived()[i]);} in operator []()
269 Scalar const operator()(const index_t r,const index_t c) const {return(this->derived()(r,c));} in operator ()()
279 Vector const vector_op(const index_t i) const {return(this->derived().vector_op(i));} in vector_op()
289 …Vector const vector_op_tail(const index_t i,const vector_length_t remaining) const {return(this->d… in vector_op_tail()
299 …Vector const matrix_op(const index_t r,const index_t c) const {return(this->derived().matrix_op(r,… in matrix_op()
310 …ndex_t r,const index_t c,const vector_length_t remaining) const {return(this->derived().matrix_op_… in matrix_op_tail()
318 vector_length_t length() const {return(this->derived().length());} in length()
325 vector_length_t rows() const {return(this->derived().rows());} in rows()
332 vector_length_t columns() const {return(this->derived().columns());} in columns()
[all …]
Dvec.hpp1 // -*- C++ -*-
49 template<typename P,int L,
51 struct VecRef<Vector<P,L,A>,(L<0)>
55 … static VectorView<P,1> ref(const Vector<P,L,A>&a,typename std::enable_if<(L<0)>::type* = nullptr){ in ref()
61 template<typename P,int L,
63 struct VecRef<Vector<P,L,A>,(L>0)>
65 typedef const Vector<P,L,A>& type;
66 …static const Vector<P,L,A>& ref(const Vector<P,L,A>&a,typename std::enable_if<(L>0)>::type* = null… in ref()
167 template<typename P,int L,
169 struct traits<Vector<P,L,Allocator>>
[all …]
Dvector_impl.hpp1 // -*- C++ -*-
288 * @tparam L Vector length in number of elements.
293 int L=DYNAMIC,
302 constexpr static vector_length_t vector_size = sizeof(P)*L;
317 Vector():Vector_Base<P>(L,Vector::allocate()){}; in Vector()
326 explicit Vector(P init_val):Vector_Base<P>(L,Vector::allocate(),init_val){ in Vector()
335 * @param l Initialization list
337 Vector(const std::initializer_list<P> &l) in Vector()
338 :Vector_Base<P>(L,Vector::allocate()){ in Vector()
339 std::memcpy(Vector_Base<P>::values_,l.data(),vector_size); in Vector()
[all …]
/cmsis-dsp-latest/Testing/PatternGeneration/
DDebugTools.py6 l = []
15 l.append(r)
16 l = (1.0*np.array(l)) / 2**31
17 #print(l)
18 return(l)
21 l = []
30 l.append(r)
31 l = (1.0*np.array(l)) / 2**15
32 #print(l)
33 return(l)
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/Helium/
Dbasic.hpp1 // -*- C++ -*-
26 * @param[in] l Vector length
38 const vector_length_t l, in _Fill() argument
44 for(i=0;i < l; i += nb_lanes) in _Fill()
46 v.vector_store_tail(i,l-i,inner::vconst_tail(val,inner::vctpq<T>::mk(l-i))); in _Fill()
82 for(; row <= rows-U;row += U) in _Fill2D()
90 … v.matrix_store_tail(row+k,col,cols-col,inner::vconst_tail(val,inner::vctpq<T>::mk(cols-col))); in _Fill2D()
101 … v.matrix_store_tail(row,col,cols-col,inner::vconst_tail(val,inner::vctpq<T>::mk(cols-col))); in _Fill2D()
111 * @param[in] l Vector length
122 const vector_length_t l, in eval() argument
[all …]
/cmsis-dsp-latest/dsppp/
Dprocess.py22 for l in lines:
24 if re.match('Error',l):
31 if re.match(r'^[a-zA-Z]+.*$',l):
32 #print(l)
33 test_name = l.strip("\n")
38 if re.match(r'----',l):
41 if re.match(r'^[a-zA-Z]+.*$',l):
43 test_name = l.strip("\n")
47 dimensions = l.strip("\n")
51 m = re.match(r'Cycle count = ([0-9]+)',l)
[all …]
Dallocator.h44 template<int L>
86 template<int L>
91 current_stats[-sz]++;
92 if (current_stats[-sz]>max_stats[-sz])
94 max_stats[-sz] = current_stats[-sz];
103 current_stats[L]++;
104 if (current_stats[L]>max_stats[L])
106 max_stats[L] = current_stats[L];
108 return(reinterpret_cast<char*>(std::malloc(L)));
112 if (L<0)
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/Scalar/
Dbasic.hpp1 // -*- C++ -*-
20 * @param[in] l Length of vector
33 vector_length_t l, in _Fill() argument
40 for(i=0 ; i <= l-(1<<U); i += (1<<U)) in _Fill()
48 for(; i < l ; i++) in _Fill()
79 for(; row <= rows-(1<<U);row += (1<<U)) in _Fill2D()
107 * @param[in] l Length of expression (number of samples)
117 const vector_length_t l, in eval() argument
123 for(i=0 ; i <= l-(1<<U); i += (1<<U)) in eval()
131 for(; i < l ; i++) in eval()
[all …]
/cmsis-dsp-latest/Testing/
DprocessResult.py68 c = c[n-1]
106 …print("%s%s %s(%s - %d)%s : %s (cycles = %d)" % (ident,message,Style.BRIGHT,func,theId,Style.RESET…
108 … print("%s%s %s(%s - %d)%s : %s" % (ident,message,Style.BRIGHT,func,theId,Style.RESET_ALL,p))
196 self.nb = self.nb - 1
253 if self._hasContent[len(self._hasContent)-1]:
257 self._hasContent[len(self._hasContent)-1] = True
268 print("\"%s\" ->" % (message))
286 if self._hasContent[len(self._hasContent)-1]:
288 …print("<|\"NAME\" -> \"%s\",\"ID\" -> %d,\"STATUS\" -> \"%s\",\"CYCLES\" -> %d,\"PARAMS\" -> \"%s\…
289 self._hasContent[len(self._hasContent)-1] = True
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/DSP/
Dbasic.hpp1 // -*- C++ -*-
29 vector_length_t l, in _Fill() argument
35 for(i=0 ; i <= l-(nb_lanes<<DSP_UNROLL); i += (nb_lanes<<DSP_UNROLL)) in _Fill()
43 for(; i < l ; i++) in _Fill()
63 for(; row <= rows-(1<<DSP_UNROLL);row += (1<<DSP_UNROLL)) in _Fill2D()
67 for(col=0; col <= cols-nb_lanes;col += nb_lanes) in _Fill2D()
88 for(col=0; col <= cols-nb_lanes;col += nb_lanes) in _Fill2D()
111 const vector_length_t l, in eval() argument
119 for(i=0 ; i <= l-(nb_lanes<<U); i += (nb_lanes<<U)) in eval()
127 for(; i < l ; i++) in eval()
[all …]
/cmsis-dsp-latest/dsppp/tests/
Dcmsisdsp.cpp23 uint32_t l) in cmsisdsp_add() argument
26 arm_add_f16(a,b,c,l); in cmsisdsp_add()
34 uint32_t l) in cmsisdsp_add() argument
37 arm_add_f64(a,b,c,l); in cmsisdsp_add()
44 uint32_t l) in cmsisdsp_add() argument
46 arm_add_f32(a,b,c,l); in cmsisdsp_add()
55 uint32_t l) in cmsisdsp_add() argument
60 reinterpret_cast<q31_t*>(c),l); in cmsisdsp_add()
67 uint32_t l) in cmsisdsp_add() argument
72 reinterpret_cast<q15_t*>(c),l); in cmsisdsp_add()
[all …]

1234