aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorArpi <arpi@thot.banki.hu>2001-10-16 23:10:38 +0000
committerArpi <arpi@thot.banki.hu>2001-10-16 23:10:38 +0000
commit79e7b305577acb4af65ab8f80e71fb0f744e92f6 (patch)
tree26102e685a8c7db29852687968517f76c3153ac1 /libavcodec/mpegvideo.c
parenta6be81113e3a4551bf4c2e7cd80a28d008893a3b (diff)
downloadffmpeg-79e7b305577acb4af65ab8f80e71fb0f744e92f6.tar.gz
exporting qscale data for postprocessing (for MPlayer)
Originally committed as revision 164 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 40dbcf1e1e..148d7e142c 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -675,6 +675,11 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
mb_x = s->mb_x;
mb_y = s->mb_y;
+#ifdef FF_POSTPROCESS
+ quant_store[mb_y][mb_x]=s->qscale;
+ //printf("[%02d][%02d] %d\n",mb_x,mb_y,s->qscale);
+#endif
+
/* update DC predictors for P macroblocks */
if (!s->mb_intra) {
if (s->h263_pred) {