1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

math/kfr: New port: C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters

This commit is contained in:
Yuri Victorovich 2021-06-09 22:33:28 -07:00
parent 82dcea5706
commit 07ecb14093
5 changed files with 190 additions and 0 deletions

View File

@ -366,6 +366,7 @@
SUBDIR += kalgebra
SUBDIR += kbruch
SUBDIR += kcalc
SUBDIR += kfr
SUBDIR += kig
SUBDIR += kktdirect
SUBDIR += kmplot

24
math/kfr/Makefile Normal file
View File

@ -0,0 +1,24 @@
PORTNAME= kfr
DISTVERSION= 4.2.1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake compiler:c++17-lang
USE_GITHUB= yes
GH_ACCOUNT= kfrlib
CMAKE_ON= BUILD_SHARED_LIBS
do-test: # some tests fail: https://github.com/kfrlib/kfr/issues/132
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_SHARED_LIBS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${BUILD_WRKSRC}/bin/all_tests
.include <bsd.port.mk>

3
math/kfr/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1623302093
SHA256 (kfrlib-kfr-4.2.1_GH0.tar.gz) = b576fffcfe147b9d2d2408738010c4bf3dbcd333870b048a9506c4bde61e2284
SIZE (kfrlib-kfr-4.2.1_GH0.tar.gz) = 10849294

3
math/kfr/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
KFR is an open source C++ DSP framework that focuses on high performance.
WWW: https://github.com/kfrlib/kfr

159
math/kfr/pkg-plist Normal file
View File

@ -0,0 +1,159 @@
include/kfr/all.hpp
include/kfr/base.hpp
include/kfr/base/basic_expressions.hpp
include/kfr/base/conversion.hpp
include/kfr/base/expression.hpp
include/kfr/base/filter.hpp
include/kfr/base/fraction.hpp
include/kfr/base/function_expressions.hpp
include/kfr/base/generators.hpp
include/kfr/base/memory.hpp
include/kfr/base/pointer.hpp
include/kfr/base/random.hpp
include/kfr/base/reduce.hpp
include/kfr/base/small_buffer.hpp
include/kfr/base/sort.hpp
include/kfr/base/univector.hpp
include/kfr/capi.h
include/kfr/cident.h
include/kfr/cometa.hpp
include/kfr/cometa/array.hpp
include/kfr/cometa/cstring.hpp
include/kfr/cometa/ctti.hpp
include/kfr/cometa/function.hpp
include/kfr/cometa/memory.hpp
include/kfr/cometa/named_arg.hpp
include/kfr/cometa/numeric.hpp
include/kfr/cometa/range.hpp
include/kfr/cometa/result.hpp
include/kfr/cometa/string.hpp
include/kfr/cometa/tuple.hpp
include/kfr/config.h
include/kfr/dft.hpp
include/kfr/dft/cache.hpp
include/kfr/dft/convolution.hpp
include/kfr/dft/data/bitrev.hpp
include/kfr/dft/data/sincos.hpp
include/kfr/dft/fft.hpp
include/kfr/dft/impl/bitrev.hpp
include/kfr/dft/impl/convolution-impl.cpp
include/kfr/dft/impl/dft-fft.hpp
include/kfr/dft/impl/dft-impl-f32.cpp
include/kfr/dft/impl/dft-impl-f64.cpp
include/kfr/dft/impl/dft-impl.hpp
include/kfr/dft/impl/dft-templates.hpp
include/kfr/dft/impl/fft-impl-f32.cpp
include/kfr/dft/impl/fft-impl-f64.cpp
include/kfr/dft/impl/fft-impl.hpp
include/kfr/dft/impl/fft-templates.hpp
include/kfr/dft/impl/ft.hpp
include/kfr/dft/reference_dft.hpp
include/kfr/dsp.hpp
include/kfr/dsp/biquad.hpp
include/kfr/dsp/biquad_design.hpp
include/kfr/dsp/dcremove.hpp
include/kfr/dsp/delay.hpp
include/kfr/dsp/ebu.hpp
include/kfr/dsp/fir.hpp
include/kfr/dsp/fir_design.hpp
include/kfr/dsp/fracdelay.hpp
include/kfr/dsp/goertzel.hpp
include/kfr/dsp/iir_design.hpp
include/kfr/dsp/impl/dsp-impl.cpp
include/kfr/dsp/mixdown.hpp
include/kfr/dsp/oscillators.hpp
include/kfr/dsp/sample_rate_conversion.hpp
include/kfr/dsp/speaker.hpp
include/kfr/dsp/special.hpp
include/kfr/dsp/state_holder.hpp
include/kfr/dsp/units.hpp
include/kfr/dsp/waveshaper.hpp
include/kfr/dsp/weighting.hpp
include/kfr/dsp/window.hpp
include/kfr/graphics.hpp
include/kfr/graphics/color.hpp
include/kfr/graphics/geometry.hpp
include/kfr/graphics/scaled.hpp
include/kfr/io.hpp
include/kfr/io/audiofile.hpp
include/kfr/io/dr/README.txt
include/kfr/io/dr/dr_flac.h
include/kfr/io/dr/dr_mp3.h
include/kfr/io/dr/dr_wav.h
include/kfr/io/file.hpp
include/kfr/io/impl/audiofile-impl.cpp
include/kfr/io/python_plot.hpp
include/kfr/io/tostring.hpp
include/kfr/kfr.h
include/kfr/math.hpp
include/kfr/math/abs.hpp
include/kfr/math/asin_acos.hpp
include/kfr/math/atan.hpp
include/kfr/math/clamp.hpp
include/kfr/math/compiletime.hpp
include/kfr/math/complex_math.hpp
include/kfr/math/gamma.hpp
include/kfr/math/hyperbolic.hpp
include/kfr/math/impl/abs.hpp
include/kfr/math/impl/asin_acos.hpp
include/kfr/math/impl/atan.hpp
include/kfr/math/impl/clamp.hpp
include/kfr/math/impl/gamma.hpp
include/kfr/math/impl/hyperbolic.hpp
include/kfr/math/impl/log_exp.hpp
include/kfr/math/impl/logical.hpp
include/kfr/math/impl/min_max.hpp
include/kfr/math/impl/modzerobessel.hpp
include/kfr/math/impl/round.hpp
include/kfr/math/impl/saturation.hpp
include/kfr/math/impl/select.hpp
include/kfr/math/impl/sin_cos.hpp
include/kfr/math/impl/sqrt.hpp
include/kfr/math/impl/tan.hpp
include/kfr/math/interpolation.hpp
include/kfr/math/log_exp.hpp
include/kfr/math/logical.hpp
include/kfr/math/min_max.hpp
include/kfr/math/modzerobessel.hpp
include/kfr/math/round.hpp
include/kfr/math/saturation.hpp
include/kfr/math/select.hpp
include/kfr/math/sin_cos.hpp
include/kfr/math/sqrt.hpp
include/kfr/math/tan.hpp
include/kfr/runtime.hpp
include/kfr/runtime/cpuid.hpp
include/kfr/runtime/cpuid_auto.hpp
include/kfr/simd.hpp
include/kfr/simd/comparison.hpp
include/kfr/simd/complex.hpp
include/kfr/simd/constants.hpp
include/kfr/simd/digitreverse.hpp
include/kfr/simd/horizontal.hpp
include/kfr/simd/impl/backend.hpp
include/kfr/simd/impl/backend_clang.hpp
include/kfr/simd/impl/backend_generic.hpp
include/kfr/simd/impl/basicoperators_clang.hpp
include/kfr/simd/impl/basicoperators_generic.hpp
include/kfr/simd/impl/function.hpp
include/kfr/simd/impl/intrinsics.h
include/kfr/simd/impl/operators.hpp
include/kfr/simd/impl/read_write.hpp
include/kfr/simd/impl/simd.hpp
include/kfr/simd/impl/specialconstants.hpp
include/kfr/simd/impl/specializations.i
include/kfr/simd/mask.hpp
include/kfr/simd/operators.hpp
include/kfr/simd/platform.hpp
include/kfr/simd/read_write.hpp
include/kfr/simd/shuffle.hpp
include/kfr/simd/types.hpp
include/kfr/simd/vec.hpp
include/kfr/testo/assert.hpp
include/kfr/testo/comparison.hpp
include/kfr/testo/console_colors.hpp
include/kfr/testo/double_double.hpp
include/kfr/testo/testo.hpp
include/kfr/version.hpp
lib/libkfr_dft.so
lib/libkfr_io.so