Mercurial > libavcodec.hg
comparison mpeg12.c @ 930:6bcb214d6a17 libavcodec
more debug output
author | michaelni |
---|---|
date | Tue, 17 Dec 2002 11:25:29 +0000 |
parents | 7fccaa0d699d |
children | 8254eac24488 |
comparison
equal
deleted
inserted
replaced
929:c35f06d95e64 | 930:6bcb214d6a17 |
---|---|
734 s->mv[0][0][0] = s->last_mv[0][0][0]; | 734 s->mv[0][0][0] = s->last_mv[0][0][0]; |
735 s->mv[0][0][1] = s->last_mv[0][0][1]; | 735 s->mv[0][0][1] = s->last_mv[0][0][1]; |
736 s->mv[1][0][0] = s->last_mv[1][0][0]; | 736 s->mv[1][0][0] = s->last_mv[1][0][0]; |
737 s->mv[1][0][1] = s->last_mv[1][0][1]; | 737 s->mv[1][0][1] = s->last_mv[1][0][1]; |
738 } | 738 } |
739 | |
739 s->mb_skiped = 1; | 740 s->mb_skiped = 1; |
740 return 0; | 741 return 0; |
741 } | 742 } |
742 | 743 |
743 switch(s->pict_type) { | 744 switch(s->pict_type) { |
1615 /* start frame decoding */ | 1616 /* start frame decoding */ |
1616 if (s->first_slice) { | 1617 if (s->first_slice) { |
1617 s->first_slice = 0; | 1618 s->first_slice = 0; |
1618 if(MPV_frame_start(s, avctx) < 0) | 1619 if(MPV_frame_start(s, avctx) < 0) |
1619 return DECODE_SLICE_FATAL_ERROR; | 1620 return DECODE_SLICE_FATAL_ERROR; |
1621 | |
1622 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ | |
1623 printf("qp:%d fc:%d%d%d%d %s %s %s %s dc:%d pstruct:%d fdct:%d cmv:%d qtype:%d ivlc:%d rff:%d %s\n", | |
1624 s->qscale, s->mpeg_f_code[0][0],s->mpeg_f_code[0][1],s->mpeg_f_code[1][0],s->mpeg_f_code[1][1], | |
1625 s->pict_type == I_TYPE ? "I" : (s->pict_type == P_TYPE ? "P" : (s->pict_type == B_TYPE ? "B" : "S")), | |
1626 s->progressive_sequence ? "pro" :"", s->alternate_scan ? "alt" :"", s->top_field_first ? "top" :"", | |
1627 s->intra_dc_precision, s->picture_structure, s->frame_pred_frame_dct, s->concealment_motion_vectors, | |
1628 s->q_scale_type, s->intra_vlc_format, s->repeat_first_field, s->chroma_420_type ? "420" :""); | |
1629 } | |
1620 } | 1630 } |
1621 | 1631 |
1622 init_get_bits(&s->gb, buf, buf_size); | 1632 init_get_bits(&s->gb, buf, buf_size); |
1623 | 1633 |
1624 s->qscale = get_qscale(s); | 1634 s->qscale = get_qscale(s); |