Commit Graph

118 Commits

Author SHA1 Message Date
Ryan VanderMeulen
a11c606b18 Bug 934984 - Disable the /GL flag when compiling libvpx asm files to avoid MSVC bustage. r=ted 2015-01-08 08:23:00 -05:00
Ehsan Akhgari
d40b227bc3 Bug 1109895 - Send the correct -m flags to clang-cl when building libvpx; r=jrmuizel
--HG--
extra : rebase_source : 2806ced531eb39e33b30337f1112e4efb3e179db
2014-12-18 10:31:46 -05:00
Ralph Giles
a52484c104 Bug 1105858 - Bump libvpx for arm toolchain work-arounds. r=kinetik
Update our in-tree libvpx code to upstream master from September 25.
This includes a work-around added to skip neon intrinsics which
android toolchains fail to compile properly. See bug 1087096.

Results of running ./update.py --ndk ~/android/android-ndk-r9 --commit
587ff646f
2014-11-27 13:15:00 -08:00
Chris Jones
8cb82039c5 Bug 1085599: Enable NEON intrinsics for C files when even when building for ARMv6. r=rillian,ted 2014-11-06 14:50:42 -08:00
Karl Tomlinson
5cf875b9ba bug 1074860 don't require sse4.1 to run vpx common code r=ted
--HG--
extra : rebase_source : 1ad710ba3c661e8ae2ebb674111899abff815567
2014-10-30 17:47:43 +13:00
Jacek Caban
125cb20dd2 Bug 1092136 - Enable AVX2 support in libvpx for mingw toolchain. r=rillian 2014-11-03 10:29:16 +01:00
Steven Michaud
e58bf5ccbd Bug 1085607 - libvpx doesn't build on OS X with Apple clang from OS X 10.7 command line tools. r=giles 2014-10-20 19:35:39 -05:00
Ralph Giles
a4de313714 Bug 1063356 - Define __ANDROID__ for libvpx asm. r=kinetik,mshal
The assembly relies on __ANDROID__ to decide whether to call
'lrand48' or 'rand'. The later is available on desktop but
only on Android L or later. However, this macro isn't defined
by the linux vpx_config asm file we use for x86 Android builds,
so we must pass it manually when invoking yasm.
2014-10-16 13:39:20 -07:00
Ralph Giles
6c7033f59d Bug 1063356 - Pass -mfpu=neon when building libvpx. r=kinetik,mshal
This is required to compile the new intrinsic-based simd acceleration
code for arm.
2014-10-15 11:38:17 -07:00
Ralph Giles
d22b62c91b Bug 1063356 - Disable libvpx AVX2 support on linux. r=kinetik
Temporarily disable AVX2 simd acceleration on linux to work around
issues with old toolchains on the integration server builds.

Linux valgrind and B2G desktop builds use an older gcc which doesn't
support the new AVX2 intrinsics. This can be resolved either by updating
the build, or splitting the target platforms into AVX and no-AVX variants.
2014-10-17 09:01:30 -07:00
Ralph Giles
a0cdc9e13f Bug 1063356 - Update libvpx build flags. r=kinetik,ted
Propagate ssse3 and sse4.1 build flags from configure.
This is required by new optimations in upstream commit
c731d6a4f19eea861ceb2ff31399420b2452eb74.
2014-10-07 10:14:07 -07:00
Ralph Giles
307e5968d6 Bug 1063356 - Update libvpx source. r=kinetik
Results of running ./update.py --ndk ~/android/android-ndk-r9
    --commit c731d6a4f19eea861ceb2ff31399420b2452eb74
2014-10-07 09:49:40 -07:00
Ralph Giles
1d50c84dd8 Bug 1063356 - Update libvpx update script. r=kinetik
Remove upstreamed patches, rebase stdint.patch.

Update script to work with the most recent chrome pull, upstream
hasn't been doing releases, so this is the next best way to stay
current.

It's no longer possible to build vp8 and vp9 in the same unified
source file, so most of the vp9 code is moved out of unified
sources.
2014-10-06 14:41:18 -07:00
Ralph Giles
bb786d9cdd Bug 1063327 - Reject vp9 frames with invalid tiles. r=kinetik 2014-10-01 17:28:03 -07:00
Ralph Giles
a02bb8dd7a Bug 1063356 - Back out partial libvpx update. r=me
It's taking a while to get the new version building on all platforms.
Removing the partial commits so we can land cleanly.
2014-10-02 11:20:47 -07:00
Ralph Giles
7e27a1065b Bug 1063356 - Update libvpx source files. r=kinetik
Results of running update script against libvpx commit
d95585fb0ec024f6abd96f7b02e0df58019d46af
2014-09-24 20:37:00 -07:00
Ralph Giles
824b08bcd8 Bug 1063356 - Update libvpx build flags. r=kinetik,ted
Propagate ssse3 and sse4.1 build flags from configure.
This is required by new optimations in upstream commit
d95585fb0ec024f6abd96f7b02e0df58019d46af.
2014-09-24 20:33:00 -07:00
Ralph Giles
982f2e9f1a Bug 1063356 - Update libvpx update script. r=kinetik
There have been releases. Bump to the git commit used by the
most recent chrome pull: d95585fb0ec024f6abd96f7b02e0df58019d46af.

This patch contains changes to the update script necessary to
build the new snapshot and removes upstreamed patches.

It's no longer possible to build vp8 and vp9 in the same unified
source file, so most of the vp9 code is moved to standalone sources.
2014-09-24 20:30:00 -07:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Makoto Kato
460ce4e3e7 Bug 1061538 - Remove unused vpx_rtcd.h from libvpx. r=giles 2014-09-03 11:32:31 +09:00
Landry Breuil
bdf28b83b7 Bug 982693 - use -fno-integrated-as (if available) with clang when building vp8_asm_enc_offsets.c r=tterriberry 2014-07-11 09:55:27 +02:00
Carsten "Tomcat" Book
bc7e707126 Backed out changeset 5c28253351a2 (bug 1018402) for breaking Windows PGO Builds on a CLOSED TREE 2014-06-27 10:56:40 +02:00
David Major
83f29daed5 Bug 1018402 - Disable -Gw for the offset files since the extractor doesn't understand it. r=glandium
--HG--
extra : rebase_source : 5351a7166400930d35e3145228dd8d4b4fe3d805
2014-06-26 19:38:53 +12:00
Ehsan Akhgari
020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Chris Peterson
40d3d12f02 Bug 980211 - Suppress clang and gcc warnings in third-party media code: speex, theora, and vpx. r=derf 2014-03-15 23:21:32 -07:00
Chris Peterson
aab65dde2d Bug 980211 - Suppress clang warnings in third-party media code: speex, theora, and vpx. r=derf 2014-03-05 21:38:52 -08:00
Ehsan Akhgari
b2e7c54483 Bug 979689 - Port the per-source flags for libvpx to moz.build; r=mshal 2014-03-05 17:00:52 -05:00
Jacek Caban
6b0755b42f Bug 974845 - Fixed compilation on mingw with secure APIs enabled by default. r=Jan 2014-02-20 17:22:34 +01:00
Jacek Caban
fac9ab4044 Bug 974845 - Added mingw config files. r=Jan 2014-02-20 17:22:23 +01:00
Trevor Saunders
3260b2b223 bug 961287 - don't lto files that are only compiled to assembly to get offsets r=glandium 2014-01-17 19:21:44 -05:00
Ralph Giles
6db2f5f9c8 Bug 960840 - Don't disable avx2 when updating libvpx. r=cpearce DONTBUILD
Jan reminded me we reset this in update.py, so we need to remove
the lines here as well as enabling avx2 in the linux builds as
we did in bug 946639.
2014-01-16 17:49:32 -08:00
Ralph Giles
1997436909 Bug 946639 - Enable libvpx axv2 optimations on linux. r=cpearce
Enable avx2 optimizations on linux now that our build machines
have a new enough toolchains to support them.
2014-01-15 10:05:26 -08:00
Mike Shal
270bbfee95 Bug 875013 - Remove VPATH in media/libvpx; r=joey 2014-01-09 14:43:29 -05:00
Ralph Giles
afaa2bac0c Bug 949713 - Remove unused typedef to fix problems with unified builds on some systems. r=cpearce 2013-12-12 15:08:09 -08:00
Mike Hommey
62d390485a Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Jan Gerber
6ea3dd357f Bug 949146 - libvpx MOZ_VP8_ENCODER cleanup. r=giles DONTBUILD 2013-12-11 12:56:00 -08:00
Jan Gerber
709a4ff12e Bug 947979 - Update update.py to keep unified mode. r=giles DONTBUILD 2013-12-11 12:50:00 -08:00
Ehsan Akhgari
1758a70e95 Bug 947979 - Build parts of media/libvpx in unified mode; r=rillian 2013-12-11 09:40:07 -05:00
Jan Gerber
75164d8012 Bug 947954 - vpx_config.c is not used. r=kinetik 2013-12-09 17:23:59 +01:00
Jan Gerber
5182a41335 Bug 947160 - No need to split encoder sources anymore. r=kinetik 2013-12-09 04:49:00 -08:00
Jan Gerber
e6a102d4db Bug 947160 remove MOZ_VP8_ENCODER. r=kinetik
- Encoder is always built, remove MOZ_VP8_ENCODER.
  - Rename MOZ_VP8* to MOZ_VPX*
  - Enable multi-res encoding via libvpx configure.
2013-12-06 05:16:00 -08:00
Jan Gerber
8d3525293e Bug 918550 - Update libvpx to 1.3.0 r=glandium,cpearce
This updates our in-tree copy of libvpx to the
v1.3.0 git tag (2e88f2f2ec777259bda1714e72f1ecd2519bceb5)
libvpx 1.3.0 adds support for VP9. VP9 support is built
but not yet exposed with this commit.

Our update.sh script is replaced with update.py that can
update the build system to a given git commit.
 - checkout out upstream git
 - create platform dependend config files
 - add/remove changed libvpx files
 - update moz.build
 - warn about new build categories in libvpx
2013-12-06 03:19:00 -08:00
Jan Gerber
0790622e42 Bug 763495 - Update libvpx source to 1.2.0. r=cpearce,glandium
This updates our in-tree copy of libvpx to match the 1.2.0 git
tag. All but one of the patches we were carrying are in this
upstream version. Our update.sh script should copy the new
files needed but will not remove the old ones for you.

Runtime cpu detection was rewritten upstream. We now generate
per-platform headers for this and include the correct one from
a vpx_rtcd.h wrapper like we were already doing for vpx_config.h

This revision includes improved assembly optimizations and should
be faster on all platforms.

Includes work by Jan Gerber and Ralph Giles.

--HG--
rename : media/libvpx/vp8/common/arm/neon/save_neon_reg.asm => media/libvpx/vp8/common/arm/neon/save_reg_neon.asm
rename : media/libvpx/vp8/common/arm/armv6/vp8_mse16x16_armv6.asm => media/libvpx/vp8/encoder/arm/armv6/vp8_mse16x16_armv6.asm
rename : media/libvpx/vp8/common/arm/neon/vp8_mse16x16_neon.asm => media/libvpx/vp8/encoder/arm/neon/vp8_mse16x16_neon.asm
rename : media/libvpx/vp8/encoder/x86/x86_csystemdependent.c => media/libvpx/vp8/encoder/x86/vp8_enc_stubs_mmx.c
rename : media/libvpx/vpx_config_arm-linux-gcc.c => media/libvpx/vpx_config_armv7-android-gcc.c
rename : media/libvpx/vpx_config_arm-linux-gcc.h => media/libvpx/vpx_config_armv7-android-gcc.h
2013-11-29 06:02:00 -08:00
Mike Hommey
a1486ce449 Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-22 23:03:21 +09:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
0a1fb8d11c Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted 2013-11-28 12:49:43 +09:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00