Revision 1be7c87f libavcodec/h263.c

View differences:

libavcodec/h263.c
138 138
    return format;
139 139
}
140 140

  
141
static void show_pict_info(MpegEncContext *s){
142
    av_log(s->avctx, AV_LOG_DEBUG, "qp:%d %c size:%d rnd:%d%s%s%s%s%s%s%s%s%s %d/%d\n",
143
         s->qscale, av_get_pict_type_char(s->pict_type),
144
         s->gb.size_in_bits, 1-s->no_rounding,
145
         s->obmc ? " AP" : "",
146
         s->umvplus ? " UMV" : "",
147
         s->h263_long_vectors ? " LONG" : "",
148
         s->h263_plus ? " +" : "",
149
         s->h263_aic ? " AIC" : "",
150
         s->alt_inter_vlc ? " AIV" : "",
151
         s->modified_quant ? " MQ" : "",
152
         s->loop_filter ? " LOOP" : "",
153
         s->h263_slice_structured ? " SS" : "",
154
         s->avctx->time_base.den, s->avctx->time_base.num
155
    );
156
}
157

  
141 158
#ifdef CONFIG_ENCODERS
142 159

  
143 160
static void aspect_to_info(MpegEncContext * s, AVRational aspect){
......
5212 5229
    }
5213 5230

  
5214 5231
     if(s->avctx->debug&FF_DEBUG_PICT_INFO){
5215
         av_log(s->avctx, AV_LOG_DEBUG, "qp:%d %c size:%d rnd:%d%s%s%s%s%s%s%s%s%s %d/%d\n",
5216
         s->qscale, av_get_pict_type_char(s->pict_type),
5217
         s->gb.size_in_bits, 1-s->no_rounding,
5218
         s->obmc ? " AP" : "",
5219
         s->umvplus ? " UMV" : "",
5220
         s->h263_long_vectors ? " LONG" : "",
5221
         s->h263_plus ? " +" : "",
5222
         s->h263_aic ? " AIC" : "",
5223
         s->alt_inter_vlc ? " AIV" : "",
5224
         s->modified_quant ? " MQ" : "",
5225
         s->loop_filter ? " LOOP" : "",
5226
         s->h263_slice_structured ? " SS" : "",
5227
         s->avctx->time_base.den, s->avctx->time_base.num
5228
         );
5232
        show_pict_info(s);
5229 5233
     }
5230 5234
#if 1
5231 5235
    if (s->pict_type == I_TYPE && s->codec_tag == ff_get_fourcc("ZYGO")){

Also available in: Unified diff