Gustaf Ullberg
6670a9d145
AEC3: More efficient comfort noise generation
...
Comfort noise was generated by picking random angles on the unit circle
for each frequency band and then obtaining points on the unit circle from
{cos(a), -sin(a)}.
In order to reduce complexity, this change introduces a randomly indexed
table of 32 elements over sin(a). cos(a) is obtained by adding an offset
corresponding to pi/2 to the index. The table is pre-scaled by sqrt(2) to
avoid later multiplications.
This change reduces the computational complexity of AEC3 by ~8% with no
audible degradation.
Bug: webrtc:10189
Change-Id: I8cfe2469022fb1fe910ab3f966e55d9d499b7161
Reviewed-on: https://webrtc-review.googlesource.com/c/116787
Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org >
Reviewed-by: Per Åhgren <peah@webrtc.org >
Cr-Commit-Position: refs/heads/master@{#26209}
2019-01-11 08:46:05 +00:00
..
2018-11-22 16:02:44 +00:00
2018-09-24 09:39:19 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-07-30 22:34:19 +00:00
2018-04-27 19:26:03 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-16 13:22:44 +00:00
2018-12-21 10:29:42 +00:00
2018-10-23 11:32:56 +00:00
2018-11-27 19:52:08 +00:00
2018-11-27 19:52:08 +00:00
2018-11-27 19:52:08 +00:00
2018-08-23 10:05:07 +00:00
2018-08-23 10:05:07 +00:00
2018-10-23 11:32:56 +00:00
2018-09-24 09:39:19 +00:00
2018-10-23 11:32:56 +00:00
2018-11-22 16:02:44 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 13:31:50 +00:00
2018-11-22 16:02:44 +00:00
2018-10-23 11:32:56 +00:00
2018-11-27 19:52:08 +00:00
2018-06-07 08:09:17 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-11-06 16:17:02 +00:00
2019-01-11 08:46:05 +00:00
2018-10-23 11:32:56 +00:00
2018-09-24 09:39:19 +00:00
2018-10-23 11:32:56 +00:00
2018-05-25 09:31:38 +00:00
2018-02-21 17:08:36 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-09-24 09:39:19 +00:00
2018-12-03 15:19:00 +00:00
2018-11-27 19:52:08 +00:00
2018-10-15 13:31:50 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2017-12-01 23:14:32 +00:00
2017-12-01 23:14:32 +00:00
2017-12-01 23:14:32 +00:00
2018-06-19 14:00:39 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 13:31:50 +00:00
2018-11-06 16:10:52 +00:00
2018-07-16 16:02:07 +00:00
2018-10-04 15:01:18 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-11-20 12:28:05 +00:00
2018-11-20 12:28:05 +00:00
2018-11-20 12:28:05 +00:00
2017-12-11 21:09:56 +00:00
2018-10-23 11:32:56 +00:00
2018-07-25 14:59:26 +00:00
2018-07-25 14:59:26 +00:00
2018-11-28 09:01:07 +00:00
2018-11-28 09:01:07 +00:00
2018-09-24 09:39:19 +00:00
2018-10-23 11:32:56 +00:00
2018-11-20 12:28:05 +00:00
2018-09-27 10:41:10 +00:00
2018-10-15 13:31:50 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-09-06 23:01:58 +00:00
2018-10-31 07:29:48 +00:00
2018-10-31 07:29:48 +00:00
2018-10-15 13:31:50 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-06-19 12:45:10 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2017-12-20 14:46:36 +00:00
2018-09-13 08:52:05 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 13:31:50 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-10-15 13:31:50 +00:00
2018-11-22 16:02:44 +00:00
2018-11-22 16:02:44 +00:00
2018-11-06 18:57:19 +00:00
2018-10-22 10:30:12 +00:00
2018-10-15 13:31:50 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 13:31:50 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-07-30 22:34:19 +00:00
2018-07-30 22:34:19 +00:00
2018-10-23 11:32:56 +00:00
2018-06-13 14:54:04 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-15 13:31:50 +00:00
2018-03-15 13:38:16 +00:00
2018-10-23 11:32:56 +00:00
2018-11-20 12:28:05 +00:00
2018-12-21 10:29:42 +00:00
2018-11-20 12:28:05 +00:00
2018-06-19 10:38:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-22 10:30:12 +00:00
2018-10-23 11:32:56 +00:00
2018-11-20 12:28:05 +00:00
2018-11-20 12:28:05 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-10-16 13:22:44 +00:00
2018-10-16 13:22:44 +00:00
2018-10-18 10:46:06 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-11-06 16:10:52 +00:00
2018-11-06 16:10:52 +00:00
2018-11-06 16:10:52 +00:00
2018-10-23 11:32:56 +00:00
2018-08-19 10:43:46 +00:00
2018-10-15 13:31:50 +00:00
2018-11-28 09:23:34 +00:00
2018-10-24 07:15:49 +00:00
2018-10-23 11:32:56 +00:00
2018-10-23 11:32:56 +00:00
2018-07-25 14:59:26 +00:00
2018-07-25 14:59:26 +00:00