diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2013-06-25 11:52:44 -0700 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2013-06-25 11:53:17 -0700 |
commit | 94675717773c347f9d4a7329365ff3ee1645950e (patch) | |
tree | 8a36599c5b88c3d0373e89e298e01cea488943b6 /vp9/encoder/vp9_bitstream.c | |
parent | 5ae096778e52f9171be935fff98f7c35f317843b (diff) | |
download | libvpx-94675717773c347f9d4a7329365ff3ee1645950e.tar libvpx-94675717773c347f9d4a7329365ff3ee1645950e.tar.gz libvpx-94675717773c347f9d4a7329365ff3ee1645950e.tar.bz2 libvpx-94675717773c347f9d4a7329365ff3ee1645950e.zip |
Moving subexp encoding functions in separate vp9_dsubexp.c file.
Change-Id: Idbb2ea80f764fa830fe2ddcfc54ef7fe232f05a8
Diffstat (limited to 'vp9/encoder/vp9_bitstream.c')
-rw-r--r-- | vp9/encoder/vp9_bitstream.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index 09ab2db67..5236a3b7e 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -175,16 +175,6 @@ int recenter_nonneg(int v, int m) { return ((m - v) << 1) - 1; } -static int get_unsigned_bits(unsigned num_values) { - int cat = 0; - if ((num_values--) <= 1) return 0; - while (num_values > 0) { - cat++; - num_values >>= 1; - } - return cat; -} - void vp9_encode_unsigned_max(struct vp9_write_bit_buffer *wb, int data, int max) { vp9_wb_write_literal(wb, data, get_unsigned_bits(max)); |