summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_int.h
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2011-11-23 17:18:31 +0000
committerPaul Wilkins <paulwilkins@google.com>2011-11-23 17:18:31 +0000
commitee2051f6500cf2a576a50f966c5e43df42430f86 (patch)
tree921c45deb01ba132ad92deae67b870525e7db71f /vp8/encoder/onyx_int.h
parenta0b7db22e642513b9e7cc19972bc97ab71245f4e (diff)
downloadlibvpx-ee2051f6500cf2a576a50f966c5e43df42430f86.tar
libvpx-ee2051f6500cf2a576a50f966c5e43df42430f86.tar.gz
libvpx-ee2051f6500cf2a576a50f966c5e43df42430f86.tar.bz2
libvpx-ee2051f6500cf2a576a50f966c5e43df42430f86.zip
Two pass rate control code changes.
This comitt brings accross changes from the public branch commit number Icf74d13af77437c08602571dc7a97e747cce5066. The main puurpose of this comit relates to CQ mode but it also includes some refactoring of the two pass code which I hope will make tuning the experimental branch for the new quantizer range a little less painfull. Change-Id: I278e989436a928fc1fe7761068960048f9d7a376
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r--vp8/encoder/onyx_int.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index 465faeec7..622f25068 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -120,6 +120,7 @@ typedef struct
double MVrv;
double MVcv;
double mv_in_out_count;
+ double new_mv_count;
double duration;
double count;
}
@@ -567,6 +568,7 @@ typedef struct VP8_COMP
FIRSTPASS_STATS *total_stats;
FIRSTPASS_STATS *this_frame_stats;
FIRSTPASS_STATS *stats_in, *stats_in_end, *stats_in_start;
+ FIRSTPASS_STATS *total_left_stats;
int first_pass_done;
int64_t bits_left;
int64_t clip_bits_total;
@@ -574,10 +576,6 @@ typedef struct VP8_COMP
double modified_error_total;
double modified_error_used;
double modified_error_left;
- double total_error_left;
- double total_intra_error_left;
- double total_coded_error_left;
- double start_tot_err_left;
double kf_intra_err_min;
double gf_intra_err_min;
int frames_to_key;