X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=modules%2Fvideo_chroma%2Fi420_rgb_mmx.h;h=998e96f8b5a221b62fa81bbe5555e9cffeea8c15;hp=d021dd49e0e79e3760f675a9a149d95d74af3007;hb=41a8349dba161e8704ac76dc5cea23bf13afff80;hpb=eba02c65a872331ab2fd64d30d3ee04b4aaf6338 diff --git a/modules/video_chroma/i420_rgb_mmx.h b/modules/video_chroma/i420_rgb_mmx.h index d021dd49e0..998e96f8b5 100644 --- a/modules/video_chroma/i420_rgb_mmx.h +++ b/modules/video_chroma/i420_rgb_mmx.h @@ -2,7 +2,7 @@ * transforms_yuvmmx.h: MMX YUV transformation assembly ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: i420_rgb_mmx.h,v 1.2 2002/08/08 00:35:11 sam Exp $ + * $Id: i420_rgb_mmx.h,v 1.3 2003/08/29 18:58:05 fenrir Exp $ * * Authors: Olie Lho * Gaƫl Hendryckx @@ -26,19 +26,19 @@ /* hope these constant values are cache line aligned */ #define UNUSED_U64(foo) \ - static const u64 foo __asm__ (#foo) __attribute__((unused)) -UNUSED_U64(mmx_80w) = 0x0080008000800080; -UNUSED_U64(mmx_10w) = 0x1010101010101010; -UNUSED_U64(mmx_00ffw) = 0x00ff00ff00ff00ff; -UNUSED_U64(mmx_Y_coeff) = 0x253f253f253f253f; + static const uint64_t foo __asm__ (#foo) __attribute__((unused)) +UNUSED_U64(mmx_80w) = 0x0080008000800080ULL; +UNUSED_U64(mmx_10w) = 0x1010101010101010ULL; +UNUSED_U64(mmx_00ffw) = 0x00ff00ff00ff00ffULL; +UNUSED_U64(mmx_Y_coeff) = 0x253f253f253f253fULL; -UNUSED_U64(mmx_U_green) = 0xf37df37df37df37d; -UNUSED_U64(mmx_U_blue) = 0x4093409340934093; -UNUSED_U64(mmx_V_red) = 0x3312331233123312; -UNUSED_U64(mmx_V_green) = 0xe5fce5fce5fce5fc; +UNUSED_U64(mmx_U_green) = 0xf37df37df37df37dULL; +UNUSED_U64(mmx_U_blue) = 0x4093409340934093ULL; +UNUSED_U64(mmx_V_red) = 0x3312331233123312ULL; +UNUSED_U64(mmx_V_green) = 0xe5fce5fce5fce5fcULL; -UNUSED_U64(mmx_mask_f8) = 0xf8f8f8f8f8f8f8f8; -UNUSED_U64(mmx_mask_fc) = 0xfcfcfcfcfcfcfcfc; +UNUSED_U64(mmx_mask_f8) = 0xf8f8f8f8f8f8f8f8ULL; +UNUSED_U64(mmx_mask_fc) = 0xfcfcfcfcfcfcfcfcULL; #undef UNUSED_U64 #define MMX_INIT_16 " \n\