Mercurial > libavcodec.hg
diff h264.c @ 11170:d092ec99cb59 libavcodec
Merge decode_cabac_mb_dqp() with surronding code.
~20 cpu cycles faster
author | michael |
---|---|
date | Sun, 14 Feb 2010 23:06:25 +0000 |
parents | e251be458ac3 |
children | 5e583a785508 |
line wrap: on
line diff
--- a/h264.c Sun Feb 14 22:59:19 2010 +0000 +++ b/h264.c Sun Feb 14 23:06:25 2010 +0000 @@ -2196,6 +2196,8 @@ h->slice_type= old_slice_type; s->mb_x= 0; s->mb_y= end_mb_y - FRAME_MBAFF; + h->chroma_qp[0] = get_chroma_qp(h, 0, s->qscale); + h->chroma_qp[1] = get_chroma_qp(h, 1, s->qscale); } static int decode_slice(struct AVCodecContext *avctx, void *arg){