Commit a1468721 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

gst/goom/: Small fixes to build more on PPC: ifdef out code that uses unknown...

gst/goom/: Small fixes to build more on PPC: ifdef out code that uses unknown define; add newline at end of header fi...

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.
parent e0ac7c51
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:
......
......@@ -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) {
......
......@@ -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]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment