pwestin@webrtc.org
cac787842c
New attempt to cleanup TMMBR.
...
Review URL: https://webrtc-codereview.appspot.com/472007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1990 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-05 08:30:10 +00:00
cd@webrtc.org
70ed0a6f91
No casting and call lower precision trigonometric functions:
...
* 2.2% AEC overall speedup for the straight C path.
* 2.4% AEC overall speedup for the SSE2 path.
Review URL: https://webrtc-codereview.appspot.com/477002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1989 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-05 00:38:55 +00:00
leozwang@webrtc.org
f3dc22f7d1
Reformat android related code
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/472004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1988 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-04 17:15:42 +00:00
pwestin@webrtc.org
ae19720982
Fixed assert strings where string literals are used as booleans.
...
Review URL: https://webrtc-codereview.appspot.com/473002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1986 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-04 14:43:54 +00:00
leozwang@webrtc.org
0dc8efe6e6
Fix wrong data type in ReadWavHeader
...
BUG=409
TEST=media file unit test
Review URL: https://webrtc-codereview.appspot.com/474001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1980 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-03 15:11:01 +00:00
henrike@webrtc.org
0ad51862dc
Revert 1961 - Clean up TMMBR handling.
...
Review URL: https://webrtc-codereview.appspot.com/465001
TBR=pwestin@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/473001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1967 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-30 16:54:13 +00:00
marpan@webrtc.org
3a6080d4c0
FEC Decoding: Insert the received media packets directly into VCM without going
...
through the recovered packet list. Avoids an issue with very old re-transmitted packets.
Updated the receiver_fec unittest accordingly.
Review URL: https://webrtc-codereview.appspot.com/465003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1966 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-30 16:16:21 +00:00
pwestin@webrtc.org
20f4440c73
Clean up TMMBR handling.
...
Review URL: https://webrtc-codereview.appspot.com/465001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1961 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-30 11:40:15 +00:00
xians@webrtc.org
010a4e8f0b
Fix the converity warnings:
...
CID 10177: Array compared against 0 (NO_EFFECT)
Comparing an array to null is not useful: "this->_paServerVersion".
Review URL: https://webrtc-codereview.appspot.com/466001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1956 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-29 14:05:04 +00:00
andrew@webrtc.org
952f601405
Fix Linux-release errors and Valgrind errors.
...
BUG=
TEST=build on Linux release.
TBR=tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/456008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1949 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-27 18:30:26 +00:00
andrew@webrtc.org
61b1b4b472
Fix neteq-rtpplay Linux build errors.
...
BUG=
TEST=build on Linux.
TBR=tina.legrand@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/457007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1948 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-27 17:33:29 +00:00
andrew@webrtc.org
f589dfede4
Merge header-only neteq-rtpplay changes.
...
TEST=build
Review URL: https://webrtc-codereview.appspot.com/452003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1947 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-27 17:05:44 +00:00
mflodman@webrtc.org
534a435751
Removed RTP Keepalive from RTP module.
...
Review URL: https://webrtc-codereview.appspot.com/455007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1942 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-27 06:57:41 +00:00
stefan@webrtc.org
38f247d800
Fixes an issue in the FEC decoder where a big jump in sequence numbers may cause new packets to be discarded if there is a wrap around.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/455003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1934 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 22:34:14 +00:00
stefan@webrtc.org
af5ffd5bb9
Fixes for coverity warnings.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/461001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1933 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 16:01:15 +00:00
tina.legrand@webrtc.org
196e491c46
Adding init decode slave to celt
...
Minor rearanging of calls. Added a init function to the slave channel of CELT.
Review URL: https://webrtc-codereview.appspot.com/458005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1931 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 14:39:46 +00:00
tina.legrand@webrtc.org
c231e4cb03
Fixing bug in re-packing of stereo packets.
...
BUG=341
TEST=voe_cmd_test, run G.722. First modify /src/modules/audio_coding_main/source/acm_codec_database.cc
@@ -149,7 +149,7 @@ const CodecInst ACMCodecDB::database_[] = {
{kDynamicPayloadtypes[count_database++], "CELT", 32000, 320, 2, 64000},
#endif
#ifdef WEBRTC_CODEC_G722
- {9, "G722", 16000, 320, 1, 64000},
+ {9, "G722", 16000, 320, 2, 64000},
#endif
#ifdef WEBRTC_CODEC_G722_1
Review URL: https://webrtc-codereview.appspot.com/454001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1930 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 10:01:11 +00:00
pwestin@webrtc.org
1f569222b2
Clean up coverity warnings.
...
Review URL: https://webrtc-codereview.appspot.com/456003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1928 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 09:04:16 +00:00
phoglund@webrtc.org
4aa57b4150
Extracted a helper library from vie_auto_test.
...
This CL does not attempt to fix the style issues in the moved tb_ files, at least not yet. In general I've tried to avoid dependencies between the library and vie_auto_test: vie_auto_test depends on the library but not the other way around. I had to make some slight changes to achieve this. I had to remove some ViETest::Log statements in tb_interfaces.cc and I had to move knowledge of where to put output files to the library. I think it ended up being pretty clean in the end but let me know if I missed something. I tried to convert all paths I touched to src-relative paths, so look out if I missed something there.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/450004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1923 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-22 12:56:54 +00:00
stefan@webrtc.org
c8e4886774
Upgrade libvpx to 6b66c01 and enabling temporal denoising.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/448006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1921 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-21 16:52:03 +00:00
marpan@webrtc.org
6503ecdc39
Fix to windows test from commit 1914.
...
Review URL: https://webrtc-codereview.appspot.com/455002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1917 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-21 00:18:13 +00:00
marpan@webrtc.org
3fe3252cb3
Fix to windows build from commit 1914.
...
Review URL: https://webrtc-codereview.appspot.com/456002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1916 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-20 22:13:24 +00:00
stefan@webrtc.org
e0d6fa4c66
Adding classes for handling multi-frame FEC.
...
The FEC behavior is unchanged with this commit, we will still be
limited to FEC over one frame for now.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/450006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1915 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-20 22:10:56 +00:00
marpan@webrtc.org
e22d81ce4d
Updates to resolution adpatation:
...
-moved calculation of selected frame size & frame rate to qm_select class.
-various updates to qm_select class (switch to 1/2 from 2 stages of 3/4,
include native frame rate for going up temporal, favor spatial action for temporal layers,..).
-updates to unittest.
Review URL: https://webrtc-codereview.appspot.com/450008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1914 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-20 18:21:53 +00:00
leozwang@webrtc.org
ac9fd8af09
Change folder name from Android to android
...
Review URL: https://webrtc-codereview.appspot.com/447012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1912 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-19 21:09:42 +00:00
stefan@webrtc.org
b9c50b68bf
Revert commit 1908.
...
Review URL: https://webrtc-codereview.appspot.com/452009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1909 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-17 00:56:36 +00:00
stefan@webrtc.org
fb5944edf9
Upgrade libvpx to 6b66c01 and enabling temporal denoising.
...
BUG=
TEST=
Review URL: http://webrtc-codereview.appspot.com/448006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1908 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-17 00:15:13 +00:00
leozwang@webrtc.org
a3736345dd
Introduced WEBRTC_ANDROID_PLATFORM_BUILD and make test app build on all platforms
...
BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/446012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1907 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 21:36:00 +00:00
leozwang@webrtc.org
9a85d8e3dd
Remove test apps from Android.mk in APM
...
BUG=
TEST=build on android and pc platforms
Review URL: https://webrtc-codereview.appspot.com/448005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1905 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 18:03:18 +00:00
andrew@webrtc.org
61bf8e33c4
Flush far-end buffers when larger than system delay.
...
Add a helper function to manage far-end buffer moves.
BUG=issue362
TEST=manually with audioproc
Review URL: https://webrtc-codereview.appspot.com/447007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1899 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 19:04:55 +00:00
leozwang@webrtc.org
3053702698
Remove -lasound and -lpulse linking flags
...
BUG=365
TEST=build on linux
Review URL: https://webrtc-codereview.appspot.com/446007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1898 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 18:34:13 +00:00
tina.legrand@webrtc.org
0e0390dc33
Flush NetEQ when receiving payload type switches between mono and stereo.
...
TEST=voe_cmd_test
Review URL: https://webrtc-codereview.appspot.com/448004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1893 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 11:23:51 +00:00
andrew@webrtc.org
62283c0ebf
Quick fix to avoid non-causal AEC signals on PulseAudio.
...
BUG=340
TEST=manually with voe_cmd_test
Review URL: https://webrtc-codereview.appspot.com/451007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1884 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-13 19:43:47 +00:00
leozwang@webrtc.org
3a39230fdf
Further cleanup WebRtc_Word8 in external video capture
...
Review URL: https://webrtc-codereview.appspot.com/450003
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1881 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 21:03:38 +00:00
tina.legrand@webrtc.org
ae1c4547ee
Reregister of stereo receiver didn't work.
...
This CL takes care of the re-registration of codecs, and tests unregistering stereo codecs.
One bug fixed in Celt too.
TEST=audio_coding_module_test: TestStereo.
Review URL: https://webrtc-codereview.appspot.com/436002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1871 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 08:41:30 +00:00
leozwang@webrtc.org
f5516240ad
Prepare future change of WebRtc_Word8 in udp module
...
Review URL: https://webrtc-codereview.appspot.com/439007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1870 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 22:07:18 +00:00
kjellander@webrtc.org
2050f84b98
audio_device_test_api failing cleaner failure for Linux without audio devices.
...
BUG=None
TEST=audio_device_test_api on Linux.
Review URL: https://webrtc-codereview.appspot.com/447002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1869 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 14:22:27 +00:00
tina.legrand@webrtc.org
0dab9e1523
Revert of r1859
...
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1866 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 10:03:09 +00:00
henrika@webrtc.org
907bc55c19
Removes WebRtc_Word8 dependecy in the AudioDeviceModule.
...
This CL also modifies the ADM callback interface and introduces void* instead of WebRtc_Word8*
as pointer types for data buffers. This change also affects the VoiceEngine.
Review URL: https://webrtc-codereview.appspot.com/443001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1863 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:59:19 +00:00
kjellander@webrtc.org
67fdd70e1b
Refactoring audio_device_test_api for gtest and execution on all platforms.
...
All the code that was previously in one single function is now broken up into 44 gtest tests. The creation of the Audio Device is done once (SetUpTestCase) and the audio device is initialized before each test (SetUp) and terminated after each test (TearDown). Doing this, the things that execute are basically the same since the test was structured as different sections separated by these calls:
TEST(audioDevice->Terminate() == 0);
TEST(audioDevice->Init() == 0);
I also cleaned up some unused helper functions and removed old test macros when replacing them by gtest macros.
The parts that are failing for Mac and Windows are excluded using #ifdef. Separate issues are filed for
this code to be fixed.
Formatting is updated to follow the WebRTC style guide.
BUG=None.
TEST=audio_device_test_api in Debug+Release on Linux, Mac and Windows. Test run audio_device_test_func on Linux.
Review URL: https://webrtc-codereview.appspot.com/437002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1861 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 08:11:04 +00:00
tina.legrand@webrtc.org
f1befad273
Reregister of stereo receiver didn't work.
...
This CL takes care of the re-registration of codecs, and tests unregistering stereo codecs.
One bug fixed in Celt too.
TEST=audio_coding_module_test: TestStereo.
Review URL: https://webrtc-codereview.appspot.com/436002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1859 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 13:23:18 +00:00
mflodman@webrtc.org
7845d07bf8
VideoCapture now uses pointer constructor of CriticalSectionScoped.
...
BUG=184
TEST=video_capture_module compiles on all platforms when removing ref ctor of CriticalSectionScoped.
Review URL: https://webrtc-codereview.appspot.com/434001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1855 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 08:09:17 +00:00
marpan@webrtc.org
accf607b3e
Updates for resolution adaptation.
...
1) added support for two additional modes:
-3/4 spatial down-sampling
-2/3 frame rate reduction
2) updated unittest and added a few more tests
3) some code refactoring
Review URL: https://webrtc-codereview.appspot.com/429005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1854 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 17:16:10 +00:00
leozwang@webrtc.org
57da718734
Fix building errors on android
...
TBR=mflodman
Review URL: https://webrtc-codereview.appspot.com/441001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1850 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:28:48 +00:00
leozwang@webrtc.org
77fe431f57
Enable video render test on android
...
Review URL: https://webrtc-codereview.appspot.com/428006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1849 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59:55 +00:00
leozwang@webrtc.org
0975d2158c
Cleanup messy data type of unknown_payload_type
...
BUG=322
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/430002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1848 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 20:59:13 +00:00
andrew@webrtc.org
6f9f817e06
Add an API to offset system delay.
...
Plumb it through VoiceEngine.
BUG=
TEST=voe_auto_test,audioproc_unittest
Review URL: https://webrtc-codereview.appspot.com/428010
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1846 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 19:03:39 +00:00
mflodman@webrtc.org
0e703f4d0d
VideoRender now uses pointer constructor of CriticalSectionScoped.
...
BUG=184
TEST=video_render_module compiles on all platforms when removing ref ctor of
CriticalSectionScoped.
Review URL: https://webrtc-codereview.appspot.com/427004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1843 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 12:02:20 +00:00
leozwang@webrtc.org
db2de5b49f
Fix building errors on android
...
TBR=Tina
BUG=
TEST=build on android
Review URL: https://webrtc-codereview.appspot.com/430001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1840 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:53:24 +00:00
leozwang@webrtc.org
66487e1629
Enable video test on android
...
Review URL: https://webrtc-codereview.appspot.com/429006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1839 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-05 19:34:06 +00:00