Searched refs:coeffs_table (Results 1 – 1 of 1) sorted by relevance
43 float* coeffs_table = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() local46 coeffs_table[i * 2] = ((a + 2) * x - (a + 3)) * x * x + 1; in InitCoeffsTable()48 coeffs_table[i * 2 + 1] = ((a * x - 5 * a) * x + 8 * a) * x - 4 * a; in InitCoeffsTable()51 return coeffs_table; in InitCoeffsTable()61 static const float* coeffs_table = InitCoeffsTable(-0.5f); in GetCoeffsTable() local62 return coeffs_table; in GetCoeffsTable()64 static const float* coeffs_table = InitCoeffsTable(-0.75f); in GetCoeffsTable() local65 return coeffs_table; in GetCoeffsTable()94 const float* coeffs_table = GetCoeffsTable(use_keys_cubic); in GetWeightsAndIndices() local104 (out->index_0 == in_loc - 1 ? coeffs_table[offset * 2 + 1] : 0.0f); in GetWeightsAndIndices()[all …]