diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-25 14:32:37 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-08-25 14:32:37 +0000 |
commit | 92939d3b6df9165df0d7a25c4214c32401d9131d (patch) | |
tree | 278e8acebbe8f843693d5227906ac6d94dd635ba /src/video_out | |
parent | 8fdcd5444ac7ecd39f7b2323f8afb1440c3b6439 (diff) | |
download | xine-lib-92939d3b6df9165df0d7a25c4214c32401d9131d.tar.gz xine-lib-92939d3b6df9165df0d7a25c4214c32401d9131d.tar.bz2 |
AMD64 support patch by Adrian Schroeter
CVS patchset: 5308
CVS date: 2003/08/25 14:32:37
Diffstat (limited to 'src/video_out')
-rw-r--r-- | src/video_out/deinterlace.c | 12 | ||||
-rw-r--r-- | src/video_out/yuv2rgb.c | 8 | ||||
-rw-r--r-- | src/video_out/yuv2rgb_mmx.c | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/video_out/deinterlace.c b/src/video_out/deinterlace.c index f9f46b675..fe75cee5c 100644 --- a/src/video_out/deinterlace.c +++ b/src/video_out/deinterlace.c @@ -46,7 +46,7 @@ static void deinterlace_bob_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int width, int height ) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) int Line; uint64_t *YVal1; uint64_t *YVal2; @@ -190,7 +190,7 @@ static void deinterlace_bob_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], static int deinterlace_weave_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int width, int height ) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) int Line; uint64_t *YVal1; @@ -389,7 +389,7 @@ static int deinterlace_weave_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], static int deinterlace_greedy_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int width, int height ) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) int Line; int LoopCtr; uint64_t *L1; // ptr to Line1, of 3 @@ -552,7 +552,7 @@ static int deinterlace_greedy_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], static void deinterlace_onefield_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int width, int height ) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) int Line; uint64_t *YVal1; uint64_t *YVal3; @@ -633,7 +633,7 @@ static void deinterlace_onefield_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], static void deinterlace_linearblend_yuv_mmx( uint8_t *pdst, uint8_t *psrc[], int width, int height ) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) int Line; uint64_t *YVal1; uint64_t *YVal2; @@ -753,7 +753,7 @@ static void deinterlace_linearblend_yuv( uint8_t *pdst, uint8_t *psrc[], static int check_for_mmx(void) { -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) static int config_flags = -1; if ( config_flags == -1 ) diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c index ebd18b528..40344d2d7 100644 --- a/src/video_out/yuv2rgb.c +++ b/src/video_out/yuv2rgb.c @@ -23,7 +23,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: yuv2rgb.c,v 1.42 2003/04/23 00:28:04 tchamp Exp $ + * $Id: yuv2rgb.c,v 1.43 2003/08/25 14:32:37 mroi Exp $ */ #include "config.h" @@ -2408,7 +2408,7 @@ static void yuv2rgb_set_csc_levels (yuv2rgb_factory_t *this, entry_size * div_round (cbu * (i-128), 76309)); } -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) mmx_yuv2rgb_set_csc_levels (this, brightness, contrast, saturation); #endif } @@ -3157,7 +3157,7 @@ yuv2rgb_factory_t* yuv2rgb_factory_init (int mode, int swapped, yuv2rgb_factory_t *this; -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) uint32_t mm = xine_mm_accel(); #endif @@ -3182,7 +3182,7 @@ yuv2rgb_factory_t* yuv2rgb_factory_init (int mode, int swapped, */ this->yuv2rgb_fun = NULL; -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) if ((this->yuv2rgb_fun == NULL) && (mm & MM_ACCEL_X86_MMXEXT)) { yuv2rgb_init_mmxext (this); diff --git a/src/video_out/yuv2rgb_mmx.c b/src/video_out/yuv2rgb_mmx.c index d8a9506e4..76992ece6 100644 --- a/src/video_out/yuv2rgb_mmx.c +++ b/src/video_out/yuv2rgb_mmx.c @@ -24,7 +24,7 @@ #include "config.h" -#ifdef ARCH_X86 +#if defined(ARCH_X86) || defined(ARCH_X86_64) #include <stdio.h> #include <stdlib.h> |