Mercurial > libavcodec.hg
comparison h264.c @ 7920:b731ef917a01 libavcodec
Print which slices are IDR not just the slice type.
author | michael |
---|---|
date | Thu, 25 Sep 2008 12:04:25 +0000 |
parents | 17b22bf9fac6 |
children | 44570b9b3aa1 |
comparison
equal
deleted
inserted
replaced
7919:17b22bf9fac6 | 7920:b731ef917a01 |
---|---|
4034 | 4034 |
4035 h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16; | 4035 h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16; |
4036 h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width; | 4036 h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width; |
4037 | 4037 |
4038 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ | 4038 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ |
4039 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n", | 4039 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c%s%s pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n", |
4040 h->slice_num, | 4040 h->slice_num, |
4041 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"), | 4041 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"), |
4042 first_mb_in_slice, | 4042 first_mb_in_slice, |
4043 av_get_pict_type_char(h->slice_type), | 4043 av_get_pict_type_char(h->slice_type), h->slice_type_fixed ? " fix" : "", h->nal_unit_type == NAL_IDR_SLICE ? " IDR" : "", |
4044 pps_id, h->frame_num, | 4044 pps_id, h->frame_num, |
4045 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1], | 4045 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1], |
4046 h->ref_count[0], h->ref_count[1], | 4046 h->ref_count[0], h->ref_count[1], |
4047 s->qscale, | 4047 s->qscale, |
4048 h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2, | 4048 h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2, |