diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-27 16:44:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-27 16:53:37 +0100 |
commit | 0e699676f9a8b0b2bff994980e560f51a60b6350 (patch) | |
tree | 29ad413bec98a390c30d3c48240b5e17f405c739 /libavcodec | |
parent | 22a80272aea73e788e0a37956729b673a03391a5 (diff) | |
download | ffmpeg-0e699676f9a8b0b2bff994980e560f51a60b6350.tar.gz |
avcodec/snow: mark dwt init as av_cold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/snow_dwt.c | 4 | ||||
-rw-r--r-- | libavcodec/x86/snowdsp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/snow_dwt.c b/libavcodec/snow_dwt.c index ecba0ea9da..c148cdab01 100644 --- a/libavcodec/snow_dwt.c +++ b/libavcodec/snow_dwt.c @@ -839,7 +839,7 @@ int ff_w97_32_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_ return w_c(v, pix1, pix2, line_size, 32, h, 0); } -void ff_dsputil_init_dwt(MECmpContext *c) +av_cold void ff_dsputil_init_dwt(MECmpContext *c) { c->w53[0] = w53_16_c; c->w53[1] = w53_8_c; @@ -847,7 +847,7 @@ void ff_dsputil_init_dwt(MECmpContext *c) c->w97[1] = w97_8_c; } -void ff_dwt_init(SnowDWTContext *c) +av_cold void ff_dwt_init(SnowDWTContext *c) { c->vertical_compose97i = ff_snow_vertical_compose97i; c->horizontal_compose97i = ff_snow_horizontal_compose97i; diff --git a/libavcodec/x86/snowdsp.c b/libavcodec/x86/snowdsp.c index 2778489026..e2ad511d0a 100644 --- a/libavcodec/x86/snowdsp.c +++ b/libavcodec/x86/snowdsp.c @@ -877,7 +877,7 @@ static void ff_snow_inner_add_yblock_mmx(const uint8_t *obmc, const int obmc_str #endif /* HAVE_INLINE_ASM */ -void ff_dwt_init_x86(SnowDWTContext *c) +av_cold void ff_dwt_init_x86(SnowDWTContext *c) { #if HAVE_INLINE_ASM int mm_flags = av_get_cpu_flags(); |