Commit Graph

138 Commits

Author SHA1 Message Date
Jan Gerber
74e7eaa193 Bug 1178215 - Update libvpx. r=rillian
Update libvpx to e67d45d4ce92468ba193288b59093fef0a502662
* * *
Bug 1178215 - Bump clobber for libvpx file renames. r=me
2015-06-29 23:07:20 +02:00
Jan Gerber
c589f29790 Bug 1178215 - update update.py for new libvpx r=rillian
libvpx dropped vpx_mem_set_functions,
only use it if an external libvpx
is used and still has it.

update update.py
add vpx_dsp_rtcd.h
rebase disable_pthread_on_mingw.patch
add vp9_filter_restore_aligment.patch
drop msvc2015.patch
2015-06-29 23:06:04 +02:00
Jan Gerber
380294b9cc Bug 1176730: Don't use pthread for libvpx in mingw builds. r=rillian
Based on a patch by Jacek Caban.
2015-06-23 02:19:00 -07:00
Jan Gerber
0210e3849a Bug 1151175 - Update libvpx to 1.4.0. r=rillian
vp9_thread.c has changed directories, which mach doesn't handle
properly, resulting in "No rule to make target" for the old source
file path.

Bump clobber for libvpx file renames.
2015-06-17 20:46:25 +02:00
Jan Gerber
b8b9ea477d Bug 1151175 - Update libvpx update.py for 1.4.0. r=rillian 2015-06-17 20:43:46 +02:00
Ralph Giles
12af1558ee Bug 1173396 - Restore libvpx alignment patch. r=kinetik
The crash in vp8_diamond_search_sadx4 is reproducing again
so it looks like switching off unified build didn't fix
this.
2015-06-10 09:31:00 -07:00
Mike Hommey
d03760e105 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey
bf048111fa Bug 1162845 - Move ASFLAGS to moz.build. r=mshal 2015-05-12 07:54:06 +09:00
Ralph Giles
9275df22fb 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
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Ralph Giles
fa99055619 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
045cce50bf 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
7b7046e809 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
3dc5625282 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
ce8120b484 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
0bd21250ca Bug 1137614: Align the mvsadcost array to work around a possible compiler issue. r=rillian 2015-04-07 04:32:46 +12:00
Ralph Giles
ff7af06951 Bug 1139087 - Add moz.build bugzilla metadata for codecs. r=kinetik,gps 2015-03-03 11:36:00 -08:00
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