Mercurial > mplayer.hg
view osdep/timer.h @ 11118:344052fdfc4a
Fix colorkey for xvidix, tested on Riva128 4MB X@15/16/24bpp (aka 15/15/32 in nvidia_vid)
This is very cool, using mplayer -vo xvidix -ao oss -framedrop -dr movie.avi I can play
640x272 DivX 1MBps on PII 233, 64MB, i440LX, Riva128 4MB AGP, FreeBSD 5.0, XFree 4.2.0,
with little framedrop,
author | atmos4 |
---|---|
date | Tue, 14 Oct 2003 21:29:25 +0000 |
parents | edfe34c5405d |
children | f9755d9c479a |
line wrap: on
line source
#ifndef __TIMER_H #define __TIMER_H 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