Mercurial > libavcodec.hg
comparison dsputil.c @ 7563:8390efaa0c03 libavcodec
simd downmix
13% faster ac3 if downmixing
author | lorenm |
---|---|
date | Wed, 13 Aug 2008 23:33:48 +0000 |
parents | e267f2519248 |
children | 7cf793954871 |
comparison
equal
deleted
inserted
replaced
7562:ef456ee01ea2 | 7563:8390efaa0c03 |
---|---|
38 /* snow.c */ | 38 /* snow.c */ |
39 void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); | 39 void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); |
40 | 40 |
41 /* vorbis.c */ | 41 /* vorbis.c */ |
42 void vorbis_inverse_coupling(float *mag, float *ang, int blocksize); | 42 void vorbis_inverse_coupling(float *mag, float *ang, int blocksize); |
43 | |
44 /* ac3dec.c */ | |
45 void ff_ac3_downmix_c(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); | |
43 | 46 |
44 /* flacenc.c */ | 47 /* flacenc.c */ |
45 void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, double *autoc); | 48 void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, double *autoc); |
46 | 49 |
47 /* pngdec.c */ | 50 /* pngdec.c */ |
4474 #endif | 4477 #endif |
4475 | 4478 |
4476 #ifdef CONFIG_VORBIS_DECODER | 4479 #ifdef CONFIG_VORBIS_DECODER |
4477 c->vorbis_inverse_coupling = vorbis_inverse_coupling; | 4480 c->vorbis_inverse_coupling = vorbis_inverse_coupling; |
4478 #endif | 4481 #endif |
4482 #ifdef CONFIG_AC3_DECODER | |
4483 c->ac3_downmix = ff_ac3_downmix_c; | |
4484 #endif | |
4479 #ifdef CONFIG_FLAC_ENCODER | 4485 #ifdef CONFIG_FLAC_ENCODER |
4480 c->flac_compute_autocorr = ff_flac_compute_autocorr; | 4486 c->flac_compute_autocorr = ff_flac_compute_autocorr; |
4481 #endif | 4487 #endif |
4482 c->vector_fmul = vector_fmul_c; | 4488 c->vector_fmul = vector_fmul_c; |
4483 c->vector_fmul_reverse = vector_fmul_reverse_c; | 4489 c->vector_fmul_reverse = vector_fmul_reverse_c; |