Commit Graph

2637 Commits

Author SHA1 Message Date
kjellander@webrtc.org
b764d78831 Adding support for --test argument
BUG=Cannot use this from Chrome buildbot scripts.
TEST=Ran tools/valgrind-webrtc/webrtc_tests.sh --test out/Debug/test_support_unittests

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2737 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 09:34:51 +00:00
henrik.lundin@webrtc.org
1e100a9a5e Removing WebRtcNetEQ_GetVersion
We no longer use version functions.
This should resolve Coverity DefectId 14108

BUG=Coverity DefectId 14108
TEST=trybots, neteq_unittests, audio_coding_unittests, audio_coding_module_test

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2736 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 09:23:32 +00:00
henrik.lundin@webrtc.org
a63b3db614 Fixing uninitialized member variables in RtpFormatVp8TestHelper
This should fix Coverity DefectId 14374.

BUG=Coverity DefectId 14374
TEST=trybots, rtp_rtcp_unittests

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2735 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 09:20:07 +00:00
xians@webrtc.org
8890b3b5b2 fixing the opensles problem.
Review URL: https://webrtc-codereview.appspot.com/737005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2734 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 08:12:53 +00:00
stefan@webrtc.org
7c3523c1a4 Change audio/video sync to be based on mapping RTP timestamps to NTP.
Video Engine:
- Instead compensate for video capture delay by modifying RTP timestamps.
- Calculate the relative offset between audio and video by converting
  RTP timestamps to NTP and comparing receive time.

RTP/RTCP module:
- Removes the awkward video modification of NTP to compensate
  for video capture delay.
- Adjust RTCP RTP timestamp generation in rtcp_sender to have the same offset
  as packets being sent from rtp_sender.

BUG=
TEST=trybots,steam_synchronization_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2733 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 07:00:42 +00:00
andrew@webrtc.org
fa418ac0af Consolidate common_video targets to improve gyp run time.
Not sure if this change is measurable; perhaps a 1% savings.

BUG=webrtc:34

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2732 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 01:34:21 +00:00
fbarchard@google.com
852fd687e0 Fix for clang ia32 on linux which does not support optimize attribute.
BUG=libyuv bug 83
TEST=./build/gyp_chromium --depth=. -Dtarget_arch=ia32 -Dclang=1 webrtc.gyp && make libyuv
Review URL: https://webrtc-codereview.appspot.com/790004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2731 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 22:01:32 +00:00
fbarchard@google.com
1594e84ca0 Roll to libyuv r341 to fix unittest failures on build bots. Version number updated so unittests pass version check. Disabled 4 tests that failed valgrind - libyuv bugs 79,80,81,82 opened for followup.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/787005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2730 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 20:54:05 +00:00
sjlee@webrtc.org
4b42508cc0 This CL is WebRTC VoiceEngine for iOS and is from CL713004.
After patching this, first comments some video related lines in webrtc.gyp and src/module/module.gyp
And then do the below command.

$> ./build/gyp_chromium --depth=.  -DOS=ios -Dtarget_arch=armv7 -Dinclude_tests=0 -Denable_protobuf=0 -Denable_video=0 webrtc.gyp
$> xcodebuild -sdk iphoneos [-configuration Release]
Review URL: https://webrtc-codereview.appspot.com/768009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2729 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 17:58:21 +00:00
andrew@webrtc.org
c732ca697b Return audio_processing_tests.gypi to module.gyp.
TBR=xians

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2728 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 16:33:43 +00:00
phoglund@webrtc.org
4a2639a210 Disabled one more test on Linux that was probably flaky. 42 remaining.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2727 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 13:28:39 +00:00
stefan@webrtc.org
e37ecc6f81 Adding test for relaying all simulcast streams to different receive channels.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2726 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 13:27:47 +00:00
mflodman@webrtc.org
deaf685b66 Fix gcc 4.6 compilation for video_engine_unittest
TEST=Manually built using gcc 4.6.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2725 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 13:19:08 +00:00
leozwang@webrtc.org
a96f8d9584 Change audio_processing libraries because of r2723
Buildbot will be ready soon, so such problem will hopefully not happen again.

BUG=None
TEST=local test
Review URL: https://webrtc-codereview.appspot.com/782004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2724 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-08 23:26:16 +00:00
andrew@webrtc.org
8c4696cd76 Consolidate audio_processing targets to improve gyp time.
Saves about 5% on a standalone Mac-XCode gyp run.

BUG=issue34

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2723 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-08 19:27:24 +00:00
kma@webrtc.org
7a50fa428c Changed a flag in ARM build for platform build.
Review URL: https://webrtc-codereview.appspot.com/780005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2722 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-08 00:32:59 +00:00
kma@webrtc.org
0221b78e2e Added run time ARM-Neon detection feature in SPL functions.
Review URL: https://webrtc-codereview.appspot.com/728010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2721 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-08 00:09:26 +00:00
leozwang@webrtc.org
706a546f69 Change include path
Message:
The background, when we make a binary delivery, typically user puts header files and
library file in a flat folder, so include "x/y/z/header.h" doesn't work.

I know it's against google style, but it's something we have to workaround.
I can also do
#ifdef ANDROID
#include "audio_device_defines.h"
#include "module.h"
#else
#include "modules/audio_device/main/interface/audio_device_defines.h"
#include "modules/interface/module.h"
#endif

This is a workaround before we build everything from source which will happen
eventually, but might be couple months later.

Description:
Change include path to make it build in a standalone delivery.

BUG=None
TEST=local test
Review URL: https://webrtc-codereview.appspot.com/778004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2720 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-07 20:26:43 +00:00
stefan@webrtc.org
1a4abae7c2 Fixes an issue where we setting wrong padding bitrates.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2717 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-07 11:15:33 +00:00
andrew@webrtc.org
7692239b18 Work around bot filesystem flakiness in MixingTest.
TBR=braveyao

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2716 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-07 05:18:48 +00:00
andrew@webrtc.org
f3b65dbfe8 Remove WEBRTC_MAC_INTEL.
Review URL: https://webrtc-codereview.appspot.com/765008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2715 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 18:17:00 +00:00
andrew@webrtc.org
b3b158db2e Put output files in the output directory.
Review URL: https://webrtc-codereview.appspot.com/771006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2714 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 18:11:25 +00:00
kma@webrtc.org
3c1f96f279 Fixed several places for compiler warnings.
To reproduce, use compiler arm-linux-androideabi-gcc (GCC) 4.6.x-google 20120106 (prerelease).
Review URL: https://webrtc-codereview.appspot.com/762011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2712 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 16:20:03 +00:00
stefan@webrtc.org
0b3ee391f7 Relaxing the rate control test.
TBR=kjellander

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2711 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 11:20:22 +00:00
stefan@webrtc.org
de8db4e350 Roll libvpx to c6fd0a5d to get MFQE and denoising improvements.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2710 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 10:49:31 +00:00
kjellander@webrtc.org
ead3005c46 Making Java headless to save execution time
Is seems this only saves a few seconds, but it's a least less confusing for the user executing the test.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2709 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 09:33:08 +00:00
mflodman@webrtc.org
3be5863405 Adding a class receiving key frame requests and relying to corresponding ViEEncoder. This CL adds the new class and unittest, but doesn't wire up th efunctionality. That will come in a follow soon after.
Also added include path in file_recorder.h to make video_engine_core_unittest compile.

BUG=769
TEST=New unittest added.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2708 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 08:19:40 +00:00
leozwang@webrtc.org
dcc30f871d Add a script that can build a single voice engine library
It's a basically a copy of existing merged_lib.gpy but changed the dependency
to voice engine.

BUG=None
TEST=Local build 
Review URL: https://webrtc-codereview.appspot.com/762010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2707 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-05 20:08:35 +00:00
andrew@webrtc.org
9ae534817a Remove ARM_WINM and related unused defines.
Review URL: https://webrtc-codereview.appspot.com/768010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2706 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-05 17:33:42 +00:00
leozwang@webrtc.org
be322d158e Correct wrong function name
Which is missed in last vie patch

TBR=ronghua

BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/762009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2705 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-05 17:11:34 +00:00
leozwang@webrtc.org
770d06bd01 Add libns which was added recently
BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/765007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2704 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-05 17:10:57 +00:00
andrew@webrtc.org
618ab3f038 Add a real FFT wrapper around the complex FFT.
BUG=issue762

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2703 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-04 23:39:05 +00:00
kma@webrtc.org
56ef8ca074 Bug fix for issue in building ARM neon device.
Review URL: https://webrtc-codereview.appspot.com/768008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2701 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-04 22:58:55 +00:00
kma@webrtc.org
9b1cf54a4a Change the dependency of ARM code from on Android to on ARM.
Review URL: https://webrtc-codereview.appspot.com/759004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2699 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-03 21:22:28 +00:00
mflodman@webrtc.org
c81a801ed7 Adding critsect to VCM::StartDebugRecording.
BUG=793
TEST=vie_auto_test --automated --gtest_filter=ViEStandardIntegrationTest.RunsFileTestWithoutErrors --gtest_repeat=-1 --gtest_break_on_failure for an hour

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2698 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-03 13:22:29 +00:00
stefan@webrtc.org
03b2b85b19 Enable multi-res encoding feature in libvpx.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2697 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-03 06:57:01 +00:00
andrew@webrtc.org
d84d11160e Add WEBRTC_POSIX and remove unneeded defines.
Review URL: https://webrtc-codereview.appspot.com/768007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2695 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 23:17:53 +00:00
marpan@webrtc.org
1e68577499 Update the 3 layer temporal pattern and apply the current fix to issue 6992310.
Review URL: https://webrtc-codereview.appspot.com/753006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2694 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 21:17:12 +00:00
phoglund@webrtc.org
31eac6082d Disabled one more flaky test on Linux.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2693 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 13:49:23 +00:00
vspasova@webrtc.org
992da29c75 A tool that crops the top pixel rows of a YUV video.
TEST=./tools/barcode_tools/yuv_cropper.py --width=640
--height=480 --crop_height=32
--yuv_file=<path_and_name_to_yuv_file>
--output_file=<path_and_name_to_output_file>

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2692 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 09:47:47 +00:00
kjellander@webrtc.org
6307dbf468 Updates the PRESUBMIT.py to allow years from 2011 to the current year.
Since Chromium has moved to this policy, we should too.
Code is copied from /depot_tools/presubmit_canned_checks.py but modified for our purpose.

BUG=
TEST=Tested git cl presubmit with a modified .cc file with the 2011 header and one with the 2012.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2691 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 07:07:11 +00:00
fbarchard@google.com
3baa8a2102 Roll libyuv to r338 which includes more complete unittests, lint fixes, and a bug fix for YUY2ToARGB which was oversampling by 1 row for UV channels. This should help with setting up build bots for libyuv and keeps the version in sync with chromium.
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/771005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2690 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 04:12:08 +00:00
wu@webrtc.org
8a9f0f4e4d * Update to the peerconnection client to use jsep01. (Chromium 153489.)
* Remove the peerconnection_server target from peerconnection.gyp since we have it in libjingle.gyp.
* Add enabled_libjingle_device_manager in supplement.gypi to add devicemanger to stand alone build.
* Add link settings to base.gyp which is needed by the new changes in peerconnection_client.

Note: Resolving hostname function has some problem on Windows in this revision.
So with this revision the peerconnection client can only take ip address directly as
the server address on Windows.
Review URL: https://webrtc-codereview.appspot.com/753008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2689 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-31 00:17:53 +00:00
vspasova@webrtc.org
1b0a02e12e Fixing a path and Ant invocation issue in build_zxing.py and delete_file issue in helper_functions.py
Review URL: https://webrtc-codereview.appspot.com/761006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2688 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-30 12:56:38 +00:00
andrew@webrtc.org
16cfbe2e89 Fix a potential Chrome crash in audioproc.
There are Chrome crashes which appear to be occurring during some kind
of teardown. We might be able to avoid them by locking in the destructor.

On the other hand, this might have no impact, but at least isn't a bad
thing to do.

BUG=chromium:145341

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2687 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-29 16:58:25 +00:00
phoglund@webrtc.org
4436fcebaf Disabled audio device tests on mac so we can launch the test on the bots.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2686 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-29 09:36:50 +00:00
andrew@webrtc.org
cc53b7c97b Disable test causing race conditions.
TBR=kjellander
BUG=issue788

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2685 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-29 06:55:21 +00:00
andrew@webrtc.org
b93522857c Trivial fix for memcheck error.
TBR=xians

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2684 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-29 04:23:14 +00:00
andrew@webrtc.org
55c0d4a683 Add support for clock drift compensation.
Support clock drift compensation on Windows and add an API to allow
enabling dynamically.

BUG=issue773
TEST=unittest, trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2683 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-29 02:13:12 +00:00
mikhal@webrtc.org
954cf806d9 Adding the video debug api to vie test record
Review URL: https://webrtc-codereview.appspot.com/763004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2681 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 20:55:10 +00:00