Searched refs:coeffs_tab (Results 1 – 1 of 1) sorted by relevance
65 float* coeffs_tab = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() local69 coeffs_tab[i * 2] = ((A + 2) * x - (A + 3)) * x * x + 1; in InitCoeffsTable()71 coeffs_tab[i * 2 + 1] = ((A * x - 5 * A) * x + 8 * A) * x - 4 * A; in InitCoeffsTable()73 return coeffs_tab; in InitCoeffsTable()78 static const float* coeffs_tab = InitCoeffsTable(); in GetCoeffsTable() local79 return coeffs_tab; in GetCoeffsTable()94 const float* coeffs_tab = GetCoeffsTable(); in GetWeightsAndIndices() local95 *weights = {{coeffs_tab[offset * 2 + 1], coeffs_tab[offset * 2], in GetWeightsAndIndices()96 coeffs_tab[(kTableSize - offset) * 2], in GetWeightsAndIndices()97 coeffs_tab[(kTableSize - offset) * 2 + 1]}}; in GetWeightsAndIndices()