[FFmpeg-cvslog] avcodec/snow: mark dwt init as av_cold
Michael Niedermayer
git at videolan.org
Fri Feb 27 16:54:54 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 27 16:44:11 2015 +0100| [0e699676f9a8b0b2bff994980e560f51a60b6350] | committer: Michael Niedermayer
avcodec/snow: mark dwt init as av_cold
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e699676f9a8b0b2bff994980e560f51a60b6350
---
libavcodec/snow_dwt.c | 4 ++--
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 ecba0ea..c148cda 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 2778489..e2ad511 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();
More information about the ffmpeg-cvslog
mailing list