summaryrefslogtreecommitdiff
path: root/src/post/goom/goom_config.h
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-01-03 21:29:20 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-01-03 21:29:20 +0000
commit725a7a2631013ae00b8d363069331446eaff4273 (patch)
treee6b7a96ce3b3c05b4d3c92e5113dbb6e26f83097 /src/post/goom/goom_config.h
parentb4bcc7ac8ae797dbe478d42d34839f31bba277dc (diff)
downloadxine-lib-725a7a2631013ae00b8d363069331446eaff4273.tar.gz
xine-lib-725a7a2631013ae00b8d363069331446eaff4273.tar.bz2
Updates to the latest version of Goom
Adds mmx and ppc assembly optimizations. Adds 5 config entries for this post plugin : - frames per second - width - height - usage of assembly optimizations - colorspace conversion method PPc optimizations are not tested. The compiler option -fomit-frame-pointer is disabled. CVS patchset: 3762 CVS date: 2003/01/03 21:29:20
Diffstat (limited to 'src/post/goom/goom_config.h')
-rw-r--r--src/post/goom/goom_config.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/post/goom/goom_config.h b/src/post/goom/goom_config.h
index 948bf8eb0..5d2a1a91f 100644
--- a/src/post/goom/goom_config.h
+++ b/src/post/goom/goom_config.h
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <inttypes.h>
/* #define VERSION "1.9dev5" */
@@ -25,8 +29,14 @@
/* #define STANDALONE */
/* for pc users with mmx processors. */
-/* #define MMX */
-/* #define POWERPC */
+#ifdef ARCH_X86
+#define MMX
+#endif
+
+#ifdef ARCH_PPC
+#define POWERPC
+#endif
+
/* #define VERBOSE */
#ifndef guint32