Mercurial > libavcodec.hg
changeset 11020:297bd56297a9 libavcodec
use left_xy[1] in mbaff QP loop filter check, this improves the amount that can
be skiped.
author | michael |
---|---|
date | Tue, 26 Jan 2010 20:28:58 +0000 |
parents | 62db4d1fdac9 |
children | 2bc05f2fc993 |
files | h264.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Tue Jan 26 20:25:14 2010 +0000 +++ b/h264.h Tue Jan 26 20:28:58 2010 +0000 @@ -815,7 +815,7 @@ && (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; }