Mercurial > mplayer.hg
annotate osdep/timer.h @ 18971:ec2f6323fda3
Change SRC_PATH for ffmpeg back to '..' to avoid hardcoding current
directory at configure time. This should work again now that libpostproc
is no longer under libavcodec and all Makefiles included from ffmpeg are
at the same directory level.
The hardcoded paths caused breakage if the build directory was moved or
copied after configure and prevented ccache from sharing compilation
results between directories (different absolute include paths count as
different compiler options).
author | uau |
---|---|
date | Sun, 09 Jul 2006 14:06:13 +0000 |
parents | f580a7755ac5 |
children | 88bed2131f19 |
rev | line source |
---|---|
4863 | 1 #ifndef __TIMER_H |
2 #define __TIMER_H | |
1 | 3 |
12954 | 4 extern const char *timer_name; |
5 | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
6 void InitTimer(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
7 unsigned int GetTimer(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
8 unsigned int GetTimerMS(void); |
1 | 9 //int uGetTimer(); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
12954
diff
changeset
|
10 float GetRelativeTime(void); |
1 | 11 |
2266 | 12 int usec_sleep(int usec_delay); |
13 | |
4863 | 14 /* timer's callback handling */ |
15 typedef void timer_callback( void ); | |
16 extern unsigned set_timer_callback(unsigned ms,timer_callback func); | |
17 extern void restore_timer(void); | |
18 | |
19 #endif |