diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-09-18 18:30:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-09-18 18:30:31 +0000 |
commit | 947ac25a4432192ff5dff5288f2e28334333e59a (patch) | |
tree | f09888c7cbea9a0aa16d4a630f2f05d9cb450bde | |
parent | 6a1f7e7b6b6d75d785cba932f8d8d1db228e716d (diff) | |
download | ffmpeg-947ac25a4432192ff5dff5288f2e28334333e59a.tar.gz |
10l (forgot to commit)
Originally committed as revision 953 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegvideo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 2caccce8a8..b46e8e3553 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -79,9 +79,7 @@ typedef struct RateControlContext{ double pass1_bits; /* bits outputted by the pass1 code (including complexity init) */ double pass1_wanted_bits; /* bits which should have been outputed by the pass1 code (including complexity init) */ double last_qscale; - double last_qscale_for[5]; /* last qscale for a specific pict type */ - double next_non_b_qscale; - double next_p_qscale; + double last_qscale_for[5]; /* last qscale for a specific pict type, used for max_diff & ipb factor stuff */ int last_mc_mb_var_sum; int last_mb_var_sum; UINT64 i_cplx_sum[5]; @@ -89,6 +87,7 @@ typedef struct RateControlContext{ UINT64 mv_bits_sum[5]; UINT64 qscale_sum[5]; int frame_count[5]; + int last_non_b_pict_type; }RateControlContext; typedef struct ReorderBuffer{ |