Mercurial > libavcodec.hg
comparison dsputil.h @ 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 | 442ab0c41eae |
children | 12c8175d6db5 |
comparison
equal
deleted
inserted
replaced
10423:2e4967487e59 | 10424:94595d0e617c |
---|---|
384 | 384 |
385 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ | 385 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ |
386 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); | 386 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); |
387 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); | 387 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); |
388 /* no alignment needed */ | 388 /* no alignment needed */ |
389 void (*flac_compute_autocorr)(const int32_t *data, int len, int lag, double *autoc); | 389 void (*lpc_compute_autocorr)(const int32_t *data, int len, int lag, double *autoc); |
390 /* assume len is a multiple of 8, and arrays are 16-byte aligned */ | 390 /* assume len is a multiple of 8, and arrays are 16-byte aligned */ |
391 void (*vector_fmul)(float *dst, const float *src, int len); | 391 void (*vector_fmul)(float *dst, const float *src, int len); |
392 void (*vector_fmul_reverse)(float *dst, const float *src0, const float *src1, int len); | 392 void (*vector_fmul_reverse)(float *dst, const float *src0, const float *src1, int len); |
393 /* assume len is a multiple of 8, and src arrays are 16-byte aligned */ | 393 /* assume len is a multiple of 8, and src arrays are 16-byte aligned */ |
394 void (*vector_fmul_add)(float *dst, const float *src0, const float *src1, const float *src2, int len); | 394 void (*vector_fmul_add)(float *dst, const float *src0, const float *src1, const float *src2, int len); |