gst/goom/: Small fixes to build more on PPC: ifdef out code that uses unknown define...
authorTim-Philipp Müller <tim@centricular.net>
Sun, 16 Mar 2008 14:34:45 +0000 (14:34 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Mar 2008 14:34:45 +0000 (14:34 +0000)
Original commit message from CVS:
* gst/goom/plugin_info.c:
* gst/goom/ppc_zoom_ultimate.h:
Small fixes to build more on PPC: ifdef out code that uses unknown
define; add newline at end of header file to avoid compiler warning.
Assembler code still doesn't build though.

ChangeLog
gst/goom/plugin_info.c
gst/goom/ppc_zoom_ultimate.h

index 435dc33..badd5fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-03-16  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/goom/plugin_info.c:
+       * gst/goom/ppc_zoom_ultimate.h:
+         Small fixes to build more on PPC: ifdef out code that uses unknown
+         define; add newline at end of header file to avoid compiler warning.
+         Assembler code still doesn't build though.
+
 2008-03-16  Stefan Kost  <ensonic@users.sf.net>
 
        * gst/avi/gstavidemux.c:
index 1218b78..9d1b0e4 100644 (file)
@@ -64,12 +64,15 @@ setOptimizedMethods (PluginInfo * p)
 #endif
 #endif /* HAVE_CPU_I386 */
 
+/* disable until someone finds out what to use here instead of CPU_OPTION_64_BITS */
+#if 0
 #ifdef HAVE_CPU_PPC64
   if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
 /*            p->methods.create_output_with_brightness = ppc_brightness_G5;        */
     p->methods.zoom_filter = ppc_zoom_generic;
   }
 #endif /* HAVE_CPU_PPC64 */
+#endif
 
 #ifdef HAVE_CPU_PPC
   if ((cpuFlavour & OIL_IMPL_FLAG_ALTIVEC) != 0) {
index d6932e7..b1c6031 100644 (file)
@@ -11,4 +11,5 @@
 void ppc_zoom_generic (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);
 
 /* G4 Specific PowerPC Code (Possible use of Altivec and Data Streams) */
-void ppc_zoom_G4 (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);
\ No newline at end of file
+void ppc_zoom_G4 (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);
+