]> git.videolan.org Git - x264.git/commitdiff
Use assembly versions of some deblocking functions in MBAFF
authorHenrik Gramner <hengar-6@student.ltu.se>
Wed, 27 Jul 2011 00:23:12 +0000 (02:23 +0200)
committerJason Garrett-Glaser <jason@x264.com>
Fri, 29 Jul 2011 19:09:35 +0000 (12:09 -0700)
common/deblock.c

index 26c60a6726da0404500c477118353a0759b9ef84..3b43827186f337f6edfe20e47bd7269e874b97ca 100644 (file)
@@ -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