avcodec/snow: mark dwt init as av_cold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-27 16:44:11 +01:00
parent 22a80272ae
commit 0e699676f9
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();