Mercurial > mplayer.hg
view osdep/mmap_anon.h @ 22991:59671a52cc82
New implementation of rgb32tobgr32
The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL
author | ivo |
---|---|
date | Mon, 16 Apr 2007 21:41:03 +0000 |
parents | 2de480457872 |
children | d88f5f82826e |
line wrap: on
line source
#ifndef _OSDEP_MMAP_ANON_H_ #define _OSDEP_MMAP_ANON_H_ #include <sys/types.h> void *mmap_anon(void *, size_t, int, int, off_t); #endif /* _OSDEP_MMAP_ANON_H_ */