diff options
author | Deb Mukherjee <debargha@google.com> | 2014-04-01 17:31:59 -0700 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2014-04-02 11:16:20 -0700 |
commit | 97f4fb7b5f1eb76d879601f469057f52a87b9f9c (patch) | |
tree | 5630520c7668e29e722ba1b0889e4be0f0327797 /vp9/encoder/vp9_ratectrl.h | |
parent | 8b8606a7374026d561a2c9596df772b5854e3654 (diff) | |
download | libvpx-97f4fb7b5f1eb76d879601f469057f52a87b9f9c.tar libvpx-97f4fb7b5f1eb76d879601f469057f52a87b9f9c.tar.gz libvpx-97f4fb7b5f1eb76d879601f469057f52a87b9f9c.tar.bz2 libvpx-97f4fb7b5f1eb76d879601f469057f52a87b9f9c.zip |
Rate ctrl changes to track target bitrates closer
Turns off the DISABLE_RC_LONG_TERM_MEM macro and makes other changes
in the way the bits are updated, to make 2-pass rate control track
target bitrates closer.
Change-Id: I5f3be4b11c2908e6a9a9a1dd4fcf4e65531c44d8
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h index 87421af5f..f2d128c2d 100644 --- a/vp9/encoder/vp9_ratectrl.h +++ b/vp9/encoder/vp9_ratectrl.h @@ -58,7 +58,7 @@ typedef struct { int ni_av_qi; int ni_tot_qi; int ni_frames; - int avg_frame_qindex[3]; // 0 - KEY, 1 - INTER, 2 - ARF/GF + int avg_frame_qindex[3]; // 0 - KEY, 1 - INTER, 2 - ARF/GF double tot_q; double avg_q; @@ -75,7 +75,8 @@ typedef struct { int long_rolling_actual_bits; int64_t total_actual_bits; - int total_target_vs_actual; // debug stats + int64_t total_target_bits; + int64_t total_target_vs_actual; int worst_quality; int best_quality; |