[FFmpeg-cvslog] r11175 - in trunk/libavcodec: rv40data.h rv40vlc2.h

kostya subversion
Thu Dec 6 18:12:03 CET 2007


Author: kostya
Date: Thu Dec  6 18:12:02 2007
New Revision: 11175

Log:
Update tables for RV40 decoder

Modified:
   trunk/libavcodec/rv40data.h
   trunk/libavcodec/rv40vlc2.h

Modified: trunk/libavcodec/rv40data.h
==============================================================================
--- trunk/libavcodec/rv40data.h	(original)
+++ trunk/libavcodec/rv40data.h	Thu Dec  6 18:12:02 2007
@@ -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

Modified: trunk/libavcodec/rv40vlc2.h
==============================================================================
--- trunk/libavcodec/rv40vlc2.h	(original)
+++ trunk/libavcodec/rv40vlc2.h	Thu Dec  6 18:12:02 2007
@@ -666,7 +666,7 @@ static const uint8_t ptype_vlc_syms[PTYP
 
 /** 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
 };
 //@}
 




More information about the ffmpeg-cvslog mailing list