diff vp3.c @ 8032:0839f325edb5 libavcodec

MMX VP3 Loop Filter
author conrad
date Fri, 17 Oct 2008 03:18:08 +0000
parents 28d9f91aeb28
children 800444234375
line wrap: on
line diff
--- a/vp3.c	Thu Oct 16 13:34:09 2008 +0000
+++ b/vp3.c	Fri Oct 17 03:18:08 2008 +0000
@@ -229,7 +229,7 @@
     uint16_t huffman_table[80][32][2];
 
     uint8_t filter_limit_values[64];
-    int bounding_values_array[256];
+    DECLARE_ALIGNED_8(int, bounding_values_array[256+2]);
 } Vp3DecodeContext;
 
 /************************************************************************
@@ -533,6 +533,7 @@
         bounding_values[x] = x;
         bounding_values[x + filter_limit] = filter_limit - x;
     }
+    bounding_values[129] = bounding_values[130] = filter_limit * 0x02020202;
 }
 
 /*