vpx/vp8
Timothy B. Terriberry c17b62e1bd Change bitreader to use a larger window.
Change bitreading functions to use a larger window which is refilled less
 often.

This makes it cheap enough to do bounds checking each time the window is
 refilled, which avoids the need to copy the input into a large circular
 buffer.
This uses less memory and speeds up the total decode time by 1.6% on an ARM11,
 2.8% on a Cortex A8, and 2.2% on x86-32, but less than 1% on x86-64.

Inlining vp8dx_bool_decoder_fill() has a big penalty on x86-32, as does moving
 the refill loop to the front of vp8dx_decode_bool().
However, having the refill loop between computation of the split values and
 the branch in vp8_decode_mb_tokens() is a big win on ARM (presumably due to
 memory latency and code size: refilling after normalization duplicates the
 code in the DECODE_AND_BRANCH_IF_ZERO and DECODE_AND_LOOP_IF_ZERO cases.
Unfortunately, refilling at the end of vp8dx_bool_decoder_fill() and at the
 beginning of each decode step in vp8_decode_mb_tokens() means the latter
 requires an extra refill at the end.
Platform-specific versions could avoid the problem, but would require most of
 detokenize.c to be duplicated.

Change-Id: I16c782a63376f2a15b78f8086d899b987204c1c7
2010-06-15 19:55:14 -07:00
..
common Change bitreader to use a larger window. 2010-06-15 19:55:14 -07:00
decoder Change bitreader to use a larger window. 2010-06-15 19:55:14 -07:00
encoder Fix compiler warnings 2010-06-14 17:23:49 -04:00
exports_dec shared library support (.so) 2010-06-05 16:47:23 -04:00
exports_enc shared library support (.so) 2010-06-05 16:47:23 -04:00
vp8_common.mk LICENSE: update with latest text 2010-06-04 16:19:40 -04:00
vp8_cx_iface.c vp8_cx_iface: set default cpu used to 0 2010-06-14 17:28:15 -04:00
vp8_dx_iface.c Incorrect comment. 2010-06-11 16:12:45 +01:00
vp8cx_arm.mk LICENSE: update with latest text 2010-06-04 16:19:40 -04:00
vp8cx.mk sse2 version of vp8_regular_quantize_b 2010-06-14 14:07:56 -04:00
vp8dx_arm.mk LICENSE: update with latest text 2010-06-04 16:19:40 -04:00
vp8dx.mk shared library support (.so) 2010-06-05 16:47:23 -04:00