Ivo Creusen
fe06dbdfa2
Correction for the calculation of the abs max value
...
The abs max of a 16 bit integer cannot be represented as a 16 bit integer, because abs(-2^16) is too large. To work around this, we can instead use the index of the max element, convert it to a 32-bit int and then take the absolute value.
Bug: chromium:1158070, chromium:1146835, chromium:1161837
Change-Id: If56177c55ec62b4bd578986a5deae38a91bbc821
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/198123
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32950}
2021-01-12 16:28:00 +00:00
..
2020-11-26 11:20:28 +00:00
2020-09-21 12:19:16 +00:00
2020-12-16 09:01:44 +00:00
2019-01-11 17:11:39 +00:00
2020-11-02 11:05:56 +00:00
2019-01-31 13:23:33 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-06-28 10:11:33 +00:00
2019-07-08 13:45:15 +00:00
2020-10-09 13:05:46 +00:00
2020-11-26 11:20:28 +00:00
2020-11-26 11:20:28 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2021-01-12 16:28:00 +00:00
2020-11-11 17:30:36 +00:00
2020-11-26 11:20:28 +00:00
2020-11-26 11:20:28 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-01-25 20:29:58 +00:00
2019-11-29 14:04:44 +00:00
2019-11-29 14:04:44 +00:00
2020-11-11 17:30:36 +00:00
2020-12-03 14:50:18 +00:00
2020-11-11 17:30:36 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-10-31 15:43:59 +00:00
2019-06-28 14:20:03 +00:00
2019-12-02 17:44:58 +00:00
2019-07-08 13:45:15 +00:00
2020-01-08 13:20:36 +00:00
2020-01-08 13:20:36 +00:00
2020-01-08 13:20:36 +00:00
2019-11-25 12:16:30 +00:00
2020-12-03 14:50:18 +00:00
2019-01-11 17:11:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-01-20 12:46:34 +00:00
2020-11-26 11:20:28 +00:00
2020-11-26 11:20:28 +00:00
2020-09-14 09:51:21 +00:00
2020-09-21 12:19:16 +00:00
2019-12-02 17:44:58 +00:00
2020-10-09 13:05:46 +00:00
2020-09-21 12:19:16 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2019-10-31 15:43:59 +00:00
2020-11-26 11:20:28 +00:00
2020-11-26 11:20:28 +00:00
2020-11-26 11:20:28 +00:00
2019-07-24 16:47:13 +00:00
2019-10-31 15:43:59 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2019-01-11 17:11:39 +00:00
2020-09-29 17:07:08 +00:00
2020-09-29 20:24:07 +00:00
2020-09-29 17:07:08 +00:00
2020-09-14 09:51:21 +00:00
2020-09-21 12:19:16 +00:00
2020-09-21 12:19:16 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-06-29 12:18:05 +00:00
2020-06-29 12:18:05 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00