]> git.videolan.org Git - x264.git/commitdiff
Fix 8x8dct+slices+no sliced threads+cavlc+deblock
authorJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 15 Jul 2010 01:47:14 +0000 (18:47 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Thu, 15 Jul 2010 01:50:30 +0000 (18:50 -0700)
Deblocking was done slightly incorrectly.
Regression in r1612.

common/macroblock.c

index f0a624f0e2019a2b173db0c5fb7587175a5441bc..ebff1c5aaebaea983c03e9933e7cab26928fba95 100644 (file)
@@ -929,6 +929,7 @@ void x264_macroblock_cache_load_deblock( x264_t *h )
         int mb_x = h->mb.i_mb_x;
         int mb_y = h->mb.i_mb_y;
         x264_macroblock_cache_load_neighbours_deblock( h, mb_x, mb_y );
+        int new_neighbour = h->mb.i_neighbour;
         h->mb.i_neighbour &= ~old_neighbour;
         if( h->mb.i_neighbour )
         {
@@ -984,6 +985,7 @@ void x264_macroblock_cache_load_deblock( x264_t *h )
                 }
             }
         }
+        h->mb.i_neighbour = new_neighbour;
     }
 
     if( h->param.analyse.i_weighted_pred && h->sh.i_type == SLICE_TYPE_P )