Commit Graph

168 Commits

Author SHA1 Message Date
Karl Tomlinson
503543260f bug 1242991 correct vpx include path and vpx/svc_context.h visibilty r=glandium
to fix up --with-system-vpx after f442638a.
2016-02-05 12:06:11 +13:00
Gerald Squelart
f0cf348f58 Bug 1237848 - Updated update.py patch - r=rillian 2016-02-04 11:29:02 +11:00
Gerald Squelart
eeba0736d7 Bug 1237848 - Check lookahead ctx - r=rillian
Copied from https://chromium-review.googlesource.com/324510
2016-02-04 11:29:00 +11:00
Mike Hommey
5370c0b645 Bug 1245027 - Move LOCAL_INCLUDES to moz.build in media/libvpx. r=mshal 2016-02-03 08:41:23 +09:00
Nathan Froyd
95a4f53eba Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands.  We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Nicholas Nethercote
afc6e87efc Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium. 2015-12-16 22:59:42 -08:00
Gerald Squelart
2f9ecb1260 Bug 1224371 - Upstream update patch. r=jya 2016-01-04 09:06:08 +01:00
Gerald Squelart
1cd04b9771 Bug 1224371 - Cast uint8_t to uint32_t before shift. r=jya
Note: C-style cast because it is C code.
2016-01-04 09:05:47 +01:00
Ehsan Akhgari
6fbb13987d Bug 1233983 - Make libvpx build with clang-cl; r=rillian
This has been submitted upstream:
https://chromium-review.googlesource.com/#/c/319392/
2015-12-30 18:33:41 -05:00
Gerald Squelart
4e9891d3a1 Bug 1224361 - Upstream update patch - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart
4eb6a6b6e4 Bug 1224361 - Clamp QIndex also in abs-value mode - r=rillian 2015-12-03 14:14:46 +11:00
Gerald Squelart
ab15f250cf Bug 1224363 - Upstream update patch - r=rillian 2015-12-03 14:14:45 +11:00
Gerald Squelart
f773f16b12 Bug 1224363 - Clamp seg_lvl also in abs-value mode - r=rillian
Even when the segment feature data is in absolute mode, it is still read as a
6-bit value with an added sign, so it could have values between -63 and +63.
Later, this signed value is used without checks as a filter level, which is
used to access an entry in an array of size MAX_LOOP_FILTER+1=64.

This patch just extends the existing clamping (that was done only to relative-
mode data) to absolute mode data, before it is blindly 'memset' in
lfi->lvl[seg][0], which was where the out-of-bound filter_value was read in
subsequent vp8_loop_filter_row_simple.
2015-12-03 14:14:45 +11:00
Ralph Giles
6fbdcb92d2 Bug 1225221 - vpx: allow 8k video. r=kinetik
Result of running update.sh with the new limit.
2015-11-16 11:10:00 -08:00
Ralph Giles
07c3a912e3 Bug 1225221 - vpx: Allow 8k video in update.sh. r=kinetik
Raise the allowed frame size limit to allow 8k video
per gecko bug 1222145.
2015-11-16 11:09:00 -08:00
Ralph Giles
d44fb0cc4a Bug 1225217 - vpx: restore linux avx2 code in libvpx. r=kinetik
revert bug 1063356 part 5 now that all continuous integration
builds have sufficiently recent toolchains.
2015-11-16 10:58:00 -08:00
Ralph Giles
627d26a76b Bug 1218124 - Add vpx_once patch to update script. r=gerald
From 3fae7b20918a3a3c8a9dc6e7f92aef0d19fb20fa Mon Sep 17 00:00:00 2001
2015-11-12 17:00:07 -08:00
Ralph Giles
74b0e36ee7 Bug 1218124 - Use InterlockCompare in win32 vpx_once(). r=gerald
From 64f73cc1f7f57ca6643b027eae63041fec408ea8 Mon Sep 17 00:00:00 2001
2015-11-06 16:42:49 -08:00
Makoto Kato
b8a737ae4f Bug 1219228 - Generate correct source path of cpu-features.c. r=glandium 2015-10-30 12:23:42 +09:00
Mike Hommey
9768be95eb Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote
4b27ee8c29 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.
2015-10-19 18:05:20 -07:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jan Gerber
b045b2738e Bug 1073319 - Enable AVX2 for libvpx on linux (libvpx). r=rillian 2015-07-16 02:38:00 -07:00
Jan Gerber
b8500322f0 Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian 2015-07-16 02:37:00 -07:00
Jan Gerber
fd164253c9 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-21 12:01:41 +02:00
Jan Gerber
75948bf379 Bug 1192226 - Enable libvpx size limit in update.py. r=rillian
Bounds match those in VideoUtils.h.
2015-08-08 09:28:52 +02:00
Wes Kocher
69cc711f92 Backed out 2 changesets (bug 1192226) for vpx_config bustage
Backed out changeset 92d172a5d403 (bug 1192226)
Backed out changeset 4e7adb955673 (bug 1192226)
2015-08-20 11:19:03 -07:00
Jan Gerber
6e5667a0d5 Bug 1192226 - Apply libvpx size limit. r=rillian 2015-08-08 09:34:39 +02:00
Jan Gerber
459a5389b3 Bug 1192226 - Enable libvpx size limit in update.py. r=rillian
Limits match those in VideoUtils.h.
2015-08-08 09:28:52 +02:00
Mike Hommey
2b06635ca7 Bug 1194905 - Build libvpx neon code without -mthumb and -mfloat-abi=softfp. r=mshal
-mfloat-abi=softfp is hardcoding an ABI that may not match everything else
in Gecko, which is bound to fail. It's also unrelated to building NEON code.
-mthumb is also unrelated to building NEON code, and should be left as it
is for everything else.
Now, interestingly, we also have a VPX_ASFLAGS variable that just contains
the right things instead of hardcoding them in the moz.build, so just use
that instead.
2015-08-18 08:09:14 +09:00
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