Commit graph

203 commits

Author SHA1 Message Date
trav90
28c6a9062e Generate build description for libaom 2019-02-16 00:16:30 +08:00
trav90
eb8cd130a8 Port the libvpx mozbuild generator to aom
This is a port of the libvpx scripts, themselves a port of Chromium's scripts to generate an external build description using hooks in the upstream configure and make scripts. The libaom library is a fork of libvpx so we can use a similar approach.

The upstream source is located in $(topsrc_dir)/third_party/aom but the build description and any patches are under the media directory with the other codecs, similar to how zlib works. Config files and headers generated by the upstream build system are also under $(topsrc_dir)/media/libaom/.
2019-02-16 00:16:25 +08:00
trav90
7682eb71f8 Update libnestegg from upstream 2019-02-16 00:14:45 +08:00
trav90
e4edab374b Update upstream URL and update script for libnestegg 2019-02-16 00:14:43 +08:00
wolfbeast
56e32f933a Cherry-pick libvpx upstream 52add5896661d186dec284ed646a4b33b607d2c7. 2019-02-16 00:13:09 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
trav90
0a3b3b6264 [ffvpx] Update readme
- Remove non-applicable comment about AVX2.
- Update config documentation for 32-bit darwin.
2019-02-16 00:12:27 +08:00
trav90
9bdac16625 [EME] Add error handling in MoofParser for sbgp and sgpd boxes 2019-02-16 00:10:05 +08:00
trav90
a20d2c6462 [EME] Add support for sbgp and sgpd boxes occuring in the sampletable 2019-02-16 00:10:03 +08:00
trav90
1ce79cb51e [EME] Add support for sbgp and sgpd boxes in the traf box 2019-02-16 00:10:01 +08:00
trav90
d6f3f831c5 Rework MoofParser to return an error when the underlying BufferReader returns an error. 2019-02-16 00:09:35 +08:00
trav90
bee1316729 Copy ByteReader to BufferReader and add some error handling 2019-02-16 00:09:33 +08:00
trav90
95089a84b6 Warn instead of assert if SPS value is incorrect 2019-02-16 00:09:32 +08:00
trav90
a6453e8335 Ignore user data track
That's the 'udta' box. They serve no purpose as far as we're concerned and stagefright doesn't handle it very well (as in, prevents playback).

Resolves #616.
2019-02-16 00:09:00 +08:00
wolfbeast
749d1d4ae4 Remove errant paste 2019-02-16 00:07:13 +08:00
wolfbeast
4131396b59 WebRTC: Add DeleteStreams to media conduits. 2019-02-16 00:07:08 +08:00
Nils Ohlmeier [:drno]
76e79cecec Bug 1464063 - Remove sdp_getchoosetok. r=bwc, a=RyanVM
WebRTC
2019-02-16 00:06:56 +08:00
JustOff
d70b584d37 Rename libwebp/MOZCHANGES to libwebp/UXPCHANGES and update it 2019-02-16 00:06:29 +08:00
JustOff
c666612283 Apply known security patches (webp:381,383,384) to libwebp-1.0.0 2019-02-16 00:06:28 +08:00
JustOff
dce80618c4 Add new files to libwebp/dsp/moz.build 2019-02-16 00:06:26 +08:00
JustOff
57e9b57974 Sync libwebp sources with https://chromium.googlesource.com/webm/libwebp/+/v1.0.0 2019-02-16 00:06:25 +08:00
JustOff
96f65ed0eb Update libwebp/update.sh script for libwebp-1.0.0 2019-02-16 00:06:22 +08:00
adeshkp
edded63b74 Rewrite assert in cubeb_alsa.c: alsa_refill_stream to pass back a cubeb error instead. 2019-02-16 00:04:58 +08:00
trav90
fea77c404b Remove GCC 4.8 workaround in libopus
This patch removes a workaround when building for ARM platforms using GCC 4.8 (which we no longer support).
2019-02-16 00:04:28 +08:00
wolfbeast
d0a61d943f Update kiss-fft to 1.4.0 and disable OpenMP for it. 2019-02-16 00:01:42 +08:00
wolfbeast
cad3295cf4 Fix typo in 8b9fe0e3582a0578720dc38b4ede57eac90e4594 2019-02-15 23:59:16 +08:00
Pale Moon
7c5d4769d8 Port libopus upstream patch.
Based on https://git.xiph.org/?p=opus.git;a=commitdiff;h=70a3d641b
2019-02-15 23:59:13 +08:00
wolfbeast
fd9202fef0 Remove moz_widget_toolkit_gonk
Tag #288
2019-02-15 23:57:24 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
2531de02eb Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2019-02-15 23:57:10 +08:00
trav90
29c9e2b040 [ffvpx] Update resync documentation 2019-02-15 23:52:01 +08:00
trav90
9d0e5cb961 [ffvpx] Re-generate config_*.{h,asm} files 2019-02-15 23:52:00 +08:00
trav90
7c12d7e266 [ffvpx] Re-enable assembly optimized code
It was inadvertently disabled in 8b37a1bc306c1d5a3cc92e9dc04fb95d5d9a0298.
2019-02-15 23:51:57 +08:00
trav90
990d844c2c [ffvpx] Compile ffvpx lib with -ffreestanding to avoid triggering a clang bug 2019-02-15 23:51:56 +08:00
trav90
0aa6191fb7 [FFmpeg] Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file 2019-02-15 23:51:54 +08:00
trav90
5567bd5369 [ffvpx] Remove some files we don't need 2019-02-15 23:51:51 +08:00
trav90
d1361d3c21 [ffvpx] Update ffvp9/ffvp8 to 3.4.2-release
Structure of code was slightly modified so that it should be no longer necessary to re-generate the config_*.h files, greatly simplifying the resync process in the future.
2019-02-15 23:51:50 +08:00
trav90
705e180aea [ffvpx] Restore AVOptions and dictionary features
FFmpeg requires specific default values in AVCodecContext to be set. Instead of manually setting these each time we resync with upstream, let's use FFmpeg's own AVOptions which automatically sets all the values to their default.
2019-02-15 23:51:48 +08:00
trav90
7005e37b98 [ffvpx] Revert Mozilla hack in FFmpeg code
This hack was added by Mozilla to work around a potential data race, however the root cause was fixed by upstream in release 3.4 so this hack is no longer needed.
2019-02-15 23:51:47 +08:00
Thomas Daede
ccaf3c7d85 Bug 1446062: libtremor Vorbis fix. r=jmspeex a=dveditz
--HG--
extra : transplant_source : %D3%CE8%8D%D3%C0%D3%C7%BE%7D%F2m%5DM%E3%A0%E4%0CW%F3
2019-02-15 23:46:56 +08:00
Monty Montgomery
bf2a99ddba Bug 1446062 - Vorbis fix. r=jmspeex, a=lizzard
--HG--
extra : source : 6b4e98424f0dcc024fcad48608ada351e4075e59
extra : intermediate-source : 3db9e3d52b17563efca181ccbb50deb8660c59ae
2019-02-15 23:46:55 +08:00
Ralph Giles
e021f1fe42 Bug 1443865 - Use 16-bit eobs count. r=kinetik, a=RyanVM
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : source : a628b2125a1b860c6d8124387040ec9589c219ab
extra : intermediate-source : e9128973a480c8aedf3a2e1c67d3e168613fa17c
2019-02-15 23:37:42 +08:00
Dan Minor
62821e5092 Bug 1433005 - Simplify codec pruning in NegotiateCodecs. r=bwc, a=lizzard
--HG--
extra : source : 90ae99509f1e9cb5bdf19350a5fbb1a02d34ff0a
2019-02-15 23:36:51 +08:00
Nils Ohlmeier [:drno]
98beed2404 Bug 1426988 - Properly exit encoder init in error cases. r=rillian, a=RyanVM 2019-02-15 23:36:49 +08:00
wolfbeast
963560a1d2 Remove Rust from the tree.
Part 4 for #58
2019-02-15 23:36:42 +08:00
wolfbeast
1ef84eb532 Remove Rust MP4 parser
Part 1 for #58
2019-02-15 23:36:38 +08:00
trav90
ebf0f6c35a Fix some WebRTC tests to build with GCC 7.0. 2019-02-15 23:35:59 +08:00
trav90
384e1e2734 Update FFmpeg code to n3.2-65-gee56777 2019-02-15 23:29:48 +08:00
wolfbeast
85b4e45fa7 Add build files to support libwebp decoding. 2019-02-14 14:36:31 +08:00
wolfbeast
e884585aba Add libwebp 0.6.0 to the tree 2019-02-14 14:36:29 +08:00