Rect DC_PRED: mult and shifts equivalent to div.
(1) We use an initial variable shift, and then (2) A multiply + 16 bit shift for bit-depth = 8, OR A multiply + 17 bit shift for bit-depth = 10 and 12 All the constants (shifts and multipliers) for different block sizes are based on "Algorithm 1" in http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1467632 Note: This also reverts test hashes etc to the version before commit 37ebf187. BUG=aomedia:1191 Change-Id: I2aaebc3e95958a3f145c0408aa5cbcc85e30c8dc
Showing
- aom_dsp/aom_dsp_rtcd_defs.pl 17 additions, 18 deletionsaom_dsp/aom_dsp_rtcd_defs.pl
- aom_dsp/intrapred.c 112 additions, 59 deletionsaom_dsp/intrapred.c
- test/decode_to_md5.sh 1 addition, 1 deletiontest/decode_to_md5.sh
- test/intrapred_test.cc 9 additions, 9 deletionstest/intrapred_test.cc
- test/test_intra_pred_speed.cc 50 additions, 48 deletionstest/test_intra_pred_speed.cc
Loading
Please register or sign in to comment