Commit Graph

3507 Commits

Author SHA1 Message Date
andrew@webrtc.org
8a7396fe6c Use TestSuite for startup in audioproc_unittest's custom main().
TESTED=invoked audioproc_unittest with an absolute path in a working directory outside the tree.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2942 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 23:30:18 +00:00
kma@webrtc.org
66daa252df A fix to webrtc issue 918 in Android, introduced from version 2792 which touched the build settings.
Review URL: https://webrtc-codereview.appspot.com/897005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2941 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 22:12:50 +00:00
henrike@webrtc.org
fdb1fef064 Fixes comment from https://webrtc-codereview.appspot.com/869004/
BUG=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2940 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 18:03:49 +00:00
sjlee@webrtc.org
b0b3776b27 THis modification is casued by r2915.
In r2915, the src/system_wrapper/interface/critical_section_wrapper.h
was changed.
The below two files are affected by r2915. 
Review URL: https://webrtc-codereview.appspot.com/878006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2939 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 13:18:00 +00:00
mflodman@webrtc.org
34e83b8e8d Added buffer length when calling encrypt/decrypt. Write the extra two bytes.
Replacing http://review.webrtc.org/893004/.

BUG=934
TEST=Run ViE Autotest Encryption with Valgrind.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2938 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 11:05:54 +00:00
mflodman@webrtc.org
443df96c8e Made external codec test compile and pass.
BUG=961
TEST=Uncomment #define WEBRTC_VIDEO_ENGINE_EXTERNAL_CODEC_API in engine_configurations.h. Should build and extended codec test pass.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2937 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 09:41:25 +00:00
kjellander@webrtc.org
193600b7cf Adding fileutils.h support for absolute paths
This CL completes the effort done in http://review.webrtc.org/858014/ to make tests find the resources in various scenarios.

Slightly modified tests since there were a bit confusing and that their description conflicted with the current functionality.

BUG=Tests that are run with full absolute paths cannot find resources.
TEST=Local tests using absolute paths + trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2936 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-17 04:39:44 +00:00
leozwang@webrtc.org
363efef64a Consolidate test file path on Android
BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/879004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2934 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-16 04:31:20 +00:00
kjellander@webrtc.org
5605d54c6c Adding more libraries to svn:ignore to speed up trybots
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2933 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-16 04:27:23 +00:00
andrew@webrtc.org
0f2aba1109 Remove non-ASCII character from voe_external_media.h
TBR=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2932 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-16 01:20:39 +00:00
andrew@webrtc.org
ff0d19432b Delete mergeinfo on remote_bitrate_estimator.
This should prevent these files from showing up during every merge operation.

BUG=issue724
Review URL: https://webrtc-codereview.appspot.com/881005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2931 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 21:32:38 +00:00
phoglund@webrtc.org
21ca3fab12 Extended suppressions to be more general and suppress missed errors.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2930 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 21:02:56 +00:00
kjellander@webrtc.org
83b767b0f5 Improving the way fileutil.h finds test resources.
Adding the argv[0] path to the working directory to make it possible find the project root even when the test is executed from outside the project dir (like it is on some buildbots).

Removed tests that moves into directories since they no longer work with this approach. The new functionality have been verified by manual tests of the following cases, example with a checkout root dir called webrtc/:
Working dir:                   Command line:
webrtc                         trunk/out/Debug/test
webrtc/trunk                   out/Debug/test
webrtc/trunk/out               Debug/test
webrtc/trunk/out               ./Debug/test
webrtc/trunk/out/Debug         ./test
webrtc/trunk/out/Debug/subdir  ../test
webrtc/trunk/out/Debug/subdir  ./../test

I also made another program with its own main method (only links with 'test_support', not 'test_support_main') and made sure that it was still possible to use as before (i.e. works within the project tree but not above it):

#include "testsupport/fileutils.h"
int main(int argc, char** argv) {
  printf("Working dir: %s\n", webrtc::test::WorkingDir().c_str());
  printf("Project root: %s\n", webrtc::test::ProjectRootPath().c_str());
  printf("Output path: %s\n", webrtc::test::OutputPath().c_str());
}

BUG=Existing implementation cannot handle when the working directory is outside the project checkout.
TEST=test_support_unittests and manual tests with video_codecs_test_framework_integration_tests + passing all trybots + memcheck tool

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2927 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 18:14:12 +00:00
tina.legrand@webrtc.org
ef433579cb Adding support for 48 kHz input to VAD.
This CL adds support for 48 kHz sampling frequency in the VAD, by adding downsampling from 48 to 8 kHz.

BUG=
TEST=vad_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2926 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 17:46:19 +00:00
leozwang@webrtc.org
a03230c59b Refactor WebRTCDemo.java to follow google code style
BUG=None
TEST=bots
Review URL: https://webrtc-codereview.appspot.com/882005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2925 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 17:24:13 +00:00
mikhal@webrtc.org
dfc6b576a7 I420VideoFrame: Adding: 1. IsEmpty 2. ResetSize
Review URL: https://webrtc-codereview.appspot.com/857011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2924 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-15 16:12:09 +00:00
andrew@webrtc.org
89752611a1 Add VAD configuration options to audioproc.
Review URL: https://webrtc-codereview.appspot.com/855014

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2923 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-12 16:41:45 +00:00
andrew@webrtc.org
597f6f2e10 Add proto.xml to .gitignore (and alphabetize).
TBR=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2922 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-12 15:52:14 +00:00
tina.legrand@webrtc.org
eb232cee9a This is a minor change.
Wrong macro used for AMR and AMR-wb. The real name for the macros are without "GSM".

Magnus, please review the change in modules/media_file.
Henrik G, please review the change in voice_engine

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2921 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-12 12:50:14 +00:00
stefan@webrtc.org
912981fd0c Refactoring jitter_buffer.h/.cc to Google style.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2920 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-12 07:04:52 +00:00
kma@webrtc.org
df42df5bd6 Fixed a compiler issue with arm neon build.
Problem: When building webrtc in ARM but not Android:

third_party/webrtc/modules/audio_processing/ns/nsx_core_neon.c: In function 'WebRtcNsx_NoiseEstimationNeon':
third_party/webrtc/modules/audio_processing/ns/nsx_core_neon.c:248:7: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts

third_party/webrtc/modules/audio_processing/ns/nsx_core_neon.c:248:17: error: incompatible types when assigning to type 'int16x8_t' from type 'uint16x8_t'
Review URL: https://webrtc-codereview.appspot.com/859013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2917 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 17:59:17 +00:00
mikhal@webrtc.org
b04d85e4fb git-svn-id: http://webrtc.googlecode.com/svn/trunk@2916 4adac7df-926f-26a2-2b94-8c16560cd09d 2012-10-11 17:19:10 +00:00
mflodman@webrtc.org
d93cac4a04 Remove CriticalSectionScoped reference constructor.
This is to close BUG=187, which was, except for this, done a long time ago.

BUG=187
TEST=Compiles.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2915 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 16:58:05 +00:00
mflodman@webrtc.org
aeb37d34aa Changed CriticalSectionScoped so the style correct constructor is used everywhere.
BUG=187

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2913 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 16:31:00 +00:00
marpan@webrtc.org
ab7fa4e9a8 Updates to videoprocessor_integration_test:
-added internal spatial resize and frame dropper as codec config parameters.
    -made one test dedicated to internal spatial resize.
    -set the denoiser to be on for the temporal layer test.
    -correct the setting for number of spatial resizes for temporal layer test.
Review URL: https://webrtc-codereview.appspot.com/866007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2912 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 16:27:34 +00:00
xians@webrtc.org
597b4472eb The CL broke the builds is :
http://code.google.com/p/webrtc/source/detail?r=2804
Review URL: https://webrtc-codereview.appspot.com/873012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2911 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 15:41:55 +00:00
mikhal@webrtc.org
58849fd1ec Adding Scale for I420VideoFrame
Review URL: https://webrtc-codereview.appspot.com/857012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2910 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 15:33:05 +00:00
mikhal@webrtc.org
80f14d20c4 Adding DeliverCaptureEncodedFrame
Review URL: https://webrtc-codereview.appspot.com/860012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2909 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 15:03:53 +00:00
stefan@webrtc.org
09a1ef53a5 Fix for issues with in r2906.
TBR=henrik.lundin@webrtc.org

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2907 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 12:13:42 +00:00
stefan@webrtc.org
fa7e8682c3 Refactoring codec_database.cc/.h to Google style.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2906 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 11:21:38 +00:00
xians@webrtc.org
10a15badcc The problem is:
./content/renderer/media/webrtc_audio_device_impl.h:19:81: error: third_party/webrtc/modules/audio_device/main/interface/audio_device.h: No such file or directory
 
We have to create a temporary files until the new webrtc is rolled the chrome.
Review URL: https://webrtc-codereview.appspot.com/867008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2905 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 09:32:45 +00:00
braveyao@webrtc.org
10f5b22610 Issue 634: NSArray exception when getting video info when no camera attached - OSX
BUG = Issue 634
TEST = NONE
Review URL: https://webrtc-codereview.appspot.com/859006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2904 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 02:42:51 +00:00
braveyao@webrtc.org
f4d2bec3c7 Issue 589: Possible bug in TMMBRHelp::CalcMinBitRate
BUG = Issue589
TEST = NONE
Review URL: https://webrtc-codereview.appspot.com/857005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2903 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-11 02:25:56 +00:00
wu@webrtc.org
7aa1189440 Fix a break on the "ChromiumOS (daisy)" bot.
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28daisy%29/builds/3567/steps/BuildTarget/logs/stdio
third_party/webrtc/common_audio/signal_processing/spl_init.c:35:13: error: 'InitPointersToC' defined but not used [-Werror=unused-function]

TEST=try bots

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2901 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-10 20:59:35 +00:00
kjellander@webrtc.org
ccb52c2961 Improve error handling for barcode_tools
These changes make the execution abort earlier on an error (like a tool is not found) and makes it easier to figure out what's wrong.

Made build_zxing.py executable.

BUG=None
TEST=Local runs of the PyAuto test src/chrome/test/functional/webrtc_video_quality.py in Chromium.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2899 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-10 16:11:28 +00:00
phoglund@webrtc.org
ff33bdd9d7 Suppressed all voe_auto_test standard suite bugs and introduced a flag for excluding timing-dependent tests.
Also Suppressed FakeMediaProcess errors (bug 898) and took out a test and suppressed general errors (bug 332). Lastly, fixed memory leak in misc test.

BUG=898, 332
TEST=Ran voe_auto_test with repeat=10 through the whole standard suite, under valgrind. Ran without valgrind. Tested that the extended and standard tests still start and are reachable from the menu.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2898 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-10 15:41:03 +00:00
mikhal@webrtc.org
fafb0bf38b Rolling libvpx to 30d8ba541ede
Review URL: https://webrtc-codereview.appspot.com/873008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2896 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-10 00:11:44 +00:00
marpan@webrtc.org
1dd8d4bca4 Put some bounds on VCM frame dropper.
Review URL: https://webrtc-codereview.appspot.com/873005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2893 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-09 20:43:56 +00:00
leozwang@webrtc.org
71c13765ad Add a few functions to android test application
1. Add playing ringtone
2. Add receiving headset plug intent
3. Add a runnable to simulate cpu load

BUG=
TEST=trybot
Review URL: https://webrtc-codereview.appspot.com/858007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2892 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-09 20:20:37 +00:00
mikhal@webrtc.org
e4c920fb3d Adding plane alignment.
Review URL: https://webrtc-codereview.appspot.com/857008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2891 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-09 16:04:48 +00:00
mflodman@webrtc.org
656477b930 Fixing Windows build.
Review URL: https://webrtc-codereview.appspot.com/864010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2888 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 20:58:37 +00:00
elham@webrtc.org
d63b18e67c Updated version number to 3.14
Review URL: https://webrtc-codereview.appspot.com/864009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2887 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 20:36:53 +00:00
henrike@webrtc.org
0ed9c69711 Implemented todo. I.e. removed unnecessary header.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2886 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 20:20:22 +00:00
mflodman@webrtc.org
15e4e34872 Wire up ssrc check in ViEEncoder for intra requests.
Review URL: https://webrtc-codereview.appspot.com/872004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2884 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 18:58:14 +00:00
stefan@webrtc.org
c530043684 Add per stream intra requests.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2883 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 07:06:53 +00:00
stefan@webrtc.org
7bc3a4172a Adding support for changing resolutions and FEC to video_rtp_play.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2882 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-08 07:02:53 +00:00
mflodman@webrtc.org
aca26292ae Hooking up EncoderStateFeedback to handle intra requests instead of trigger
ViEEncoder directly. This is one step towards adding send- and receive only
channels and getting rid of the default module.

Patch set 1 contains the reverted CL occasionally dead-locking:
http://review.webrtc.org/824004

BUG=769

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2880 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-05 16:17:41 +00:00
henrike@webrtc.org
5ba4411cd9 Makes it such that calling ThreadWrapper::Start(..) only returns false if a thread was never started. I.e. it will not return false if it was unable to configure the thread (however it does log such failures).
Review URL: https://webrtc-codereview.appspot.com/869004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2879 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-05 14:36:54 +00:00
phoglund@webrtc.org
ad6612b1f8 Continuing to rewrite custom calls.
Added new helper for getting regular input. Rewrote remaining input handling for custom calls. Added a --choose_defaults flag which makes it possible to default on everything (e.g. with the flag, choosing custom call will accept all defaults and go directly to the call).

The next patch will add support for overriding arbitrary choices using flags. That is the point I want to arrive at and this patch paves the way for that. Fortunately it gets rid of some repetitive and bug-prone code on the way.

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2878 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-05 12:34:09 +00:00
stefan@webrtc.org
81ebe38acb Fixing LatestEstimate().
TBR=henrik.lundin@webrtc.org

BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2877 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-05 08:45:25 +00:00