Граф коммитов

241 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 2fc7fb7998 Bug 1789233 - Remove media/libvpx/libvpx/vpx_dsp/vpx_dsp.mk.orig. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D156423
2022-09-05 11:20:58 +00:00
Chun-Min Chang fc671ae0e5 Bug 1778635 - Apply local patches to libvpx r=webrtc-reviewers,mjf
Run `./mach vendor media/libvpx/moz.yaml --patch-mode=only` as what
media/libvpx/README_MOZILLA said.

Differential Revision: https://phabricator.services.mozilla.com/D151869
2022-07-14 20:22:34 +00:00
Chun-Min Chang 911fe535a4 Bug 1778635 - Vendor libvpx r=webrtc-reviewers,mjf
Run `./mach vendor media/libvpx/moz.yaml --patch-mode=none` as what
media/libvpx/README_MOZILLA said.

The update libvpx revision is 168b312774166958897f727196a59ee8ad423e78.

Differential Revision: https://phabricator.services.mozilla.com/D151868
2022-07-14 20:22:32 +00:00
Chun-Min Chang c41df48ec2 Bug 1778635 - Apply .mk patches before generating .mozbuild r=tjr
The patches for *.mk files should be applied before running
`generate_sources_mozbuild` since the files in the generated .mozbuild
is based on the files listed in the *.mk

Depends on D150207

Differential Revision: https://phabricator.services.mozilla.com/D150208
2022-07-13 21:02:46 +00:00
Chun-Min Chang b2994c8b50 Bug 1778635 - Rename duplicate file name r=tjr
The latest version (v1.12.0-rc1) of the libvpx [1] adds some
optimizations with LSX instructions for loongson architecture [2], which
has same name files *quantize_lsx.c* in both vp8/encoder/loongarch and
vpx_dsp/loongarch directories, and so the `find_duplicates` check fails
in *generate_sources_mozbuild.sh*

To avoid the above failure, *quantize_lsx.c* under *loongarch* is
renamed to *quantize_intrin_lsx.c*.

[1] https://chromium.googlesource.com/webm/libvpx/
[2] https://bugs.chromium.org/p/webm/issues/detail?id=1755

Differential Revision: https://phabricator.services.mozilla.com/D150207
2022-07-13 21:02:46 +00:00
Tom Ritter e726a40dcf Bug 1763991: Re-orient patches to align with mach vendor r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D143632
2022-04-20 16:18:24 +00:00
Tom Ritter 5f0238c1f0 Bug 1763991: Let Updatebot update libvpx r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D143631
2022-04-20 16:18:19 +00:00
Johann ad9f894b55 Bug 1759324 - update libvpx patches r=bryce
Adjust for minor offsets since v1.8.2

Differential Revision: https://phabricator.services.mozilla.com/D140926
2022-04-11 08:54:40 +00:00
Johann 1a131bad22 Bug 1759324 - update libvpx to v1.11.0 r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D140925
2022-04-11 08:54:39 +00:00
Cosmin Sabou 97d21fa167 Backed out 5 changesets (bug 1761511) for causing build bustages. CLOSED TREE
Backed out changeset 687de8c00013 (bug 1761511)
Backed out changeset 88e6cf5c70e5 (bug 1761511)
Backed out changeset 4c40758f54f1 (bug 1761511)
Backed out changeset 8a18abcccda4 (bug 1761511)
Backed out changeset 1afb1f32a6a4 (bug 1761511)
2022-04-07 00:13:00 +03:00
Nika Layzell f1c3a8f87c Bug 1761511 - Part 5: Fix gtest deprecation warnings, r=ahal
The TEST_CASE_P macros are deprecated in newer versions of gtest.

Differential Revision: https://phabricator.services.mozilla.com/D142612
2022-04-06 20:45:08 +00:00
Mike Hommey 0aa2e2da9a Bug 1692940 - Switch vpx build to nasm instead of yasm. r=firefox-build-system-reviewers,dmajor
We also remove the dependency on the check for GNU as, because all the
build environments we support for arm use GNU as, and the dependency
causes complications.

Differential Revision: https://phabricator.services.mozilla.com/D105427
2021-02-23 01:26:44 +00:00
Mike Hommey 1047ad476b Bug 1687433 - Remove -no-integrated-as flag from libaom and libvpx. r=firefox-build-system-reviewers,mhentges
Back when it was added, it was added to libvpx, and the clang base
version was older. Either newer version of clang fixed the issues or
the libvpx source fixed it, but we don't need the flag anymore for
libvpx.

The flag for libaom was cargo culted from libvpx, but may not have been
necessary in the first place. Or maybe it was, but things fixed
themselves in a similar manner. Either way, the flag is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D102262
2021-01-19 14:11:18 +00:00
Jan Beich 6a49954834 Bug 1622013 - Build *_mmx.c files with -mmmx in bundled libvpx; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D70674

--HG--
extra : moz-landing-system : lando
2020-04-13 15:34:42 +00:00
Dan Minor db02a83292 Bug 1525393 - Run generate_sources_mozbuild.sh; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D63924

--HG--
extra : moz-landing-system : lando
2020-02-27 18:32:00 +00:00
Dan Minor f1d63c19a5 Bug 1525393 - Update libvpx to 1.8.2; r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D63922

--HG--
rename : media/libvpx/libvpx/third_party/libwebm/LICENSE.TXT => media/libvpx/libvpx/third_party/libyuv/LICENSE
rename : media/libvpx/libvpx/vp8/common/copy_c.c => media/libvpx/libvpx/vp8/encoder/copy_c.c
rename : media/libvpx/libvpx/vp8/encoder/x86/encodeopt.asm => media/libvpx/libvpx/vp8/encoder/x86/block_error_sse2.asm
rename : media/libvpx/libvpx/vp8/common/x86/copy_sse2.asm => media/libvpx/libvpx/vp8/encoder/x86/copy_sse2.asm
rename : media/libvpx/libvpx/vp8/common/x86/copy_sse3.asm => media/libvpx/libvpx/vp8/encoder/x86/copy_sse3.asm
extra : moz-landing-system : lando
2020-02-27 18:57:02 +00:00
Dan Minor 5a236f8a82 Bug 1525393 - Changes to update scripts for libvpx 1.8.2; r=bryce
This makes the following changes:
* Change update.py to use Python 3.
* Have update.py remove some unused portions of the upstream library.
* Update local patches to apply against libvpx 1.8.2.
* Remove local patches that are no longer necessary.
* Update vs build configurations in generate_sources_mozbuild.sh.
* Remove the #define for stdint from VPXDecoder.h.
* Disable AVX512 support
* Make sure float_control_word.asm is included in win64 builds

Differential Revision: https://phabricator.services.mozilla.com/D63919

--HG--
extra : moz-landing-system : lando
2020-02-27 18:04:20 +00:00
Tom Ritter f388fabece Bug 1585358 - Remove mingw-gcc configuration stuf from libvpx r=jya
mingw-gcc is no longer supported.

Differential Revision: https://phabricator.services.mozilla.com/D48580

--HG--
extra : moz-landing-system : lando
2019-10-10 18:30:56 +00:00
Mike Shal f8f5fce637 Bug 1496746 - Remove VPATH; r=glandium
Having a full VPATH for the srcdir sometimes causes make to grab the
wrong prerequisite for a rule, in particular if we have a file in the
srcdir and also generate a file of the same name in the objdir. We don't
really need VPATH anymore though, since most of the information comes
from mozbuild, where we can explicitly list the path to the srcdir or
objdir as necessary.

Differential Revision: https://phabricator.services.mozilla.com/D42968

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:47 +00:00
Dan Minor 8bcd86c1fe Bug 1540760 - Rerun generate_sources_mozbuild.sh for arm64 windows; r=jya
Differential Revision: https://phabricator.services.mozilla.com/D27788

--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:49 +00:00
Dan Minor 90be9d8f62 Bug 1540760 - Use arm sources for libvpx; r=jya
Differential Revision: https://phabricator.services.mozilla.com/D27787

--HG--
extra : moz-landing-system : lando
2019-05-01 15:04:49 +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
Alex Chronopoulos ed3d0e43c1 Bug 1521078 - Don't assemble include only .asm files. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16975

--HG--
extra : moz-landing-system : lando
2019-01-21 11:23:42 +00:00
Makoto Kato a2a77288af Bug 1516513 - Part 2. Add generated files to libvpx. r=jya
Depends on D15400

Differential Revision: https://phabricator.services.mozilla.com/D15401

--HG--
extra : moz-landing-system : lando
2019-01-21 04:52:45 +00:00
Makoto Kato 5c854f6c5a Bug 1516513 - Part 1. Add linux/aarch64 config to libvpx. r=jya
To use NEON on Linux/aarch64 and Android/aarch64, I would like to add it to
libvpx.  libvpx has a configuration as arm64-linux-gcc.

Differential Revision: https://phabricator.services.mozilla.com/D15400

--HG--
extra : moz-landing-system : lando
2019-01-21 04:55:02 +00:00
Thomas Daede 29393c8e79 Bug 1509724 - Don't include x86_abi_support.asm in libvpx build. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16615

--HG--
extra : moz-landing-system : lando
2019-01-16 21:42:38 +00:00
Mike Hommey 1467f34ce5 Bug 1515257 - Remove VPX_AS_CONVERSION. r=firefox-build-system-reviewers,ted
There's only really one place where it's used, and we can "inline" it
there.

Depends on D14947

Differential Revision: https://phabricator.services.mozilla.com/D14948

--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:27 +00:00
Mike Hommey a846159c7f Bug 1515257 - Remove VPX_ARM_ASM. r=firefox-build-system-reviewers,ted
It is only used in one place, where it is redundant with VPX_AS_CONVERSION.

Depends on D14945

Differential Revision: https://phabricator.services.mozilla.com/D14946

--HG--
extra : moz-landing-system : lando
2018-12-19 11:11:17 +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
Nathan Froyd b47b2129d2 Bug 1481515 - add a libvpx config for aarch64 windows; r=padenot,jya,dminor 2018-09-11 16:05:09 -04:00
Tom Ritter 9653a5e959 Bug 1489550 Remove a stray merge file that got commited r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D5281

--HG--
extra : moz-landing-system : lando
2018-09-07 17:46:47 +00:00
Dan Minor 07a423be37 Bug 1480092 - Cherrypick rev 52add5896661d186dec284ed646a4b33b607d2c7. r=drno
--HG--
extra : amend_source : 8787ebf1cb3e3dc39ab38f78a82387c86903249b
2018-08-13 11:32:47 -04:00
Dan Minor fdd6584333 Bug 1433158 - Disable avx512 in libvpx; r=jya
Summary:
This disables building avx512 due to difficulty in getting a working set of
compiler flags across our supported platforms. Rather than carrying this patch
forward, we should revisit supporting avx512 when we do the next update.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2942

--HG--
extra : rebase_source : 0b828be5559a985a8ec5f12d6712b970545d0d83
2018-08-07 11:29:17 -04:00
Dan Minor 8f8bdf9e76 Bug 1433158 - Update libvpx to 1.7.0; r=jya
Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2940

--HG--
extra : rebase_source : b0637fc24a3159b7b5d9ac017240be80dc07ce37
2018-08-07 14:21:57 -04:00
Dan Minor 2fa2ea17f5 Bug 1433158 - Remove vp9_svc.patch; r=jya
Summary:
This patch is already applied to the webrtc.org code and doing a libvpx update
does not remove it, so having this present leads to merge conflicts during the
update as it attempts to patch already patched code.

Reviewers: jya

Tags: #secure-revision

Bug #: 1433158

Differential Revision: https://phabricator.services.mozilla.com/D2939

--HG--
extra : rebase_source : e641e8645467565f329c72f0869fe18aa2def846
2018-08-07 09:12:41 -04:00
Nathan Froyd 32d63fdca4 Bug 1477047 - make fewer assumptions about MSVC compiling for x86-ish code; r=chmanchester
ARM64 Windows is a thing now, so this assumption is no longer valid.
2018-07-24 16:08:56 -04:00
David Major ae0bb01f30 Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-05-10 14:31:49 -04:00
David Major 6750ccaf96 Backed out changeset 4d3b94d04760 (bug 1453061) and we'll re-land when talos xperf comes back online
--HG--
extra : rebase_source : ecc77f749a5832bbfca158a019c26dd73fbb0397
2018-04-13 16:07:04 -04:00
David Major 23a33f032e Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-04-12 10:22:42 -04:00
Tom Ritter 987bacca5a Bug 1448453 Update libvpx to have a 64 bit mingw config r=kinetik
MozReview-Commit-ID: 1Dt3OcMgWii

--HG--
extra : rebase_source : 276e59d2c27a69d3f2526e027a11a413b618cfda
2018-03-23 14:56:54 -05:00
Ralph Giles 5afdc71afd Bug 1443865 - Use 16-bit eobs count. r=kinetik
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : rebase_source : 1afdf8a54ae5dab645e67bde62e219ee838dea84
2018-03-07 16:02:30 -05:00
Nils Ohlmeier [:drno] a148913e4d Bug 1426988 - Properly exit encoder init in error cases. r=rillian
--HG--
extra : rebase_source : 0fa1d6ab54499dba8da9182adeaa3117ee8c8b98
2018-01-27 11:20:43 -08:00
Sylvestre Ledru a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01: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
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Tom Ritter 64fa57a006 Bug 1406542 Enable PTHREAD for vpx and aom under MinGW because we do in fact have them. r=rillian
We were getting warnings that HAVE_PTHREAD_H was being redeclared with the wrong value.
Let's correct that.

MozReview-Commit-ID: KVAsYofozIT

--HG--
rename : media/libvpx/config/win/ia32/vp8_rtcd.h => media/libvpx/config/win/mingw32/vp8_rtcd.h
rename : media/libvpx/config/win/ia32/vp9_rtcd.h => media/libvpx/config/win/mingw32/vp9_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_config.asm => media/libvpx/config/win/mingw32/vpx_config.asm
rename : media/libvpx/config/win/ia32/vpx_config.c => media/libvpx/config/win/mingw32/vpx_config.c
rename : media/libvpx/config/win/ia32/vpx_config.h => media/libvpx/config/win/mingw32/vpx_config.h
rename : media/libvpx/config/win/ia32/vpx_dsp_rtcd.h => media/libvpx/config/win/mingw32/vpx_dsp_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_scale_rtcd.h => media/libvpx/config/win/mingw32/vpx_scale_rtcd.h
extra : rebase_source : beb8b369df337ce2a6fcd860bb9437537376e4c5
2017-10-24 16:57:51 -05:00
Gregory Szorc 3d5f58d635 Bug 1399878 - Fix case of LOCAL_INCLUDES; r=me
This fixes a typo introduced in 305e742634e5 and that broke
moz.build processing for MacOS.
2017-09-15 14:18:32 -07:00
Ted Mielczarek 0677fcfacf bug 1399878 - Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files. r=gps
MozReview-Commit-ID: 3PUOniPnt54

--HG--
extra : rebase_source : 01accd7951a4af7018265e91040aa7005b061902
2017-09-14 06:39:27 -04:00