comparison imc.c @ 7451:85ab7655ad4d libavcodec

Modify all codecs to report their supported input and output sample format(s).
author pross
date Thu, 31 Jul 2008 10:47:31 +0000
parents b3c980b12aaa
children ef9f95604644
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
152 } 152 }
153 q->one_div_log2 = 1/log(2); 153 q->one_div_log2 = 1/log(2);
154 154
155 ff_fft_init(&q->fft, 7, 1); 155 ff_fft_init(&q->fft, 7, 1);
156 dsputil_init(&q->dsp, avctx); 156 dsputil_init(&q->dsp, avctx);
157 avctx->sample_fmt = SAMPLE_FMT_S16;
157 return 0; 158 return 0;
158 } 159 }
159 160
160 static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT, 161 static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT,
161 float* flcoeffs3, float* flcoeffs5) 162 float* flcoeffs3, float* flcoeffs5)