Mercurial > mplayer.hg
view osdep/kerneltwosix.h @ 12698:d2aef091743c
altivec yuv->rgb converter
orginal patch by (Marc Hoffman <mmh at pleasantst dot com>)
critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>)
known bugs/issues, which should be fixed ASAP by someone who has a ppc:
0..255 vs. 16..235
unneeded recalculation of tables
general cleaup, like removing double initalizing of variables
author | michael |
---|---|
date | Sun, 27 Jun 2004 00:07:15 +0000 |
parents | e0b096f0e640 |
children |
line wrap: on
line source
#include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70) #define __KERNEL__ #include <linux/thread_info.h> #include <linux/list.h> #undef __KERNEL__ #endif