diff cavsdsp.c @ 10867:bf309c7ce615 libavcodec

More av_cold for infrequently called functions.
author zuxy
date Wed, 13 Jan 2010 02:16:00 +0000
parents d46cde168c69
children 4b0cc1b97def
line wrap: on
line diff
--- a/cavsdsp.c	Wed Jan 13 01:59:19 2010 +0000
+++ b/cavsdsp.c	Wed Jan 13 02:16:00 2010 +0000
@@ -515,7 +515,7 @@
 void ff_put_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
 void ff_avg_cavs_qpel16_mc00_c(uint8_t *dst, uint8_t *src, int stride);
 
-void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) {
+av_cold void ff_cavsdsp_init(DSPContext* c, AVCodecContext *avctx) {
 #define dspfunc(PFX, IDX, NUM) \
     c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_c; \
     c->PFX ## _pixels_tab[IDX][ 1] = ff_ ## PFX ## NUM ## _mc10_c; \