comparison imc.c @ 6517:48759bfbd073 libavcodec

Apply 'cold' attribute to init/uninit functions in libavcodec
author zuxy
date Fri, 21 Mar 2008 03:11:20 +0000
parents f2c6708aebf9
children a4104482ceef
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
88 DECLARE_ALIGNED_16(FFTComplex, samples[COEFFS/2]); 88 DECLARE_ALIGNED_16(FFTComplex, samples[COEFFS/2]);
89 DECLARE_ALIGNED_16(float, out_samples[COEFFS]); 89 DECLARE_ALIGNED_16(float, out_samples[COEFFS]);
90 } IMCContext; 90 } IMCContext;
91 91
92 92
93 static int imc_decode_init(AVCodecContext * avctx) 93 static av_cold int imc_decode_init(AVCodecContext * avctx)
94 { 94 {
95 int i, j; 95 int i, j;
96 IMCContext *q = avctx->priv_data; 96 IMCContext *q = avctx->priv_data;
97 double r1, r2; 97 double r1, r2;
98 98
794 794
795 return IMC_BLOCK_SIZE; 795 return IMC_BLOCK_SIZE;
796 } 796 }
797 797
798 798
799 static int imc_decode_close(AVCodecContext * avctx) 799 static av_cold int imc_decode_close(AVCodecContext * avctx)
800 { 800 {
801 IMCContext *q = avctx->priv_data; 801 IMCContext *q = avctx->priv_data;
802 802
803 ff_fft_end(&q->fft); 803 ff_fft_end(&q->fft);
804 return 0; 804 return 0;