Commit f16180f4 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

opus_pvq: merge band encoding and decoding into one function

Most code between the 2 functions was duplicated which made keeping
both in sync difficult.

This also fixes some discovered issues with encoding (incorrect
TF switching buffers) and reduces stack usage (reuse the already
allocated CeltFrame->scratch buffer for the quantized coefficients).
Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent 18a0d9d7
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment