[FFmpeg-cvslog] r21465 - trunk/libavcodec/h264.h

michael subversion
Tue Jan 26 21:28:58 CET 2010


Author: michael
Date: Tue Jan 26 21:28:58 2010
New Revision: 21465

Log:
use left_xy[1] in mbaff QP loop filter check, this improves the amount that can
be skiped.

Modified:
   trunk/libavcodec/h264.h

Modified: trunk/libavcodec/h264.h
==============================================================================
--- trunk/libavcodec/h264.h	Tue Jan 26 21:25:14 2010	(r21464)
+++ trunk/libavcodec/h264.h	Tue Jan 26 21:28:58 2010	(r21465)
@@ -815,7 +815,7 @@ static av_always_inline int fill_caches(
            && (top_xy   < 0 || ((qp + s->current_picture.qscale_table[top_xy    ] + 1)>>1) <= qp_thresh)){
             if(!FRAME_MBAFF)
                 return 1;
-            if(   (left_xy[0]< 0            || ((qp + s->current_picture.qscale_table[left_xy[0]+s->mb_stride] + 1)>>1) <= qp_thresh)
+            if(   (left_xy[0]< 0            || ((qp + s->current_picture.qscale_table[left_xy[1]             ] + 1)>>1) <= qp_thresh)
                && (top_xy    < s->mb_stride || ((qp + s->current_picture.qscale_table[top_xy    -s->mb_stride] + 1)>>1) <= qp_thresh))
                 return 1;
         }



More information about the ffmpeg-cvslog mailing list