Revision 12be38ec

View differences:

libavcodec/h264.h
799 799
        //for sufficiently low qp, filtering wouldn't do anything
800 800
        //this is a conservative estimate: could also check beta_offset and more accurate chroma_qp
801 801
        if(!FRAME_MBAFF){
802
            int qp_thresh = h->qp_thresh;
802
            int qp_thresh = h->qp_thresh; //FIXME strictly we should store qp_thresh for each mb of a slice
803 803
            int qp = s->current_picture.qscale_table[mb_xy];
804 804
            if(qp <= qp_thresh
805 805
            && (s->mb_x == 0 || ((qp + s->current_picture.qscale_table[mb_xy-1] + 1)>>1) <= qp_thresh)

Also available in: Unified diff