summaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-01-10 10:18:00 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-10 10:18:00 +0000
commitfb83ea6417cb1e897c3f5e32b66d0ba1cc6954c9 (patch)
treeb472d7213330f81a2393ecb66d0f2d4e290414b8 /libpostproc
parent69fdc40db7db5982a0fdb1e13fa9208713345cab (diff)
downloadffmpeg-fb83ea6417cb1e897c3f5e32b66d0ba1cc6954c9.tar.gz
Make MMX vectors constants.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11488 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 4890bf841a..d989a0afd7 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -101,14 +101,14 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//#define NUM_BLOCKS_AT_ONCE 16 //not used yet
#if defined(ARCH_X86)
-static DECLARE_ALIGNED(8, uint64_t attribute_used, w05)= 0x0005000500050005LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, w04)= 0x0004000400040004LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, w20)= 0x0020002000200020LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, b00)= 0x0000000000000000LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, b01)= 0x0101010101010101LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, b02)= 0x0202020202020202LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, b08)= 0x0808080808080808LL;
-static DECLARE_ALIGNED(8, uint64_t attribute_used, b80)= 0x8080808080808080LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, w05)= 0x0005000500050005LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, w04)= 0x0004000400040004LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, w20)= 0x0020002000200020LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, b00)= 0x0000000000000000LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, b01)= 0x0101010101010101LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, b02)= 0x0202020202020202LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, b08)= 0x0808080808080808LL;
+static DECLARE_ALIGNED(8, const uint64_t attribute_used, b80)= 0x8080808080808080LL;
#endif
static const int attribute_used deringThreshold= 20;