Mercurial > libavcodec.hg
changeset 1388:b5c65adac96a libavcodec
debug stuff
author | michaelni |
---|---|
date | Tue, 29 Jul 2003 01:45:19 +0000 |
parents | 45aeed789017 |
children | da0b3a50d209 |
files | msmpeg4.c |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/msmpeg4.c Mon Jul 28 16:35:42 2003 +0000 +++ b/msmpeg4.c Tue Jul 29 01:45:19 2003 +0000 @@ -1313,13 +1313,14 @@ 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 @@ 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{