diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-01 10:31:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-02-05 17:01:05 +0100 |
commit | c9f933b5b62d3054021fcdca8597d1c2fb6bdb2f (patch) | |
tree | c806492fc39c6605545f5e2b216fdfb36ed4840b /libavcodec/x86 | |
parent | 25841dfe806a13de526ae09c11149ab1f83555a8 (diff) | |
download | ffmpeg-c9f933b5b62d3054021fcdca8597d1c2fb6bdb2f.tar.gz |
Add av_cold attributes to arch-specific init functions
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/cavsdsp.c | 8 | ||||
-rw-r--r-- | libavcodec/x86/dnxhdenc.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 31 | ||||
-rw-r--r-- | libavcodec/x86/dsputilenc_mmx.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/fmtconvert_init.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/h264_intrapred_init.c | 5 | ||||
-rw-r--r-- | libavcodec/x86/h264_qpel.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/h264dsp_init.c | 5 | ||||
-rw-r--r-- | libavcodec/x86/lpc.c | 1 | ||||
-rw-r--r-- | libavcodec/x86/mlpdsp.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/motion_est.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/mpegaudiodec.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/mpegvideo.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/mpegvideoenc.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/pngdsp_init.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/rv40dsp_init.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/sbrdsp_init.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/videodsp_init.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/vorbisdsp_init.c | 3 |
19 files changed, 59 insertions, 33 deletions
diff --git a/libavcodec/x86/cavsdsp.c b/libavcodec/x86/cavsdsp.c index f94e2f3f1b..80c34bbb3b 100644 --- a/libavcodec/x86/cavsdsp.c +++ b/libavcodec/x86/cavsdsp.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" @@ -446,7 +447,8 @@ CAVS_MC(put_, 16, mmxext) CAVS_MC(avg_, 8, mmxext) CAVS_MC(avg_, 16, mmxext) -static void ff_cavsdsp_init_mmxext(CAVSDSPContext *c, AVCodecContext *avctx) +static av_cold void ff_cavsdsp_init_mmxext(CAVSDSPContext *c, + AVCodecContext *avctx) { #define dspfunc(PFX, IDX, NUM) \ c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_mmxext; \ @@ -474,7 +476,9 @@ CAVS_MC(put_, 16,3dnow) CAVS_MC(avg_, 8, 3dnow) CAVS_MC(avg_, 16,3dnow) -static void ff_cavsdsp_init_3dnow(CAVSDSPContext* c, AVCodecContext *avctx) { +static av_cold void ff_cavsdsp_init_3dnow(CAVSDSPContext *c, + AVCodecContext *avctx) +{ #define dspfunc(PFX, IDX, NUM) \ c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_mmxext; \ c->PFX ## _pixels_tab[IDX][ 2] = ff_ ## PFX ## NUM ## _mc20_3dnow; \ diff --git a/libavcodec/x86/dnxhdenc.c b/libavcodec/x86/dnxhdenc.c index f5470c95e4..9f71c82e91 100644 --- a/libavcodec/x86/dnxhdenc.c +++ b/libavcodec/x86/dnxhdenc.c @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/x86/asm.h" #include "libavcodec/dnxhdenc.h" @@ -54,7 +55,7 @@ static void get_pixels_8x4_sym_sse2(int16_t *block, const uint8_t *pixels, int l #endif /* HAVE_SSE2_INLINE */ -void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx) +av_cold void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx) { #if HAVE_SSE2_INLINE if (av_get_cpu_flags() & AV_CPU_FLAG_SSE2) { diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index b882c68a3b..92f532a65e 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavcodec/dsputil.h" @@ -1653,7 +1654,8 @@ void ff_vector_clip_int32_sse4 (int32_t *dst, const int32_t *src, c->PFX ## _pixels_tab IDX [3] = PFX ## _pixels ## SIZE ## _xy2_ ## CPU; \ } while (0) -static void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, int mm_flags) +static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { const int high_bit_depth = avctx->bits_per_raw_sample > 8; @@ -1712,8 +1714,8 @@ static void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx, int mm_flags) } -static void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx, - int mm_flags) +static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { const int bit_depth = avctx->bits_per_raw_sample; const int high_bit_depth = bit_depth > 8; @@ -1799,8 +1801,8 @@ static void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx, #endif /* HAVE_MMXEXT_EXTERNAL */ } -static void dsputil_init_3dnow(DSPContext *c, AVCodecContext *avctx, - int mm_flags) +static av_cold void dsputil_init_3dnow(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { const int high_bit_depth = avctx->bits_per_raw_sample > 8; @@ -1844,7 +1846,8 @@ static void dsputil_init_3dnow(DSPContext *c, AVCodecContext *avctx, #endif /* HAVE_YASM */ } -static void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, int mm_flags) +static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { const int high_bit_depth = avctx->bits_per_raw_sample > 8; @@ -1861,8 +1864,8 @@ static void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, int mm_flags) #endif /* HAVE_INLINE_ASM */ } -static void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx, - int mm_flags) +static av_cold void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { const int bit_depth = avctx->bits_per_raw_sample; const int high_bit_depth = bit_depth > 8; @@ -1909,8 +1912,8 @@ static void dsputil_init_sse2(DSPContext *c, AVCodecContext *avctx, #endif /* HAVE_SSE2_EXTERNAL */ } -static void dsputil_init_ssse3(DSPContext *c, AVCodecContext *avctx, - int mm_flags) +static av_cold void dsputil_init_ssse3(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { #if HAVE_SSSE3_EXTERNAL const int high_bit_depth = avctx->bits_per_raw_sample > 8; @@ -1935,15 +1938,15 @@ static void dsputil_init_ssse3(DSPContext *c, AVCodecContext *avctx, #endif /* HAVE_SSSE3_EXTERNAL */ } -static void dsputil_init_sse4(DSPContext *c, AVCodecContext *avctx, - int mm_flags) +static av_cold void dsputil_init_sse4(DSPContext *c, AVCodecContext *avctx, + int mm_flags) { #if HAVE_SSE4_EXTERNAL c->vector_clip_int32 = ff_vector_clip_int32_sse4; #endif /* HAVE_SSE4_EXTERNAL */ } -static void dsputil_init_avx(DSPContext *c, AVCodecContext *avctx, int mm_flags) +static av_cold void dsputil_init_avx(DSPContext *c, AVCodecContext *avctx, int mm_flags) { #if HAVE_AVX_EXTERNAL const int bit_depth = avctx->bits_per_raw_sample; @@ -1957,7 +1960,7 @@ static void dsputil_init_avx(DSPContext *c, AVCodecContext *avctx, int mm_flags) #endif /* HAVE_AVX_EXTERNAL */ } -void ff_dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx) +av_cold void ff_dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx) { int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c index 532b60956d..985b0cc3b8 100644 --- a/libavcodec/x86/dsputilenc_mmx.c +++ b/libavcodec/x86/dsputilenc_mmx.c @@ -22,6 +22,7 @@ * MMX optimization by Nick Kurshev <nickols_k@mail.ru> */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -941,7 +942,7 @@ hadamard_func(mmxext) hadamard_func(sse2) hadamard_func(ssse3) -void ff_dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx) +av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx) { int mm_flags = av_get_cpu_flags(); int bit_depth = avctx->bits_per_raw_sample; diff --git a/libavcodec/x86/fmtconvert_init.c b/libavcodec/x86/fmtconvert_init.c index b97fbf9863..1eaff37365 100644 --- a/libavcodec/x86/fmtconvert_init.c +++ b/libavcodec/x86/fmtconvert_init.c @@ -22,6 +22,7 @@ * MMX optimization by Nick Kurshev <nickols_k@mail.ru> */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -113,7 +114,7 @@ static void float_interleave_sse(float *dst, const float **src, } #endif /* HAVE_YASM */ -void ff_fmt_convert_init_x86(FmtConvertContext *c, AVCodecContext *avctx) +av_cold void ff_fmt_convert_init_x86(FmtConvertContext *c, AVCodecContext *avctx) { #if HAVE_YASM int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/h264_intrapred_init.c b/libavcodec/x86/h264_intrapred_init.c index d207fd0a49..84ffd4f9eb 100644 --- a/libavcodec/x86/h264_intrapred_init.c +++ b/libavcodec/x86/h264_intrapred_init.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/cpu.h" #include "libavcodec/avcodec.h" @@ -180,7 +181,9 @@ PRED4x4(tm_vp8, 8, mmxext) PRED4x4(tm_vp8, 8, ssse3) PRED4x4(vertical_vp8, 8, mmxext) -void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, const int bit_depth, const int chroma_format_idc) +av_cold void ff_h264_pred_init_x86(H264PredContext *h, int codec_id, + const int bit_depth, + const int chroma_format_idc) { int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/h264_qpel.c b/libavcodec/x86/h264_qpel.c index be4eaa98b4..11d849b6b3 100644 --- a/libavcodec/x86/h264_qpel.c +++ b/libavcodec/x86/h264_qpel.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -529,7 +530,7 @@ QPEL16(mmxext) c->avg_h264_qpel_pixels_tab[1][x + y * 4] = ff_avg_h264_qpel8_mc ## x ## y ## _10_ ## CPU; \ } while (0) -void ff_h264qpel_init_x86(H264QpelContext *c, int bit_depth) +av_cold void ff_h264qpel_init_x86(H264QpelContext *c, int bit_depth) { #if HAVE_YASM int high_bit_depth = bit_depth > 8; diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c index 0acd61d13f..15dceedc1a 100644 --- a/libavcodec/x86/h264dsp_init.c +++ b/libavcodec/x86/h264dsp_init.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -207,8 +208,8 @@ H264_BIWEIGHT_10_SSE(16, 10) H264_BIWEIGHT_10_SSE(8, 10) H264_BIWEIGHT_10_SSE(4, 10) -void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth, - const int chroma_format_idc) +av_cold void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth, + const int chroma_format_idc) { int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c index b8c77e28f4..02b489fc91 100644 --- a/libavcodec/x86/lpc.c +++ b/libavcodec/x86/lpc.c @@ -20,6 +20,7 @@ */ #include "libavutil/x86/asm.h" +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/internal.h" #include "libavcodec/lpc.h" diff --git a/libavcodec/x86/mlpdsp.c b/libavcodec/x86/mlpdsp.c index a18e9fa67b..7bd2c12a9e 100644 --- a/libavcodec/x86/mlpdsp.c +++ b/libavcodec/x86/mlpdsp.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/internal.h" #include "libavutil/x86/asm.h" #include "libavcodec/mlpdsp.h" @@ -174,7 +175,7 @@ static void mlp_filter_channel_x86(int32_t *state, const int32_t *coeff, #endif /* HAVE_7REGS && HAVE_INLINE_ASM */ -void ff_mlpdsp_init_x86(MLPDSPContext *c) +av_cold void ff_mlpdsp_init_x86(MLPDSPContext *c) { #if HAVE_7REGS && HAVE_INLINE_ASM c->mlp_filter_channel = mlp_filter_channel_x86; diff --git a/libavcodec/x86/motion_est.c b/libavcodec/x86/motion_est.c index 4c53053d85..34949f01f3 100644 --- a/libavcodec/x86/motion_est.c +++ b/libavcodec/x86/motion_est.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/internal.h" #include "libavutil/mem.h" #include "libavutil/x86/asm.h" @@ -432,7 +433,7 @@ PIX_SAD(mmxext) #endif /* HAVE_INLINE_ASM */ -void ff_dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx) +av_cold void ff_dsputil_init_pix_mmx(DSPContext *c, AVCodecContext *avctx) { #if HAVE_INLINE_ASM int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/mpegaudiodec.c b/libavcodec/x86/mpegaudiodec.c index c914fe1468..cc2b6619b6 100644 --- a/libavcodec/x86/mpegaudiodec.c +++ b/libavcodec/x86/mpegaudiodec.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -223,7 +224,7 @@ DECL_IMDCT_BLOCKS(ssse3,sse) DECL_IMDCT_BLOCKS(avx,avx) #endif /* HAVE_YASM */ -void ff_mpadsp_init_x86(MPADSPContext *s) +av_cold void ff_mpadsp_init_x86(MPADSPContext *s) { int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/mpegvideo.c b/libavcodec/x86/mpegvideo.c index 599db949a8..4e16142182 100644 --- a/libavcodec/x86/mpegvideo.c +++ b/libavcodec/x86/mpegvideo.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavcodec/avcodec.h" @@ -584,7 +585,7 @@ static void denoise_dct_sse2(MpegEncContext *s, int16_t *block){ #endif /* HAVE_INLINE_ASM */ -void ff_MPV_common_init_x86(MpegEncContext *s) +av_cold void ff_MPV_common_init_x86(MpegEncContext *s) { #if HAVE_INLINE_ASM int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/mpegvideoenc.c b/libavcodec/x86/mpegvideoenc.c index 8f7c2e474a..d6f74ec5f4 100644 --- a/libavcodec/x86/mpegvideoenc.c +++ b/libavcodec/x86/mpegvideoenc.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -80,7 +81,7 @@ extern uint16_t ff_inv_zigzag_direct16[64]; #include "mpegvideoenc_template.c" #endif /* HAVE_SSSE3_INLINE */ -void ff_MPV_encode_init_x86(MpegEncContext *s) +av_cold void ff_MPV_encode_init_x86(MpegEncContext *s) { int mm_flags = av_get_cpu_flags(); const int dct_algo = s->avctx->dct_algo; diff --git a/libavcodec/x86/pngdsp_init.c b/libavcodec/x86/pngdsp_init.c index 2e858fa0ae..ec6c238bf9 100644 --- a/libavcodec/x86/pngdsp_init.c +++ b/libavcodec/x86/pngdsp_init.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/x86/cpu.h" #include "libavcodec/pngdsp.h" @@ -32,7 +33,7 @@ void ff_add_bytes_l2_mmx (uint8_t *dst, uint8_t *src1, void ff_add_bytes_l2_sse2(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w); -void ff_pngdsp_init_x86(PNGDSPContext *dsp) +av_cold void ff_pngdsp_init_x86(PNGDSPContext *dsp) { int flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c index a1dc22a7ce..dea951d4f4 100644 --- a/libavcodec/x86/rv40dsp_init.c +++ b/libavcodec/x86/rv40dsp_init.c @@ -27,6 +27,7 @@ */ #include "libavcodec/rv34dsp.h" +#include "libavutil/attributes.h" #include "libavutil/mem.h" #include "libavutil/x86/cpu.h" #include "dsputil_mmx.h" @@ -187,7 +188,7 @@ QPEL_FUNCS_SET (OP, 3, 2, OPT) #endif /* HAVE_YASM */ -void ff_rv40dsp_init_x86(RV34DSPContext *c, DSPContext *dsp) +av_cold void ff_rv40dsp_init_x86(RV34DSPContext *c, DSPContext *dsp) { #if HAVE_YASM int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/sbrdsp_init.c b/libavcodec/x86/sbrdsp_init.c index 747817bb21..27fade133f 100644 --- a/libavcodec/x86/sbrdsp_init.c +++ b/libavcodec/x86/sbrdsp_init.c @@ -20,6 +20,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/cpu.h" #include "libavcodec/sbrdsp.h" @@ -33,7 +34,7 @@ void ff_sbr_hf_gen_sse(float (*X_high)[2], const float (*X_low)[2], float bw, int start, int end); void ff_sbr_qmf_post_shuffle_sse(float W[32][2], const float *z); -void ff_sbrdsp_init_x86(SBRDSPContext *s) +av_cold void ff_sbrdsp_init_x86(SBRDSPContext *s) { int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/videodsp_init.c b/libavcodec/x86/videodsp_init.c index 07a0324c69..48f42d5be5 100644 --- a/libavcodec/x86/videodsp_init.c +++ b/libavcodec/x86/videodsp_init.c @@ -19,6 +19,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/cpu.h" #include "libavutil/mem.h" @@ -96,7 +97,7 @@ static av_noinline void emulated_edge_mc_sse(uint8_t *buf, const uint8_t *src, void ff_prefetch_mmxext(uint8_t *buf, ptrdiff_t stride, int h); void ff_prefetch_3dnow(uint8_t *buf, ptrdiff_t stride, int h); -void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc) +av_cold void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc) { #if HAVE_YASM int mm_flags = av_get_cpu_flags(); diff --git a/libavcodec/x86/vorbisdsp_init.c b/libavcodec/x86/vorbisdsp_init.c index 703cd93f17..762d3eeca9 100644 --- a/libavcodec/x86/vorbisdsp_init.c +++ b/libavcodec/x86/vorbisdsp_init.c @@ -19,6 +19,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavcodec/vorbisdsp.h" @@ -27,7 +28,7 @@ void ff_vorbis_inverse_coupling_3dnow(float *mag, float *ang, void ff_vorbis_inverse_coupling_sse(float *mag, float *ang, intptr_t blocksize); -void ff_vorbisdsp_init_x86(VorbisDSPContext *dsp) +av_cold void ff_vorbisdsp_init_x86(VorbisDSPContext *dsp) { #if HAVE_YASM int mm_flags = av_get_cpu_flags(); |