forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
8 changed files
with
127 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
commit 33b3953c548a20c0aee705657df0440a740c28b7 | ||
Author: James Zern <[email protected]> | ||
Date: Thu Jun 11 15:12:22 2015 -0700 | ||
|
||
vp9_filter: restore vp9_bilinear_filters alignment | ||
|
||
the declaration containing the alignment in vp9_filter.h was removed in: | ||
eb88b17 Make vp9 subpixel match vp8 | ||
|
||
fixes a crash in 32-bit builds | ||
|
||
Change-Id: I9a97e6b4e8e94698e43ff79d0d8bb85043b73c61 | ||
|
||
diff --git a/vp9/common/vp9_filter.c b/vp9/common/vp9_filter.c | ||
index afcdf22..b256d4a 100644 | ||
--- a/vp9/common/vp9_filter.c | ||
+++ b/vp9/common/vp9_filter.c | ||
@@ -12,7 +12,8 @@ | ||
|
||
#include "vp9/common/vp9_filter.h" | ||
|
||
-const InterpKernel vp9_bilinear_filters[SUBPEL_SHIFTS] = { | ||
+DECLARE_ALIGNED(256, const InterpKernel, | ||
+ vp9_bilinear_filters[SUBPEL_SHIFTS]) = { | ||
{ 0, 0, 0, 128, 0, 0, 0, 0 }, | ||
{ 0, 0, 0, 120, 8, 0, 0, 0 }, | ||
{ 0, 0, 0, 112, 16, 0, 0, 0 }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright (c) 2013 Mozilla Foundation. All Rights Reserved. | ||
* Use of this source code is governed by a BSD-style license | ||
* that can be found in the LICENSE file in the root of the source | ||
* tree. An additional intellectual property rights grant can be found | ||
* in the file PATENTS. | ||
*/ | ||
|
||
#if defined(_WIN64) | ||
/* 64 bit Windows */ | ||
#ifdef _MSC_VER | ||
#include "vpx_dsp_rtcd_x86_64-win64-vs12.h" | ||
#else | ||
#include "vpx_dsp_rtcd_x86_64-win64-gcc.h" | ||
#endif | ||
|
||
#elif defined(_WIN32) | ||
/* 32 bit Windows, MSVC. */ | ||
#ifdef _MSC_VER | ||
#include "vpx_dsp_rtcd_x86-win32-vs12.h" | ||
#else | ||
#include "vpx_dsp_rtcd_x86-win32-gcc.h" | ||
#endif | ||
|
||
#elif defined(__APPLE__) && defined(__x86_64__) | ||
/* 64 bit MacOS. */ | ||
#include "vpx_dsp_rtcd_x86_64-darwin9-gcc.h" | ||
|
||
#elif defined(__APPLE__) && defined(__i386__) | ||
/* 32 bit MacOS. */ | ||
#include "vpx_dsp_rtcd_x86-darwin9-gcc.h" | ||
|
||
#elif defined(__ELF__) && (defined(__i386) || defined(__i386__)) | ||
/* 32 bit ELF platforms. */ | ||
#include "vpx_dsp_rtcd_x86-linux-gcc.h" | ||
|
||
#elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__)) | ||
/* 64 bit ELF platforms. */ | ||
#include "vpx_dsp_rtcd_x86_64-linux-gcc.h" | ||
|
||
#elif defined(VPX_ARM_ASM) | ||
/* Android */ | ||
#include "vpx_dsp_rtcd_armv7-android-gcc.h" | ||
|
||
#else | ||
/* Assume generic GNU/GCC configuration. */ | ||
#include "vpx_dsp_rtcd_generic-gnu.h" | ||
#endif |