diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-29 01:45:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-29 01:45:19 +0000 |
commit | 80adda8efd35c920c7ba0c43d530102a2fd22bc3 (patch) | |
tree | 43dbd738a30fe866ff31f607c83378dbd9643d42 /libavcodec/msmpeg4.c | |
parent | e7124ffc680711c28cf62c4956d96d311f4aa051 (diff) | |
download | ffmpeg-streaming-80adda8efd35c920c7ba0c43d530102a2fd22bc3.zip ffmpeg-streaming-80adda8efd35c920c7ba0c43d530102a2fd22bc3.tar.gz |
debug stuff
Originally committed as revision 2093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 839d8db..0849f90 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{ |