diff options
author | Johann Koenig <johannkoenig@google.com> | 2017-05-16 23:39:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-05-16 23:39:37 +0000 |
commit | 31cb852a908ef36277a98b1a1beff0a8f6a7dc4f (patch) | |
tree | 37bd8a7346a84b98a04670065462d94cb9212dec | |
parent | baef5486bf32226a044c48f8fc9894e2db4def6d (diff) | |
parent | 2300e16675c2f526fc6a15246ffbe5aabbd5ea5f (diff) | |
download | libvpx-31cb852a908ef36277a98b1a1beff0a8f6a7dc4f.tar libvpx-31cb852a908ef36277a98b1a1beff0a8f6a7dc4f.tar.gz libvpx-31cb852a908ef36277a98b1a1beff0a8f6a7dc4f.tar.bz2 libvpx-31cb852a908ef36277a98b1a1beff0a8f6a7dc4f.zip |
Merge "Revert "Add visibility="protected" attribute for global variables referenced in asm files.""
-rw-r--r-- | vp8/common/x86/filter_x86.c | 3 | ||||
-rw-r--r-- | vpx_dsp/deblock.c | 4 | ||||
-rw-r--r-- | vpx_ports/mem.h | 6 |
3 files changed, 3 insertions, 10 deletions
diff --git a/vp8/common/x86/filter_x86.c b/vp8/common/x86/filter_x86.c index 73435a7dd..2405342f0 100644 --- a/vp8/common/x86/filter_x86.c +++ b/vp8/common/x86/filter_x86.c @@ -17,8 +17,7 @@ DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_4[8][8]) = { { 32, 32, 32, 32, 96, 96, 96, 96 }, { 16, 16, 16, 16, 112, 112, 112, 112 } }; -DECLARE_PROTECTED(DECLARE_ALIGNED(16, const short, - vp8_bilinear_filters_x86_8[8][16])) = { +DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_8[8][16]) = { { 128, 128, 128, 128, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0 }, { 112, 112, 112, 112, 112, 112, 112, 112, 16, 16, 16, 16, 16, 16, 16, 16 }, { 96, 96, 96, 96, 96, 96, 96, 96, 32, 32, 32, 32, 32, 32, 32, 32 }, diff --git a/vpx_dsp/deblock.c b/vpx_dsp/deblock.c index 3734ac251..a0db1e40c 100644 --- a/vpx_dsp/deblock.c +++ b/vpx_dsp/deblock.c @@ -9,9 +9,9 @@ */ #include <assert.h> #include <stdlib.h> -#include "vpx_ports/mem.h" +#include "vpx/vpx_integer.h" -DECLARE_PROTECTED(const int16_t vpx_rv[]) = { +const int16_t vpx_rv[] = { 8, 5, 2, 2, 8, 12, 4, 9, 8, 3, 0, 3, 9, 0, 0, 0, 8, 3, 14, 4, 10, 1, 11, 14, 1, 14, 9, 6, 12, 11, 8, 6, 10, 0, 0, 8, 9, 0, 3, 14, 8, 11, 13, 4, 2, 9, 0, 3, 9, 6, 1, 2, 3, 14, 13, 1, 8, diff --git a/vpx_ports/mem.h b/vpx_ports/mem.h index 9c21532b1..bfef783b1 100644 --- a/vpx_ports/mem.h +++ b/vpx_ports/mem.h @@ -23,12 +23,6 @@ #define DECLARE_ALIGNED(n, typ, val) typ val #endif -#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) && !defined(__MACH__) -#define DECLARE_PROTECTED(decl) decl __attribute__((visibility("protected"))) -#else -#define DECLARE_PROTECTED(decl) decl -#endif - #if HAVE_NEON && defined(_MSC_VER) #define __builtin_prefetch(x) #endif |