diff options
author | Deb Mukherjee <debargha@google.com> | 2014-02-10 17:52:44 -0800 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2014-02-11 16:59:56 -0800 |
commit | d23e339202b46f6d54595d2464f9312a95f26075 (patch) | |
tree | 3a4b6c7aac820174c359d5a7c063143e630b0d63 /vp9/encoder/vp9_ratectrl.h | |
parent | 992500b8cb5144a6e0505a33eb9a312d4b78ab00 (diff) | |
download | libvpx-d23e339202b46f6d54595d2464f9312a95f26075.tar libvpx-d23e339202b46f6d54595d2464f9312a95f26075.tar.gz libvpx-d23e339202b46f6d54595d2464f9312a95f26075.tar.bz2 libvpx-d23e339202b46f6d54595d2464f9312a95f26075.zip |
Removes active_worst_quality feedback
Removes certain cases of feedback of active_worst_quality,
and removes it from the RATE_CONTROL structure. Now active
worst quality is expected to be computed locally in the
q picking function during the encode.
Making temporal filter strength depend on avg_frame_qindex
rather than on active_worst_quality actually improves
performance esp. for yt.
derf: +0.038%
yt: +0.359%
Change-Id: I1fe5a343034b55af9322289165321f00ac0827b1
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h index 8ff567dd5..551b6c327 100644 --- a/vp9/encoder/vp9_ratectrl.h +++ b/vp9/encoder/vp9_ratectrl.h @@ -73,7 +73,6 @@ typedef struct { int total_target_vs_actual; // debug stats int worst_quality; - int active_worst_quality; int best_quality; // int active_best_quality; } RATE_CONTROL; @@ -141,9 +140,9 @@ void vp9_rc_compute_frame_size_bounds(const struct VP9_COMP *cpi, int *frame_over_shoot_limit); // Picks q and q bounds given the target for bits -int vp9_rc_pick_q_and_adjust_q_bounds(const struct VP9_COMP *cpi, - int *bottom_index, - int *top_index); +int vp9_rc_pick_q_and_bounds(const struct VP9_COMP *cpi, + int *bottom_index, + int *top_index); // Estimates q to achieve a target bits per frame int vp9_rc_regulate_q(const struct VP9_COMP *cpi, int target_bits_per_frame, |