Mercurial > libavcodec.hg
comparison dsputil.h @ 7563:8390efaa0c03 libavcodec
simd downmix
13% faster ac3 if downmixing
author | lorenm |
---|---|
date | Wed, 13 Aug 2008 23:33:48 +0000 |
parents | 8226017a65ae |
children | 7cf793954871 |
comparison
equal
deleted
inserted
replaced
7562:ef456ee01ea2 | 7563:8390efaa0c03 |
---|---|
358 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale); | 358 void (*x8_v_loop_filter)(uint8_t *src, int stride, int qscale); |
359 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale); | 359 void (*x8_h_loop_filter)(uint8_t *src, int stride, int qscale); |
360 | 360 |
361 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ | 361 /* assume len is a multiple of 4, and arrays are 16-byte aligned */ |
362 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); | 362 void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); |
363 void (*ac3_downmix)(float (*samples)[256], float (*matrix)[2], int out_ch, int in_ch, int len); | |
363 /* no alignment needed */ | 364 /* no alignment needed */ |
364 void (*flac_compute_autocorr)(const int32_t *data, int len, int lag, double *autoc); | 365 void (*flac_compute_autocorr)(const int32_t *data, int len, int lag, double *autoc); |
365 /* assume len is a multiple of 8, and arrays are 16-byte aligned */ | 366 /* assume len is a multiple of 8, and arrays are 16-byte aligned */ |
366 void (*vector_fmul)(float *dst, const float *src, int len); | 367 void (*vector_fmul)(float *dst, const float *src, int len); |
367 void (*vector_fmul_reverse)(float *dst, const float *src0, const float *src1, int len); | 368 void (*vector_fmul_reverse)(float *dst, const float *src0, const float *src1, int len); |