Martin Storsjo 27f3f41550 Redistribute sfbWidths for short blocks for sample rates above 64 kHz
Make sure all coefficients are <= 33. When sfbOffsets are grouped,
the widths are multiplied by 3 in some blocks (groupLen). If
sfbWidth * groupLen is >= 100, this triggers assert failures
in GetInvInt in intensity.cpp, when
(sfbOffset[sfb + sfboffs + 1] - sfbOffset[sfb + sfboffs])>>1 is
> 50.

This issue can be reproduced by trying to encode sample rates above
64 kHz with AACENC_BITRATEMODE set to 5. (Normally this is prohibited
by the public API interface though, but I assume the same use of
short blocks also could happen just as well using the normal CBR
mode - it's just harder to reproduce there.)

The best way to actually redistribute these coefficients (whether
another coefficient should be added, or the weights redistributed)
is unknown.
2014-07-27 15:01:42 +03:00
2013-09-03 11:31:55 -07:00
2013-08-27 16:35:59 -07:00
2013-08-27 16:35:59 -07:00
2013-09-03 14:19:38 -07:00
2014-05-26 12:31:40 -07:00
2013-10-03 09:02:22 +02:00
2012-09-13 23:27:27 +03:00
2013-09-07 18:32:50 +03:00
2014-06-23 10:45:50 +03:00
2012-09-13 23:27:27 +03:00
Description
No description provided
4.6 MiB
Languages
C++ 74.1%
C 25.7%
Makefile 0.2%