Skip to content
Snippets Groups Projects
Commit e538108c authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov
Browse files

opus_celt: move quantization and band decoding to opus_pvq.c


A huge amount can be reused by the encoder, as the only thing
which needs to be done would be to add a 10 line celt_icwrsi,
a wrapper around it (celt_alg_quant) and templating the
ff_celt_decode_band to replace entropy decoding functions
with entropy encoding.

There is no performance loss but in fact a performance gain of
around 6% which is caused by the compiler being able to optimize
the decoding more efficiently.

Signed-off-by: default avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent d2119f62
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment