Mike Hommey
c53b03de07
Bug 1572986 - Link libmozavutil against libatomic when needed. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D41483
--HG--
extra : moz-landing-system : lando
2019-08-12 16:47:40 +00:00
David Major
0cf4cb8bae
Bug 1489081 followup: remove the now-outdated comment. DONTBUILD
2019-07-23 09:12:57 -04:00
Jean-Yves Avenard
760c5da868
Bug 1489081 - Remove no longer necessary files. r=bryce
...
With the move to clang-cl as default compiler on Windows, those are no longer necessary.
Differential Revision: https://phabricator.services.mozilla.com/D5128
--HG--
extra : moz-landing-system : lando
2019-07-22 07:47:20 +00:00
Christian Holler
8cfda79e0d
Bug 1465407 - Add media fuzzing targets. r=jya
...
Depends on D35776
Differential Revision: https://phabricator.services.mozilla.com/D35777
--HG--
extra : moz-landing-system : lando
2019-07-16 14:50:17 +00:00
Dan Minor
0bf8dc6be1
Bug 1540760 - Build system changes for aarch64-win64 support in ffvpx; r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D27790
--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:50 +00:00
Dan Minor
23afbbacd1
Bug 1540760 - Add missing aarch64 files for ffvpx; r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D27789
--HG--
extra : moz-landing-system : lando
2019-05-01 23:06:25 +00:00
Mike Hommey
ef3ad686ee
Bug 1512504 - Remove support for MSVC. r=froydnj
...
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
worked in non-ASCII cases.
This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.
Depends on D19614
Differential Revision: https://phabricator.services.mozilla.com/D19615
--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Thomas Daede
3fcd2d85d2
Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D13875
--HG--
extra : moz-landing-system : lando
2019-02-14 21:30:22 +00:00
Dorel Luca
72ca9e0f17
Backed out changeset fe264afc03aa (bug 1511224) for Fetch failures. CLOSED TREE
2019-02-14 20:44:38 +02:00
Thomas Daede
ce727c14e7
Bug 1511224 - Add win64-nasm toolchain. r=ted,jya,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D13875
--HG--
extra : moz-landing-system : lando
2019-02-14 17:11:57 +00:00
Mike Hommey
7c72587da6
Bug 1519047 - Move FFVPX_ASFLAGS and related variables to python configure. r=nalexander
...
This also moves the corresponding ASFLAGS from moz.build to python
configure.
Differential Revision: https://phabricator.services.mozilla.com/D16320
--HG--
extra : moz-landing-system : lando
2019-01-11 18:17:36 +00:00
Jean-Yves Avenard
0855e7a7da
Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
...
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
This resulted in some YouTube videos for about 10% of the frames to never be returned.
Only the new API properly behaves so we upgrade our code to use it.
Differential Revision: https://phabricator.services.mozilla.com/D14682
--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Thomas Daede
9735214d9a
Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal
...
Includes changes to support nasm's stricter include paths.
Supports falling back to yasm if nasm is missing.
Differential Revision: https://phabricator.services.mozilla.com/D9972
--HG--
extra : moz-landing-system : lando
2018-11-16 01:20:58 +00:00
Jean-Yves Avenard
032d3b87d7
Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D5041
--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 13:18:00 +00:00
Coroiu Cristina
79c7b523f8
Backed out changeset 29daa22239e9 (bug 1488065) for mda failures at dom/media/test/test_videoPlaybackQuality_totalFrames.html
2018-09-06 14:06:11 +03:00
Jean-Yves Avenard
38a3bd2e77
Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D5041
--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Masatoshi Kimura
b190c1c0b3
Bug 1482583 - Suppress clang-cl warnings in some third-party directories. r=mshal
...
--HG--
extra : rebase_source : 68621ca3ad2565e173f3350744125993f85f49f3
2018-08-11 06:05:19 +09:00
Karl Tomlinson
b99ba5e660
bug 1476231 add ffmpeg floating point real FFT functions to ffvpx when MOZ_LIBAV_FFT is configured r=jya
...
New files are from ffmpeg n3.4-1-g587fadaef1.
MozReview-Commit-ID: E9eLPySCpCz
--HG--
rename : media/libav/libavcodec/avfft.c => media/ffvpx/libavcodec/avfft.c
rename : media/libav/libavcodec/avfft.h => media/ffvpx/libavcodec/avfft.h
rename : media/libav/libavcodec/dct.h => media/ffvpx/libavcodec/dct.h
rename : media/libav/libavcodec/fft-internal.h => media/ffvpx/libavcodec/fft-internal.h
rename : media/libav/libavcodec/fft.h => media/ffvpx/libavcodec/fft.h
rename : media/libav/libavcodec/fft_float.c => media/ffvpx/libavcodec/fft_float.c
rename : media/libav/libavcodec/fft_template.c => media/ffvpx/libavcodec/fft_template.c
rename : media/libav/libavcodec/rdft.c => media/ffvpx/libavcodec/rdft.c
rename : media/libav/libavcodec/rdft.h => media/ffvpx/libavcodec/rdft.h
rename : media/libav/libavcodec/x86/fft.asm => media/ffvpx/libavcodec/x86/fft.asm
rename : media/libav/libavcodec/x86/fft.h => media/ffvpx/libavcodec/x86/fft.h
rename : media/libav/libavcodec/x86/fft_init.c => media/ffvpx/libavcodec/x86/fft_init.c
extra : rebase_source : 35a960b3248bb23dbf56c19baad91b665094fbac
2018-07-15 20:08:27 +12:00
David Major
28ad88d8c4
Bug 1321651 - revert clang-cl changes from bug 1298418 that are no longer needed. r=froydnj
2018-01-05 14:16:08 -05:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
5de63ef061
Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 5orfnoude7h
--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Daniel Holbert
d84cb4a5a7
Bug 1412240 part 2: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
...
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
https://bugs.llvm.org/show_bug.cgi?id=26828
MozReview-Commit-ID: BJUN82HyXpF
--HG--
extra : rebase_source : 3f06d3401198de45240aa9f0c7c865e048f90b89
2017-11-30 10:57:07 -08:00
Daniel Holbert
945b072cbc
Bug 1412240 part 1: Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file. r=jya
...
MozReview-Commit-ID: 8nmOy2aqPA0
--HG--
extra : rebase_source : 485e205af8fbb205c81929e12eac00410570124d
2017-11-30 11:48:28 -08:00
Noemi Erli
ee9a2b7acc
Backed out changeset 57c4f4fea139 (bug 1412240)for Static failures in /usr/include/bits/stdlib.h:91:3: "Assumed value of MB_LEN_MAX wrong" r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : b954696ebb772b1a9f69e0bb9b23f824e05cb779
2017-11-30 12:47:38 +02:00
Daniel Holbert
adec63f306
Bug 1412240: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
...
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
https://bugs.llvm.org/show_bug.cgi?id=26828
MozReview-Commit-ID: BJUN82HyXpF
--HG--
extra : rebase_source : dde23b590c3eebe9fb56dba2d81738059efde654
2017-11-25 10:21:03 -08:00
Narcis Beleuzu
218e1676cb
Merge inbound to mozilla-central r=merge a=merge
2017-11-08 12:51:09 +02:00
Randall Barker
a61eb9e8d3
Bug 1414994 - Set CONFIG_LINUX_PERF in media/ffvpx/config_android32.h to 0 to fix Android builds on MacOS r=jya
...
MozReview-Commit-ID: 2wkqm8C2uJ6
2017-11-07 12:47:30 -08:00
Jean-Yves Avenard
ee1feb36a7
Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
...
The system ffmpeg will be used instead or libvpx if not found.
MozReview-Commit-ID: GX5WWPOhPq9
--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Jean-Yves Avenard
b6b4f5d024
Bug 1412558 - P1. Don't export some unused symbols. r=gerald
...
MozReview-Commit-ID: 8ckJEYseCaS
--HG--
extra : rebase_source : a0d8b3f4a8942b28d0f9208079efc87c4ec62de4
2017-11-06 18:22:43 +01:00
Jean-Yves Avenard
f49e01980d
Bug 1414596
- P3. Re-generate config_*.{h,asm}. r=gerald
...
MozReview-Commit-ID: 2INNZuMs1y8
--HG--
extra : rebase_source : a2d539f151e90a9b1299b6ea0f895a9d8af3bdcd
2017-11-06 14:30:44 +01:00
Jean-Yves Avenard
420718da1b
Bug 1414596
- P1. Re-enable assembly optimized code. r=gerald
...
It was incorrectly disabled during the last resync.
MozReview-Commit-ID: IP0T4Aq5Q2q
--HG--
extra : rebase_source : 77b3c792ddabfc5536b8c680010d0438a22699be
2017-11-06 13:56:16 +01:00
Jean-Yves Avenard
2f8b62c59a
Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
...
MozReview-Commit-ID: 9i3AaG5CGex
--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00
Jean-Yves Avenard
dae7070b4a
Bug 1295886 - P14. Add arm neon and vfp optimized methods to ffmpeg. r=mshal
...
MozReview-Commit-ID: KMUZoDWoisi
--HG--
extra : rebase_source : a08eae842680b9d475bfc0afd2d569533dba676b
2017-11-02 01:48:00 +01:00
Jean-Yves Avenard
7905dd9c5e
Bug 1295886 - P13. Disable FAST_CLZ on Windows. r=gerald
...
It may not be supported on all CPUs.
See
https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/344671
MozReview-Commit-ID: 643jBtSS1Fl
--HG--
extra : rebase_source : cdac3d41174b0c2ca99b6e78968577d8750213ea
2017-11-01 21:33:24 +01:00
Jean-Yves Avenard
f65bf257be
Bug 1295886 - P12. Have a generic C-only FLAC decoder. r=gerald
...
MozReview-Commit-ID: C6A9YNaZBvZ
--HG--
extra : rebase_source : 635b1c8286078140463e08ca44588c28b50ca993
2017-11-01 21:17:40 +01:00
Jean-Yves Avenard
88e4dfa3e3
Bug 1295886 - P11. Enable FFmpeg small mode. r=gerald
...
This mostly removes static strings declaration, replacing them with null pointers.
It does cause to switch to algorithms that are more geared toward space saving than speed gain. However, those are mostly in hash calculations, which the FLAC decoder doesn't use.
MozReview-Commit-ID: 6Kl6xxlBOnw
--HG--
extra : rebase_source : 051ac58cd1ed3b617684cda0bd4a93687bbc9924
2017-11-01 19:31:12 +01:00
Jean-Yves Avenard
3f07325414
Bug 1295886 - P10. Add a FLAC only option to ffvpx. r=gerald
...
Remove the VP8 and VP9 decoder and the subsequently unused functions.
This drops the size to libmozavcodec to around 1MB down from 4MB.
MozReview-Commit-ID: Ge57fauG35L
--HG--
extra : rebase_source : 3f667d7bf89036e9b059727d846af2504ce488b3
2017-11-01 19:01:59 +01:00
Jean-Yves Avenard
391ca166f1
Bug 1295886 - P5. Add flac support on Android. r=gerald
...
For now this is a C decoder only and FFmpeg isn't optimised to only decode flac (both vp8 and vp9 C decoders code is included, however they aren't enabled).
MozReview-Commit-ID: 7ulwvJDJqVg
--HG--
extra : rebase_source : 7090eee32ba394224ef8c3c1c31abf1543b69975
2017-10-31 14:48:04 +01:00
Jean-Yves Avenard
9a1bda4e02
Bug 1295886 - P4. Ensure HAVE_STDATOMIC_H is properly defined. r=gerald
...
MozReview-Commit-ID: GDeob2KCAcq
--HG--
extra : rebase_source : 7986205492a16c511670178dfbcc3789119517d8
2017-10-31 14:43:11 +01:00
Jean-Yves Avenard
9212649b5a
Bug 1295886 - P3. Remove darwin 32 bits support. r=gerald
...
OS X 32 bits is no longer supported.
MozReview-Commit-ID: 2SFxDUeQvpB
--HG--
extra : rebase_source : ba68dc79483c2c0191b1168520afbb36f7502418
2017-10-31 13:45:44 +01:00
Jean-Yves Avenard
3252b06662
Bug 1295886 - P2. Extract FFmpeg BSF config options. r=gerald
...
Will simplify future resync.
MozReview-Commit-ID: CwkIFKYvWsL
--HG--
extra : rebase_source : 8d40fb7c080f087aa076ada231d3556adee615f9
2017-10-31 13:38:23 +01:00
Jean-Yves Avenard
85c82c1a4b
Bug 1295886 - P1. Remove unused flac parser. r=gerald
...
All the flac parser jobs are done by FlacDemuxer
MozReview-Commit-ID: L7VZG64gi52
--HG--
extra : rebase_source : 31cca110abd9f049923bf9d579cb2781ad38bedf
2017-10-30 17:36:39 +01:00
Tom Prince
e1f007efbe
Bug 1413257: Allow disabling ffvpx's AVX2 support on linux64 for Thunderbird's buildbot; r=jya,rillian
...
MozReview-Commit-ID: 6USzO1GE7dJ
--HG--
extra : rebase_source : 4a25c5e7c1cbe7bb063f615accf6563333c48c9c
2017-10-31 12:42:27 -06:00
Coroiu Cristina
405814ddbb
Backed out changeset 769dd8ce70e1 (bug 1413257) for failing flake8 at /builds/worker/checkouts/gecko/build/moz.configure/toolchain.configure r=backout on a CLOSED TREE
2017-11-01 23:52:50 +02:00
Tom Prince
2e700bdb70
Bug 1413257: Allow disabling ffvpx's AVX2 support on linux64 for Thunderbird's buildbot; r=jya,rillian
...
MozReview-Commit-ID: 6USzO1GE7dJ
--HG--
extra : rebase_source : 936ee14b7a91470a9f9029b20748fbe6c8e55d15
2017-10-31 12:42:27 -06:00
Jean-Yves Avenard
7838f76570
Bug 1412339 - Enable AVX2 optimizations on Linux x86_64. r=jwwang
...
MozReview-Commit-ID: 6mMf93LQeRj
--HG--
extra : rebase_source : 531b88872914e02b6924f53c452a22323002d53a
2017-10-27 16:20:39 +02:00
Jean-Yves Avenard
f69622c5b0
Bug 1411883 - P2. Update resync documentation. r=gerald
...
MozReview-Commit-ID: 9L6B8qPsUcR
--HG--
extra : rebase_source : eba16ab6d1e0f58aa9aec6212c1916c7f2788481
2017-10-26 12:55:35 +02:00
Jean-Yves Avenard
1154b74148
Bug 1411883 - P1. Copy files as-is from FFmpeg upstream. r=gerald
...
r?gerald
MozReview-Commit-ID: J8AZngUJSOb
--HG--
extra : rebase_source : 887f47644b21e00b0b494a51f1f6f83f9b01ae6e
2017-10-26 12:53:30 +02:00
Jean-Yves Avenard
4063f63822
Bug 1366201 - P4. Remove no longer necessary files. r=gerald
...
MozReview-Commit-ID: 8aGXFlw6sR0
--HG--
extra : rebase_source : 4d8e27ad4a81276d5a55cce11e37978fb966ac3b
2017-10-24 21:59:46 +02:00