changeset 10911:3082525ea11d libavcodec

Comment about a cornercase we ignore currently
author michael
date Mon, 18 Jan 2010 00:21:58 +0000
parents 7cecaa3a6b38
children 9bdf0bb607a3
files h264.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.h	Mon Jan 18 00:20:44 2010 +0000
+++ b/h264.h	Mon Jan 18 00:21:58 2010 +0000
@@ -799,7 +799,7 @@
         //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)