summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_ratectrl.h
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-02-14 07:12:38 -0800
committerJim Bankoski <jimbankoski@google.com>2014-02-14 07:36:47 -0800
commitfb4f10a26e967298c55aa342a2afe7ebf02011b2 (patch)
tree6ea512582ec6e3c6dad4c85c91d7bc250dfe205c /vp9/encoder/vp9_ratectrl.h
parent0abb06571bb0407c54b8de2aedd6f59a74cc7b84 (diff)
downloadlibvpx-fb4f10a26e967298c55aa342a2afe7ebf02011b2.tar
libvpx-fb4f10a26e967298c55aa342a2afe7ebf02011b2.tar.gz
libvpx-fb4f10a26e967298c55aa342a2afe7ebf02011b2.tar.bz2
libvpx-fb4f10a26e967298c55aa342a2afe7ebf02011b2.zip
vp9_ratectrl - convert buffers to int64 to avoid casting
Change-Id: Ifd6b2d36d91237b5f38853a3a8a529d8be38ba09
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r--vp9/encoder/vp9_ratectrl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h
index 551b6c327..c6ea7c194 100644
--- a/vp9/encoder/vp9_ratectrl.h
+++ b/vp9/encoder/vp9_ratectrl.h
@@ -57,8 +57,8 @@ typedef struct {
double tot_q;
double avg_q;
- int buffer_level;
- int bits_off_target;
+ int64_t buffer_level;
+ int64_t bits_off_target;
int decimation_factor;
int decimation_count;