[SCM] x264/ubuntu: add fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch on upstream's request

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Sep 18 09:44:10 UTC 2010


The following commit has been merged in the ubuntu branch:
commit 4647069fd63f7f436a604f81dc242c38e7c68070
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sat Sep 18 11:38:20 2010 +0200

    add fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch on upstream's request
    
    Fix 8x8dct+slices+no sliced threads+cavlc+deblock
    Deblocking was done slightly incorrectly.
    Regression in r1612.

diff --git a/debian/patches/fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch b/debian/patches/fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch
new file mode 100644
index 0000000..fa07551
--- /dev/null
+++ b/debian/patches/fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch
@@ -0,0 +1,30 @@
+From: Jason Garrett-Glaser <darkshikari at gmail.com>
+Date: Thu, 15 Jul 2010 01:47:14 +0000 (-0700)
+Subject: Fix 8x8dct+slices+no sliced threads+cavlc+deblock
+X-Git-Url: http://git.videolan.org/?p=x264.git;a=commitdiff_plain;h=c953140b3b622b33e892c1a3d327d35b74762293;hp=d6228aea4f0adf29be8526b8ce1d9d1237d23975
+
+Fix 8x8dct+slices+no sliced threads+cavlc+deblock
+Deblocking was done slightly incorrectly.
+Regression in r1612.
+---
+
+diff --git a/common/macroblock.c b/common/macroblock.c
+index f0a624f..ebff1c5 100644
+--- a/common/macroblock.c
++++ b/common/macroblock.c
+@@ -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 )
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..229b4a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-8x8dct+slices+no-sliced-threads+cavlc+deblock.patch

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list