Skip to content

Removing encoder ACELP bit-exact code duplication

04c6120f

During ACELP IVAS float to fixed point conversion a significant portion of EVS code was duplicated to accelerate development. Many of these duplicated functions are either bit-exact or can be made bit-exact with minimal effort.

Some changes introduced only minor rounding differences, which—due to the ACELP closed-loop process—can lead to waveform variations and, in some cases, mode changes. A third category of changes involves operation reordering or scaling differences, which may slightly improve precision but also significantly increases code lines.

This ticket will address:

Stage 1: Refactor to eliminate duplicated code that is bit-exact.

The ultimate goal is to enable the IVAS ACELP core to rely primarily on the well-tested EVS ACELP implementation.