Searched refs:avg_pulse (Results 1 – 3 of 3) sorted by relevance
1615 avg_pulse = avgp[i] - jitter; in fdi2_decode()1647 avg_pulse += jitter; in fdi2_decode()1648 if ((avg_pulse < min_pulse) || (avg_pulse > max_pulse)) { in fdi2_decode()1653 if (avg_pulse < ref_pulse) in fdi2_decode()1655 pulse += avg_pulse - ref_pulse; in fdi2_decode()1660 avg_pulse = avgp[i]; in fdi2_decode()1671 avg_pulse -= (randval * (avg_pulse - min_pulse)) / RAND_MAX; in fdi2_decode()1680 avg_pulse += (randval * (max_pulse - avg_pulse)) / RAND_MAX; in fdi2_decode()1682 if ((avg_pulse > ref_pulse) && (avg_pulse < (avgp[nexti] - jitter))) { in fdi2_decode()1683 pulse += avg_pulse - ref_pulse; in fdi2_decode()[all …]
1619 avg_pulse = avgp[i] - jitter; in fdi2_decode()1651 avg_pulse += jitter; in fdi2_decode()1652 if ((avg_pulse < min_pulse) || (avg_pulse > max_pulse)) { in fdi2_decode()1657 if (avg_pulse < ref_pulse) in fdi2_decode()1659 pulse += avg_pulse - ref_pulse; in fdi2_decode()1664 avg_pulse = avgp[i]; in fdi2_decode()1675 avg_pulse -= (randval * (avg_pulse - min_pulse)) / UAE_RAND_MAX; in fdi2_decode()1684 avg_pulse += (randval * (max_pulse - avg_pulse)) / UAE_RAND_MAX; in fdi2_decode()1686 if ((avg_pulse > ref_pulse) && (avg_pulse < (avgp[nexti] - jitter))) { in fdi2_decode()1687 pulse += avg_pulse - ref_pulse; in fdi2_decode()[all …]
1613 avg_pulse = avgp[i] - jitter; in fdi2_decode()1645 avg_pulse += jitter; in fdi2_decode()1646 if ((avg_pulse < min_pulse) || (avg_pulse > max_pulse)) { in fdi2_decode()1651 if (avg_pulse < ref_pulse) in fdi2_decode()1653 pulse += avg_pulse - ref_pulse; in fdi2_decode()1658 avg_pulse = avgp[i]; in fdi2_decode()1669 avg_pulse -= (randval * (avg_pulse - min_pulse)) / UAE_RAND_MAX; in fdi2_decode()1678 avg_pulse += (randval * (max_pulse - avg_pulse)) / UAE_RAND_MAX; in fdi2_decode()1680 if ((avg_pulse > ref_pulse) && (avg_pulse < (avgp[nexti] - jitter))) { in fdi2_decode()1681 pulse += avg_pulse - ref_pulse; in fdi2_decode()[all …]