More av_cold for infrequently called functions.

Originally committed as revision 21179 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zuxy Meng
2010-01-13 02:16:00 +00:00
parent e1e949026e
commit 0752cd39d2
7 changed files with 8 additions and 8 deletions

View File

@@ -251,7 +251,7 @@ RV30_MC(put_, 16)
RV30_MC(avg_, 8)
RV30_MC(avg_, 16)
void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx) {
av_cold void ff_rv30dsp_init(DSPContext* c, AVCodecContext *avctx) {
c->put_rv30_tpel_pixels_tab[0][ 0] = c->put_h264_qpel_pixels_tab[0][0];
c->put_rv30_tpel_pixels_tab[0][ 1] = put_rv30_tpel16_mc10_c;
c->put_rv30_tpel_pixels_tab[0][ 2] = put_rv30_tpel16_mc20_c;