FFmpeg/libavcodec/x86
Thomas Köppe 43171a2a73 Fix missing used attribute for inline assembly variables
Variables used in inline assembly need to be marked with attribute((used)).
Static constants already were, via the define of DECLARE_ASM_CONST.
But DECLARE_ALIGNED does not add this attribute, and some of the variables
defined with it are const only used in inline assembly, and therefore
appeared dead. This change adds a macro DECLARE_ASM_ALIGNED that marks
variables as used.

This change makes FFMPEG work with Clang's ThinLTO.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-13 03:58:34 +01:00
..
aacencdsp.asm
aacencdsp_init.c
aacpsdsp.asm lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysis 2017-06-28 12:22:39 +02:00
aacpsdsp_init.c lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysis 2017-06-28 12:22:39 +02:00
ac3dsp.asm
ac3dsp_downmix.asm Merge commit 'b57e38f52c' 2017-03-22 12:49:29 +01:00
ac3dsp_init.c Merge commit 'b57e38f52c' 2017-03-22 12:49:29 +01:00
alacdsp.asm
alacdsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
audiodsp.asm Merge commit '994c4bc107' 2017-10-21 12:15:57 -03:00
audiodsp_init.c Merge commit '12004a9a7f' 2017-03-20 22:35:07 +01:00
blockdsp.asm x86/blockdsp: use three operand form for an instruction 2017-10-04 23:51:44 -03:00
blockdsp_init.c libavcodec/blockdsp : add AVX version 2017-10-03 19:47:37 -03:00
bswapdsp.asm x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions 2017-10-29 22:21:51 -03:00
bswapdsp_init.c libavcodec/bswapdsp : add AVX2 func for bswap_buf (swap uint32_t) 2017-10-29 15:21:35 +01:00
cabac.h
cavsdsp.c avcodec/x86/cavsdsp: Delete #include "libavcodec/x86/idctdsp.h". 2017-07-21 02:08:33 +02:00
cavsidct.asm cavs: add a sse2 idct implementation. 2017-04-06 10:03:28 -04:00
constants.c Fix missing used attribute for inline assembly variables 2017-11-13 03:58:34 +01:00
constants.h Merge commit '3c504bc359' 2017-03-15 22:07:28 -03:00
dcadsp.asm
dcadsp_init.c build: Generalize yasm/nasm-related variable names 2017-03-01 10:18:15 +01:00
dct32.asm Merge commit '6eef263aca' 2017-10-12 13:48:35 -03:00
dct_init.c
dirac_dwt.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
dirac_dwt_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
diracdsp.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
diracdsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
dnxhdenc.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
dnxhdenc_init.c
exrdsp.asm libavcodec/exr : add x86 SIMD for predictor 2017-10-01 17:35:30 -03:00
exrdsp_init.c libavcodec/exr : add x86 SIMD for predictor 2017-10-01 17:35:30 -03:00
fdct.c Mark some arrays that never change as const. 2017-02-01 10:42:59 +01:00
fdct.h
fdctdsp_init.c
fft.asm Merge commit '681a86aba6' 2017-10-21 12:45:49 -03:00
fft.h
fft_init.c
flac_dsp_gpl.asm
flacdsp.asm
flacdsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
fmtconvert.asm
fmtconvert_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
fpel.asm Merge commit '009adfd4fb' 2017-03-21 15:02:31 +01:00
fpel.h
g722dsp.asm
g722dsp_init.c
h263_loopfilter.asm
h263dsp_init.c
h264_cabac.c Merge commit '0a35f128f3' 2017-04-08 14:30:13 +02:00
h264_chromamc.asm Merge commit 'e4a94d8b36' 2017-03-21 15:20:45 -03:00
h264_chromamc_10bit.asm Merge commit 'e4a94d8b36' 2017-03-21 15:20:45 -03:00
h264_deblock.asm avcodec/h264: enable sse2 chroma deblock/loop filter functions 2017-02-27 13:22:06 +01:00
h264_deblock_10bit.asm avcodec/x86: deduplicate PASS8ROWS macro 2017-02-18 20:26:49 +01:00
h264_idct.asm Merge commit 'e9bb77fb10' 2017-10-21 12:39:41 -03:00
h264_idct_10bit.asm avcodec/h264: sse2 and avx 4:2:2 idct add8 10-bit functions 2016-11-30 22:58:28 +01:00
h264_intrapred.asm Merge commit '5801f9ed24' 2017-03-23 11:58:01 +01:00
h264_intrapred_10bit.asm Merge commit '5801f9ed24' 2017-03-23 11:58:01 +01:00
h264_intrapred_init.c h264pred: added AVX2 implementation for tm_vp8 16x16. 2017-03-20 09:45:42 -04:00
h264_qpel.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
h264_qpel_8bit.asm
h264_qpel_10bit.asm
h264_weight.asm
h264_weight_10bit.asm
h264chroma_init.c Merge commit 'e4a94d8b36' 2017-03-21 15:20:45 -03:00
h264dsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
hevc_add_res.asm x86/hevc_add_res: merge last remaining changes from 3d65359832 2017-03-31 20:49:45 -03:00
hevc_deblock.asm avcodec/x86: deduplicate PASS8ROWS macro 2017-02-18 20:26:49 +01:00
hevc_idct.asm Merge commit '112cee0241' 2017-03-23 15:58:46 +01:00
hevc_mc.asm
hevc_sao.asm
hevc_sao_10bit.asm
hevcdsp.h Merge commit '6d5636ad9a' 2017-03-24 12:33:25 +01:00
hevcdsp_init.c Merge commit '6d5636ad9a' 2017-03-24 12:33:25 +01:00
hpeldsp.asm Merge commit '1dfc3cf89d' 2017-01-31 14:49:29 -03:00
hpeldsp.h Revert "Merge commit '0a39c9ac0b'" 2017-02-01 02:01:07 +01:00
hpeldsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
hpeldsp_rnd_template.c
hpeldsp_vp3.asm Merge commit '1dfc3cf89d' 2017-01-31 14:49:29 -03:00
hpeldsp_vp3_init.c Revert "Merge commit '0a39c9ac0b'" 2017-02-01 02:01:07 +01:00
huffyuvdsp.asm huffyuvdsp: move functions only used by huffyuv from lossless_videodsp 2017-01-12 22:53:05 -03:00
huffyuvdsp_init.c lavc/huffyuvdsp: only transmit the pix_fmt instead of the whole avctx 2017-03-22 16:22:20 +01:00
huffyuvencdsp.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
huffyuvencdsp_init.c huffyuvencdsp: move shared functions to a new lossless_videoencdsp context 2017-01-12 22:53:04 -03:00
idctdsp.asm
idctdsp.h avcodec/x86/idctdsp: Remove duplicate include 2017-03-26 19:17:30 +02:00
idctdsp_init.c avcodec/x86: use new x86-64 functions for -idct simple 2017-06-28 17:27:35 +02:00
imdct36.asm Merge commit '6eef263aca' 2017-10-12 13:48:35 -03:00
inline_asm.h
jpeg2000dsp.asm
jpeg2000dsp_init.c
lossless_audiodsp.asm
lossless_audiodsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
lossless_videodsp.asm libavcodec/lossless_video_dsp : cosmetic add better separator for each function, in order to make reading of the asm file easier 2017-11-07 00:56:54 +01:00
lossless_videodsp_init.c libavcodec/lossless_videodsp : add add_bytes avx2 version 2017-11-07 00:56:02 +01:00
lossless_videoencdsp.asm avcodec/x86/lossless_videoencdsp: Fix warning: signed dword value exceeds bounds 2017-10-05 01:22:44 +02:00
lossless_videoencdsp_init.c huffyuvencdsp: move shared functions to a new lossless_videoencdsp context 2017-01-12 22:53:04 -03:00
lpc.c Merge commit '4efab89332' 2017-01-31 15:08:19 -03:00
Makefile libavcodec/exr : add X86 SIMD for reorder_pixels 2017-09-17 17:53:57 -03:00
mathops.h
mdct15.asm mdct15: add inverse transform postrotation SIMD 2017-07-30 07:38:39 +01:00
mdct15_init.c mdct15: add inverse transform postrotation SIMD 2017-07-30 07:38:39 +01:00
me_cmp.asm
me_cmp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
mlpdsp.asm
mlpdsp_init.c Merge commit 'fd9212f2ed' 2017-09-26 16:02:40 -03:00
mpegaudiodsp.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
mpegvideo.c avcodec/x86/mpegvideo: Use intra scantable in dct_unquantize_h263_intra_mmx() 2017-06-20 00:07:51 +02:00
mpegvideodsp.c
mpegvideoenc.c lavc/mpegvideoenc: reformat inv_zigzag_direct16 so the zigzag pattern is visible 2017-05-19 11:17:58 +02:00
mpegvideoenc_qns_template.c
mpegvideoenc_template.c avcodec/x86/mpegenc: support transpose permuation type 2017-06-20 12:12:13 +02:00
mpegvideoencdsp.asm
mpegvideoencdsp_init.c
opus_dsp_init.c opus_pvq_search: split functions into exactness and only use the exact if its faster 2017-08-18 19:32:55 +01:00
opus_pvq_search.asm opus_pvq_search: Restore the proper use of conditional define and simplify the function name suffix handling. 2017-08-19 22:42:56 +01:00
pixblockdsp.asm Merge commit 'de452e5037' 2017-03-20 15:58:32 +01:00
pixblockdsp_init.c avcodec/me_cmp: Fix crashes on ARM due to misalignment 2017-08-21 23:19:18 +02:00
pngdsp.asm
pngdsp_init.c
proresdsp.asm avcodec/x86: allow future 8-bit simple idct to use slightly different coefficients 2017-06-20 16:12:25 +02:00
proresdsp_init.c Merge commit '3fd22538bc' 2017-03-19 15:30:13 -03:00
qpel.asm
qpeldsp.asm
qpeldsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
rnd_template.c
rv34dsp.asm x86/rv34dsp: add ff_rv34_idct_dc_add_sse2 2017-02-02 17:51:21 -03:00
rv34dsp_init.c x86/rv34dsp: add ff_rv34_idct_dc_add_sse2 2017-02-02 17:51:21 -03:00
rv40dsp.asm Merge commit '6eef263aca' 2017-10-12 13:48:35 -03:00
rv40dsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
sbrdsp.asm Revert "x86/sbrdsp: remove unnecessary sign extend instruction in apply_noise_main" 2017-07-05 10:29:15 -03:00
sbrdsp_init.c
simple_idct.asm avcodec/x86: move simple_idct to external assembly 2017-05-30 13:20:42 +02:00
simple_idct.h avcodec/x86: add an 8-bit simple IDCT function based on the x86-64 high depth functions 2017-06-28 17:27:35 +02:00
simple_idct10.asm avcodec/x86: add an 8-bit simple IDCT function based on the x86-64 high depth functions 2017-06-28 17:27:35 +02:00
simple_idct10_template.asm avcodec/x86: allow future 8-bit simple idct to have "DC only hack" 2017-06-28 17:27:35 +02:00
snowdsp.c
svq1enc.asm
svq1enc_init.c
synth_filter.asm
synth_filter_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
takdsp.asm
takdsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
ttadsp.asm
ttadsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
ttaencdsp.asm
ttaencdsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
utvideodsp.asm x86/utvideodsp: make restore_rgb_planes functions work on x86_32 2017-07-04 22:49:45 -03:00
utvideodsp_init.c x86/utvideodsp: make restore_rgb_planes functions work on x86_32 2017-07-04 22:49:45 -03:00
v210-init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
v210.asm
v210enc.asm
v210enc_init.c
vc1dsp.h
vc1dsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
vc1dsp_loopfilter.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
vc1dsp_mc.asm Merge commit '7abdd026df' 2017-09-26 18:48:06 -03:00
vc1dsp_mmx.c
videodsp.asm Merge commit 'b89804da9b' 2017-03-23 18:35:49 -03:00
videodsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
vorbisdsp.asm x86/vorbisdsp: optimize ff_vorbis_inverse_coupling_sse 2017-06-15 23:20:05 -03:00
vorbisdsp_init.c
vp3dsp.asm Merge commit '6892df9294' 2017-03-19 18:41:26 +01:00
vp3dsp_init.c Merge commit '6892df9294' 2017-03-19 18:41:26 +01:00
vp6dsp.asm Merge commit 'd9d26a3674' 2017-03-19 14:54:25 -03:00
vp6dsp_init.c Merge commit '721d57e608' 2017-03-19 17:15:24 -03:00
vp8dsp.asm Merge commit '307eb1a8ee' 2017-10-21 12:28:39 -03:00
vp8dsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
vp8dsp_loopfilter.asm Merge commit '802727b538' 2017-03-19 15:18:31 -03:00
vp9dsp_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
vp9dsp_init.h vp9: re-split the decoder/format/dsp interface header files. 2017-03-28 18:04:26 -04:00
vp9dsp_init_10bpp.c
vp9dsp_init_12bpp.c
vp9dsp_init_16bpp.c avcodec/x86/vp9dsp_init_16bpp: Fix linking to missing ff_vp9_ipred_dr_32x32_16_avx2() on 32bit 2017-06-28 00:31:33 +02:00
vp9dsp_init_16bpp_template.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
vp9intrapred.asm
vp9intrapred_16bpp.asm avcodec/vp9: add 64-bit ipred_dr_32x32_16 avx2 implementation 2017-06-27 16:10:50 -04:00
vp9itxfm.asm
vp9itxfm_16bpp.asm
vp9itxfm_template.asm
vp9lpf.asm
vp9lpf_16bpp.asm
vp9mc.asm Merge commit 'e99ecda550' 2017-03-16 20:25:39 +01:00
vp9mc_16bpp.asm
vp56_arith.h
w64xmmtest.c Merge commit 'de2ae3c1fa' 2017-03-21 14:43:53 +01:00
xvididct.asm
xvididct.h Merge commit '2ec9fa5ec6' 2017-03-21 14:29:52 -03:00
xvididct_init.c build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00