comparison h264.c @ 1264:2fa34e615c76 libavcodec

cleanup
author michaelni
date Wed, 14 May 2003 23:08:01 +0000
parents 67ee8bab0f28
children ec946cb74397
comparison
equal deleted inserted replaced
1263:9fce515e9894 1264:2fa34e615c76
3013 #endif 3013 #endif
3014 3014
3015 if(s->avctx->debug&FF_DEBUG_PICT_INFO){ 3015 if(s->avctx->debug&FF_DEBUG_PICT_INFO){
3016 printf("mb:%d %c pps:%d frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d\n", 3016 printf("mb:%d %c pps:%d frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d\n",
3017 first_mb_in_slice, 3017 first_mb_in_slice,
3018 ff_get_pict_type_char(h->slice_type), 3018 av_get_pict_type_char(h->slice_type),
3019 pps_id, h->frame_num, 3019 pps_id, h->frame_num,
3020 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1], 3020 s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1],
3021 h->ref_count[0], h->ref_count[1], 3021 h->ref_count[0], h->ref_count[1],
3022 s->qscale, 3022 s->qscale,
3023 h->disable_deblocking_filter_idc 3023 h->disable_deblocking_filter_idc
3263 } 3263 }
3264 }else{ 3264 }else{
3265 assert(h->slice_type == I_TYPE); 3265 assert(h->slice_type == I_TYPE);
3266 decode_intra_mb: 3266 decode_intra_mb:
3267 if(mb_type > 25){ 3267 if(mb_type > 25){
3268 fprintf(stderr, "mb_type %d in %c slice to large at %d %d\n", mb_type, ff_get_pict_type_char(h->slice_type), s->mb_x, s->mb_y); 3268 fprintf(stderr, "mb_type %d in %c slice to large at %d %d\n", mb_type, av_get_pict_type_char(h->slice_type), s->mb_x, s->mb_y);
3269 return -1; 3269 return -1;
3270 } 3270 }
3271 partition_count=0; 3271 partition_count=0;
3272 cbp= i_mb_type_info[mb_type].cbp; 3272 cbp= i_mb_type_info[mb_type].cbp;
3273 h->intra16x16_pred_mode= i_mb_type_info[mb_type].pred_mode; 3273 h->intra16x16_pred_mode= i_mb_type_info[mb_type].pred_mode;