mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-12 04:44:25 +00:00
dump bits per frame / qp / frame complexity support
Originally committed as revision 827 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d6afa9c671
commit
38274ea268
@ -154,7 +154,13 @@ uint64_t time= rdtsc();
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user