Commit Graph

10180 Commits

Author SHA1 Message Date
021282f8f1 Roll chromium_revision 47ce5fe..f9fedae (362117:362322)
Change log: 47ce5fe..f9fedae
Full diff: 47ce5fe..f9fedae

Changed dependencies:
* src/third_party/openmax_dl: 37b900c..6625be0
* src/tools/gyp: e113348..f4d65e3
DEPS diff: 47ce5fe..f9fedae/DEPS

No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1488963002

Cr-Commit-Position: refs/heads/master@{#10848}
2015-12-01 06:24:43 +00:00
14f4144a82 Add helper KeepRefUntilDone.
The callback keeps a reference to an object until the callback goes out of scope.

Review URL: https://codereview.webrtc.org/1487493002

Cr-Commit-Position: refs/heads/master@{#10847}
2015-12-01 06:15:53 +00:00
ee69ed505b Add separate event for camera freeze.
Review URL: https://codereview.webrtc.org/1479523003

Cr-Commit-Position: refs/heads/master@{#10846}
2015-11-30 23:26:44 +00:00
70c0e298cb Disable PeerConnectionEndToEndTest.Call for TSan.
Recent flakes:
https://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/4565/steps/libjingle_peerconnection_unittest/logs/stdio
https://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/4559/steps/libjingle_peerconnection_unittest/logs/stdio
https://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/4557/steps/libjingle_peerconnection_unittest/logs/stdio
https://build.chromium.org/p/client.webrtc/builders/Linux%20Tsan%20v2/builds/4549/steps/libjingle_peerconnection_unittest/logs/stdio

BUG=webrtc:4719
R=glaznev@webrtc.org

Review URL: https://codereview.webrtc.org/1487823002 .

Cr-Commit-Position: refs/heads/master@{#10845}
2015-11-30 20:45:48 +00:00
f893df3ed0 Add third_party/libc++static to .gitignore
This should have been done in https://codereview.webrtc.org/1475643010/

TBR=tkchin@webrtc.org

Review URL: https://codereview.webrtc.org/1486733002 .

Cr-Commit-Position: refs/heads/master@{#10844}
2015-11-30 20:42:35 +00:00
a443ec1a75 Add _decoder CHECK to VCMGenericDecoder constructor.
This should never be using a null decoder, but it looks like it's
crashing out in the field. Adding a CHECK to see if it catches any
interesting stack traces.

Also making the _decoder pointer const to show that it should never be
changing.

BUG=chromium:563299
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1485713002 .

Cr-Commit-Position: refs/heads/master@{#10843}
2015-11-30 18:15:02 +00:00
7640ffabd7 Initialize type_preference_ in TestPort.
Prevents use of undefined memory for logging during
PortTest.TestLoopbackCal which was recently enabled for all release
builds.

BUG=
R=asapersson@webrtc.org
TBR=pthatcher@webrtc.org

Review URL: https://codereview.webrtc.org/1480233003

Cr-Commit-Position: refs/heads/master@{#10842}
2015-11-30 17:17:07 +00:00
f9203c6899 Roll chromium_revision faa24ae..47ce5fe (362083:362117)
Change log: faa24ae..47ce5fe
Full diff: faa24ae..47ce5fe

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1482243002

Cr-Commit-Position: refs/heads/master@{#10841}
2015-11-30 11:57:34 +00:00
99f8566524 Roll chromium_revision 0da9346..faa24ae (362069:362083)
Change log: 0da9346..faa24ae
Full diff: 0da9346..faa24ae

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1482923002

Cr-Commit-Position: refs/heads/master@{#10840}
2015-11-30 04:50:50 +00:00
bdf001a080 Roll chromium_revision 8f57310..0da9346 (362067:362069)
Change log: 8f57310..0da9346
Full diff: 8f57310..0da9346

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1482143002

Cr-Commit-Position: refs/heads/master@{#10839}
2015-11-29 20:03:52 +00:00
90728b96bd Roll chromium_revision 3e15d1a..8f57310 (362064:362067)
Change log: 3e15d1a..8f57310
Full diff: 3e15d1a..8f57310

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1482133002

Cr-Commit-Position: refs/heads/master@{#10838}
2015-11-29 12:05:40 +00:00
4c14254acd Roll chromium_revision df4d569..3e15d1a (362055:362064)
Change log: df4d569..3e15d1a
Full diff: df4d569..3e15d1a

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1483793002

Cr-Commit-Position: refs/heads/master@{#10837}
2015-11-29 03:58:32 +00:00
df3efa8c07 Introduced the new locking scheme
BUG=webrtc:5099

Review URL: https://codereview.webrtc.org/1424663003

Cr-Commit-Position: refs/heads/master@{#10836}
2015-11-28 20:35:18 +00:00
3236b91f55 Roll chromium_revision c54812d..df4d569 (362052:362055)
Change log: c54812d..df4d569
Full diff: c54812d..df4d569

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1487443002

Cr-Commit-Position: refs/heads/master@{#10835}
2015-11-28 19:59:22 +00:00
535727e80d Roll chromium_revision 5ac8f02..c54812d (362046:362052)
Change log: 5ac8f02..c54812d
Full diff: 5ac8f02..c54812d

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1483773002

Cr-Commit-Position: refs/heads/master@{#10834}
2015-11-28 12:05:07 +00:00
ae54b835ea Android SurfaceViewRenderer: Add resetStatistics() method
Review URL: https://codereview.webrtc.org/1472323003

Cr-Commit-Position: refs/heads/master@{#10833}
2015-11-28 11:15:04 +00:00
43f1809920 Roll chromium_revision 7b99051..5ac8f02 (361977:362046)
Change log: 7b99051..5ac8f02
Full diff: 7b99051..5ac8f02

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1485553002

Cr-Commit-Position: refs/heads/master@{#10832}
2015-11-28 04:04:25 +00:00
2fe1cb0f0a Don't overwrite audio stats when they're not available.
Chromium implements AudioProcessorInterface::GetStats(), but other
clients may not. The existing stats were getting overwritten with
default AudioProcessorStats values in that case.

Now, we only overwrite the stats if the track has an
AudioProcessorInterface. Also, move signal level out of
SetAudioProcessingStats() to avoid the "don't set if it's -1" pattern.

Review URL: https://codereview.webrtc.org/1469803004

Cr-Commit-Position: refs/heads/master@{#10831}
2015-11-28 01:27:40 +00:00
7e43138c08 -Removed the state as an input to the FilterAdaptation function.
-Renamed the TimeToFrequency and FrequencyToTime functions.
-Moved the windowing from the TimeToFrequency function.
-Simplified the EchoSubtraction function.

Note that the aec state is still an input to the EchoSubtraction function, and it currently needs to be that in order to support the output of the debug file. The longer-term goal is, however, to order the state into substates. This will simplify the parameter lists to the EchoCancellation function as well as replace the aec state as a parameter

BUG=webrtc:5201

Review URL: https://codereview.webrtc.org/1456123003

Cr-Commit-Position: refs/heads/master@{#10830}
2015-11-27 23:24:32 +00:00
19822d63c1 audio_coding: Cleanup duplicated headers after "main" removal.
In https://codereview.webrtc.org/1481493004/ some duplicated headers
were left to make it possible to update downstream without breakage.
Now that's done and we can remove these to avoid confusion.

BUG=webrtc:5095
TBR=henrik.lundin@webrtc.org, kwiberg@webrtc.org
TESTED=Passing compile-trybots with --clobber flag:
git cl try --clobber --bot=win_compile_rel --bot=linux_compile_rel --bot=android_compile_rel --bot=mac_compile_rel --bot=ios_rel --bot=linux_gn_rel --bot=win_x64_gn_rel --bot=mac_x64_gn_rel --bot=android_gn_rel -m tryserver.webrtc
NOTRY=True

Review URL: https://codereview.webrtc.org/1477423002

Cr-Commit-Position: refs/heads/master@{#10829}
2015-11-27 18:55:49 +00:00
358057b945 Use ChannelProxy for most calls on voe::Channel in Audio[Receive|Send]Stream.
BUG=webrtc:4690

Review URL: https://codereview.webrtc.org/1482703002

Cr-Commit-Position: refs/heads/master@{#10828}
2015-11-27 18:46:47 +00:00
ad856229a7 Use webrtc/base/logging.h for voice_engine.
BUG=webrtc:5118
R=henrika@webrtc.org

Review URL: https://codereview.webrtc.org/1474363002

Cr-Commit-Position: refs/heads/master@{#10827}
2015-11-27 17:48:40 +00:00
def58203a1 Default to LS_INFO logging for release builds.
Increases default loglevel for test targets to LS_INFO, which is a no-op
for debug builds but increases logging on release builds.

This is to present better debug info on buildbots when test runs fail.

BUG=
R=henrikg@webrtc.org, kjellander@webrtc.org, stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1479183002 .

Cr-Commit-Position: refs/heads/master@{#10826}
2015-11-27 16:53:31 +00:00
521af4e344 Remove duplicate decoders in BitrateEstimatorTest.
Multiple decoders were used for the same payload type in this test case,
causing CHECK failures when configuring.

BUG=webrtc:5249
TBR=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1484443003 .

Cr-Commit-Position: refs/heads/master@{#10825}
2015-11-27 15:35:14 +00:00
395c7c6519 Re-add missing return in RegisterExternalDecoder.
Breaks waterfall due to possible null-pointer dereferences.

BUG=webrtc:5249
TBR=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1483623002 .

Cr-Commit-Position: refs/heads/master@{#10824}
2015-11-27 14:23:20 +00:00
f8385aded0 rtcp::Pli moved into own file and got a Parse function
Created rtcp::Psfb abstract class between rtcp::Pli and rtcp::RtcpPacket to hold common data for Feedback Message.

BUG=webrtc:5260

Review URL: https://codereview.webrtc.org/1446513002

Cr-Commit-Position: refs/heads/master@{#10823}
2015-11-27 13:36:17 +00:00
e997a7de14 Call InitDecode with proper resolution.
Prevents double-initialization of decoders due to resolution changes
between initial database settings and first incoming frame.

BUG=webrtc:5251
R=mflodman@webrtc.org

Review URL: https://codereview.webrtc.org/1474193002 .

Cr-Commit-Position: refs/heads/master@{#10822}
2015-11-27 13:23:30 +00:00
795dbe4e0f Remove RegisterExternal{De,En}coder error codes.
Also adds a RTC_CHECK in VideoReceiveStream that verifies that decoders
aren't null, since this will attempt to deregister a codec which would
previously fail with an obscure stack trace not indicating what actually
was wrong.

BUG=webrtc:5249
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1479793002 .

Cr-Commit-Position: refs/heads/master@{#10821}
2015-11-27 13:09:14 +00:00
34873b5bb0 Roll chromium_revision 7ec1eb8..7b99051 (361868:361977)
Change log: 7ec1eb8..7b99051
Full diff: 7ec1eb8..7b99051

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1479173002

Cr-Commit-Position: refs/heads/master@{#10820}
2015-11-27 12:20:32 +00:00
26c8c91de2 Using Rent-A-Codec for static Codec access in WVoE/MC.
Mostly moved code around in WebRtcVoiceEngine:
- Added new internal class WebRtcVoiceCodecs for static codec functions and the CodecPrefs.
- ConstructCodecs() -> WebRtcVoiceCodecs::SupportedCodecs().
- FindWebRtcCodec -> WebRtcVoiceCodecs::ToCodecInst().
- WebRtcVoiceMediaChannel::SetRecvCodecsInternal() folded into WebRtcVoiceMediaChannel::SetRecvCodecs() (slight logic change).
- Change to how SetRecPayloadType() is implemented in fakewebrtcvoiceengine.h (lines 460-470).

BUG=webrtc:4690

Review URL: https://codereview.webrtc.org/1461333002

Cr-Commit-Position: refs/heads/master@{#10819}
2015-11-27 12:00:31 +00:00
8779a777f8 Fix standalone denoiser Android GN compile failure
BUG=webrtc:5255
R=pbos@webrtc.org
TBR=kjellander

Review URL: https://codereview.webrtc.org/1483613002 .

Cr-Commit-Position: refs/heads/master@{#10818}
2015-11-27 11:03:04 +00:00
81b9bfe685 Added a threadchecking scheme to APM that checks that the APM API calls are called from the correct threads. The actual threadcheckers were, however, removed and will be reintroduced in another upcoming CL.
BUG=webrtc:5099

Review URL: https://codereview.webrtc.org/1422013002

Cr-Commit-Position: refs/heads/master@{#10817}
2015-11-27 10:47:36 +00:00
64c0a0a111 Revert of Make overuse estimator one dimensional. (patchset #5 id:80001 of https://codereview.webrtc.org/1376423002/ )
Reason for revert:
Broke webrtc_perf_tests on bots.

Original issue's description:
> Make overuse estimator one dimensional.
>
> This drops the payload size difference dimension of the Kalman filter,
> which doesn't improve the quality of the estimation when pacing packets
> on the send-side.
>
> R=gaetano.carlucci@gmail.com, mflodman@webrtc.org, terelius@webrtc.org
>
> Committed: https://crrev.com/06e05a85b9e4def75ed5e6b582c4df842616f25f
> Cr-Commit-Position: refs/heads/master@{#10809}

TBR=terelius@webrtc.org,mflodman@webrtc.org,gaetano.carlucci@gmail.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.webrtc.org/1481003002

Cr-Commit-Position: refs/heads/master@{#10816}
2015-11-27 09:02:35 +00:00
42f580e490 Leaving all original files in talk/app/webrtc/objc until we can officially tell clients about the new locations.
Also changes presubmit script to not run cpplint on objc dirs.

BUG=

Review URL: https://codereview.webrtc.org/1467173006

Cr-Commit-Position: refs/heads/master@{#10815}
2015-11-27 07:18:28 +00:00
b1ac203480 Introduce helper class NtpTime
Seconds and fractions parts of the ntp time presented with two values, but used as one.
This helper structure can make that use more clear.
(initially introduced into rtp_rtcp as https://codereview.webrtc.org/1435833003)

BUG=webrtc:5260

Review URL: https://codereview.webrtc.org/1482593002

Cr-Commit-Position: refs/heads/master@{#10814}
2015-11-26 17:01:18 +00:00
6e40c09fc0 Fix root_files WATCHLIST.
The webrtc/ rule required a ^ to avoid matching e.g. talk/app/webrtc.

Also modify my subscriptions a bit.

R=kjellander@webrtc.org
TEST=verified with depot_tools/watchlists.py
NOTRY=true

Review URL: https://codereview.webrtc.org/1473983002

Cr-Commit-Position: refs/heads/master@{#10813}
2015-11-26 16:47:54 +00:00
8c38e8b9b9 Clean up PlatformThread.
* Move PlatformThread to rtc::.
* Remove ::CreateThread factory method.
* Make non-scoped_ptr from a lot of invocations.
* Make Start/Stop void.
* Remove rtc::Thread priorities, which were unused and would collide.
* Add ::IsRunning() to PlatformThread.

BUG=
R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1476453002 .

Cr-Commit-Position: refs/heads/master@{#10812}
2015-11-26 16:45:57 +00:00
ad113e50d2 Fix bug in calculation of averge queue time in paced sender.
Also work around a flaw in fake encoder which caused bogus perf
regression in rampup tests.

BUG=560434
R=mflodman@webrtc.org, stefan@webrtc.org

Review URL: https://codereview.webrtc.org/1474533006 .

Cr-Commit-Position: refs/heads/master@{#10811}
2015-11-26 15:26:25 +00:00
226befecfb Rewrote pacer and bandwidth UMA stats.
The new version measures receive bitrates from time of first packet to
time of last packet, and send/pacer BWE as the average BWE reported
while we have send streams.

R=asapersson@webrtc.org, pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1470373004 .

Cr-Commit-Position: refs/heads/master@{#10810}
2015-11-26 14:36:55 +00:00
06e05a85b9 Make overuse estimator one dimensional.
This drops the payload size difference dimension of the Kalman filter,
which doesn't improve the quality of the estimation when pacing packets
on the send-side.

R=gaetano.carlucci@gmail.com, mflodman@webrtc.org, terelius@webrtc.org

Review URL: https://codereview.webrtc.org/1376423002 .

Cr-Commit-Position: refs/heads/master@{#10809}
2015-11-26 14:35:10 +00:00
0fcaf99b71 Enable cpplint for webrtc/video_engine
Enable cpplint and have it use a whitelist that also checks
in subdirectories.

Move the cpplint check so it runs before the pylint check
since that one always run and increases the time to errors
for cpplint.

Fix all cpplint errors in webrtc/video_engine.

BUG=webrtc:5149
TESTED=Fixed issues reported by:
find webrtc/video_engine -type f -name *.cc -o -name *.h | xargs cpplint.py
followed by 'git cl presubmit'.

R=pbos@chromium.org, phoglund@chromium.org
TBR=pbos@webrtc.org, phoglund@webrtc.org

Review URL: https://codereview.webrtc.org/1481723003 .

Cr-Commit-Position: refs/heads/master@{#10808}
2015-11-26 14:25:02 +00:00
Per
727dbc2968 VideoCapturerAndroid - allow lower frame rate in bad lightning
Insted of using a fixed frame rate, we allow the camera to use a lower frame rate. The camera will choose depending on lightning condition.

TESTED= In a room with low light on N5, N6 N7, Galaxy 4.
BUG=webrtc:5262
R=magjed@webrtc.org

Review URL: https://codereview.webrtc.org/1479563004 .

Cr-Commit-Position: refs/heads/master@{#10807}
2015-11-26 14:15:51 +00:00
871c419596 Add fuzzing of VP8 QP parsing.
BUG=webrtc:4771
R=asapersson@webrtc.org, kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1469123004 .

Cr-Commit-Position: refs/heads/master@{#10806}
2015-11-26 13:52:28 +00:00
c5b4c9b387 Roll chromium_revision 664fe1e..7ec1eb8 (361806:361868)
Change log: 664fe1e..7ec1eb8
Full diff: 664fe1e..7ec1eb8

No dependencies changed.
No update to Clang.

TBR=
CQ_EXTRA_TRYBOTS=tryserver.webrtc:win_baremetal,mac_baremetal,linux_baremetal

Review URL: https://codereview.webrtc.org/1478113003

Cr-Commit-Position: refs/heads/master@{#10805}
2015-11-26 13:40:42 +00:00
Per
598242a583 Support texture scaling in Androids MediaEncoder.
This cl make it possible for the hw video encoder to downscale a texture image before encoding. The purpose is to allow downscaling if the quality is too bad at the current resolution.
BUG=webrtc:4993
R=magjed@webrtc.org, pbos@webrtc.org

Review URL: https://codereview.webrtc.org/1470043002 .

Cr-Commit-Position: refs/heads/master@{#10804}
2015-11-26 13:29:06 +00:00
3e6db2321c audio_coding: remove "main" directory
This is the last piece of the old directory layout of the modules.

Duplicated header files are left in audio_coding/main/include until
downstream code is updated to the new location. They have pragma
warnings added to them and identical header guards as the new headers to avoid breaking things.

BUG=webrtc:5095
TESTED=Passing compile-trybots with --clobber flag:
git cl try --clobber --bot=win_compile_rel --bot=linux_compile_rel --bot=android_compile_rel --bot=mac_compile_rel --bot=ios_rel --bot=linux_gn_rel --bot=win_x64_gn_rel --bot=mac_x64_gn_rel --bot=android_gn_rel -m tryserver.webrtc
NOTRY=True
NOPRESUBMIT=True

Review URL: https://codereview.webrtc.org/1481493004

Cr-Commit-Position: refs/heads/master@{#10803}
2015-11-26 12:45:01 +00:00
Per
a3c20bb9a0 Add support for scaling textures in AndroidVideoCapturer.
The idea is to also reuse AndroidTextureBuffer::CropAndScale when scaling in the encoder.

BUG=webrtc:4993
R=magjed@webrtc.org

Review URL: https://codereview.webrtc.org/1471333003 .

Cr-Commit-Position: refs/heads/master@{#10802}
2015-11-26 12:41:52 +00:00
fd5dae395b Build/use constructormagic.h unconditionally.
These macros no longer collide with Chromium since they are prefixed
with RTC_.

BUG=
R=henrikg@webrtc.org

Review URL: https://codereview.webrtc.org/1477013003 .

Cr-Commit-Position: refs/heads/master@{#10801}
2015-11-26 11:54:32 +00:00
8f9902a0ff Standalone denoiser (off by default).
BUG=webrtc:5255

Review URL: https://codereview.webrtc.org/1466763002

Cr-Commit-Position: refs/heads/master@{#10800}
2015-11-26 10:59:53 +00:00
96cb5309ed Removed api call that will break the upcoming thread checking scheme
BUG=webrtc:5099

Review URL: https://codereview.webrtc.org/1472173003

Cr-Commit-Position: refs/heads/master@{#10799}
2015-11-26 10:21:55 +00:00