mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
avcodec/snow: mark dwt init as av_cold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
22a80272ae
commit
0e699676f9
@ -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);
|
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[0] = w53_16_c;
|
||||||
c->w53[1] = w53_8_c;
|
c->w53[1] = w53_8_c;
|
||||||
@ -847,7 +847,7 @@ void ff_dsputil_init_dwt(MECmpContext *c)
|
|||||||
c->w97[1] = w97_8_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->vertical_compose97i = ff_snow_vertical_compose97i;
|
||||||
c->horizontal_compose97i = ff_snow_horizontal_compose97i;
|
c->horizontal_compose97i = ff_snow_horizontal_compose97i;
|
||||||
|
@ -877,7 +877,7 @@ static void ff_snow_inner_add_yblock_mmx(const uint8_t *obmc, const int obmc_str
|
|||||||
|
|
||||||
#endif /* HAVE_INLINE_ASM */
|
#endif /* HAVE_INLINE_ASM */
|
||||||
|
|
||||||
void ff_dwt_init_x86(SnowDWTContext *c)
|
av_cold void ff_dwt_init_x86(SnowDWTContext *c)
|
||||||
{
|
{
|
||||||
#if HAVE_INLINE_ASM
|
#if HAVE_INLINE_ASM
|
||||||
int mm_flags = av_get_cpu_flags();
|
int mm_flags = av_get_cpu_flags();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user