summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-05-27 15:34:01 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-05-27 15:34:01 +0000
commitc26f4de8404d59479a36e9994b84230ebdb46550 (patch)
tree7e0fed85b838f6967a752497d3476831d69be5b2 /src
parentce3c57412188a0edc4d6bd819960bf72bf097e5d (diff)
downloadxine-lib-c26f4de8404d59479a36e9994b84230ebdb46550.tar.gz
xine-lib-c26f4de8404d59479a36e9994b84230ebdb46550.tar.bz2
something tell me this code would not compile on non-x86 architectures...
CVS patchset: 7564 CVS date: 2005/05/27 15:34:01
Diffstat (limited to 'src')
-rw-r--r--src/post/deinterlace/plugins/kdetv_greedyh.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/post/deinterlace/plugins/kdetv_greedyh.c b/src/post/deinterlace/plugins/kdetv_greedyh.c
index 04fbbb82e..dc6aafdf3 100644
--- a/src/post/deinterlace/plugins/kdetv_greedyh.c
+++ b/src/post/deinterlace/plugins/kdetv_greedyh.c
@@ -37,6 +37,8 @@
#include "speedtools.h"
#include "speedy.h"
+#if defined (ARCH_X86) || defined (ARCH_X86_64)
+
#include "greedyhmacros.h"
#define MAXCOMB_DEFAULT 5
@@ -72,12 +74,14 @@ static unsigned int GreedyMotionSense = MOTIONSENSE_DEFAULT;
#undef IS_MMX
#undef FUNCT_NAME
+#endif
static void deinterlace_frame_di_greedyh( uint8_t *output, int outstride,
deinterlace_frame_data_t *data,
int bottom_field, int second_field,
int width, int height )
{
+#if defined (ARCH_X86) || defined (ARCH_X86_64)
if( xine_mm_accel() & MM_ACCEL_X86_MMXEXT ) {
greedyh_filter_sse( output, outstride, data,
bottom_field, second_field,
@@ -91,6 +95,7 @@ static void deinterlace_frame_di_greedyh( uint8_t *output, int outstride,
bottom_field, second_field,
width, height );
}
+#endif
}