[x264-devel] Re: x264: svn commit r281 (pengvado)

lurui lurui.freesky at gmail.com
Wed Jul 27 03:10:37 CEST 2005


pengvado wrote below:
> update i_mb_b16x8_cost_table[] for I8x8 mb type (r278 only fixed a symptom).
 
The patch file I had made is just as below:

Index: analyse.c
===================================================================
--- analyse.c (revision 277)
+++ analyse.c (working copy)
@@ -152,8 +152,8 @@
 static const int i_mb_b_cost_table[19] = {
     9, 9, 9, 9, 0, 0, 0, 1, 3, 7, 7, 7, 3, 7, 7, 7, 5, 9, 0
 };
-static const int i_mb_b16x8_cost_table[16] = {
-    0, 0, 0, 0, 0, 0, 0, 5, 7, 7, 7, 5, 7, 9, 9, 9
+static const int i_mb_b16x8_cost_table[17] = {
+    0, 0, 0, 0, 0, 0, 0, 0, 5, 7, 7, 7, 5, 7, 9, 9, 9
 };
 static const int i_sub_mb_b_cost_table[13] = {
     7, 5, 5, 3, 7, 5, 7, 3, 7, 7, 7, 5, 1

So it is the same as r281 version, But why the r278 is not correct? Is my patch file not correct in format?

Regards,

LuRui
2005/07/27
 


More information about the x264-devel mailing list