Commit e25c25d5 authored by michaelni's avatar michaelni

dump bits per frame / qp / frame complexity support


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@827 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a10fe76b
...@@ -154,7 +154,13 @@ uint64_t time= rdtsc(); ...@@ -154,7 +154,13 @@ uint64_t time= rdtsc();
ret = h263_decode_picture_header(s); ret = h263_decode_picture_header(s);
} }
avctx->has_b_frames= s->has_b_frames; 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,*/ /* After H263 & mpeg4 header decode we have the height, width,*/
/* and other parameters. So then we could init the picture */ /* and other parameters. So then we could init the picture */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment