aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-07-29 01:45:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-29 01:45:19 +0000
commit80adda8efd35c920c7ba0c43d530102a2fd22bc3 (patch)
tree43dbd738a30fe866ff31f607c83378dbd9643d42
parente7124ffc680711c28cf62c4956d96d311f4aa051 (diff)
downloadffmpeg-80adda8efd35c920c7ba0c43d530102a2fd22bc3.tar.gz
debug stuff
Originally committed as revision 2093 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/msmpeg4.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 839d8dbac4..0849f90229 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -1313,13 +1313,14 @@ return -1;
break;
}
s->no_rounding = 1;
-/* printf("qscale:%d rlc:%d rl:%d dc:%d mbrl:%d slice:%d \n",
+ if(s->avctx->debug&FF_DEBUG_PICT_INFO)
+ printf("qscale:%d rlc:%d rl:%d dc:%d mbrl:%d slice:%d \n",
s->qscale,
s->rl_chroma_table_index,
s->rl_table_index,
s->dc_table_index,
s->per_mb_rl_table,
- s->slice_height);*/
+ s->slice_height);
} else {
switch(s->msmpeg4_version){
case 1:
@@ -1359,14 +1360,17 @@ return -1;
s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE);
break;
}
-/* printf("skip:%d rl:%d rlc:%d dc:%d mv:%d mbrl:%d qp:%d \n",
+
+ if(s->avctx->debug&FF_DEBUG_PICT_INFO)
+ printf("skip:%d rl:%d rlc:%d dc:%d mv:%d mbrl:%d qp:%d \n",
s->use_skip_mb_code,
s->rl_table_index,
s->rl_chroma_table_index,
s->dc_table_index,
s->mv_table_index,
s->per_mb_rl_table,
- s->qscale);*/
+ s->qscale);
+
if(s->flipflop_rounding){
s->no_rounding ^= 1;
}else{