• Rostislav Pehlivanov's avatar
    opus_celt: move quantization and band decoding to opus_pvq.c · e538108c
    Rostislav Pehlivanov authored
    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: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
    e538108c
opus_celt.h 3.54 KB