Lines Matching refs:best

587               const calc_noise_result * const best,
603 if (best->over_count > 0) {
605 better = calc->over_SSD <= best->over_SSD;
606 if (calc->over_SSD == best->over_SSD)
607 better = calc->bits < best->bits;
613 (best->max_noise * 10 + best->bits)));
619 better = calc->over_count < best->over_count
620 || (calc->over_count == best->over_count && calc->over_noise < best->over_noise)
621 || (calc->over_count == best->over_count &&
622 EQ(calc->over_noise, best->over_noise) && calc->tot_noise < best->tot_noise);
629 better = calc->max_noise < best->max_noise;
632 better = calc->tot_noise < best->tot_noise;
635 better = (calc->tot_noise < best->tot_noise)
636 && (calc->max_noise < best->max_noise);
639 better = (calc->max_noise <= 0.0 && best->max_noise > 0.2)
641 best->max_noise < 0.0 &&
642 best->max_noise > calc->max_noise - 0.2 && calc->tot_noise < best->tot_noise)
644 best->max_noise > 0.0 &&
645 best->max_noise > calc->max_noise - 0.2 &&
646 calc->tot_noise < best->tot_noise + best->over_noise)
648 best->max_noise > -0.05 &&
649 best->max_noise > calc->max_noise - 0.1 &&
650 calc->tot_noise + calc->over_noise < best->tot_noise + best->over_noise)
652 best->max_noise > -0.1 &&
653 best->max_noise > calc->max_noise - 0.15 &&
655 best->tot_noise + best->over_noise + best->over_noise);
658 better = calc->over_noise < best->over_noise
659 || (EQ(calc->over_noise, best->over_noise) && calc->tot_noise < best->tot_noise);
662 better = calc->over_noise < best->over_noise
663 || (EQ(calc->over_noise, best->over_noise) &&
664 (calc->max_noise < best->max_noise
665 || (EQ(calc->max_noise, best->max_noise) && calc->tot_noise <= best->tot_noise)
669 better = calc->over_count < best->over_count || calc->over_noise < best->over_noise;
674 if (best->over_count == 0) {
681 better = better && calc->bits < best->bits;
997 * of all scalefactorbands. It computes the best scalefac and
1002 * and chooses best quantization instead of last quantization when
1224 /* best huffman_divide may save some bits too
1284 /* store best quantization so far
1304 /* start again with best quantization so far
1315 * found=1 => we just found the best and left the loop