Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -wurN ffmpeg/libavcodec/aacsbrdata.h ffmpeg.new/libavcodec/aacsbrdata.h
- --- ffmpeg/libavcodec/aacsbrdata.h 2014-02-23 21:59:03.000000000 +0000
- +++ ffmpeg.new/libavcodec/aacsbrdata.h 2014-04-14 16:00:35.000000000 +0100
- @@ -353,7 +353,7 @@
- };
- /* First eight entries repeated at end to simplify SIMD implementations. */
- -const DECLARE_ALIGNED(16, float, ff_sbr_noise_table)[][2] = {
- +const DECLARE_ALIGNED(16, float, __attribute__((visibility("hidden"))) ff_sbr_noise_table)[][2] = {
- {-0.99948153278296, -0.59483417516607}, { 0.97113454393991, -0.67528515225647},
- { 0.14130051758487, -0.95090983575689}, {-0.47005496701697, -0.37340549728647},
- { 0.80705063769351, 0.29653668284408}, {-0.38981478896926, 0.89572605717087},
- diff -wurN ffmpeg/libavcodec/ac3dsp.c ffmpeg.new/libavcodec/ac3dsp.c
- --- ffmpeg/libavcodec/ac3dsp.c 2014-02-23 21:59:03.000000000 +0000
- +++ ffmpeg.new/libavcodec/ac3dsp.c 2014-04-14 15:46:33.000000000 +0100
- @@ -138,7 +138,7 @@
- mant_cnt[bap[len]]++;
- }
- -DECLARE_ALIGNED(16, const uint16_t, ff_ac3_bap_bits)[16] = {
- +DECLARE_ALIGNED(16, const uint16_t, __attribute__((visibility("hidden"))) ff_ac3_bap_bits)[16] = {
- 0, 0, 0, 3, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16
- };
- diff -wurN ffmpeg/libavcodec/cabac.c ffmpeg.new/libavcodec/cabac.c
- --- ffmpeg/libavcodec/cabac.c 2014-02-23 21:59:03.000000000 +0000
- +++ ffmpeg.new/libavcodec/cabac.c 2014-04-14 14:09:38.000000000 +0100
- @@ -31,7 +31,7 @@
- #include "cabac.h"
- #include "cabac_functions.h"
- -uint8_t ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63] = {
- +uint8_t __attribute__((visibility("hidden"))) ff_h264_cabac_tables[512 + 4*2*64 + 4*64 + 63] = {
- 9,8,7,7,6,6,6,6,5,5,5,5,5,5,5,5,
- 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
- 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
- diff -wurN ffmpeg/libavcodec/fft.h ffmpeg.new/libavcodec/fft.h
- --- ffmpeg/libavcodec/fft.h 2014-02-23 21:59:04.000000000 +0000
- +++ ffmpeg.new/libavcodec/fft.h 2014-04-14 17:21:10.000000000 +0100
- @@ -113,7 +113,7 @@
- #endif
- #define COSTABLE(size) \
- - COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, FFT_NAME(ff_cos_##size))[size/2]
- + COSTABLE_CONST DECLARE_ALIGNED(32, FFTSample, __attribute__((visibility("hidden"))) FFT_NAME(ff_cos_##size))[size/2]
- extern COSTABLE(16);
- extern COSTABLE(32);
- diff -wurN ffmpeg/libavcodec/h263data.h ffmpeg.new/libavcodec/h263data.h
- --- ffmpeg/libavcodec/h263data.h 2013-10-08 18:52:32.000000000 +0100
- +++ ffmpeg.new/libavcodec/h263data.h 2014-04-14 14:22:48.000000000 +0100
- @@ -272,7 +272,7 @@
- 6, 7, 9, 11, 13, 14, 14
- };
- -const uint8_t ff_h263_loop_filter_strength[32]={
- +const uint8_t __attribute__((visibility("hidden"))) ff_h263_loop_filter_strength[32]={
- // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
- 0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9,10,10,10,11,11,11,12,12,12
- };
- diff -wurN ffmpeg/libavcodec/x86/constants.c ffmpeg.new/libavcodec/x86/constants.c
- --- ffmpeg/libavcodec/x86/constants.c 2014-02-23 21:59:07.000000000 +0000
- +++ ffmpeg.new/libavcodec/x86/constants.c 2014-04-14 14:15:22.000000000 +0100
- @@ -24,30 +24,30 @@
- DECLARE_ALIGNED(8, const uint64_t, ff_wtwo) = 0x0002000200020002ULL;
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_1) = { 0x0001000100010001ULL, 0x0001000100010001ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_2) = { 0x0002000200020002ULL, 0x0002000200020002ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_3) = { 0x0003000300030003ULL, 0x0003000300030003ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_4) = { 0x0004000400040004ULL, 0x0004000400040004ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_5) = { 0x0005000500050005ULL, 0x0005000500050005ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_8) = { 0x0008000800080008ULL, 0x0008000800080008ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_9) = { 0x0009000900090009ULL, 0x0009000900090009ULL };
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_15) = 0x000F000F000F000FULL;
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_16) = { 0x0010001000100010ULL, 0x0010001000100010ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_17) = { 0x0011001100110011ULL, 0x0011001100110011ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_18) = { 0x0012001200120012ULL, 0x0012001200120012ULL };
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_20) = 0x0014001400140014ULL;
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_32) = { 0x0020002000200020ULL, 0x0020002000200020ULL };
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_42) = 0x002A002A002A002AULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_53) = 0x0035003500350035ULL;
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_64) = { 0x0040004000400040ULL, 0x0040004000400040ULL };
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_96) = 0x0060006000600060ULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_128) = 0x0080008000800080ULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_pw_255) = 0x00ff00ff00ff00ffULL;
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_512) = { 0x0200020002000200ULL, 0x0200020002000200ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pw_1019) = { 0x03FB03FB03FB03FBULL, 0x03FB03FB03FB03FBULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_1) = { 0x0001000100010001ULL, 0x0001000100010001ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_2) = { 0x0002000200020002ULL, 0x0002000200020002ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_3) = { 0x0003000300030003ULL, 0x0003000300030003ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_4) = { 0x0004000400040004ULL, 0x0004000400040004ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_5) = { 0x0005000500050005ULL, 0x0005000500050005ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_8) = { 0x0008000800080008ULL, 0x0008000800080008ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_9) = { 0x0009000900090009ULL, 0x0009000900090009ULL };
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_15) = 0x000F000F000F000FULL;
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_16) = { 0x0010001000100010ULL, 0x0010001000100010ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_17) = { 0x0011001100110011ULL, 0x0011001100110011ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_18) = { 0x0012001200120012ULL, 0x0012001200120012ULL };
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_20) = 0x0014001400140014ULL;
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_32) = { 0x0020002000200020ULL, 0x0020002000200020ULL };
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_42) = 0x002A002A002A002AULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_53) = 0x0035003500350035ULL;
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_64) = { 0x0040004000400040ULL, 0x0040004000400040ULL };
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_96) = 0x0060006000600060ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_128) = 0x0080008000800080ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pw_255) = 0x00ff00ff00ff00ffULL;
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_512) = { 0x0200020002000200ULL, 0x0200020002000200ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pw_1019) = { 0x03FB03FB03FB03FBULL, 0x03FB03FB03FB03FBULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pb_0) = { 0x0000000000000000ULL, 0x0000000000000000ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pb_1) = { 0x0101010101010101ULL, 0x0101010101010101ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pb_3) = { 0x0303030303030303ULL, 0x0303030303030303ULL };
- -DECLARE_ALIGNED(16, const xmm_reg, ff_pb_80) = { 0x8080808080808080ULL, 0x8080808080808080ULL };
- -DECLARE_ALIGNED(8, const uint64_t, ff_pb_FC) = 0xFCFCFCFCFCFCFCFCULL;
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pb_0) = { 0x0000000000000000ULL, 0x0000000000000000ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pb_1) = { 0x0101010101010101ULL, 0x0101010101010101ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pb_3) = { 0x0303030303030303ULL, 0x0303030303030303ULL };
- +DECLARE_ALIGNED(16, const xmm_reg, __attribute__((visibility("hidden"))) ff_pb_80) = { 0x8080808080808080ULL, 0x8080808080808080ULL };
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_pb_FC) = 0xFCFCFCFCFCFCFCFCULL;
- diff -wurN ffmpeg/libswscale/x86/swscale.c ffmpeg.new/libswscale/x86/swscale.c
- --- ffmpeg/libswscale/x86/swscale.c 2014-02-23 21:59:11.000000000 +0000
- +++ ffmpeg.new/libswscale/x86/swscale.c 2014-04-14 13:52:44.000000000 +0100
- @@ -54,17 +54,17 @@
- DECLARE_ASM_CONST(8, uint64_t, g15Mask)= 0x03E003E003E003E0LL;
- DECLARE_ASM_CONST(8, uint64_t, r15Mask)= 0x7C007C007C007C00LL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_M24A) = 0x00FF0000FF0000FFLL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_M24B) = 0xFF0000FF0000FF00LL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_M24C) = 0x0000FF0000FF0000LL;
- -
- -DECLARE_ALIGNED(8, const uint64_t, ff_bgr2YCoeff) = 0x000020E540830C8BULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_bgr2UCoeff) = 0x0000ED0FDAC23831ULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_bgr2VCoeff) = 0x00003831D0E6F6EAULL;
- -
- -DECLARE_ALIGNED(8, const uint64_t, ff_bgr2YOffset) = 0x1010101010101010ULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_bgr2UVOffset) = 0x8080808080808080ULL;
- -DECLARE_ALIGNED(8, const uint64_t, ff_w1111) = 0x0001000100010001ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_M24A) = 0x00FF0000FF0000FFLL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_M24B) = 0xFF0000FF0000FF00LL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_M24C) = 0x0000FF0000FF0000LL;
- +
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_bgr2YCoeff) = 0x000020E540830C8BULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_bgr2UCoeff) = 0x0000ED0FDAC23831ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_bgr2VCoeff) = 0x00003831D0E6F6EAULL;
- +
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_bgr2YOffset) = 0x1010101010101010ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_bgr2UVOffset) = 0x8080808080808080ULL;
- +DECLARE_ALIGNED(8, const uint64_t, __attribute__((visibility("hidden"))) ff_w1111) = 0x0001000100010001ULL;
- //MMX versions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement