[MPlayer-cvslog] r25967 - in trunk/libswscale: swscale.c yuv2rgb.c
cehoyos
subversion at mplayerhq.hu
Sat Feb 9 23:57:37 CET 2008
Author: cehoyos
Date: Sat Feb 9 23:57:37 2008
New Revision: 25967
Log:
Make dither4 & dither8 const.
Modified:
trunk/libswscale/swscale.c
trunk/libswscale/yuv2rgb.c
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c (original)
+++ trunk/libswscale/swscale.c Sat Feb 9 23:57:37 2008
@@ -194,11 +194,11 @@ static volatile uint64_t attribute_used
static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;
static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
-static uint64_t __attribute__((aligned(8))) dither4[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither4[2])={
0x0103010301030103LL,
0x0200020002000200LL,};
-static uint64_t __attribute__((aligned(8))) dither8[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither8[2])={
0x0602060206020602LL,
0x0004000400040004LL,};
Modified: trunk/libswscale/yuv2rgb.c
==============================================================================
--- trunk/libswscale/yuv2rgb.c (original)
+++ trunk/libswscale/yuv2rgb.c Sat Feb 9 23:57:37 2008
@@ -170,11 +170,11 @@ static volatile uint64_t attribute_used
static volatile uint64_t attribute_used __attribute__((aligned(8))) g6Dither;
static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
-static uint64_t __attribute__((aligned(8))) dither4[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither4[2])={
0x0103010301030103LL,
0x0200020002000200LL,};
-static uint64_t __attribute__((aligned(8))) dither8[2]={
+DECLARE_ASM_CONST(8, uint64_t, dither8[2])={
0x0602060206020602LL,
0x0004000400040004LL,};
More information about the MPlayer-cvslog
mailing list