mflodman@webrtc.org
e06ca3cef6
Removed nolint for include guards.
...
BUG=
TEST=cpplint.py --filter=-build/header_guard src/video_engine
Review URL: https://webrtc-codereview.appspot.com/676008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2469 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-29 13:20:14 +00:00
mflodman@webrtc.org
ab2610ffd9
Removed the last lint warnings in video_engine.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/670006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2468 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-29 10:05:28 +00:00
mflodman@webrtc.org
efe20b39db
Only add Mac compiler warning for clang, not gcc.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/676007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2466 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 17:28:06 +00:00
andrew@webrtc.org
1115fdbe69
Remove tab from DEPS.
...
TBR=kjellander@webrtc.org
BUG=none
TEST=gclient sync
Review URL: https://webrtc-codereview.appspot.com/670005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2465 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 15:55:01 +00:00
henrike@webrtc.org
a5fcf7ab41
Fixes broken Chromium build.
...
BUG=brakes chrome build
TEST=Manually on Linux
Review URL: https://webrtc-codereview.appspot.com/679006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2462 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 12:49:35 +00:00
kjellander@webrtc.org
44361abb20
Moving from Chromium cygwin dependency to our own
...
BUG=
TEST=gclient sync on Windows followed by Debug build from scratch.
Review URL: https://webrtc-codereview.appspot.com/677009
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2461 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 12:30:27 +00:00
mflodman@webrtc.org
c802e0ed0c
Changed max codec resolution.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/674008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2457 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 07:57:39 +00:00
asapersson@webrtc.org
d2e6779565
Fix for negative transmission time offset.
...
Review URL: https://webrtc-codereview.appspot.com/671006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2456 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 07:53:15 +00:00
stefan@webrtc.org
5f28498149
First step in refactoring audio/video synchronization. Adds unittests.
...
BUG=
TEST=stream_synchronization_unittest
Review URL: https://webrtc-codereview.appspot.com/669005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2455 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 07:51:16 +00:00
mflodman@webrtc.org
cee447a5bb
cpplint passes for vie_performance_monitor, vie_manager_base, vie_impl, vie_renderer, vie_defines and vie_render_manager.
...
NOLINT is used where API changes would be needed, for include guards and include files in WebRTC root.
Lots of changes, but no real logical changes.
BUG=627
TEST=vie_auto_test + compiles on all platforms.
Review URL: https://webrtc-codereview.appspot.com/679004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2454 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 07:29:46 +00:00
asapersson@webrtc.org
100463e828
Added initial nack configuration for rtp module.
...
Review URL: https://webrtc-codereview.appspot.com/677007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2453 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 07:21:51 +00:00
mflodman@webrtc.org
1b1cd78dd2
Made cpplint pass for vie_remb, vie_ref_count, vie_sender and vie_receiver.
...
NOLINT is used for include guards. I took a shortcut for vie_ref_count, the class will be deleted very soon anyway.
BUG=627
TEST=cpplint and compiles
Review URL: https://webrtc-codereview.appspot.com/677008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2452 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-28 06:34:08 +00:00
andrew@webrtc.org
e22beabaf1
[MIPS] Adding support for MIPS architecture for WebRTC.
...
Small change to typedefs.h to enable MIPS Little Endian port.
TBR=niklas.enbom@webrtc.org
BUG=https://code.google.com/p/chromium/issues/detail?id=130022
TEST=make chrome
Review URL: https://webrtc-codereview.appspot.com/679005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2451 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 22:24:43 +00:00
mflodman@webrtc.org
f5e99db10b
Made cpplint pass for vie_channel.* and vie_encoder.*. NOLINT is used for API changes, include guards and include files in WebRTC root.
...
WebRTC types and webrtc:: will be removed in a follow up.
BUG=627
TEST=vie_auto_test + compiles
Review URL: https://webrtc-codereview.appspot.com/677005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2450 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 09:49:37 +00:00
tina.legrand@webrtc.org
3ddc974039
Handle VAD/DTX in a correct way if running stereo ACM.
...
BUG=issue573
TEST=audio_coding_module_test
Review URL: https://webrtc-codereview.appspot.com/669006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2449 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 09:25:50 +00:00
andrew@webrtc.org
4ecea3e105
Downmix before resampling in capture and render paths.
...
We previously had an error when a mono capture device was used with
a stereo codec. This is prevented by avoiding any remixing in
AudioProcessing. Instead, capture side downmixing is now done before
resampling. Upmixing can now be handled properly by AudioCoding,
since the AudioProcessing error condition has been removed.
On the render side, downmixing now occurs before resampling. Ideally
this would be handled still earlier in the chain. Similarly, downmixing
for the AudioProcessing reference data occurs before resampling. This
code has been refactored into RemixAndResample, with a comprehensive
unittest added in output_mixer_unittest.cc.
BUG=issue624
TEST=manually through voe_cmd_test, by using mono and stereo capture
and render devices with mono and stereo codecs. voice_engine_unittest,
voe_auto_test.
Review URL: https://webrtc-codereview.appspot.com/676004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2448 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 03:25:31 +00:00
andrew@webrtc.org
7a281a5634
Fix Android build after test/ -> src/test/
...
TBR=leozwang@webrtc.org
BUG=none
TEST=Android trybot
Review URL: https://webrtc-codereview.appspot.com/677006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2447 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 03:22:37 +00:00
andrew@webrtc.org
81cf5e4752
Move test to src/test.
...
- Refer to top-level directories by <(DEPTH), e.g. <(DEPTH)/testing.
- Remove now unneeded third_party_root.
TBR=henrike@webrtc.org
BUG=none
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/669007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2446 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 01:41:54 +00:00
leozwang@webrtc.org
253912c188
Disable a few features to save CPU cycles on android
...
BUG=
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/677004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2445 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-26 17:08:41 +00:00
marpan@webrtc.org
5567ebfd1f
VPM: Assign correct required size for odd size destination frame.
...
Updates to spatial resampler unittest.
Review URL: https://webrtc-codereview.appspot.com/660006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2444 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-26 16:47:36 +00:00
astor@webrtc.org
bd7aeba8fb
Expose a set of options to the OveruseDetector supporting experiments
...
Updated overuse_detector.* to use google style naming convention
Removed OveruseDetector::Reset
Review URL: https://webrtc-codereview.appspot.com/666005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2443 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-26 10:47:04 +00:00
hta@webrtc.org
f494fd0954
Use system-independent sleep in video_capture_unittest.
...
Another ifdef bites the dust!
BUG=603
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/674004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2441 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-25 11:33:34 +00:00
hta@webrtc.org
626dccc85b
Use one OS-independent sleep function in a video test
...
Sleep using no compile flags
BUG=603
TEST=
Review URL: https://webrtc-codereview.appspot.com/668004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2440 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-25 11:30:33 +00:00
henrike@webrtc.org
643be71700
Adds variable for third party directory.
...
BUG=348
TEST=Manual testing in Chrome and WebRTC workspace.
Review URL: https://webrtc-codereview.appspot.com/674005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2439 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-25 10:48:58 +00:00
tnakamura@webrtc.org
b9c1833c2c
Add channel info to the Actions->Codec Changes menu in the VoE test app.
...
Review URL: https://webrtc-codereview.appspot.com/665005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2438 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-22 16:29:38 +00:00
braveyao@webrtc.org
77e18124f9
Fix the flakiness in FileBeforeStreamingTest
...
BUG = 619
TEST = voe_auto_test
Review URL: https://webrtc-codereview.appspot.com/658006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2437 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-22 10:41:11 +00:00
andrew@webrtc.org
7450896a12
Roll Chromium 140240:143348.
...
TBR=kjellander@webrtc.org
BUG=none
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/673005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2436 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-22 00:25:43 +00:00
mflodman@webrtc.org
64f86fba19
Fix test app render bug.
...
Review URL: https://webrtc-codereview.appspot.com/669004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2435 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-21 12:32:39 +00:00
mflodman@webrtc.org
8baed51f6e
This CL is part of enabling cpplint check for video_engine uploads.
...
BUG=627
TEST=vie_auto_test
Review URL: https://webrtc-codereview.appspot.com/653006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2434 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-21 12:11:50 +00:00
mflodman@webrtc.org
9ba151bdf9
Removed cpplint warnings from all impl-files to be able to add this check as presubmit step. I don't want to change the API right now, will come later, so there are several NOLINT comments added to get around this for now.
...
BUG=627
TESTS=vie_auto_test
Review URL: https://webrtc-codereview.appspot.com/661005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2433 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-21 10:02:13 +00:00
hta@webrtc.org
2bd8d62d3b
Sleep using no compile flags
...
BUG=603
TEST=
Review URL: https://webrtc-codereview.appspot.com/665004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2432 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-21 09:57:24 +00:00
mflodman@webrtc.org
67f98ec63a
Removed flaky REMB test. This test is now covered by:
...
- RemoteBitrateEstimatorTest
- BitrateControllerTest
- RtcpFormatRembTest
- ViERembTest
BUG=477
TEST=See above.
Review URL: https://webrtc-codereview.appspot.com/667004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2431 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-21 09:29:53 +00:00
kma@webrtc.org
173538faa3
Refactored function WebRtcIsacfix_GetLpcCoef() in iSAC-fix.
...
One reason behind it is for further optimization of it in ARM.
Review URL: https://webrtc-codereview.appspot.com/646012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2429 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-20 17:17:15 +00:00
kjellander@webrtc.org
ba5a97db4a
Moving buildbot to internal repository.
...
BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/654007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2428 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-20 07:55:41 +00:00
hta@webrtc.org
3168e5349c
Working unit test for critical sections.
...
This extends unittest coverage, and allows to add more tests if these functions
ever are found to behave strangely.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/632005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2427 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-20 06:45:56 +00:00
kjellander@webrtc.org
5608fe9861
Disabling FileBeforeStreamingTest due to flakiness.
...
BUG=619
TBR=xians1
TEST=Tested on Linux, Mac and Windows.
Review URL: https://webrtc-codereview.appspot.com/654006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2426 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-20 06:14:31 +00:00
wu@webrtc.org
2259f855ea
Remove unused member variables found by clang's -Wunused-private-field.
...
No intended behavior change.
On behavior of thakis@chromium.org .
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/641011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2425 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 14:56:50 +00:00
hta@webrtc.org
72e3a89b52
Created a wrapper class for condition_variable that lets me write (hopefully) reliable tests for some of its properties.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/600005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2424 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 13:49:48 +00:00
bjornv@webrtc.org
b38fca1ec2
VAD Refactoring: API change of return value from int16_t to int.
...
This CL change the return int on Process() to meet Google Style. The change affects audio_coding and neteq.
Tests have been changed accordingly and the code has been tested on trybots, vad_unittests, audioproc_unittest, audio_coding_unittests, audio_coding_module_test and neteq_unittests.
BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/663005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2423 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 11:03:32 +00:00
vspasova@webrtc.org
f477aac844
Removed gflags header from vie_auto_test.
...
Removed gflags include file from src/video_engine/test/automated/
vie_video_verification.cc as it is no longer needed.
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/645005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2422 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 09:20:33 +00:00
braveyao@webrtc.org
dfa6b697e2
Refine the error handling made in rev2373
...
Review URL: https://webrtc-codereview.appspot.com/644005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2421 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-19 06:38:59 +00:00
wu@webrtc.org
67f256fab4
Use 32 as the alignment if possible in VP8 wrapper.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/663004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2420 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 21:15:32 +00:00
bjornv@webrtc.org
df596ae444
VAD Refactoring of GMM test section
...
The CL is organized w.r.t. patch sets as follows:
1) Comments on functionality added.
2) Renamed local variable n to channel for clarity.
3) Dropped the extension _vector of variable |feature_vector| since it doesn't add anything new.
4) Minor comment update w.r.t. |feature|
5) Replaced an else if scheme with two if statements. This way we can use the same calculation for all sub cases which could be a source of error.
6) Moved two code lines to where they are used and rearranged such that avoiding tmp variable.
7) Instead of performing a bit-wise OR operation within an if statement we could perform the bit-wise OR at once.
8) Name change of |shifts0| to |shifts_h0| for clearer reading. Likewise for H1.
9) Renamed |nr| to |gaussian| for clearer reading.
10) Removed multiplication macro.
11) Re-organized local arrays to have the same structure as constants and member arrays used elsewhere in the code.
12) Changed locally declared variable to function declared.
13) Added array initialization at declaration.
Tested with trybots, vad_unittests, audioproc_unittest
BUG=None
TEST=None
Review URL: https://webrtc-codereview.appspot.com/595006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2417 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 18:22:53 +00:00
tina.legrand@webrtc.org
50d5ca5bf2
Refactoring of TestAllCodecs
...
ACM testing consists of seven individual tests. Up til now we haven't used gtest everywhere, and many of the tests needs some rewriting to follow the style guide.
I've started with this tests, doing formatting, adding the test as a separate test which can now either succeed of fail in a proper way.
Still to do in this test is handling of input file, but that will be changed in a separate CL, because all tests uses the PCMFile class that will be affected by the change.
BUG=none
TEST=audio_coding_module_test, ACM_AUTO_TEST and ACM_TEST_ALL_CODECS.
Review URL: https://webrtc-codereview.appspot.com/646011
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2416 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 13:35:52 +00:00
hta@webrtc.org
db2f6cf878
Added missing define guard to sleep.h
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/656006
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2415 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 13:23:48 +00:00
hta@webrtc.org
86a6aacaee
Unittest utilities - starting out with an encapsulated trace-to-screen.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/655005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2414 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 13:22:08 +00:00
mflodman@webrtc.org
e3a0712f04
Deregister RTP module before deleting it.
...
BUG=617
TEST=
Review URL: https://webrtc-codereview.appspot.com/661004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2413 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 12:43:41 +00:00
hta@webrtc.org
41adcdbf13
An OS-independent sleep function, and one usage thereof.
...
BUG=603
TEST=none
Review URL: https://webrtc-codereview.appspot.com/659004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2412 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 11:24:57 +00:00
henrika@webrtc.org
37198007ea
GetRecPayloadType now logs a warning instead of and error when the user asks for the payload type while no packets have been received.
...
BUG=605
TEST=
Review URL: https://webrtc-codereview.appspot.com/660004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2411 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 11:00:12 +00:00
stefan@webrtc.org
190541578a
Correct gypi files to match the actual filenames.
...
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/656005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@2410 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-18 10:57:05 +00:00