Home
last modified time | relevance | path

Searched refs:vsync_counter (Results 1 – 25 of 25) sorted by relevance

/dports/devel/allegro/allegro-4.4.3.1/src/dos/
H A Ddtimer.c50 static long vsync_counter; /* retrace position counter */ variable
245 vsync_counter -= timer_delay; in var_timer_handler()
247 if (vsync_counter <= 0) { in var_timer_handler()
266 vsync_counter = vsync_speed - VSYNC_MARGIN; in var_timer_handler()
269 vsync_counter += vsync_speed; in var_timer_handler()
276 if (vsync_counter < new_delay) in var_timer_handler()
277 new_delay = vsync_counter; in var_timer_handler()
401 vsync_counter = vsync_speed; in timer_calibrate_retrace()
418 vsync_counter = vsync_speed = BPS_TO_TIMER(70); in var_timer_simulate_retrace()
439 LOCK_VARIABLE(vsync_counter); in var_timer_init()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/src/
H A Dtimer.c37 static long vsync_counter; /* retrace position counter */ variable
93 vsync_counter -= d; in _handle_timer_tick()
95 while (vsync_counter <= 0) { in _handle_timer_tick()
96 vsync_counter += _vsync_speed; in _handle_timer_tick()
529 vsync_counter = BPS_TO_TIMER(70); in install_timer()
538 LOCK_VARIABLE(vsync_counter); in install_timer()
/dports/emulators/vice/vice-3.5/src/vdc/
H A Dvdctypes.h229 unsigned int vsync_counter; member
H A Dvdc.c560 vdc.vsync_counter = 0; in vdc_raster_draw_alarm_handler()
616 vdc.vsync_counter++; in vdc_raster_draw_alarm_handler()
618 …if (vdc.vsync_counter > vdc.vsync_height) { /* 25 for PAL, 21 for NTSC seems to be about right # o… in vdc_raster_draw_alarm_handler()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/support/
H A Dtime.cpp195 long t = vsync_counter; in uae_deterministic_amiga_time()
/dports/emulators/hatari/hatari-2.2.1/src/cpu/
H A Dcustom.h43 extern unsigned long int hsync_counter, vsync_counter;
H A Dcustom.c42 unsigned long int hsync_counter = 0, vsync_counter = 0; variable
H A Dnewcpu.c7615 vsync_counter = 0;
7686 vsync_counter = 0;
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/
H A Dinputrecord.c126 …ype != INPREC_DEBUG2 && type != INPREC_CIADEBUG) || (0 && vsync_counter >= 49 && vsync_counter <= … in inprec_rstart()
396 vsync_counter = inprec_pu32 (); in inprec_open()
456 inprec_ru32 (vsync_counter); in inprec_open()
H A Dsavestate.c1168 …log (_T("dorewind %d (%010d/%03d) -> %d\n"), replaycounter - 1, hsync_counter, vsync_counter, pos); in savestate_dorewind()
1201 vsync_counter = restore_u32_func (&p); in savestate_rewind()
1289 write_log (_T("state %d restored. (%010d/%03d)\n"), pos, hsync_counter, vsync_counter); in savestate_rewind()
1370 save_u32_func (&p, vsync_counter); in savestate_capture()
1669 replaycounter, hsync_counter, vsync_counter, in savestate_capture()
H A Dcia.c784 write_log (_T("%d\n"), vsync_counter); in CIA_vsync_posthandler()
H A Dcustom.c364 unsigned long hsync_counter = 0, vsync_counter = 0; variable
6441 vsync_counter++; in hsync_handler_pre()
6835 vsync_counter = 0; in custom_reset()
H A Dnewcpu.c4871 vsync_counter = 0; in m68k_go()
4924 vsync_counter = 0; in m68k_go()
/dports/multimedia/mpv/mpv-0.34.1/video/out/
H A Dvo_rpi.c89 int64_t vsync_counter; member
481 int64_t old = p->vsync_counter; in wait_next_vsync()
482 while (old == p->vsync_counter && !p->reload_display) { in wait_next_vsync()
795 p->vsync_counter += 1; in vsync_callback()
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/include/
H A Dcustom.h49 extern unsigned long int hsync_counter, vsync_counter;
/dports/emulators/fs-uae/fs-uae-3.1.35/src/include/
H A Dcustom.h59 extern unsigned long int hsync_counter, vsync_counter;
/dports/emulators/fs-uae/fs-uae-3.1.35/src/od-fs/
H A Dlibamiga.cpp82 void amiga_set_vsync_counter(int vsync_counter) { in amiga_set_vsync_counter() argument
83 g_uae_vsync_counter = vsync_counter; in amiga_set_vsync_counter()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/od-fs/include/uae/
H A Duae.h18 void amiga_set_vsync_counter(int vsync_counter);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/platform/
H A Daspeed-video.c649 int vsync_counter = 0; in aspeed_video_check_and_set_polarity() local
655 vsync_counter--; in aspeed_video_check_and_set_polarity()
657 vsync_counter++; in aspeed_video_check_and_set_polarity()
677 if (vsync_counter < 0) { in aspeed_video_check_and_set_polarity()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/platform/
H A Daspeed-video.c649 int vsync_counter = 0; in aspeed_video_check_and_set_polarity() local
655 vsync_counter--; in aspeed_video_check_and_set_polarity()
657 vsync_counter++; in aspeed_video_check_and_set_polarity()
677 if (vsync_counter < 0) { in aspeed_video_check_and_set_polarity()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/platform/
H A Daspeed-video.c649 int vsync_counter = 0; in aspeed_video_check_and_set_polarity() local
655 vsync_counter--; in aspeed_video_check_and_set_polarity()
657 vsync_counter++; in aspeed_video_check_and_set_polarity()
677 if (vsync_counter < 0) { in aspeed_video_check_and_set_polarity()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dsavestate.cpp1248 …g (_T("dorewind %d (%010ld/%03ld) -> %d\n"), replaycounter - 1, hsync_counter, vsync_counter, pos); in savestate_dorewind()
1304 vsync_counter = restore_u32_func (&p); in savestate_rewind()
1392 write_log (_T("state %d restored. (%010ld/%03ld)\n"), pos, hsync_counter, vsync_counter); in savestate_rewind()
1473 save_u32_func (&p, vsync_counter); in savestate_capture()
1780 replaycounter, hsync_counter, vsync_counter, in savestate_capture()
H A Dinputdevice.cpp3223 if (lastframe != vsync_counter) { in inputdevice_read()
3224 if (vsync_counter == 900) { in inputdevice_read()
3227 else if (vsync_counter == 911) { in inputdevice_read()
3230 else if (vsync_counter == 4929) { in inputdevice_read()
3233 else if (vsync_counter == 4936) { in inputdevice_read()
3236 lastframe = vsync_counter; in inputdevice_read()
H A Dcustom.cpp367 unsigned long hsync_counter = 0, vsync_counter = 0; variable
7662 write_log("%6d vsync_handler_post %08x\n", vsync_counter,
8078 vsync_counter++;
8526 vsync_counter = 0;
H A Dnewcpu.cpp5353 vsync_counter = 0; in m68k_go()
5408 vsync_counter = 0; in m68k_go()