Commit Graph

132 Commits

Author SHA1 Message Date
Mike Hommey
806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey
7c306bdc19 Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
Ralph Giles
5326d8e3ee Bug 1159840 - Remove libvpx alignment patch. r=kinetik
Follow-up testing in suggests that the crash in vp8_diamond_search_sadx4
was caused by unified build breakage, so we may no longer need this.
2015-04-29 11:28:00 -07:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ralph Giles
735514249c Bug 1157962 - Update libvpx upstream repo reference. r=kinetik DONTBUILD
Google have changed the canonical repository url.
2015-04-23 16:33:13 -07:00
Ralph Giles
9e2e27bfb6 Bug 1154972 - Don't remove upstream libvpx repo. r=kinetik
From df2e0cd12753c147a3bd59f300c507a8246bcd52 Mon Sep 17 00:00:00 2001
This speeds up incremental updates from upstream, or debugging
update script issues.

Note that this changes the behaviour of the update script without
the --commit argument. Previously that would do a fresh clone and
one would get the lastest upstream default branch. Now without a
specific --commit argument, it will re-use an existing checkout
if one is in tree, so take care to update the repo's HEAD to what
you want first.
2015-04-15 13:45:50 -07:00
Ralph Giles
74d8beefd7 Bug 1148639 - Disable unified build for libvpx. r=kinetik
From 79bdcf3f30dd70c3fe95fc6e5adb2f8961e640fd Mon Sep 17 00:00:00 2001
This fixes a build problem with the most recent import on msvc.
In general upstream doesn't support our method of concatenating
source files to speed up compilation. Rather than hand-maintaining
a list of exceptions and risking silent mis-compiles, it's better
just to compile every module individually.
2015-04-15 13:43:17 -07:00
Ralph Giles
177b274c46 Bug 1148639 - Update libvpx. r=kinetik
From b40321d9379faaa62fa16d6d412098fca115042d Mon Sep 17 00:00:00 2001
Result of running ./update.py --ndk ~/android/android-ndk-r9 --commit
afad1a84c15b9af8298a37c0fa449e0af40931fd
2015-03-27 14:56:04 -07:00
Ralph Giles
c536fc79d4 Bug 1148639 - Update libvpx import script and patches. r=kinetik
From 3f94fd4fc68971f0dc2148aa19b4e146262d15af Mon Sep 17 00:00:00 2001
Matched against upstream commit afad1a84c1.
2015-03-27 14:38:35 -07:00
David Major
3fe1b09e45 Bug 1137614: Align the mvsadcost array to work around a possible compiler issue. r=rillian
--HG--
extra : rebase_source : 4b2b582099cd04c8d4913a34d090801c3880905a
2015-04-07 04:32:46 +12:00
Ralph Giles
e8d1645b6c Bug 1139087 - Add moz.build bugzilla metadata for codecs. r=kinetik,gps 2015-03-03 11:36:00 -08:00
Makoto Kato
911ef245b5 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
fcc34bf07a 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
02a7263b3f 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
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