comparison h263dec.c @ 585:86ebb02c6693 libavcodec

dump bits per frame / qp / frame complexity support
author michaelni
date Sat, 27 Jul 2002 14:48:44 +0000
parents 23e58889a108
children 507e688d57b2
comparison
equal deleted inserted replaced
584:03e395b31197 585:86ebb02c6693
152 ret = intel_h263_decode_picture_header(s); 152 ret = intel_h263_decode_picture_header(s);
153 } else { 153 } else {
154 ret = h263_decode_picture_header(s); 154 ret = h263_decode_picture_header(s);
155 } 155 }
156 avctx->has_b_frames= s->has_b_frames; 156 avctx->has_b_frames= s->has_b_frames;
157 157 #if 0 // dump bits per frame / qp / complexity
158 {
159 static FILE *f=NULL;
160 if(!f) f=fopen("rate_qp_cplx.txt", "w");
161 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size/(double)s->qscale);
162 }
163 #endif
158 164
159 /* After H263 & mpeg4 header decode we have the height, width,*/ 165 /* After H263 & mpeg4 header decode we have the height, width,*/
160 /* and other parameters. So then we could init the picture */ 166 /* and other parameters. So then we could init the picture */
161 /* FIXME: By the way H263 decoder is evolving it should have */ 167 /* FIXME: By the way H263 decoder is evolving it should have */
162 /* an H263EncContext */ 168 /* an H263EncContext */