diff postproc/swscale_internal.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 7fb6dbfbc7da
children 1d6892e87a2c
line wrap: on
line diff
--- a/postproc/swscale_internal.h	Sat Jun 26 16:21:22 2004 +0000
+++ b/postproc/swscale_internal.h	Sun Jun 27 00:07:15 2004 +0000
@@ -132,6 +132,19 @@
 	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)