ref: 9f37d89037a69798d89fd984b4bff861d5eba28c
parent: dde8069e5731a49ea520ce7f796d046f28912a86
author: Yaowu Xu <[email protected]>
date: Mon Nov 4 09:56:37 EST 2013
optimize decode_bool operation Change-Id: I7fe44633d29046ddd38c88c00e8520d27ac748bf
--- a/vp9/decoder/vp9_dboolhuff.h
+++ b/vp9/decoder/vp9_dboolhuff.h
@@ -44,7 +44,7 @@
VP9_BD_VALUE bigsplit;
int count;
unsigned int range;
- unsigned int split = 1 + (((br->range - 1) * probability) >> 8);
+ unsigned int split = ((br->range * probability) + (256 - probability)) >> 8;
if (br->count < 0)
vp9_reader_fill(br);