mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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:
parent
e0ac7c51f3
commit
a146872167
3 changed files with 13 additions and 1 deletions
|
@ -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>
|
2008-03-16 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/avi/gstavidemux.c:
|
* gst/avi/gstavidemux.c:
|
||||||
|
|
|
@ -64,12 +64,15 @@ setOptimizedMethods (PluginInfo * p)
|
||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_CPU_I386 */
|
#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
|
#ifdef HAVE_CPU_PPC64
|
||||||
if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
|
if ((cpuFlavour & CPU_OPTION_64_BITS) != 0) {
|
||||||
/* p->methods.create_output_with_brightness = ppc_brightness_G5; */
|
/* p->methods.create_output_with_brightness = ppc_brightness_G5; */
|
||||||
p->methods.zoom_filter = ppc_zoom_generic;
|
p->methods.zoom_filter = ppc_zoom_generic;
|
||||||
}
|
}
|
||||||
#endif /* HAVE_CPU_PPC64 */
|
#endif /* HAVE_CPU_PPC64 */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CPU_PPC
|
#ifdef HAVE_CPU_PPC
|
||||||
if ((cpuFlavour & OIL_IMPL_FLAG_ALTIVEC) != 0) {
|
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]);
|
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) */
|
/* 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]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue