diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-03-23 17:43:30 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-03-23 17:43:30 +0000 |
commit | 098eefe183bc3430de4330525becc89da7468d20 (patch) | |
tree | 4bf06d902b30170e52655c33d75b9d80bd794ac3 /libavcodec/avcodec.h | |
parent | b1563bfef2612389ba263dbaa8fd806b8f4ba43a (diff) | |
download | ffmpeg-098eefe183bc3430de4330525becc89da7468d20.tar.gz |
statistics for 2-pass encoding
Originally committed as revision 354 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index beb9936e73..0bca2b4fda 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -145,6 +145,17 @@ typedef struct AVCodecContext { float psnr_y; float psnr_cb; float psnr_cr; + + /* statistics, used for 2-pass encoding */ + int mv_bits; + int header_bits; + int i_tex_bits; + int p_tex_bits; + int i_count; + int p_count; + int skip_count; + int misc_bits; // cbp, mb_type + int frame_bits; /* the following fields are ignored */ void *opaque; /* can be used to carry app specific stuff */ |