diff options
author | John Koleszar <jkoleszar@google.com> | 2011-02-09 11:20:12 -0800 |
---|---|---|
committer | Code Review <code-review@webmproject.org> | 2011-02-09 11:20:12 -0800 |
commit | c2b43164bd9a0ba707d639ff786ba975235f791e (patch) | |
tree | 310f4a14af0a818ae73794ce36395606f20ea053 /vp8/encoder | |
parent | a39b5af10bab41ba37835247a81d7bac399ddfd6 (diff) | |
parent | 9954d05ca6b9c0cec09ca26ec0d7500148656e19 (diff) | |
download | libvpx-c2b43164bd9a0ba707d639ff786ba975235f791e.tar libvpx-c2b43164bd9a0ba707d639ff786ba975235f791e.tar.gz libvpx-c2b43164bd9a0ba707d639ff786ba975235f791e.tar.bz2 libvpx-c2b43164bd9a0ba707d639ff786ba975235f791e.zip |
Merge "correct cost for implicit bit in mvs"
Diffstat (limited to 'vp8/encoder')
-rw-r--r-- | vp8/encoder/encodemv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/encodemv.c b/vp8/encoder/encodemv.c index cce753013..4cb4c6e55 100644 --- a/vp8/encoder/encodemv.c +++ b/vp8/encoder/encodemv.c @@ -128,7 +128,7 @@ static unsigned int cost_mvcomponent(const int v, const struct mv_context *mvc) while (--i > 3); - if (x & 240) + if (x & 0xFFF0) cost += vp8_cost_bit(p [MVPbits + 3], (x >> 3) & 1); } |