Home
last modified time | relevance | path

Searched refs:avg_pulse (Results 1 – 3 of 3) sorted by relevance

/dports/emulators/pcem/pcem_emulator-pcem-faf5d6423060/src/
H A Dfdi2raw.c1615 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 …]
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/
H A Dfdi2raw.c1619 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 …]
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dfdi2raw.cpp1613 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 …]