Lines Matching refs:dot
481 * signals, i.e. the highest dot product between the two), and then
498 float optimal_gain = 0, dot;
505 dot = ff_dot_productf(in, ptr, size);
506 if (dot > optimal_gain) {
507 optimal_gain = dot;
514 dot = ff_dot_productf(best_hist_ptr, best_hist_ptr, size);
515 if (dot <= 0) // would be 1.0
518 if (optimal_gain <= dot) {
519 dot = dot / (dot + 0.6 * optimal_gain); // 0.625-1.000
521 dot = 0.625;
525 out[n] = best_hist_ptr[n] + dot * (in[n] - best_hist_ptr[n]);