changeset 5990:266b2501216a libavcodec

Update tables for RV40 decoder
author kostya
date Thu, 06 Dec 2007 17:12:02 +0000
parents 382aa8b243c5
children e6b68d8df66b
files rv40data.h rv40vlc2.h
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rv40data.h	Thu Dec 06 08:38:49 2007 +0000
+++ b/rv40data.h	Thu Dec 06 17:12:02 2007 +0000
@@ -34,8 +34,7 @@
  */
 //@{
 static const int rv40_standard_widths[]   = { 160, 172, 240, 320, 352, 640, 704, 0};
-static const int rv40_standard_heights[]  = { 120, 132, 144, 240, 288, 480, 0, 0};
-static const int rv40_standard_heights2[] = { 180, 360, 576, 0};
+static const int rv40_standard_heights[]  = { 120, 132, 144, 240, 288, 480, -8, -10, 180, 360, 576, 0};
 //@}
 
 #define MODE2_PATTERNS_NUM 20
--- a/rv40vlc2.h	Thu Dec 06 08:38:49 2007 +0000
+++ b/rv40vlc2.h	Thu Dec 06 17:12:02 2007 +0000
@@ -666,7 +666,7 @@
 
 /** reverse of ptype_vlc_syms */
 static const uint8_t block_num_to_ptype_vlc_num[12] = {
- 0, 1, 2, 3, 0, 0, 0, 0, 4, 5, 0, 6
+ 0, 1, 2, 3, 0, 0, 2, 0, 4, 5, 0, 6
 };
 //@}