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
Showing with 454 additions and 2 deletions