[FFmpeg-cvslog] r14008 - trunk/libavcodec/mdec.c
astrange
subversion
Fri Jun 27 20:50:06 CEST 2008
Author: astrange
Date: Fri Jun 27 20:50:06 2008
New Revision: 14008
Log:
Export qscale so that postprocessing works.
Modified:
trunk/libavcodec/mdec.c
Modified: trunk/libavcodec/mdec.c
==============================================================================
--- trunk/libavcodec/mdec.c (original)
+++ trunk/libavcodec/mdec.c Fri Jun 27 20:50:06 2008
@@ -203,8 +203,8 @@ static int decode_frame(AVCodecContext *
}
}
-// p->quality= (32 + a->inv_qscale/2)/a->inv_qscale;
-// memset(p->qscale_table, p->quality, p->qstride*a->mb_height);
+ p->quality= a->qscale * FF_QP2LAMBDA;
+ memset(p->qscale_table, a->qscale, p->qstride*a->mb_height);
*picture= *(AVFrame*)&a->picture;
*data_size = sizeof(AVPicture);
More information about the ffmpeg-cvslog
mailing list