Commit Graph

3576 Commits

Author SHA1 Message Date
Alexandros Chronopoulos
6aab2674ce Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Chris Pearce
d6743b5aff Bug 1186406 - Copy input to ClearKey's decoder, so we can return its containing shmem earlier. r=gerald
We're failing in the "Very rough kill-switch" case in
GMPVideoDecoderParent::Decode() we find that too many shmems are in use when we
come to send a "Decode" message to the GMP, and that causes an error which
percolates up to cause the test failure.

This patch changes gmp-clearkey to copy the input encrypted and compressed
sample and immediately return the shmem to the parent process. We are
copying the data anyway when we decrypt, so we can rejigg things so that we
don't actually end up doing a second copy.
2015-12-01 18:13:58 +13:00
EKR
764814bceb Bug 1227781 - Fix crash with bogus STUN parameters. r=bwc 2015-11-30 12:15:19 -08:00
Jean-Yves Avenard
5b14282671 Bug 1227396: P14. Reduce memory usage of sample index for audio tracks. r=cpearce
All samples in an audio track are keyframes. As such, use block on 128 samples instead.
2015-11-30 11:36:39 +11:00
Jean-Yves Avenard
bb0aacbf79 Bug 1227396: P13. Refactor how MP4 buffered range is calculated. r=cpearce
We now use an index of samples made of block of samples delimited by keyframes. The search is performed using a binary search. This allows to quickly find which blocks are found within the media cache.
On a 8 core mac pro, this leads to a 67% improvement on CPU time spent playing a long MP4 video (from 112s CPU to 45s CPU)

The optimisation is only possible if all mp4 data chunks are continuous (which they almost always are)
2015-11-30 11:29:37 +11:00
Jean-Yves Avenard
219b4520a6 Bug 1227396: P10: Remove stray function definition. r=cpearce 2015-11-30 11:29:35 +11:00
Jean-Yves Avenard
fdf27ff498 Bug 1227396: P9. Remove unnecessary monitor. r=cpearce
The Index and MoofParser are now only used via the MP4Demuxer which is guaranteed to always be called on the same taskqueue.
2015-11-30 11:29:35 +11:00
Jean-Yves Avenard
a7975b198f Bug 1227396: P8. Replace MediaByteRange with Interval<int64_t> typedef. r=cpearce
It's now okay to simplify.
2015-11-30 11:29:34 +11:00
Jean-Yves Avenard
c8c275cee2 Bug 1227396: P7. Replace nsTArray<MediaByteRange> with dedicated MediaByteRangeSet object. r=cpearce 2015-11-30 11:29:34 +11:00
Jean-Yves Avenard
70f2124283 Bug 1227396: P2. Rename some MediaByteRange methods. r=cpearce
Will facilitate the replacement of MediaByteRange by Interval<int64_t>
2015-11-30 11:29:30 +11:00
Nigel Babu
80fe8e107c Backed out changeset 8631caf756eb (bug 1225703) for Cpp bustage on OS X 10.10 debug
--HG--
extra : amend_source : 0bacde9a70f022e574c638e207d4786a0572ef7b
2015-11-27 12:20:58 +05:30
Chris Pearce
efc8956d13 Bug 1228461 - Implement keyids initData type for ClearKey. r=gerald 2015-11-27 17:13:40 +13:00
Chris Pearce
ad73151891 Bug 1228461 - Don't assert we must have keys for keyIds we've seen in ~ClearKeySession(). r=gerald 2015-11-27 17:13:35 +13:00
Matthew Gregan
44147bd7ac Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-19 16:37:36 +13:00
Carsten "Tomcat" Book
b9c3b3b73f Backed out changeset 5ecd639be1a4 (bug 1202087) for bustage 2015-11-26 12:44:02 +01:00
Alexandros Chronopoulos
aeef183f90 Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Mike Hommey
b5c0f9f920 Bug 1224452 - Quote passthru variables. r=gps
Ideally, we should properly make and shell quote everything we print out
in makefiles, but that's a can of worms I don't want to open just yet. So
I'll limit myself to just passthru variables.
2015-11-26 08:51:02 +09:00
Mike Hommey
6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Paul Kerr [:pkerr]
c4670b9125 Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup
7d22cc9c0c Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Wes Kocher
dba42704d1 Backed out 2 changesets (bug 1226347) for build bustage CLOSED TREE
Backed out changeset da34ad5d6957 (bug 1226347)
Backed out changeset 63d13b6b43ee (bug 1226347)

--HG--
extra : commitid : 4yYcYyidto4
2015-11-24 09:02:03 -08:00
Paul Kerr [:pkerr]
46b05602ec Bug 1226347 - Part 2: Allow control of AEC via prefs. r=rjesup 2015-11-24 08:32:11 -08:00
Randell Jesup
05d80d2f86 Bug 1226347: Import cherry-pick of AEC changes from 43->48 (delay-agnostic AEC). r=pkerr 2015-11-23 11:11:58 -05:00
Gerald Squelart
ed2eee2066 Bug 1227052 - Use delete[] for sinf->IPMPData. r=jya
--HG--
extra : rebase_source : d8197fdc08c009dedd25f83ef2a7fc68356043a7
2015-11-24 08:46:54 +01:00
Glenn Randers-Pehrson
60a6d95d13 Bug 1224244 - Update in-tree libpng to version 1.6.19. r=seth 2015-11-23 20:20:00 +01:00
Wes Kocher
6b785bc5a4 Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE
--HG--
extra : commitid : CP7XWRFUyfV
2015-11-22 23:00:58 -08:00
Matthew Gregan
43f3a0941b Bug 1225703 - Update in-tree libcubeb. r=padenot 2015-11-23 15:12:05 +13:00
Chris Pearce
f74bb6b010 Bug 1226430 - Remove alg from ClearKey license parser. r=gerald 2015-11-23 09:58:51 +13:00
Boris Zbarsky
35f1292e72 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Randell Jesup
9cf12febe9 Bug 1220493: clean up validation of RTP headers r=pkerr 2015-11-19 11:49:25 -05:00
Landry Breuil
f468ad9584 Bug 1226146: fix sndio audio_device backend after webrtc 43 landing in bug 1198458 r=jesup NPOTB 2015-11-19 09:48:26 -05:00
Byron Campen [:bwc]
d43453c07e Bug 1175609 - Bring onnegotiationneeded in line with spec. r=mt
--HG--
extra : transplant_source : %D3Z%87AP%CC%BA%AA%0B%27z%A9bh%01%0A3%40%C7U
2015-11-16 17:05:39 -06:00
Randell Jesup
d116f80e84 Bug 1198458: Fix typo in merges in OMX rs=bustage,kwierso
on a CLOSED TREE
2015-11-18 15:55:24 -05:00
Jan Beich
16d38a8bc6 Bug 1198458 Unbreak build on BSDs by fixing non-POSIX thread includes/usage. r=jesup
on a CLOSED TREE
2015-11-18 15:21:51 -05:00
Randell Jesup
9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Randell Jesup
1d652361f7 Bug 1198458: Webrtc updated to branch 43; pull made 2015-09-29 09:00AM PDT rs=jesup
https://chromium.googlesource.com/external/webrtc
git checkout -b my_branch refs/remotes/branch-heads/43
commit 6979b024d7cebfdcd1e8f66da59ea157bbc9e47e (I believe)

--HG--
rename : media/webrtc/trunk/webrtc/build/tsan_suppressions_webrtc.cc => media/webrtc/trunk/webrtc/build/sanitizers/tsan_suppressions_webrtc.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/fft4g.c => media/webrtc/trunk/webrtc/common_audio/fft4g.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.c => media/webrtc/trunk/webrtc/common_audio/ring_buffer.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer.h => media/webrtc/trunk/webrtc/common_audio/ring_buffer.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/ring_buffer_unittest.cc => media/webrtc/trunk/webrtc/common_audio/ring_buffer_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/codecs/tools/audio_codec_speed_tests.isolate => media/webrtc/trunk/webrtc/modules/audio_coding/audio_codec_speed_tests.isolate
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_fec_quality_test.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.c
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/analog_agc.h => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/analog_agc.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/digital_agc.c => media/webrtc/trunk/webrtc/modules/audio_processing/agc/legacy/digital_agc.c
rename : media/webrtc/trunk/webrtc/system_wrappers/source/system_wrappers_unittests.isolate => media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_unittests.isolate
2015-11-18 15:03:22 -05:00
Ralph Giles
e416737ae7 Bug 1225221 - vpx: allow 8k video. r=kinetik
Result of running update.sh with the new limit.
2015-11-16 11:10:00 -08:00
Ralph Giles
8f6696f4d2 Bug 1225221 - vpx: Allow 8k video in update.sh. r=kinetik
Raise the allowed frame size limit to allow 8k video
per gecko bug 1222145.
2015-11-16 11:09:00 -08:00
Ralph Giles
e37a108abb Bug 1225217 - vpx: restore linux avx2 code in libvpx. r=kinetik
revert bug 1063356 part 5 now that all continuous integration
builds have sufficiently recent toolchains.
2015-11-16 10:58:00 -08:00
Landry Breuil
679a3084dd Bug 911450: followup, fix CriticalSectionScoped scope NPOTB r=jesup 2015-11-17 19:05:52 +01:00
Carsten "Tomcat" Book
a22ff2640a Merge mozilla-central to mozilla-inbound 2015-11-17 12:33:46 +01:00
Carsten "Tomcat" Book
1cf9b8b2ab merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Landry Breuil
3f9b5a64be Bug 911450: webrtc sndio audio_device backend r=jesup
Most of the code originally from Alexandre Ratchov <alex@caoua.org>
2015-11-16 23:14:16 +01:00
Nils Ohlmeier [:drno]
1d8c0abcc0 Bug 1221837 - Accept hard coded codec numbers without rtpmaps. r=bwc
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio.html => dom/media/tests/mochitest/test_peerConnection_basicAudioPcmaPcmuOnly.html
extra : rebase_source : ca8ab16272e2b3fc58019518d3d31e43430e7283
2015-11-15 23:26:46 -08:00
David Anderson
8e086a182c Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson
27bfc27d62 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
Wes Kocher
c0ece6bf0d Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Byron Campen [:bwc]
a52533a8a3 Bug 1218326: Prevent datachannel operations on closed PeerConnections. r=jesup a=lizzard
--HG--
extra : commitid : 40ebY3LMneO
extra : rebase_source : b66bef2b46b8a70932e38824128cd930a9fba987
2015-10-28 12:48:17 -05:00
sajitk
582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
James Willcox
f15ace1296 Bug 1221228 - Work around busted OpenSL causing hangs/reboots on Android r=padenot 2015-11-13 08:40:46 -06:00