comparison dsputil.c @ 10424:94595d0e617c libavcodec

Move autocorrelation function from flacenc.c to lpc.c. Also rename the corresponding dsputil functions and remove their dependency on the FLAC encoder. Fixes Issue1486.
author jbr
date Sat, 17 Oct 2009 21:00:39 +0000
parents 6ca681cc3264
children 289dd8daf4ee
comparison
equal deleted inserted replaced
10423:2e4967487e59 10424:94595d0e617c
43 void vorbis_inverse_coupling(float *mag, float *ang, int blocksize); 43 void vorbis_inverse_coupling(float *mag, float *ang, int blocksize);
44 44
45 /* ac3dec.c */ 45 /* ac3dec.c */
46 void ff_ac3_downmix_c(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); 46 void ff_ac3_downmix_c(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len);
47 47
48 /* flacenc.c */ 48 /* lpc.c */
49 void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, double *autoc); 49 void ff_lpc_compute_autocorr(const int32_t *data, int len, int lag, double *autoc);
50 50
51 /* pngdec.c */ 51 /* pngdec.c */
52 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); 52 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
53 53
54 /* eaidct.c */ 54 /* eaidct.c */
4835 c->vorbis_inverse_coupling = vorbis_inverse_coupling; 4835 c->vorbis_inverse_coupling = vorbis_inverse_coupling;
4836 #endif 4836 #endif
4837 #if CONFIG_AC3_DECODER 4837 #if CONFIG_AC3_DECODER
4838 c->ac3_downmix = ff_ac3_downmix_c; 4838 c->ac3_downmix = ff_ac3_downmix_c;
4839 #endif 4839 #endif
4840 #if CONFIG_FLAC_ENCODER 4840 c->lpc_compute_autocorr = ff_lpc_compute_autocorr;
4841 c->flac_compute_autocorr = ff_flac_compute_autocorr;
4842 #endif
4843 c->vector_fmul = vector_fmul_c; 4841 c->vector_fmul = vector_fmul_c;
4844 c->vector_fmul_reverse = vector_fmul_reverse_c; 4842 c->vector_fmul_reverse = vector_fmul_reverse_c;
4845 c->vector_fmul_add = vector_fmul_add_c; 4843 c->vector_fmul_add = vector_fmul_add_c;
4846 c->vector_fmul_window = ff_vector_fmul_window_c; 4844 c->vector_fmul_window = ff_vector_fmul_window_c;
4847 c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c; 4845 c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c;