Commit Graph

2193 Commits

Author SHA1 Message Date
Karl Tomlinson
999788eb34 b=995075 update speex resampler to speexdsp 769dc295 r=padenot
--HG--
extra : rebase_source : 786ee924d4d41745bfad84fbf9457c82db4158fb
2014-08-07 18:13:12 +12:00
Randell Jesup
410855c643 Bug 1041369: one more missing line in the previous bustage fix r=bustage 2014-08-07 11:09:34 -04:00
Randell Jesup
263a3ec2c7 Bug 1041369: unified build: missing include of scoped_ptr.h r=bustage 2014-08-07 10:38:52 -04:00
Randell Jesup
facb61a326 Bug 1041369: add lost stub in null window capture device for Refresh() r=bustage 2014-08-07 10:26:26 -04:00
Roman Skalish
6a8050e871 Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp 2014-08-01 02:14:00 -04:00
Matthew Gregan
7d1f102037 Bug 992238 - Disable test_init_destroy_multiple_contexts_and_streams on Windows 7. r=padenot 2014-08-05 21:57:00 -04:00
EKR
8b8d92e134 Bug 1049291 - Remove uses of select() in SIPCC SIP task r=ehugg 2014-08-06 17:56:27 -07:00
Mike Hommey
0f4c5d9244 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
490b04e4f0 Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Anthony Jones
53b97c265f Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce 2014-08-07 16:40:01 +12:00
Chris Pearce
332c531212 Bug 1049309 - Remove no-op code in libstagefright. r=kentuckyfriedtakahe 2014-08-07 12:03:38 +12:00
Randell Jesup
41c5add935 Bug 1045482: Wrap X11 calls for window lists and XQueryPointer in error trapping to avoid asserts on X11 errors r=karlt 2014-08-06 20:01:33 -04:00
Ed Morley
2e6839e1e5 Merge mozilla-central and inbound 2014-08-06 13:43:41 +01:00
Ed Morley
fdc793d552 Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Wes Kocher
28470a7734 Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Mike Hommey
ec54bf6c1f Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Randall Barker
30be952e2e Bug 1042525 - Add missing null implementation for screensharing. r=gcp 2014-08-01 11:43:00 +02:00
Martin Thomson
bbbe9c69a3 Bug 1048261 - Safe dispatch from DTLS connect to PeerConnectionImpl. r=jesup, r=bwc 2014-08-05 12:18:56 -07:00
EKR
c634b80303 Bug 1028582 - Modify TransportLayerDtls to force a fresh ECDHE server key. r=mt 2014-08-05 09:06:48 -07:00
Martin Thomson
bd58e64361 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
afa8bcbb2e Bug 996237 - Tests for cipher mismatch. r=ekr 2014-08-04 11:50:00 -04:00
Martin Thomson
9b95d04978 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-08-04 11:49:00 -04:00
Martin Thomson
7b591a212a Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-08-04 11:49:00 -04:00
Gian-Carlo Pascutto
526b2765aa Bug 1043350 - Do not disable Aero mode when screen capturing. r=jesup 2014-08-05 15:48:15 +02:00
Mike Hommey
62e4d2c740 Bug 1048064 - Fix libstagefright build on GNU/kFreeBSD. r=ajones 2014-08-05 16:07:28 +09:00
Anthony Jones
e7ff4e143d Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 18:12:48 +12:00
Wes Kocher
8690584308 Backed out 2 changesets (bug 1045909, bug 1045915) for build failures
Backed out changeset 70e3d6723e8e (bug 1045909)
Backed out changeset d137dd97d955 (bug 1045915)
2014-08-04 19:18:34 -07:00
Anthony Jones
1d729bea82 Bug 1045909 - Fix buffer range calculation for fMP4; r=edwin 2014-08-05 13:35:04 +12:00
Randell Jesup
8d9058b81e Bug 1048261: Fix SetDtlsConnected() r=bwc 2014-08-04 16:31:45 -04:00
Ryan VanderMeulen
17b5bf3fac Backed out changeset db13171100fa (bug 1041369) for frequent mochitest-3 failures.
CLOSED TREE
2014-08-04 13:55:14 -04:00
Ed Morley
076cbae1d4 Backed out changeset ab292958d0e7 (bug 996237) for build failures on Android 2014-08-04 15:34:42 +01:00
Ed Morley
7da815226f Backed out changeset 1015ade997be (bug 996237) 2014-08-04 15:34:25 +01:00
Ed Morley
1cbd2f3336 Backed out changeset 5cc4c2e9f1e4 (bug 996237) 2014-08-04 15:34:22 +01:00
Ed Morley
7a0239ee7e Backed out changeset 7c32b87be327 (bug 996237) 2014-08-04 15:34:18 +01:00
Roman Skalish
f7af84fb1d Bug 1041369 - Rescan window list on each getUserMedia window/screensharing request. r=jesup, r=gcp 2014-08-01 02:14:00 -04:00
Martin Thomson
406a9ecfd2 Bug 996237 - Check for DHE negotiation failure. r=ekr 2014-07-31 17:47:00 -04:00
Martin Thomson
4d4cb1fb06 Bug 996237 - Tests for cipher mismatch. r=ekr 2014-07-31 17:45:00 -04:00
Martin Thomson
dd8aded4a6 Bug 996237 - Unit testing cipher suite selection happy path. r=ekr 2014-07-31 10:47:00 -04:00
Martin Thomson
8c4a34fabd Bug 996237 - Limit WebRTC cipher profiles. r=ekr 2014-07-31 17:45:00 -04:00
Edmund Wong
10171b103e Bug 1047999 - Move GmpVideoCodec.h after MediaConduitInterface.h in mediaconduit_unittests.cpp. r=jesup 2014-08-04 17:31:18 +08:00
Gian-Carlo Pascutto
2b1a58480d Bug 1042689 - Deal with a native stopCapture if the camera is paused. r=jesup 2014-08-04 08:29:45 +02:00
Karl Tomlinson
7fb342b26b b=1045482 make XErrorTrap installation and removal thread-safe r=jesup
Error handling is now applied to the Display using async_handlers, instead of
replacing and trying to reinstate the XSetErrorHandler() global handler for
all Xlib Displays.

Inspired by use of the same Xlibint.h structures at
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n252
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n150
Compare use of _XAsyncErrorHandler in libX11.

--HG--
extra : rebase_source : 8bb16f09912b15e435441657e7275c9213b1a475
2014-08-01 17:58:24 +12:00
Karl Tomlinson
e40b693b73 b=1042508 enable neon resampler optimizations r=padenot
--HG--
extra : rebase_source : fd984143b78ecf25a5158715dd8bed8df7398945
2014-07-22 16:51:08 +12:00
Karl Tomlinson
4cd53b7e4f b=1042508 remove : of empty Clobber asm argument r=padenot
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended-Asm says

  asm [volatile] ( AssemblerTemplate : [OutputOperands] [ : [InputOperands] [ : [Clobbers] ] ] )

which implies that Clobbers is optional even after the third colon, but
the gcc used for b2g_try_emulator_dep builds says

resample_neon.c: In function 'saturate_32bit_to_16bit':
resample_neon.c:50: error: expected string literal before ')' token

--HG--
extra : rebase_source : 6ca7768d5b30f67ff6827acc9a4fdc51a672bc1e
2014-07-22 20:10:36 +12:00
Karl Tomlinson
443ba0fbbc b=1042508 move resampler simd optimizations to separate translation units r=padenot
This ensures that code in resample.c will run on Intel x86 cpus even when SSE
support has been compiled, and will provide similarly for neon support when
enabled.

--HG--
rename : media/libspeex_resampler/sse-detect-runtime.patch => media/libspeex_resampler/simd-detect-runtime.patch
rename : media/libspeex_resampler/src/resample_neon.h => media/libspeex_resampler/src/resample_neon.c
rename : media/libspeex_resampler/src/resample_sse.h => media/libspeex_resampler/src/resample_sse.c
rename : media/libspeex_resampler/src/sse_detect.cpp => media/libspeex_resampler/src/simd_detect.cpp
rename : media/libspeex_resampler/src/sse_detect.h => media/libspeex_resampler/src/simd_detect.h
extra : rebase_source : bdf1ef791129dedeadce7369354a5992729a99b7
2014-07-23 21:49:04 +12:00
Karl Tomlinson
741069760c b=1042508 tie resampler sample type choice to MOZ_SAMPLE_TYPE_S16 r=padenot
When built with FIXED_POINT speex_resampler_process_float() assumes the
samples are in the range ±0x7fff and so Gecko instead uses ConvertAudioSamples
and speex_resampler_process_int().  This decision is based on
MOZ_SAMPLE_TYPE_S16.

--HG--
extra : rebase_source : 1e67861478026dfa65b61a31e3272970a7094094
2014-07-22 15:41:50 +12:00
Karl Tomlinson
5565b85921 b=1042508 include resample_neon.h from speexdsp 305e54ea r=padenot
--HG--
extra : rebase_source : effe9aa434298b0b49099b6809d506b92075ad1c
2014-07-21 17:08:00 +12:00
Jean-Yves Avenard
dd0783ff84 Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
Randell Jesup
91dee12169 Bug 1037830: Enforce size limit on returned encoded data from GMP plugins for webrtc r=ekr 2014-08-02 01:17:46 -04:00
Randell Jesup
251c8f2513 Bug 1047442: Add thread to resolve deadlock on sendCritSect caused by sync Encode dispatch to GMPThread r=pkerr 2014-08-01 17:27:52 -04:00