comparison h264.c @ 6890:5ddf098691d3 libavcodec

print direct_spatial_mv_pred
author michael
date Mon, 26 May 2008 01:06:15 +0000
parents e8bb31e67146
children 0f63fc62ea8b
comparison
equal deleted inserted replaced
6889:ff5fd5a1abf5 6890:5ddf098691d3
4231 4231
4232 h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16; 4232 h->emu_edge_width= (s->flags&CODEC_FLAG_EMU_EDGE) ? 0 : 16;
4233 h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width; 4233 h->emu_edge_height= (FRAME_MBAFF || FIELD_PICTURE) ? 0 : h->emu_edge_width;
4234 4234
4235 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ 4235 if(s->avctx->debug&FF_DEBUG_PICT_INFO){
4236 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\n", 4236 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",
4237 h->slice_num, 4237 h->slice_num,
4238 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"), 4238 (s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"),
4239 first_mb_in_slice, 4239 first_mb_in_slice,
4240 av_get_pict_type_char(h->slice_type), 4240 av_get_pict_type_char(h->slice_type),
4241 pps_id, h->frame_num, 4241 pps_id, h->frame_num,
4242 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1], 4242 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1],
4243 h->ref_count[0], h->ref_count[1], 4243 h->ref_count[0], h->ref_count[1],
4244 s->qscale, 4244 s->qscale,
4245 h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2, 4245 h->deblocking_filter, h->slice_alpha_c0_offset/2, h->slice_beta_offset/2,
4246 h->use_weight, 4246 h->use_weight,
4247 h->use_weight==1 && h->use_weight_chroma ? "c" : "" 4247 h->use_weight==1 && h->use_weight_chroma ? "c" : "",
4248 h->slice_type == FF_B_TYPE ? (h->direct_spatial_mv_pred ? "SPAT" : "TEMP") : ""
4248 ); 4249 );
4249 } 4250 }
4250 4251
4251 return 0; 4252 return 0;
4252 } 4253 }