Commit Graph

121 Commits

Author SHA1 Message Date
Makoto Kato
e4905f7e0a Bug 1061339 - Part 2: Build AVX code on all Windows build. r=rillian, r=ted 2015-02-16 23:10:00 -05:00
Makoto Kato
e16d5e80dd Bug 1061339 - Part 1: Always use VS2013 target. r=rillian
--HG--
rename : media/libvpx/vp8_rtcd_x86-win32-vs8.h => media/libvpx/vp8_rtcd_x86-win32-vs12.h
rename : media/libvpx/vp8_rtcd_x86_64-win64-vs8.h => media/libvpx/vp8_rtcd_x86_64-win64-vs12.h
rename : media/libvpx/vp9_rtcd_x86-win32-vs8.h => media/libvpx/vp9_rtcd_x86-win32-vs12.h
rename : media/libvpx/vp9_rtcd_x86_64-win64-vs8.h => media/libvpx/vp9_rtcd_x86_64-win64-vs12.h
rename : media/libvpx/vpx_config_x86-win32-vs8.asm => media/libvpx/vpx_config_x86-win32-vs12.asm
rename : media/libvpx/vpx_config_x86-win32-vs8.h => media/libvpx/vpx_config_x86-win32-vs12.h
rename : media/libvpx/vpx_config_x86_64-win64-vs8.asm => media/libvpx/vpx_config_x86_64-win64-vs12.asm
rename : media/libvpx/vpx_config_x86_64-win64-vs8.h => media/libvpx/vpx_config_x86_64-win64-vs12.h
rename : media/libvpx/vpx_scale_rtcd_x86-win32-vs8.h => media/libvpx/vpx_scale_rtcd_x86-win32-vs12.h
rename : media/libvpx/vpx_scale_rtcd_x86_64-win64-vs8.h => media/libvpx/vpx_scale_rtcd_x86_64-win64-vs12.h
2015-02-16 21:15:00 -05:00
Brian Smith
63b6fa3518 Bug 1119776, Part 2: Avoid defining snprintf when MSVC provides it (video), r=giles
--HG--
extra : rebase_source : 0ea7b0b1a65b31993df689784dd17e741a0c312e
2015-01-08 22:32:03 -08:00
Ryan VanderMeulen
7d578960f3 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
3d3f2060bd 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
455ab31118 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
62640670bd 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
03f36e1c63 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
ca8f1d1b91 Bug 1092136 - Enable AVX2 support in libvpx for mingw toolchain. r=rillian 2014-11-03 10:29:16 +01:00
Steven Michaud
605e6115a1 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
f648fd1163 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
ce266e338c 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
660786fd23 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
f7a004f7dd 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
60fc51fb09 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
5b5484a1bb 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
de132743ed Bug 1063327 - Reject vp9 frames with invalid tiles. r=kinetik 2014-10-01 17:28:03 -07:00
Ralph Giles
21ebf7ae94 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
ed5e732977 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
0391789008 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
1d6f1c30da 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
fc99c53ae5 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
0760917dc1 Bug 1061538 - Remove unused vpx_rtcd.h from libvpx. r=giles 2014-09-03 11:32:31 +09:00
Landry Breuil
e4f28bd690 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
75c4fb0c3e 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
1c31dec759 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
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Chris Peterson
a79c47b2be 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
1a0519acb1 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
d7c7e53807 Bug 979689 - Port the per-source flags for libvpx to moz.build; r=mshal 2014-03-05 17:00:52 -05:00
Jacek Caban
f998097aca Bug 974845 - Fixed compilation on mingw with secure APIs enabled by default. r=Jan 2014-02-20 17:22:34 +01:00
Jacek Caban
bfd7117971 Bug 974845 - Added mingw config files. r=Jan 2014-02-20 17:22:23 +01:00
Trevor Saunders
9bb4469846 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
cfce978887 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
be43295e9d 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
8736a4f9f5 Bug 875013 - Remove VPATH in media/libvpx; r=joey 2014-01-09 14:43:29 -05:00
Ralph Giles
0095d8ab8d 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
3325256d97 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Jan Gerber
ae839a7fc4 Bug 949146 - libvpx MOZ_VP8_ENCODER cleanup. r=giles DONTBUILD 2013-12-11 12:56:00 -08:00
Jan Gerber
091b5e5db9 Bug 947979 - Update update.py to keep unified mode. r=giles DONTBUILD 2013-12-11 12:50:00 -08:00
Ehsan Akhgari
697e86072d Bug 947979 - Build parts of media/libvpx in unified mode; r=rillian 2013-12-11 09:40:07 -05:00
Jan Gerber
e00070bc3c Bug 947954 - vpx_config.c is not used. r=kinetik 2013-12-09 17:23:59 +01:00
Jan Gerber
f016d568fc Bug 947160 - No need to split encoder sources anymore. r=kinetik 2013-12-09 04:49:00 -08:00
Jan Gerber
baa27de9ee 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
7daba17fb2 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
1f162027b6 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
fc98abb416 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
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2 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
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00