comparison h264.c @ 2583:61a08e2b9822 libavcodec

display deblocking strength in FF_DEBUG_PICT_INFO
author lorenm
date Sun, 27 Mar 2005 10:58:21 +0000
parents 3c27a074de7a
children 5357b214eda0
comparison
equal deleted inserted replaced
2582:3c27a074de7a 2583:61a08e2b9822
3953 #endif 3953 #endif
3954 3954
3955 h->slice_num++; 3955 h->slice_num++;
3956 3956
3957 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ 3957 if(s->avctx->debug&FF_DEBUG_PICT_INFO){
3958 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c pps:%d frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d weight:%d%s\n", 3958 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c pps:%d frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s\n",
3959 h->slice_num, 3959 h->slice_num,
3960 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"), 3960 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"),
3961 first_mb_in_slice, 3961 first_mb_in_slice,
3962 av_get_pict_type_char(h->slice_type), 3962 av_get_pict_type_char(h->slice_type),
3963 pps_id, h->frame_num, 3963 pps_id, h->frame_num,
3964 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1], 3964 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1],
3965 h->ref_count[0], h->ref_count[1], 3965 h->ref_count[0], h->ref_count[1],
3966 s->qscale, 3966 s->qscale,
3967 h->deblocking_filter, 3967 h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2,
3968 h->use_weight, 3968 h->use_weight,
3969 h->use_weight==1 && h->use_weight_chroma ? "c" : "" 3969 h->use_weight==1 && h->use_weight_chroma ? "c" : ""
3970 ); 3970 );
3971 } 3971 }
3972 3972