Skip to content

Commit 65b5724

Browse files
committed
Release 1.0.14
* Implemented pcomplex_r2c instruction set. * Updated build scripts. * Updated module versions in dependencies.
2 parents 723ab08 + 0a0f134 commit 65b5724

File tree

30 files changed

+3756
-178
lines changed

30 files changed

+3756
-178
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,33 @@ jobs:
3939
echo "***** MEMCHECK $test *****"; \
4040
valgrind ${{env.VALGRIND_ARGS}} .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1 --nofork --debug $test; \
4141
done
42-
arch_linux_debug:
42+
arch_linux_asan:
43+
runs-on: ubuntu-latest
44+
container:
45+
image: archlinux:latest
46+
steps:
47+
- name: Add debug repositories
48+
run: |
49+
printf "[core-debug]\nInclude = /etc/pacman.d/mirrorlist\n[extra-debug]\nInclude = /etc/pacman.d/mirrorlist\n[multilib-debug]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf
50+
printf 'Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch\n%s\n' "$(cat /etc/pacman.d/mirrorlist)" > /etc/pacman.d/mirrorlist
51+
- name: Install dependencies
52+
run: pacman --noconfirm -Syu base-devel glibc-debug git
53+
- uses: actions/checkout@v3
54+
- name: Configure project
55+
run: make config TEST=1 STRICT=1 DEBUG=1 ASAN=1
56+
- name: Fetch project dependencies
57+
run: make fetch
58+
- name: Build project
59+
run: make VERBOSE=1
60+
- name: Run unit tests
61+
run: .build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1
62+
- name: Run unit tests with memcheck
63+
run: |
64+
for test in $(.build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --list --suppress); do \
65+
echo "***** MEMCHECK $test *****"; \
66+
.build/target/${{env.ARTIFACT}}/${{env.ARTIFACT}}-test utest --verbose --jobs 1 --nofork --debug $test; \
67+
done
68+
arch_linux_valgrind:
4369
runs-on: ubuntu-latest
4470
container:
4571
image: archlinux:latest

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 1.0.14 ===
6+
* Implemented pcomplex_r2c instruction set.
7+
* Updated build scripts.
8+
* Updated module versions in dependencies.
9+
510
=== 1.0.13 ===
611
* Implemented AVX2-optimized hsla_to_rgba and rgba_to_hsla functions.
712
* Implemented high-precision lanczos 2x, 3x, 4x, 6x and 8x oversampling functions.

include/lsp-plug.in/dsp/common/pcomplex.h

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2023 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-dsp-lib
66
* Created on: 31 мар. 2020 г.
@@ -198,4 +198,52 @@ LSP_DSP_LIB_SYMBOL(void, pcomplex_c2r_div2, float *dst, const float *src, size_t
198198
*/
199199
LSP_DSP_LIB_SYMBOL(void, pcomplex_c2r_rdiv2, float *dst, const float *src, size_t count);
200200

201+
/**
202+
* Calculate: dst[i] = dst[i] + pcomplex{src[i], 0}
203+
* @param dst destination real number array
204+
* @param src source packed complex number array
205+
* @param count number of elements
206+
*/
207+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_add2, float *dst, const float *src, size_t count);
208+
209+
/**
210+
* Calculate: dst[i] = dst[i] - pcomplex{src[i], 0}
211+
* @param dst destination real number array
212+
* @param src source packed complex number array
213+
* @param count number of elements
214+
*/
215+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_sub2, float *dst, const float *src, size_t count);
216+
217+
/**
218+
* Calculate: dst[i] = pcomplex{src[i], 0} - dst[i]
219+
* @param dst destination real number array
220+
* @param src source packed complex number array
221+
* @param count number of elements
222+
*/
223+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_rsub2, float *dst, const float *src, size_t count);
224+
225+
/**
226+
* Calculate: dst[i] = dst[i] * pcomplex{src[i], 0}
227+
* @param dst destination real number array
228+
* @param src source packed complex number array
229+
* @param count number of elements
230+
*/
231+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_mul2, float *dst, const float *src, size_t count);
232+
233+
/**
234+
* Calculate: dst[i] = dst[i] / pcomplex{src[i], 0}
235+
* @param dst destination real number array
236+
* @param src source packed complex number array
237+
* @param count number of elements
238+
*/
239+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_div2, float *dst, const float *src, size_t count);
240+
241+
/**
242+
* Calculate: dst[i] = pcomplex{src[i], 0} / dst[i]
243+
* @param dst destination real number array
244+
* @param src source packed complex number array
245+
* @param count number of elements
246+
*/
247+
LSP_DSP_LIB_SYMBOL(void, pcomplex_r2c_rdiv2, float *dst, const float *src, size_t count);
248+
201249
#endif /* LSP_PLUG_IN_DSP_COMMON_PCOMPLEX_H_ */

include/lsp-plug.in/dsp/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// Define version of headers
2626
#define LSP_DSP_LIB_MAJOR 1
2727
#define LSP_DSP_LIB_MINOR 0
28-
#define LSP_DSP_LIB_MICRO 13
28+
#define LSP_DSP_LIB_MICRO 14
2929

3030
#if defined(__WINDOWS__) || defined(__WIN32__) || defined(__WIN64__) || defined(_WIN64) || defined(_WIN32) || defined(__WINNT) || defined(__WINNT__)
3131
#define LSP_DSP_LIB_EXPORT_MODIFIER __declspec(dllexport)

0 commit comments

Comments
 (0)