commit | 031222982c4c16c1e6e5c4371aad5806c6210912 | [log] [tgz] |
---|---|---|
author | Nathan E. Egge <negge@dgql.org> | Mon Mar 07 16:15:56 2016 |
committer | Nathan E. Egge <negge@dgql.org> | Wed Mar 16 16:10:45 2016 |
tree | e01803487d4e364106dd043b6a69b33307db1eb9 | |
parent | 9c48eec73c50efa88448953efee34fa6a79bf680 [diff] |
Replace divides by small values with multiplies. This ports the OD_DIVU_SMALL code from Daala to AOM so that divides by constants smaller than OD_DIVU_DMAX (1024) are done using a multiply. Added a unit test for OD_DIVU_SMALL in test/divu_small_test.cc. Change-Id: Id9fee172d54477355571c5d6c12c584fb65769e5