Commit graph

203 commits

Author SHA1 Message Date
Job Bautista
ecb7ec7377 Issue #1937 - Part 2: Update libaom source. 2022-06-29 08:54:41 +08:00
Job Bautista
d09a5eeca2 Issue #1937 - Part 1: Update build system for libaom. 2022-06-29 08:52:26 +08:00
Job Bautista
5b40dbab42 Issue #1944 - Follow-up: Make it clear that volume is a float.
1. => 1.0, 0. => 0.0
2022-06-28 21:13:11 +08:00
Job Bautista
ef4db6f2aa Issue #1944 - Fix volume handling in sndio backend.
Backported from Mozilla bug 1467882.
2022-06-28 21:12:58 +08:00
Job Bautista
b29aa5d557 Issue #1933 - Follow-up: Remove cmakedefine directives from neon-compat.h.
Apparently it wasn't preprocessed yet. Just took the version from
 mozilla-central, and it worked, according to dbsoft.
2022-06-28 08:58:37 +08:00
Job Bautista
0eece8e5bc Issue #1933 - Follow-up: Fix building on ARM.
neon-compat should be imported as a .h header, not an .in file.
2022-06-28 08:58:28 +08:00
Job Bautista
191a010f68 Issue #1941 - Update libvorbis to 1.3.7. 2022-06-27 21:45:53 +08:00
Job Bautista
8038505d6c Issue #1939 - Part 2: Update libwebp source. 2022-06-27 21:45:28 +08:00
Job Bautista
56d49fd570 Issue #1939 - Part 1: Update build system for libwebp. 2022-06-27 21:45:05 +08:00
Job Bautista
9f598a8abc Issue #1935 - Update libogg to 1.3.5
I've also added some notes in the update.sh script that should've been
 documented, as well as changed README to README.md which Mozilla
 somehow forgot to do when they updated to 1.3.3...
2022-06-27 21:44:51 +08:00
Job Bautista
fc2133f4d1 Issue #1933 - Part 2: Update libjpeg-turbo source. 2022-06-27 21:44:36 +08:00
Job Bautista
75e223e3bf Issue #1933 - Part 1: Update build system for libjpeg-turbo. 2022-06-27 21:43:59 +08:00
Brian Smith
45606ffa59 Issue #1905 - Part 2a - Build system fixes to allow use of SDK versioned 11.0 and higher. Also don't include code incompatible with SDK 10.15 and higher, when building with such a SDK. 2022-06-06 08:57:16 +08:00
Moonchild
2f81312755 No issue - relax ctts flag checking in media/libstagefright
Some encoders will set ctts flags incorrectly (similar to version) resulting in
libstagefright aborting playback of media based on the media header.
(Looking at you, Twitter)
This change relaxes libstagefright's checking to pass ctts flags 0 or 1 and
falls through to actually trying to decoding the file.
2022-05-27 07:01:15 +08:00
trav90
5c61382dac Issue #457 - Silence some GCC compiler warnings in FFmpeg code 2022-05-22 06:47:01 +08:00
Moonchild
a8b1099a1e Issue #1890 - Update libopus
This resolves #1890
2022-05-05 09:09:54 +08:00
Moonchild
648430c9f1 Issue #1820 - Part 2: Add VP9-in-MP4 support to the decoder
This also adds support in StageFright for VP9.0 FourCCs and consolidates
individual string checks to helpers for WebM
2022-05-04 10:04:49 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
Moonchild
2564be2d79 Issue #21 - Remove Telemetry from Accessibility, EME and WebRTC. 2022-04-28 10:29:53 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
Moonchild
d4eac725fd Issue #1877 - Resolve RELEASE_OR_BETA conditionals. 2022-04-21 21:46:47 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
Moonchild
9aed800398 Issue #1751 -- Remove files unused without XP_DARWIN 2021-05-05 10:27:29 +08:00
Moonchild
2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
Moonchild
cfadb0bc6f [WebRTC] Apply port restrictions to peerconnections. 2021-03-25 09:05:46 +08:00
Moonchild
348c6604be Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE 2021-03-12 08:59:50 +08:00
roytam1
0d8d9b881b libaom: restore NT5-friendly aom_thread.h 2021-03-05 09:07:18 +08:00
Moonchild
148bd3547b Issue #1737 - Update build config and mozbuild files. 2021-03-04 09:29:44 +08:00
roytam1
7537b4d23a Issue #1737 - Import libaom 2.0.2 source (excluding aom_ports/aom_once.h) 2021-03-04 09:29:28 +08:00
Moonchild
2cb1162b7f [WebRTC] Improve SDP parser error handling. 2021-01-27 21:02:58 +08:00
Moonchild
24ec8b9031 [webrtc] Only init WebRtcAec callbacks once 2020-11-20 09:31:51 +08:00
Moonchild
d5919942ff Issue #1656 - Part 8: Devtools and misc. 2020-09-25 22:06:55 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Matt A. Tobin
c371979637 Add license header to media/webrtc/trunk/build/mac/find_sdk_uxp.py 2020-08-06 10:22:53 +08:00
Matt A. Tobin
91d2c4c05a Use an alt script to properly determine the OSX SDK version 2020-08-06 10:22:51 +08:00
Byron Campen [:bwc]
36e1df9ffb [WebRTC] Make candidate pair insertion code easier to read/understand.
Includes removing an error code for a function that never fails, and removing an
error return when the function successfully did what it said it would.

Ref: BZ 1644477
2020-07-10 22:18:45 +08:00
Fedor
086a028a16 Issue #1558 - Prevent null deref crash in WebrtcVideoConduit DTOR 2020-05-30 07:13:18 +08:00
Moonchild
5f14f0126f Issue #1538 - remove speech recognition engine
This removes speech recognition, pocketsphinx, training models
and the speech automated test interface.
This also re-establishes proper use of MOZ_WEBSPEECH to work
for the speech API (synthesis part only) that was a broken mess
before, with some synth parts being always built, some parts
being built only with it enabled and recognition parts being
dependent on it. I'm pretty sure it'd be totally busted if you'd
ever have tried building without MOZ_WEBPEECH before.

Tested that synthesis still works as-intended.

This resolves #1538
2020-05-23 06:56:16 +08:00
Jiaxun Yang
076a13bb2d Issue #1542 - [mtransport] Fix unaligned memory allocation in r_memory
Unaligend memory access can't work on RISC.
2020-05-23 06:55:28 +08:00
Jiaxun Yang
cc24eccfce Bug 1426323 - Media: WebRTC: Fix build config for MIPS64
Tag: #1542
2020-05-23 06:55:26 +08:00
Jiaxun Yang
2b6293d816 Issue #1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
2020-05-23 06:55:22 +08:00
Jiaxun Yang
8a6ebcdf2f Issue #1542 - [WebRTC] Don't use post proc on MIPS 2020-05-23 06:55:19 +08:00
Jiaxun Yang
8750eed647 Bug 1384826 - Media: WebRTC: Fix build config for MIPS
Tag: #1542
2020-05-23 06:55:16 +08:00
Matt A. Tobin
8ca630ef64 Issue #1531 - Work around GCC 10 defaulting to -fno-common in media/ffvpx/libavcodec/
Build Reference:
26:39.53 ../../../build/unix/gold/ld: error: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/flac_parser.o: multiple definition of 'ff_flac_parser'
26:39.53 ../../../build/unix/gold/ld: /home/mattatobin/development/.obj/trunk-f1f9fdabf/navigator-x86_64-pc-linux-gnu-gtk2/media/ffvpx/libavcodec/dummy_funcs.o: previous definition here
26:39.53 collect2: error: ld returned 1 exit status
26:39.53 gmake[4]: *** [/home/mattatobin/development/binoc-central/platform/config/rules.mk:773: libmozavcodec.so] Error 1

See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-05-09 06:55:05 +08:00
Matt A. Tobin
b746a4196a Move aom source to a sub-directory under media/libaom
There is no damned reason to treat this differently than any other media lib given its license and there never was.
2020-04-11 09:40:44 +08:00
JMadgwick
1640ee7bc6 Issue #1471 - Fix building on sparc64 Linux
Correct various pre-processor defines for sparc64 and in mozjemalloc use the JS arm64 allocator on Linux/sparc64.
This corrects build problems opn Linux sparc64 and is in line with bugzilla bug #1275204.
2020-04-03 09:26:50 +08:00
Matt A. Tobin
ecf0a07d12 Issue #1319 - Remove EARLY_BETA_OR_EARLIER condition 2020-03-05 09:38:16 +08:00
wolfbeast
fced04faa2 Issue #1342 - Remove support for system libvpx 2020-02-07 07:52:18 +08:00