diff mpegvideo.c @ 108:1e4a4af694d1 libavcodec

exporting qscale data for postprocessing (for MPlayer)
author arpi_esp
date Tue, 16 Oct 2001 23:10:38 +0000
parents 82e579c37bc3
children de80712db90b
line wrap: on
line diff
--- a/mpegvideo.c	Tue Oct 16 02:31:14 2001 +0000
+++ b/mpegvideo.c	Tue Oct 16 23:10:38 2001 +0000
@@ -675,6 +675,11 @@
     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) {