Use a table for PVQ encoding/decoding.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 22 May 2013 01:16:13 +0000 (18:16 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 22 May 2013 01:16:13 +0000 (18:16 -0700)
commit006273c59f35ca10f1ab9b4cad36fdd7550b754b
tree2955e9e7e927650708543b4d3d48ba9fa0e0e2b2
parent9d05628407f040dfdf6c12f6400fdc4b63698322
Use a table for PVQ encoding/decoding.

58.4% speedup (2.4x faster) on test_unit_cwrs32 (no custom modes).
Gives a 3.2% speedup on
 ./opus_demo restricted-lowdelay 48000 2 96000 comp48-stereo.sw /dev/null
 on a 600 MHz Cortex A8.
celt/cwrs.c
celt/modes.c
celt/tests/test_unit_cwrs32.c