Lines Matching +full:- +full:a
1 /* ----------------------------------------------------------------------
4 * Description: Mean value of a Q7 vector
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
18 * You may obtain a copy of the License at
20 * www.apache.org/licenses/LICENSE-2.0
41 @brief Mean value of a Q7 vector.
47 The function is implemented using a 32-bit internal accumulator.
48 The input is represented in 1.7 format and is accumulated in a 32-bit
52 Finally, the accumulator is truncated to yield a result of 1.7 format.
76 blkCnt--; in arm_mean_q7()
83 /* C = (A[0] + A[1] + A[2] + ... + A[blockSize-1]) */ in arm_mean_q7()
87 blkCnt--; in arm_mean_q7()
90 /* C = (A[0] + A[1] + A[2] + ... + A[blockSize-1]) / blockSize */ in arm_mean_q7()
109 /* Loop unrolling: Compute 4 outputs at a time */ in arm_mean_q7()
114 /* C = (A[0] + A[1] + A[2] + ... + A[blockSize-1]) */ in arm_mean_q7()
122 blkCnt--; in arm_mean_q7()
137 /* C = (A[0] + A[1] + A[2] + ... + A[blockSize-1]) */ in arm_mean_q7()
141 blkCnt--; in arm_mean_q7()
144 /* C = (A[0] + A[1] + A[2] + ... + A[blockSize-1]) / blockSize */ in arm_mean_q7()