summaryrefslogtreecommitdiff
path: root/common_audio
AgeCommit message (Collapse)Author
2014-12-04Update makefiles after merge of Chromium at 40.0.2214.27Ben Murdoch
This commit was generated by merge_from_chromium.py. Change-Id: I231a22a5117516d0892018e313b21fab26b1f615
2014-12-04Merge third_party/webrtc from ↵Ben Murdoch
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 71616dbb8cdd3ea13e0a964d18456ca3fe002dab This commit was generated by merge_from_chromium.py. Change-Id: I40a02c5091b60b596c558bfc0f03c06c63d7fb7a
2014-11-27Merge r7729 into M40 branch.kjellander@webrtc.org
BUG=chromium:436400 TBR=phoglund@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27259004 git-svn-id: http://webrtc.googlecode.com/svn/branches/40/webrtc@7759 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-05Update makefiles after merge of Chromium at 5a645aa13b82Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I038f8684aa804c94ca2c5175bdeaf605bf0611c5
2014-11-05Update makefiles after merge of Chromium at 2d0da5605d75Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I2b5db589b04e302cb1067fe730b81f3fb21b06bb
2014-11-04Update makefiles after merge of Chromium at a99b7ad25d02Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I172fda810eb6cb37d17ba35571733f9eaeb9b230
2014-11-04Update makefiles after merge of Chromium at 30ec995cdb2dAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I77678e9f2e5044a6457f21cada6ee13b75fbfb0c
2014-11-04Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at a1fd19c12e4efdf4b8a5f92323070443d50dc34e This commit was generated by merge_from_chromium.py. Change-Id: Ibd48eca2d93e6324a2e886e451f27307aab45e9b
2014-11-03Add format members to AudioConverter for DCHECKing.andrew@webrtc.org
And use a std::min. Post-commit fixes after: https://review.webrtc.org/30779004/ TBR=kwiberg Review URL: https://webrtc-codereview.appspot.com/25059004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7600 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-11-03Restore the void return type on WriteWavHeader.andrew@webrtc.org
Karl pointed out that the user can check the validity of the input parameters with CheckWavParameters prior to calling. TBR=kwiberg Review URL: https://webrtc-codereview.appspot.com/23339004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7597 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-31Add a WavReader counterpart to WavWriter.andrew@webrtc.org
Don't bother with a C interface as we currently have no need to call this from C code. The first use will be in the audioproc tool. R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30829004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7585 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-31Update makefiles after merge of Chromium at a41c404b1c7fAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: Ifcab5d7c5bd698b1a0a72100960585183048352d
2014-10-31Update makefiles after merge of Chromium at b210e2d62956Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I3b99d06f861694a90ee0f32a97380e1c99cfaa07
2014-10-31Update all .isolate files for the new format.kjellander@webrtc.org
R=kjellander@webrtc.org BUG= Review URL: https://webrtc-codereview.appspot.com/27809004 Patch from Marc-Antoine Ruel <maruel@chromium.org>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7583 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-31Build fix for MIPS32R6.andrew@webrtc.org
Exclude MIPS optimizations for MIPS32R6 build since some of the instructions are not supported. This is temporary fix, until the MIPS32R6 code is added. R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25989004 Patch from Ljubomir Papuga <lpapuga@mips.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7580 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-31Revert "Revert part of r7561, "Refactor audio conversion functions.""andrew@webrtc.org
This restores the conversion changes to AudioProcessing originally added in r7561, with minor alterations to ensure it passes all tests. TBR=kwiberg Review URL: https://webrtc-codereview.appspot.com/28899004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7574 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-30Creating a C++ wrapper class for VADhenrik.lundin@webrtc.org
Also adding a mock. This work is part of an ongoing effort to encapsulate encoders in AudioEncoder classes. The CNG encoder will also be implemented as an AudioEncoder class, and will also contain a VAD C++ wrapper. BUG=3926 R=bjornv@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27839004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7570 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-30Refactor audio conversion functions.andrew@webrtc.org
Use a consistent naming scheme that can be understood at the callsite without having to refer to documentation. Remove hacks in AudioBuffer intended to maintain bit-exactness with the float path. The conversions etc. are now all natural, and instead we enforce close but not bit-exact output between the two paths. Output of ApmTest.Process: https://paste.googleplex.com/5931055831842816 R=aluebs@webrtc.org, bjornv@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13049004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7561 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-29common_audio: Removed macro WEBRTC_SPL_RSHIFT_W32bjornv@webrtc.org
Replaces the trivial macro WEBRTC_SPL_RSHIFT_W32 with >> at various places in common_audio and removes it. BUG=3348,3353 TESTED=locally on linux and trybots R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26989004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7558 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-28Update makefiles after merge of Chromium at f92f0738e9e0Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I89e213824532c84f72d79dccb485d33b251718c7
2014-10-28Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 4f2aa0829e4e69972202efb7de2f53cc8858e2c9 This commit was generated by merge_from_chromium.py. Change-Id: I5142c5b2111742e7eabf5c5a7ca1541ce639d7d6
2014-10-28common_audio: Removed trivial macro WEBRTC_SPL_UMUL_16_16bjornv@webrtc.org
The macro made a cast to uint16_t before a plain multiplication. At the few places where it was used the variables were already uint16_t. Affected components: * isac/fix BUG=3348,3353 TESTED=locally on linux and trybots R=henrik.lundin@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29869004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7543 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-28Update makefiles after merge of Chromium at 82ca3b654cdaAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I74f8ff67d68c1bb764fd2a96bbd03a8f7713475f
2014-10-27Add a simple AudioConverter class.andrew@webrtc.org
This will be used to refactor AudioProcessing/AudioBuffer. We can enable alternate downmixing schemes in AudioProcessing by pulling the conversion logic out of AudioBuffer. The unit test is largely stolen from voice_engine/utility_unittest.cc. As commented, the voice_engine routines should be replaced with AudioConverter. BUG=chromium:405270 R=aluebs@webrtc.org, mgraczyk@chromium.org TBR=kwiberg Review URL: https://webrtc-codereview.appspot.com/30779004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7538 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-23Update makefiles after merge of Chromium at 9ef958e74e13Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I9f8bef9f285b9b8b005c64271d0c3b0911623223
2014-10-21Update makefiles after merge of Chromium at b03027d23881Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: Iec8a077153da941704154de08aeebeff18b36406
2014-10-21Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 4415bacc16e429ee132e9759ba6880043b61cbdd This commit was generated by merge_from_chromium.py. Change-Id: Ie6289bc4dd0cfeaac35bf8fe39e6bb03ce057148
2014-10-20common_audio: Replaced invalid operand in min_max_operations_neon.S"bjornv@webrtc.org
Vector Move immediate can not load #0x7FFF. Changed to us vdup from already loaded register. BUG=N/A TESTED=ios and android trybots R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26879004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7477 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-19Update makefiles after merge of Chromium at 89b463ddd92bAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: Ib4f1a99ca57b985be94ad5094d09418dc048e66a
2014-10-15Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 7da30673d742075b52c63bb96b78f2c35cc93991 This commit was generated by merge_from_chromium.py. Change-Id: I6ae37fb65fc9bcff451322ab8e1f52b667dc5d10
2014-10-15Update makefiles after merge of Chromium at 6e9c84566c9fAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: Ia99600712fa5534613907d4426663655656d2285
2014-10-15common_audio: Removed version API from signal_processingbjornv@webrtc.org
The Signal Processing version API is not used anymore. BUG=3353 R=kwiberg@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/31679004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7451 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-13common_audio: Removed macro WEBRTC_SPL_RSHIFT_W16bjornv@webrtc.org
Replaced the trivial right shift macro at remaining 4 places and removed from signal_processing. Affected components: * vad * aecm BUG=3348,3353 TESTED=locally on linux and trybots R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25849004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7434 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-13audio_processing: Replaced macro WEBRTC_SPL_RSHIFT_W16 with >>bjornv@webrtc.org
The implementation of WEBRTC_SPL_RSHIFT_W16 is simply >>. This CL removes the macro usage in audio_processing and signal_processing. Affected components: * aecm * agc * nsx Indirectly affecting (through signal_processing changes) * codecs/cng * codecs/isac/fix * codecs/isac/main BUG=3348,3353 TESTED=locally on Linux and trybots R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/28699005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7432 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-09common_audio: Removed macro WEBRTC_SPL_LSHIFT_W16bjornv@webrtc.org
The macro was a trivial << operation and where used has been replaced by <<. Affected components are * ilbc * isacfix BUG=3348,3353 TESTED=locally on linux and trybots R=henrik.lundin@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22919005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7404 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-08Add a variable for deciding when to use openmax_dl.andrew@webrtc.org
Modifies the previous condition to additionally not use openmax_dl on iOS. Remove the All target's direct dependency on it, as it is now pulled in by the targets that need it. Add gn support since an openmax_dl gn target is available. BUG=chromium:415393, webrtc:3906 R=turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23949004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7397 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-08Update makefiles after merge of Chromium at b415a9063014Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I7f50ecd9ae7e0eddc2c072b6eac49c0720d1002d
2014-10-08Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 0c748ef307bf64ef4f5cf1da22283cbc633b1820 This commit was generated by merge_from_chromium.py. Change-Id: Id6ffb8f83d71192925f5d612211d677fb927c5c0
2014-10-01Import LappedTransform and friends.andrew@webrtc.org
Add code for doing block-based frequency domain processing. Developed and reviewed in isolation. Corresponding export CL: https://chromereviews.googleplex.com/95187013/ R=bercic@google.com, kjellander@webrtc.org, turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/31539004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7359 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-30Update makefiles after merge of Chromium at 9c6ac85c45faAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: Ib27ef7e6411396bac83926bf0b251668be9e6988
2014-09-30GN: Enable libvpx, add link target and convert some test targetskjellander@webrtc.org
Libvpx now supports GN and this CL turns on compiling it. I also introduced an executable target 'webrtc_tests' that depends on all in WeBRTC + tests in order to get a full linking step executed (since we've seen link problems for GN when rolling WebRTC into Chromium). I also converted a few test targets and made a GN file for third_party/gflags. BUG=3441 TESTED=Trybots + full Chromium build with a symlinked src/third_party/webrtc dir to a workspace wit this CL applied. R=brettw@chromium.org TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25569004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7344 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-30Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 296871bd3d804dfcd3c16c59a83fb173f6dfd438 This commit was generated by merge_from_chromium.py. Change-Id: Ibe75d8eba4230c87f7a0155047afcb845e0b93de
2014-09-29audio_processing: Replaced macro WEBRTC_SPL_LSHIFT_W16 with <<bjornv@webrtc.org
A trivial macro that serves no purpose. Affected components are: * audio_processing/nsx * audio_processing/agc * audio_processing/aecm * common_audio/LpcToReflCoef BUG=3348,3353 TESTED=locally on linux R=kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22539004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7321 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-29common_audio refactoring: Removed macro WEBRTC_SPL_LSHIFT_U32bjornv@webrtc.org
The macro is a trivial shift operator including a cast before shift. There is no guard against negative shifts. Replaced with << at place and added casts when necessary. Affects both fixed and float point versions of iSAC BUG=3348,3353 TESTED=locally on linux and trybots R=kwiberg@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/27369004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7320 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-28GN: Add common configs to all targets.kjellander@webrtc.org
This is needed to ensure we have the same build with GN as with GYP, since GYP includes the common.gypi on a global level. Several fixes has been needed in the past because some code have been built without the right defines. BUG=3441 R=brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/28589004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7317 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-22Update makefiles after merge of Chromium at fb34b348eeadAndroid Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I247d3aafc57df5f4ac99db567f5b7c2313fb7b7a
2014-09-19Merge third_party/webrtc from ↵Android Chromium Automerger
https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git at 70861e04b3580c1350c5479c9ee26469f38ff782 This commit was generated by merge_from_chromium.py. Change-Id: Ib21179e777d68b7a3deb3e39851d6f26ffd72b39
2014-09-16gn: Fix cflags usagepbos@webrtc.org
R=brettw@chromium.org TBR=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29519004 Patch from Cem Kocagil <ckocagil@chromium.org>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7198 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-13Update makefiles after merge of Chromium at 6a4d455b8650Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I76592b034e4c868de1bd5ebafa48efc39ee50f0c
2014-09-11Update makefiles after merge of Chromium at b62471bd5180Android Chromium Automerger
This commit was generated by merge_from_chromium.py. Change-Id: I03e28d2901e702a21f5ad8f0aba69055baff2d94