[x264-devel] Use assembly versions of some deblocking functions in MBAFF

Henrik Gramner git at videolan.org
Sat Jul 30 05:54:47 CEST 2011


x264 | branch: master | Henrik Gramner <hengar-6 at student.ltu.se> | Wed Jul 27 02:23:12 2011 +0200| [392e762151d1657abc8ae5d345c144c3ef280819] | committer: Jason Garrett-Glaser

Use assembly versions of some deblocking functions in MBAFF

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=392e762151d1657abc8ae5d345c144c3ef280819
---

 common/deblock.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/deblock.c b/common/deblock.c
index 26c60a6..3b43827 100644
--- a/common/deblock.c
+++ b/common/deblock.c
@@ -507,14 +507,14 @@ void x264_frame_deblock_row( x264_t *h, int mb_y )
                         M32( bs[1][4*j] ) = 0x03030303;
 
                     // deblock the first horizontal edge of the even rows, then the first horizontal edge of the odd rows
-                    deblock_edge( h, pixy      + j*stridey,  2* stridey, bs[1][4*j], qp_top, a, b, 0, deblock_v_luma_c );
+                    deblock_edge( h, pixy      + j*stridey,  2* stridey, bs[1][4*j], qp_top, a, b, 0, h->loopf.deblock_luma[1] );
                     if( chroma444 )
                     {
-                        deblock_edge( h, pixuv          + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 0, deblock_v_luma_c );
-                        deblock_edge( h, pixuv + uvdiff + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 0, deblock_v_luma_c );
+                        deblock_edge( h, pixuv          + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 0, h->loopf.deblock_luma[1] );
+                        deblock_edge( h, pixuv + uvdiff + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 0, h->loopf.deblock_luma[1] );
                     }
                     else
-                        deblock_edge( h, pixuv          + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 1, deblock_v_chroma_c );
+                        deblock_edge( h, pixuv          + j*strideuv, 2*strideuv, bs[1][4*j], qpc_top, a, b, 1, h->loopf.deblock_chroma[1] );
                 }
             }
             else



More information about the x264-devel mailing list