Lines Matching +full:- +full:t
2 /* ----------------------------------------------------------------------
10 * Target Processor: Cortex-M and Cortex-A cores
11 * -------------------------------------------------------------------- */
13 * Copyright (C) 2010-2022 ARM Limited or its affiliates. All rights reserved.
15 * SPDX-License-Identifier: Apache-2.0
21 * www.apache.org/licenses/LICENSE-2.0
64 const int32_t queryLength = pWindow -> numRows; in arm_dtw_init_window_q7()
65 const int32_t templateLength = pWindow -> numCols; in arm_dtw_init_window_q7()
73 for(int32_t t = 0; t < templateLength; t++) in arm_dtw_init_window_q7() local
75 pWindow->pData[templateLength*q + t] = (q7_t)(abs(q-t) <= windowSize); in arm_dtw_init_window_q7()
85 for(int32_t t = 0; t < templateLength; t++) in arm_dtw_init_window_q7()
87 pWindow->pData[templateLength*q + t] = (q7_t)( in arm_dtw_init_window_q7()
88 (t < 2 * q) && in arm_dtw_init_window_q7()
89 (q <= 2 * t) && in arm_dtw_init_window_q7()
90 (q >= queryLength - 1 - 2 * (templateLength - t)) && in arm_dtw_init_window_q7()
91 (t > templateLength - 1 - 2 * (queryLength - q))); in arm_dtw_init_window_q7()
101 for(int32_t t = 0; t < templateLength; t++) in arm_dtw_init_window_q7() local
104 …pWindow->pData[templateLength*q + t] = (q7_t)(fabsf((float32_t)t - diag) <= (float32_t)windowSize); in arm_dtw_init_window_q7()