commit | a3df343cda2b6f3d554138ce5dae831e2f946d0c | [log] [tgz] |
---|---|---|
author | Ronald S. Bultje <rsbultje@gmail.com> | Tue Sep 08 14:26:42 2015 -0400 |
committer | Ronald S. Bultje <rsbultje@gmail.com> | Wed Sep 16 19:35:03 2015 -0400 |
tree | ec3c040c3add312e37c58f00fde4377a0554af21 | |
parent | 3c8e04e93928b978dc6df84cf0f77939d7a2e64b [diff] |
vp10: code sign bit before absolute value in non-arithcoded header. For reading, this makes the operation branchless, although it still requires two shifts. For writing, this makes the operation as fast as writing an unsigned value, branchlessly. This is also how other codecs typically code signed, non-arithcoded bitstream elements. See issue 1039. Change-Id: I6a8182cc88a16842fb431688c38f6b52d7f24ead