mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
fmt-ops: add avx2 optimized version
Only one optimized version but the sse2 version are compiled with the avx2 flags so that they get optimized better.
This commit is contained in:
parent
6eca935e61
commit
3a911dfe3b
7 changed files with 821 additions and 28 deletions
|
|
@ -31,8 +31,7 @@ conv_s24_to_f32d_1s_sse41(void *data, void * SPA_RESTRICT dst[], const void * SP
|
|||
uint32_t n_channels, uint32_t n_samples)
|
||||
{
|
||||
const uint8_t *s = src;
|
||||
float **d = (float **) dst;
|
||||
float *d0 = d[0];
|
||||
float *d0 = dst[0];
|
||||
uint32_t n, unrolled;
|
||||
__m128i in;
|
||||
__m128 out, factor = _mm_set1_ps(1.0f / S24_SCALE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue