Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Saturate additions in getEnvSfbEnergy in SBR encoding | Martin Storsjo | 2023-11-10 | 2 | -4/+4 |
| | | | | | | | | | | This avoids wraparounds, which can trigger failed asserts with some inputs. This fixes https://github.com/mstorsjo/fdk-aac/issues/158. The implementation of saturated addition loses the contents of the lowest bit though, thus this change affects the output - but the change is said to be acceptable. | ||||
* | Add a script for doing very rudimentary regression testing | Martin Storsjo | 2023-10-06 | 3 | -0/+32 |
This is expected to fail if the encoder is updated in a way that changes its output; in such cases, the test references need to be updated. |