# HG changeset patch # User michaelni # Date 1027781324 0 # Node ID 86ebb02c669326b4099d71d6641631955ee89b76 # Parent 03e395b31197ba0a8034bab398bbadec645791e0 dump bits per frame / qp / frame complexity support diff -r 03e395b31197 -r 86ebb02c6693 h263dec.c --- a/h263dec.c Sat Jul 27 08:27:02 2002 +0000 +++ b/h263dec.c Sat Jul 27 14:48:44 2002 +0000 @@ -154,7 +154,13 @@ ret = h263_decode_picture_header(s); } avctx->has_b_frames= s->has_b_frames; - +#if 0 // dump bits per frame / qp / complexity +{ + static FILE *f=NULL; + if(!f) f=fopen("rate_qp_cplx.txt", "w"); + fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size/(double)s->qscale); +} +#endif /* After H263 & mpeg4 header decode we have the height, width,*/ /* and other parameters. So then we could init the picture */