summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-14 23:06:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-14 23:06:25 +0000
commitf4b8b825141a54b0fe9c5413882a61f8e4e46fb3 (patch)
tree744730826955ebfdf86331570201d44431c7eeb2 /libavcodec/h264.c
parent94cb59944376349d741459f85229a28aa0e91bea (diff)
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.c2
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){