Mercurial > mplayer.hg
view etc/cygwin_inttypes.h @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author | rfelker |
---|---|
date | Tue, 12 Aug 2003 08:24:24 +0000 |
parents | 438345c64f3a |
children |
line wrap: on
line source
#ifndef _CYGWIN_INTTYPES_H #define _CYGWIN_INTTYPES_H /* /usr/include/inttypes.h for CYGWIN * Copyleft 2001-2002 by Felix Buenemann * <atmosfear at users.sourceforge.net> * * Should be installed into /usr/include * as inttypes.h */ #if 0 typedef char * caddr_t; typedef char int8_t; typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; typedef int32_t register_t; #else #include <sys/types.h> #endif /* 0/1 */ typedef u_int8_t uint8_t; typedef u_int16_t uint16_t; typedef u_int32_t uint32_t; typedef u_int64_t uint64_t; #endif /* _CYGWIN_INTTYPES_H */