Commit Graph

1349 Commits

Author SHA1 Message Date
stefan@webrtc.org
710401bab2 Add timeout for REMB bandwidth estimates.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/458004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1925 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-23 01:23:55 +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
phoglund@webrtc.org
aaf62ac019 Temporarily disabled flaky tests.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/446010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1919 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-21 08:04:43 +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
bjornv@webrtc.org
a496b03c78 VAD refactoring: Removed macro file.
In this CL we've replaced the VAD macros with static const or enum.

Priority=low

BUG=
TEST=vad_unittest

Review URL: https://webrtc-codereview.appspot.com/453004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1913 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-20 12:53:06 +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
1c7d8827ee Enable video engine
Review URL: https://webrtc-codereview.appspot.com/449004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1906 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 18:09:10 +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
kma@webrtc.org
bb966ca835 Optimized function WebRtcSpl_ScaleAndAddVectorsWithRound() for ARM-NEON platforms, and refactor it for generic C.
We removed it out of ilbc_specific_functions.c, since it's used not only in iLBC.

Passed the unit test.
Review URL: https://webrtc-codereview.appspot.com/426009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1904 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 16:29:37 +00:00
phoglund@webrtc.org
7e26ad3828 Disabled more flaky volume tests.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/451012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1902 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-16 09:46:52 +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
xians@webrtc.org
5b6d3ce598 adding back external media api since it is used in chromium unittest
Review URL: https://webrtc-codereview.appspot.com/452006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1896 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 14:40:00 +00:00
xians@webrtc.org
a0866c10dd adding back the file api for chromium unittests.
Review URL: https://webrtc-codereview.appspot.com/451013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1894 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 13:06:41 +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
pwestin@webrtc.org
2058fee396 Change call order.
Review URL: https://webrtc-codereview.appspot.com/451011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1887 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-14 13:24:53 +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
24c65840de Remove video from Android.mk
Review URL: https://webrtc-codereview.appspot.com/453002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1883 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-13 17:22:44 +00:00
wu@webrtc.org
60c8b39ede Fix the WebRtc_Word8 and char mismatch for the chromium build.
Review URL: https://webrtc-codereview.appspot.com/446005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1882 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 23:59:11 +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
wu@webrtc.org
6e6ea04f9b Implement the TickTime::Now for mac using mach_absolute_time which is consistent even the user changes the system time.
Review URL: https://webrtc-codereview.appspot.com/431004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1879 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 19:42:22 +00:00
leozwang@webrtc.org
c197b12d21 Typedef WebRtc_word8 to int8_t
BUG=311
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/446002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1877 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 16:52:28 +00:00
perkj@webrtc.org
3d42eda962 Fix wrong usage of memset in vie_auto_test ViEAutoTest::ViENetworkAPITest.
BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/451006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1876 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 15:49:28 +00:00
perkj@webrtc.org
ebb2f7b6f6 Fix errors in ViEAutoTest::ViENetworkAPITest().
BUG=
TEST= ViEAutoTest::ViENetworkAPITest

Review URL: https://webrtc-codereview.appspot.com/451004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1875 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 12:26:53 +00:00
bjornv@webrtc.org
ed700db014 VAD refactor: Assign functions. Mostly style changes.
Includes
- parameter order
- type changes
- variable name changes
- comment changes
- indentations
- test changes

In addition made minor style changes.
Review URL: https://webrtc-codereview.appspot.com/384001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1874 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-12 12:17:26 +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
pwestin@webrtc.org
b594f4314a Fix for set local SSRC
Review URL: https://webrtc-codereview.appspot.com/451002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1868 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 12:31:52 +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
pwestin@webrtc.org
c637c40275 Removed deregister of default codec payload type.
Review URL: https://webrtc-codereview.appspot.com/451001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1865 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-09 09:32:28 +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
andrew@webrtc.org
8012474552 Use a const rather than macro for EcDefault.
- This should be a better solution to the build error in
  https://webrtc-codereview.appspot.com/425005
- Ideally all of the similar macros should go away, but one thing at
  a time...

BUG=
TEST=voe_auto_test

Review URL: https://webrtc-codereview.appspot.com/438002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1860 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 17:54:24 +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
phoglund@webrtc.org
0e8b52c012 Rolled back and re-adapted the codec test.
I don't really think this solves the problem and it makes the code worse, but it seems to make the vie_auto_test binary usable again. I've never seen it chrash on the standard tests since I rewrote it. It can still chrash on the API tests and extended tests though, which indicates that there is a fundamental design / threading problem somewhere, like we suspected. I think this is a kind of progress for now since we can use vie_auto_test to detect new errors again.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/425003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1857 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-08 09:19:31 +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
mflodman@webrtc.org
9a065d1eae VoiceEngine now uses pointer constructor of CriticalSectionScoped, instead of reference.
BUG=184
TEST=Compiles on all platforms.

Review URL: https://webrtc-codereview.appspot.com/436001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1853 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-07 08:12:21 +00:00
leozwang@webrtc.org
1d27039612 Disable CreateWindowManagerForCurrentPlatform on android
Review URL: https://webrtc-codereview.appspot.com/436003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1852 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 22:48:43 +00:00
leozwang@webrtc.org
30185916aa Fix error in test app which was introduced when payload type was converted to int
TBR=mflodman, phoglund
Review URL: https://webrtc-codereview.appspot.com/439004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1851 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-06 21:43:55 +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