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.
This commit is contained in:
Tim-Philipp Müller 2008-03-16 14:34:45 +00:00
parent e0ac7c51f3
commit a146872167
3 changed files with 13 additions and 1 deletions

View file

@ -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:

View 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) {

View 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]);
void ppc_zoom_G4 (int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);