[SCM] libav/experimental: Comment about a cornercase we ignore currently

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:57:55 UTC 2013


The following commit has been merged in the experimental branch:
commit 12be38ec18acc09c1701ed783d49bed261793a29
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Jan 18 00:21:58 2010 +0000

    Comment about a cornercase we ignore currently
    
    Originally committed as revision 21275 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1cc0f87..2bbd744 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -799,7 +799,7 @@ static av_always_inline int fill_caches(H264Context *h, int mb_type, int for_deb
         //for sufficiently low qp, filtering wouldn't do anything
         //this is a conservative estimate: could also check beta_offset and more accurate chroma_qp
         if(!FRAME_MBAFF){
-            int qp_thresh = h->qp_thresh;
+            int qp_thresh = h->qp_thresh; //FIXME strictly we should store qp_thresh for each mb of a slice
             int qp = s->current_picture.qscale_table[mb_xy];
             if(qp <= qp_thresh
             && (s->mb_x == 0 || ((qp + s->current_picture.qscale_table[mb_xy-1] + 1)>>1) <= qp_thresh)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list