Lines Matching refs:dot
535 * signals, i.e. the highest dot product between the two), and then
552 float optimal_gain = 0, dot;
559 dot = avpriv_scalarproduct_float_c(in, ptr, size);
560 if (dot > optimal_gain) {
561 optimal_gain = dot;
568 dot = avpriv_scalarproduct_float_c(best_hist_ptr, best_hist_ptr, size);
569 if (dot <= 0) // would be 1.0
572 if (optimal_gain <= dot) {
573 dot = dot / (dot + 0.6 * optimal_gain); // 0.625-1.000
575 dot = 0.625;
579 out[n] = best_hist_ptr[n] + dot * (in[n] - best_hist_ptr[n]);