diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-14 23:06:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-14 23:06:25 +0000 |
commit | f4b8b825141a54b0fe9c5413882a61f8e4e46fb3 (patch) | |
tree | 744730826955ebfdf86331570201d44431c7eeb2 /libavcodec/h264.c | |
parent | 94cb59944376349d741459f85229a28aa0e91bea (diff) | |
download | ffmpeg-f4b8b825141a54b0fe9c5413882a61f8e4e46fb3.tar.gz |
Merge decode_cabac_mb_dqp() with surronding code.
~20 cpu cycles faster
Originally committed as revision 21826 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5189363604..604c29e273 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2196,6 +2196,8 @@ static void loop_filter(H264Context *h){ 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){ |