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/mpegvideo.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/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 1d0dd4f027..b784081929 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -178,6 +178,17 @@ typedef struct MpegEncContext { double short_term_qsum; /* sum of recent qscales */ double short_term_qcount; /* count of recent qscales */ + /* 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 last_bits; //temp var used for calculating the above vars + /* H.263 specific */ int gob_number; int gob_index; |