Searched refs:bin_i0 (Results 1 – 1 of 1) sorted by relevance
258 const int bin_i0 = (int)floor(bin); in noise_strength_solver_get_value() local259 const int bin_i1 = AOMMIN(solver->num_bins - 1, bin_i0 + 1); in noise_strength_solver_get_value()260 const double a = bin - bin_i0; in noise_strength_solver_get_value()261 return (1.0 - a) * solver->eqns.x[bin_i0] + a * solver->eqns.x[bin_i1]; in noise_strength_solver_get_value()267 const int bin_i0 = (int)floor(bin); in aom_noise_strength_solver_add_measurement() local268 const int bin_i1 = AOMMIN(solver->num_bins - 1, bin_i0 + 1); in aom_noise_strength_solver_add_measurement()269 const double a = bin - bin_i0; in aom_noise_strength_solver_add_measurement()271 solver->eqns.A[bin_i0 * n + bin_i0] += (1.0 - a) * (1.0 - a); in aom_noise_strength_solver_add_measurement()272 solver->eqns.A[bin_i1 * n + bin_i0] += a * (1.0 - a); in aom_noise_strength_solver_add_measurement()274 solver->eqns.A[bin_i0 * n + bin_i1] += a * (1.0 - a); in aom_noise_strength_solver_add_measurement()[all …]