kma@webrtc.org
f85b35a2f4
Refactored Neon code for AECM module, by using pure assembly code.
...
Bit exact.
Review URL: https://webrtc-codereview.appspot.com/447008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2382 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-07 16:17:17 +00:00
leozwang@webrtc.org
ada5db4e75
Enable aecm neon optimized code in android build
...
Description:
This CL is a follow up of http://review.webrtc.org/575008/ and r2241.
Because of r2243, r2241 is messed up and reverted, I'm going to commit it again.
This is exact same to the last patch in 575008, just want to inform you and have
your double check before I commit it.
The original description
This cl enables cpu detection and aecm optimized code in android build.
BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/568006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2259 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-18 16:48:45 +00:00
kjellander@webrtc.org
7e4a72a78a
Revert 2241 - Enable aecm neon optimized code in android build
...
Description:
This cl enables cpu detection and aecm optimized code in android build.
BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/575008
TBR=leozwang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/566013
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2249 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-16 11:49:45 +00:00
leozwang@webrtc.org
fe742200d5
Enable aecm neon optimized code in android build
...
Description:
This cl enables cpu detection and aecm optimized code in android build.
BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/575008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2241 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-15 16:11:24 +00:00
bjornv@webrtc.org
61d0745e86
Resolve coverity warnings.
...
14050, 14051, 14243, 14314
In APM:
- Uninitialized variable initialized.
- NULL pointer sanity checks corrected.
Tested with trybots and audioproc_unittest.
BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/571009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2229 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-11 07:51:44 +00:00
bjornv@webrtc.org
bcde776340
Changed Delay Estimator create call
...
Unit tests updated and runs.
Change made w.r.t. issue 441.
BUG=Issue441
TEST=None
Review URL: https://webrtc-codereview.appspot.com/498001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2079 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-20 09:35:20 +00:00
andrew@webrtc.org
75f1948b0e
Restore AECM Coverity fix.
...
Add a test which would have caught the crash introduced by r1628.
BUG=274
TEST=audioproc_unittest
Review URL: https://webrtc-codereview.appspot.com/388002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1657 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-09 17:16:18 +00:00
wu@webrtc.org
a8084b07e3
Revert r1628 which causes the crash of voe_auto_test.
...
With r1628, it's possible the second memcpy got a NULL nearendClean.
TBR=bjornv
Review URL: https://webrtc-codereview.appspot.com/390005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1643 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-08 17:56:39 +00:00
bjornv@webrtc.org
236e842bca
Removed memcpy of pointer to itself, triggering Valgrind warning.
...
BUG=272
Review URL: https://webrtc-codereview.appspot.com/389002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1628 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-07 17:22:44 +00:00
kma@webrtc.org
727a0a03a1
Fixed a bug in assembly code in aecm_core.c (hasn't caused a problem yet).
...
Did apm unit test. Bit exact.
Review URL: https://webrtc-codereview.appspot.com/366010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1583 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-01 00:05:22 +00:00
bjornv@webrtc.org
0c6f931420
Removed versions in module/audio_processing and common_audio/vad.
...
Affected vad_unittest only.
In addition changed to correct header guards.
Review URL: https://webrtc-codereview.appspot.com/367019
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1567 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-30 09:39:08 +00:00
andrew@webrtc.org
b9d7d934de
Rename interface/ to include/ in audio_processing.
...
BUG=none
TEST=build on Linux.
Review URL: https://webrtc-codereview.appspot.com/367007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1552 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-25 19:21:13 +00:00
kma@webrtc.org
746f9e31c0
Changed build settings for ARMv5 in Android.
...
I found some issues in building ARMv5 with ICM. This CL includes fixes,
and a design change which now will exclude any NEON libraries unless
the build is for dynamic detection or for Neon specifically.
Review URL: http://webrtc-codereview.appspot.com/330021
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1335 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-04 17:47:57 +00:00
bjornv@webrtc.org
80d28b22b9
Changed to new ring buffer in AECM.
...
Replaced the old ring buffer in AECM with the new one. Also removed the old one from ring_buffer.
Changes are bit exact according to audioproc_unittest fixed.
TEST=audioproc_unittest
Review URL: http://webrtc-codereview.appspot.com/331022
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1327 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-04 09:55:09 +00:00
bjornv@webrtc.org
70adcd46b2
Delay estimator improvements.
...
Robustness improvements to the delay estimator used in AECM and AEC. In AEC only for logging. Faster convergence.
TEST=audioproc_unittest + offline file tests.
output_data_fixed.pb updated despite unverified changes in r1112.
Review URL: http://webrtc-codereview.appspot.com/337006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1306 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-29 14:51:21 +00:00
andrew@webrtc.org
c9cc3750cf
Add missing system_wrappers dependency.
...
TBR=kma@webrtc.org
Review URL: http://webrtc-codereview.appspot.com/301009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1097 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-03 20:51:20 +00:00
kma@webrtc.org
b59c031660
For Android ARMv7 platforms, added a feature of dynamically detecting the existence of Neon,
...
and when it's present, switch to some functions optimized for Neon at run time.
Review URL: http://webrtc-codereview.appspot.com/268002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1096 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-03 18:34:50 +00:00
bjornv@webrtc.org
132feb1270
Made tables static.
...
In this CL global tables have been moved to where they are actually used. If for some reason they need to be available in a larger scope we can add them again at that point.
Review URL: http://webrtc-codereview.appspot.com/303002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1075 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-01 15:40:50 +00:00
andrew@webrtc.org
a919d3a643
Don't return a zero delay with insufficient data.
...
For estimating a delay over a long segment (e.g. a file) this can
throw off the estimate. Better not to add values to the AEC's histogram
until they're reliable.
BUG=
TEST=audiproc, audioproc_unittest
Review URL: http://webrtc-codereview.appspot.com/292004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1035 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-27 23:40:58 +00:00
andrew@webrtc.org
828af1b4b9
Add lookahead to the delay estimator.
...
TEST=audioproc_unittest
Review URL: http://webrtc-codereview.appspot.com/279014
git-svn-id: http://webrtc.googlecode.com/svn/trunk@992 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-22 22:40:27 +00:00
bjornv@webrtc.org
6a9835d59c
Delay estimator structural changes.
...
Improved the way we handle different data types (float vs fixed) and reduced the complexity by nearly 50%.
We now have a generic struct for both float and fixed delay estimators and a core struct for the binary spectrum based delay estimator. All wrapper codes (for both fixed and float) are gathered in delay_estimator_wrappers.*.
Moved out the far end history buffer to AEC(M).
Added a union to handle difference types when create.
Review URL: http://webrtc-codereview.appspot.com/277004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@973 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-18 08:30:34 +00:00
kjellander@webrtc.org
0403ef419f
Restructuring and adding unit test targets on project level instead of in common_audio.
...
Review URL: http://webrtc-codereview.appspot.com/280001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@959 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-17 08:35:47 +00:00
andrew@webrtc.org
4d5d5c1267
Reorganize the audio_processing source.
...
- Remove main and source directories.
- Change .gyp, .gypi and Android.mk files correspondingly. No other
source changes.
Review URL: http://webrtc-codereview.appspot.com/241001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@767 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-10-19 01:40:33 +00:00
turajs@google.com
610f478705
Deleting matlab files
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@645 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-23 21:45:34 +00:00
turajs@google.com
53439d9982
Deleting matlab files
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@644 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-23 21:44:00 +00:00
leozwang@google.com
ce95069ade
Fix buidling error
...
Review URL: http://webrtc-codereview.appspot.com/151002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@603 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-15 22:28:08 +00:00
bjornv@google.com
b47d4b287d
This CL includes a move of the fixed point delay estimator from aecm to apm/utility. There has also been a code change that makes it possible to enable/disable the far end alignment, so that we save complexity when used as a quality metrics.
...
Review URL: http://webrtc-codereview.appspot.com/135014
git-svn-id: http://webrtc.googlecode.com/svn/trunk@599 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-15 12:27:36 +00:00
xians@google.com
d3185fe219
refactor the gyp file to gypi file.
...
Basically, the gypi file is a copy of gyp file, but has some difference on the
path of the dependencies.
Review URL: http://webrtc-codereview.appspot.com/137020
git-svn-id: http://webrtc.googlecode.com/svn/trunk@581 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-12 12:24:39 +00:00
andrew@webrtc.org
7f593c1e62
Fix gcc 4.6 unused variable warnings in audio_processing.
...
Issues:
http://code.google.com/p/webrtc/issues/detail?id=54
http://code.google.com/p/webrtc/issues/detail?id=55
Review URL: http://webrtc-codereview.appspot.com/121003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@434 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 01:00:50 +00:00
andrew@webrtc.org
ad2a37093a
Fix unused variable warnings.
...
Review URL: http://webrtc-codereview.appspot.com/114005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@381 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 17:18:17 +00:00
kma@google.com
8dd7466b52
2nd check in
...
Review URL: http://webrtc-codereview.appspot.com/112002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@372 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-16 03:28:28 +00:00
leozwang@google.com
95222074ba
Some changes made in android makefile
...
Review URL: http://webrtc-codereview.appspot.com/109003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@367 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-15 17:40:56 +00:00
andrew@webrtc.org
d11aa2b215
Fix build error on Windows due to gcc specific attribute.
...
Review URL: http://webrtc-codereview.appspot.com/115001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@361 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-14 23:25:28 +00:00
andrew@webrtc.org
2be2f694a4
Remove implicit declaration warnings.
...
Review URL: http://webrtc-codereview.appspot.com/113001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@360 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-13 18:22:42 +00:00
kma@google.com
1959e6fcb5
1st check-in for AECM Neon optimization.
...
Review URL: http://webrtc-codereview.appspot.com/104001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@359 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-13 06:33:38 +00:00
kma@google.com
1489785326
Commit as part of http://webrtc-codereview.appspot.com/89018/
...
Committing separately as part of an OWNERS test.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@345 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-10 23:30:11 +00:00
leozwang@google.com
79835d1bd3
Clean up Android.mk
...
Review URL: http://webrtc-codereview.appspot.com/92014
git-svn-id: http://webrtc.googlecode.com/svn/trunk@315 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 21:01:02 +00:00
ajm@google.com
9f726b9d78
Resubmit r300 with changes required for Windows build.
...
Review URL: http://webrtc-codereview.appspot.com/97005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@313 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-05 16:46:33 +00:00
ronghuawu@google.com
102944a22b
Revert r300.
...
Review URL: http://webrtc-codereview.appspot.com/91014
git-svn-id: http://webrtc.googlecode.com/svn/trunk@303 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 20:48:36 +00:00
bjornv@google.com
55ce2d8a25
This changelist is basically a code cleanup and restructuring. Main things is that we now have a function for time to frequency transformation and the delay estimator is separated into its own struct and files.
...
Review URL: http://webrtc-codereview.appspot.com/90004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@300 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 07:16:54 +00:00
leozwang@google.com
58d09cfb24
Clean up ANDROID macro definitions [audio_processing]
...
Review URL: http://webrtc-codereview.appspot.com/95001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@251 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-25 22:49:00 +00:00
ajm@google.com
f1a7b4be25
Fix unused variable warnings.
...
Review URL: http://webrtc-codereview.appspot.com/83001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@233 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-19 18:11:02 +00:00
ajm@google.com
22e65158bd
Changing echo_path_size_bytes() to static, and using size_t rather than int. This is recommended by Chromium:
...
http://www.chromium.org/developers/coding-style
Fixing a few compile warnings.
Review URL: http://webrtc-codereview.appspot.com/81001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@228 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 18:03:01 +00:00
leozwang@google.com
c93db4c4e1
Remove legacy fft arm9e code
...
Either for generic FFT code or FFT code specific to ARM-Cortex or ARM-Neon will be used, this folder should be removed.
Review URL: http://webrtc-codereview.appspot.com/60003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@225 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 16:48:17 +00:00
bjornv@google.com
521d5932cb
Changes to comfort noise generation; 1) faster convergence initially, 2) lower startup shape, 3) few code optimizations, 4) removed a bug that could cause noise estimate to go to zero, 5) removed a bug that could cause noise estimate to never recover from low values.
...
Review URL: http://webrtc-codereview.appspot.com/73001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@222 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-18 10:07:45 +00:00
leozwang@google.com
43ea04236b
Change android makefile to build webrtc for android/x86 as well
...
Review URL: http://webrtc-codereview.appspot.com/68002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@208 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 18:25:35 +00:00
bjornv@google.com
298e54a715
Ported a patch from the old repository, which improve the suppression on Android, where high gains have been seen in the upper frequency band.
...
Review URL: http://webrtc-codereview.appspot.com/68005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@204 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-14 07:01:55 +00:00
bjornv@google.com
c4b939cb61
Added calls to set and get external echo channels.
...
Review URL: http://webrtc-codereview.appspot.com/62005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@196 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-13 08:09:56 +00:00
bjornv@google.com
e8ba343b93
Changes made to improve AECM during startup
...
Review URL: http://webrtc-codereview.appspot.com/52001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@176 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-07 12:38:06 +00:00
niklase@google.com
470e71d364
git-svn-id: http://webrtc.googlecode.com/svn/trunk@156 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-07-07 08:21:25 +00:00