Mercurial > libavcodec.hg
diff x86/dsputilenc_mmx.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 | 7f594601d5e9 |
children | 289dd8daf4ee |
line wrap: on
line diff
--- a/x86/dsputilenc_mmx.c Sat Oct 17 19:35:47 2009 +0000 +++ b/x86/dsputilenc_mmx.c Sat Oct 17 21:00:39 2009 +0000 @@ -1348,8 +1348,7 @@ #endif //HAVE_SSSE3 -/* FLAC specific */ -void ff_flac_compute_autocorr_sse2(const int32_t *data, int len, int lag, +void ff_lpc_compute_autocorr_sse2(const int32_t *data, int len, int lag, double *autoc); @@ -1414,8 +1413,7 @@ c->sum_abs_dctelem= sum_abs_dctelem_sse2; c->hadamard8_diff[0]= hadamard8_diff16_sse2; c->hadamard8_diff[1]= hadamard8_diff_sse2; - if (CONFIG_FLAC_ENCODER) - c->flac_compute_autocorr = ff_flac_compute_autocorr_sse2; + c->lpc_compute_autocorr = ff_lpc_compute_autocorr_sse2; } #if HAVE_SSSE3