Mercurial > libavcodec.hg
diff i386/vp3dsp_sse2.c @ 2753:ba8ecddf5598 libavcodec
adding a few const
author | michael |
---|---|
date | Wed, 01 Jun 2005 21:19:00 +0000 |
parents | 9699d325049d |
children | fd5d7c732c6b |
line wrap: on
line diff
--- a/i386/vp3dsp_sse2.c Wed Jun 01 18:04:01 2005 +0000 +++ b/i386/vp3dsp_sse2.c Wed Jun 01 21:19:00 2005 +0000 @@ -24,7 +24,7 @@ #include "../dsputil.h" #include "mmx.h" -static unsigned short __align16 SSE2_dequant_const[] = +static const unsigned short __align16 SSE2_dequant_const[] = { 0,65535,65535,0,0,0,0,0, // 0x0000 0000 0000 0000 0000 FFFF FFFF 0000 0,0,0,0,65535,65535,0,0, // 0x0000 0000 FFFF FFFF 0000 0000 0000 0000 @@ -35,7 +35,7 @@ 0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000 }; -static unsigned int __align16 eight_data[] = +static const unsigned int __align16 eight_data[] = { 0x00080008, 0x00080008, @@ -43,7 +43,7 @@ 0x00080008 }; -static unsigned short __align16 SSE2_idct_data[7 * 8] = +static const unsigned short __align16 SSE2_idct_data[7 * 8] = { 64277,64277,64277,64277,64277,64277,64277,64277, 60547,60547,60547,60547,60547,60547,60547,60547,