Searched refs:firstNonZero (Results 1 – 2 of 2) sorted by relevance
118 int firstNonZero = 0; in AddFilter() local119 while (firstNonZero < filterLength && filterValues[firstNonZero] == 0) { in AddFilter()120 firstNonZero++; in AddFilter()123 if (firstNonZero < filterLength) { in AddFilter()130 filterOffset += firstNonZero; in AddFilter()131 filterLength = lastNonZero + 1 - firstNonZero; in AddFilter()134 fFilterValues.append(filterLength, &filterValues[firstNonZero]); in AddFilter()
50 int32_t firstNonZero = 1; in Init() local51 while ((firstNonZero < coefficientsLength) && in Init()52 ((*coefficients)[firstNonZero] == 0)) { in Init()53 firstNonZero++; in Init()55 if (firstNonZero == coefficientsLength) { in Init()58 m_coefficients.SetSize(coefficientsLength - firstNonZero); in Init()59 for (int32_t i = firstNonZero, j = 0; i < coefficientsLength; i++, j++) { in Init()