diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-27 00:07:15 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-06-27 00:07:15 +0000 |
commit | 56164a0e7a174e9525210134aa7c4594a349db48 (patch) | |
tree | bdc9e3021f7e0c5a5f955f817adbc4aa0f541ba7 /postproc/swscale_internal.h | |
parent | bf8c8c80673f5d1d55c5a418c28ec88d753181b0 (diff) | |
download | mpv-56164a0e7a174e9525210134aa7c4594a349db48.tar.bz2 mpv-56164a0e7a174e9525210134aa7c4594a349db48.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12699 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r-- | postproc/swscale_internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h index 63cc9cd8d8..c6d5a2f974 100644 --- a/postproc/swscale_internal.h +++ b/postproc/swscale_internal.h @@ -132,6 +132,19 @@ typedef struct SwsContext{ int dstW; int esp; uint64_t vRounder __attribute__((aligned(8))); + +#ifdef HAVE_ALTIVEC + + vector signed short CY; + vector signed short CRV; + vector signed short CBU; + vector signed short CGU; + vector signed short CGV; + vector signed short OY; + vector unsigned short CSHIFT; + +#endif + } SwsContext; //FIXME check init (where 0) |