diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-12-04 12:09:27 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-12-04 12:09:27 +0000 |
commit | c8c437bc236ac66756541b5e6a070fb83f309864 (patch) | |
tree | 8696c47e29b76e91e97e300bd9d70a054f249acd /libavcodec/h263.c | |
parent | ce3bcaeda1dec8bdc25d4daf5a8358feafe5d124 (diff) | |
download | ffmpeg-c8c437bc236ac66756541b5e6a070fb83f309864.tar.gz |
specific debug output support
Originally committed as revision 1305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index caa1bf4552..98b29ad0b4 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4546,14 +4546,16 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){ s->b_code = get_bits(gb, 3); }else s->b_code=1; -#if 0 -printf("qp:%d fc:%d bc:%d type:%s size:%d pro:%d alt:%d top:%d qpel:%d part:%d resync:%d w:%d a:%d\n", - s->qscale, s->f_code, s->b_code, - s->pict_type == I_TYPE ? "I" : (s->pict_type == P_TYPE ? "P" : (s->pict_type == B_TYPE ? "B" : "S")), - gb->size,s->progressive_sequence, s->alternate_scan, s->top_field_first, - s->quarter_sample, s->data_partitioning, s->resync_marker, s->num_sprite_warping_points, - s->sprite_warping_accuracy); -#endif + + if(s->avctx->debug&FF_DEBUG_PICT_INFO){ + printf("qp:%d fc:%d bc:%d type:%s size:%d pro:%d alt:%d top:%d qpel:%d part:%d resync:%d w:%d a:%d\n", + s->qscale, s->f_code, s->b_code, + s->pict_type == I_TYPE ? "I" : (s->pict_type == P_TYPE ? "P" : (s->pict_type == B_TYPE ? "B" : "S")), + gb->size,s->progressive_sequence, s->alternate_scan, s->top_field_first, + s->quarter_sample, s->data_partitioning, s->resync_marker, s->num_sprite_warping_points, + s->sprite_warping_accuracy); + } + if(!s->scalability){ if (s->shape!=RECT_SHAPE && s->pict_type!=I_TYPE) { skip_bits1(gb); // vop shape coding type |