Mercurial > mplayer.hg
view libvo/geometry.h @ 25075:c18499a044ce
Change to a 64 bit accumulation variable instead of shifting.
Changing the way the loop is done is necessary to reduce register pressure.
About 20% speedup even on 32 bit x86.
author | reimar |
---|---|
date | Sun, 18 Nov 2007 18:52:51 +0000 |
parents | 3f0d00abc073 |
children | 917ae737b3d4 |
line wrap: on
line source
/* This file (C) Mark Zealey <mark@zealos.org 2002, released under GPL */ #ifndef GEOMETRY_H #define GEOMETRY_H extern char *vo_geometry; extern int geometry_wh_changed; extern int geometry_xy_changed; int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); #endif /* !GEOMETRY_H */