Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd
085aa479e6
Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
...
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable. In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ralph Giles
c9aa6b2fac
Bug 1177029 - Use stdint.h instead of cstdint. r=kinetik
...
Clang can't find this on my MacOS X machine.
2015-06-24 00:23:00 -07:00
Jan Gerber
78a6145196
Bug 1176730: Don't use pthread for libvpx in mingw builds. r=rillian
...
Based on a patch by Jacek Caban.
--HG--
extra : rebase_source : 29b8f1100720d729d4ae0058add5a64ebc1f9a19
2015-06-23 02:19:00 -07:00
Matthew Gregan
ac2b9444ba
Bug 1103824 - Back out changeset for causing regression reported in bug 1176499.
2015-06-23 17:02:51 -07:00
Jean-Yves Avenard
3f6934ace6
Bug 1174577
: P1. Have Init segment range only include the first moov. r=kentuckyfriedtakahe
2015-06-19 16:45:15 +10:00
Nils Ohlmeier [:drno]
2e746f9a3a
Bug 891551 - Part 11: fix a couple of issues from part 5. r=bwc
2015-06-18 23:02:38 -07:00
Nils Ohlmeier [:drno]
ce7a04b4f0
Bug 891551 - Part 10: added user pref to turn of ICE TCP. r=mt
2015-06-18 23:02:33 -07:00
Nils Ohlmeier [:drno]
2ca1bfcdb2
Bug 891551 - Part 9: ignore initial socket connect failures during gathering. r=jesup
2015-06-18 23:02:25 -07:00
Peter Tatrai
72a87d1ac6
Bug 891551 - Part 8: Increase and make backlog value configurable. r=bwc
2014-06-12 07:25:00 -07:00
Byron Campen [:bwc]
fedbd732d1
Bug 891551 - Part 7: Fix some intermittent failures in multi_tcp_socket_unittest. r=ekr
2014-06-09 15:04:42 -07:00
"Peter Tatrai ext:(%22)
ae531cc1ad
Bug 891551 - Part 6: Add log dumper to multi_tcp_socket_unittest. r=bwc
2014-06-03 08:44:59 +02:00
"Peter Tatrai ext:(%22)
6d354a80da
Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup
2014-04-23 10:15:25 +02:00
Jan Gerber
d37a938d00
Bug 1151175 - Update libvpx to 1.4.0. r=rillian
...
vp9_thread.c has changed directories, which mach doesn't handle
properly, resulting in "No rule to make target" for the old source
file path.
Bump clobber for libvpx file renames.
--HG--
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vp8/common/arm/neon/dequantizeb_neon.c
rename : media/libvpx/vp8/common/x86/loopfilter_block_sse2.asm => media/libvpx/vp8/common/x86/loopfilter_block_sse2_x86_64.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_avg_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_avg_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_convolve8_avg_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_convolve8_avg_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_convolve8_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_convolve8_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_copy_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_copy_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct16x16_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct16x16_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct16x16_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct16x16_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct32x32_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct32x32_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct32x32_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct32x32_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct4x4_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct4x4_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct4x4_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct4x4_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct8x8_1_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct8x8_1_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_idct8x8_add_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_idct8x8_add_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_16_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_16_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_4_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_loopfilter_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_loopfilter_8_neon_asm.asm
rename : media/libvpx/vp9/common/arm/neon/vp9_reconintra_neon.asm => media/libvpx/vp9/common/arm/neon/vp9_reconintra_neon_asm.asm
rename : media/libvpx/vp9/decoder/vp9_thread.h => media/libvpx/vp9/common/vp9_thread.h
rename : media/libvpx/vp9/encoder/vp9_vaq.h => media/libvpx/vp9/encoder/vp9_aq_variance.h
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vp9/encoder/vp9_ethread.h
rename : media/libvpx/vp8/encoder/psnr.h => media/libvpx/vp9/encoder/vp9_skin_detection.h
rename : media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3.asm => media/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm
rename : media/libvpx/vp8/encoder/psnr.h => media/libvpx/vpx/internal/vpx_psnr.h
rename : media/libvpx/vp9/common/generic/vp9_systemdependent.c => media/libvpx/vpx/src/vpx_psnr.c
extra : rebase_source : 82ccda936f3d40e8e960c35174e25483ed88726a
2015-06-17 20:46:25 +02:00
Jan Gerber
b9d4195fdb
Bug 1151175 - Update libvpx update.py for 1.4.0. r=rillian
...
--HG--
extra : rebase_source : b894a524b169c410a0c76bfead0f8d447a424347
2015-06-17 20:43:46 +02:00
Gerald Squelart
f4ccd23df1
Bug 1173631 - [EME] Implement async shutdown in clearkey GMP. r=cpearce
...
--HG--
extra : rebase_source : d6e510b5e081d581524a38a684a9cc677a5bde34
2015-06-11 22:05:00 +02:00
Adrian Cruceru
b6bd5b4c75
Bug 881742: Fix null-deref on OOM (or bad allocation size due to corrupted video) in webrtc upstream code r=jesup
2015-06-18 00:06:36 -04:00
Ralph Giles
074f872aa1
Bug 1175322 - Add gtests for rust mp4 metadata parser. r=k17e
...
Add a null buffer test.
Add a street.mp4 test.
We have trouble parsing gizmo.mp4, and the dom/media/gtest
already exposes the file, which is confusing since we apparently
can't have duplicates in TEST_HARNESS_FILES.
The street.mp4 test always fails because we don't catch
the eof in the rust code.
2015-06-16 15:52:00 -07:00
Ralph Giles
dbec6e99b1
Bug 1175322 - Import byteorder crate. r=k17e
...
This is the source of Andrew Gallant's byteorder crate,
used end the MIT license.
It has been slightly modified to re-export the new sub-module
so it can be built as a mod inside our MP4Metadata crate since
we don't currently support crate dependencies.
2015-06-16 15:51:00 -07:00
Ralph Giles
35b5a70f29
Bug 1175322 - Import mp4parse v0.0.8 source. r=k17e
...
Source from https://notabug.org/rillian/mp4parse-rust
2015-06-16 15:50:00 -07:00
Ralph Giles
83d61e2787
Bug 1174356 - Add missing MediaData include. r=jya
...
Needed for separate compilation of MP4Metadata.h in unit tests.
--HG--
extra : rebase_source : 13d6298ff6a5e6706ab42a8d6fe2cadb15dba631
2015-06-15 08:53:00 -07:00
Nathan Froyd
2c0ec52c9a
Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr
2015-05-05 16:21:37 -04:00
Andreas Pehrson
791226a885
Bug 1172397 - Check for Conduit/Type mismatch on every frame. r=jesup, r=bwc
...
--HG--
extra : rebase_source : 3855bb01e52fec665fc4dbcffda9247191349e77
2015-06-08 14:43:48 +08:00
Matthew Gregan
bf4e15de86
Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot
...
--HG--
extra : rebase_source : 344380ef08d44983c745bea5cee792140ca7ca66
2015-05-14 18:33:23 +12:00
Birunthan Mohanathas
2d96c72f58
Bug 1174220 - Part 2: Use MediaByteBuffer instead of MediaLargeByteBuffer. r=jya
...
All MediaLargeByteBuffer calls already include the `mozilla::fallible`
parameter so we can safely replace MediaLargeByteBuffer with MediaByteBuffer.
2015-06-14 21:37:13 -07:00
Ted Mielczarek
5d19fb925a
bug 1171143 - Fix iOS capture build. r=jesup
...
--HG--
extra : commitid : C2USxBeZe6F
extra : rebase_source : d217dcc4ab9dc6a9b36934e69f62291e22469b79
2015-02-28 19:47:07 -05:00
Ted Mielczarek
f29254de56
bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr
...
--HG--
extra : commitid : IzeeeUXXL9N
extra : rebase_source : 7f5d4d505327989abffde752b99bc62a497f6c77
2015-02-27 12:37:42 -05:00
Ted Mielczarek
1c8dfe9741
bug 1171072 - make libcubeb build on iOS. r=kinetik
...
--HG--
extra : commitid : R5mXVfavLL
extra : rebase_source : 61121b45801e46597047006e9c72e8702a3b0792
2015-02-06 14:50:40 -05:00
Byron Campen [:bwc]
63565e6168
Bug 1170683: Do a better job in copying previous transport parameters into new offers/answers. r=mt
...
--HG--
extra : rebase_source : f263b9ad0bce2928a13584f374018d94cd6144ba
extra : amend_source : 8476404611746d25e7f1bbf34c6c1ec5077f9af6
2015-06-02 17:15:40 -07:00
Ralph Giles
fce6dd199a
Bug 1173396 - Restore libvpx alignment patch. r=kinetik
...
The crash in vp8_diamond_search_sadx4 is reproducing again
so it looks like switching off unified build didn't fix
this.
--HG--
extra : rebase_source : 60517f781a17b3b26eec38d11bcc6a355ac09369
2015-06-10 09:31:00 -07:00
Andreas Pehrson
ffc3d7735d
Bug 1169125 - Part 2: Use UniquePtr for scoped delete of yuv data in MediaPipeline. r=bwc
...
--HG--
extra : rebase_source : 4a66d6946479adb7d0574448e2204e63f388b698
extra : histedit_source : c7c0824f3ed1f02db24a1792b10ea7315b6e46e6
2015-06-09 13:31:34 +08:00
Andreas Pehrson
f76298db5c
Bug 1169125 - Part 1: Allow sending any DataSourceSurface-backed image over WebRTC and fix failure cases. r=bwc
...
--HG--
extra : rebase_source : c4a9d4fb40d1ea2aefe3be7bfa864998dc2062fa
extra : histedit_source : d7909e28671d1b965798e7e040a8fdc51309585f
2015-06-09 13:31:22 +08:00
Jean-Yves Avenard
bc7bec465a
Bug 1171330: P14. Add ContainerParser::FirstCompleteMediaHeader() method. r=kentuckyfriedtakahe
...
--HG--
extra : rebase_source : 6adaf84ce44a6024b5eb40672f3d8d9bb107432d
2015-06-11 16:27:15 +10:00
Jean-Yves Avenard
584ec04c52
Bug 1171330: P1. Add ContainerParser::MediaSegmentRange() method. r=kentuckyfriedtakahe
...
And add abilities to MoofParser to indicate if a media segment is complete.
In MP4 a media segment is made of a moof atom followed by one (or more) mdat
atoms.
--HG--
extra : rebase_source : 0b0db48d55462025d9d45bf9b3bbdbc806b0e7a8
2015-06-11 15:49:49 +10:00
Byron Campen [:bwc]
dc3971b1c9
Bug 1035468
: A NAT simulator based on NrSocket, and integrate into ice_unittest. r=ekr
...
--HG--
extra : rebase_source : 1ca1bb919526b3a4e091022e5aba04140efc9c90
extra : source : d354fa12177226f079090cc34277aaf1016e23fa
2015-06-10 15:27:12 -07:00
Birunthan Mohanathas
94f1cfa658
Bug 968520 - Add mozilla::fallible to more FallibleTArray calls. r=froydnj
...
This calls were already fallible due to their type (FallibleTArray). This
commit merely makes that fact visible at the call site.
2015-06-10 14:30:41 -07:00
Jean-Yves Avenard
8b436991f9
Bug 1171067: Part2. Properly hande box size marked as 0. r=kentuckyfriedtakahe
...
This indicates that the box goes to the end of the file.
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
884ee68615
Bug 1171067: Properly read 64bits header's size. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
cb1a613e49
Bug 1168040: P3. MP4 dts must use the same timeline as pts. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
9a7876feb4
Bug 1168040: Part2. Properly handle MP4 time offset in MoofParser. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
34ab4962db
Bug 1168040: Part1. Properly handle MP4 starting offset. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Jean-Yves Avenard
c2533f75f1
Bug 1171629: Use fallible array to store MP4 samples index. r=kentuckyfriedtakahe
2015-06-10 19:38:13 +10:00
Randell Jesup
b11b15ef82
Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc
2015-06-05 20:27:38 -04:00
Phil Ringnalda
dc5fc60307
Back out 08acee81ae64 (bug 1132318) for assertion failures in mochitest-3 media tests
...
CLOSED TREE
2015-06-05 19:41:53 -07:00
Randell Jesup
7ee6dd1764
Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc
2015-06-05 20:27:38 -04:00
Wes Kocher
8f17e389c4
Merge m-c to inbound, a=merge
2015-06-05 16:03:46 -07:00
Wes Kocher
12f2b44c0e
Merge b2ginbound to central, a=merge
2015-06-05 16:02:54 -07:00
Randell Jesup
e512e96a61
Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc
2015-06-05 15:16:45 -04:00