view osdep/timer.h @ 17359:2e4a4dfc5d49

1.1186: Merry Christmas and happy cola-chugging! 1.1185: Adds lavc's brd_scale and updates vb_strategy 1.1184: This cache-seek-min is definitly implemented. The not implemented one got removed... 1.1183: The <=132 frame rule is only valid at MacroBlock level not at frame one. Following it gives worse compression even with IP sequence.(B-Frames doesn't accumulate error) 1.1182: reverse the H264 hack 1.1181: fspp update
author kraymer
date Wed, 11 Jan 2006 22:09:55 +0000
parents f9755d9c479a
children f580a7755ac5
line wrap: on
line source

#ifndef __TIMER_H
#define __TIMER_H

extern const char *timer_name;

void InitTimer();
unsigned int GetTimer();
unsigned int GetTimerMS();
//int uGetTimer();
float GetRelativeTime();

int usec_sleep(int usec_delay);

/* timer's callback handling */
typedef void timer_callback( void );
extern unsigned set_timer_callback(unsigned ms,timer_callback func);
extern void restore_timer(void);

#endif