From e52d240e88f988bf77509bfa01e9ad4f18d4ec44 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin <jmvalin@amazon.com> Date: Mon, 29 May 2023 18:36:42 -0400 Subject: [PATCH] Add blob writing --- Makefile.am | 7 ++++++- autogen.sh | 2 +- lpcnet | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 818331b0a..cfe740169 100644 --- a/Makefile.am +++ b/Makefile.am @@ -117,7 +117,8 @@ noinst_PROGRAMS = celt/tests/test_unit_cwrs32 \ tests/test_opus_extensions \ tests/test_opus_padding \ tests/test_opus_projection \ - trivial_example + trivial_example \ + dump_weights_blob TESTS = celt/tests/test_unit_cwrs32 \ celt/tests/test_unit_dft \ @@ -150,6 +151,10 @@ opus_compare_LDADD = $(LIBM) trivial_example_SOURCES = doc/trivial_example.c trivial_example_LDADD = libopus.la $(LIBM) +dump_weights_blob_SOURCES = lpcnet/src/write_lpcnet_weights.c +dump_weights_blob_LDADD = $(LIBM) +dump_weights_blob_CFLAGS = $(AM_CFLAGS) -DDUMP_BINARY_WEIGHTS + tests_test_opus_api_SOURCES = tests/test_opus_api.c tests/test_opus_common.h tests_test_opus_api_LDADD = libopus.la $(NE10_LIBS) $(LIBM) diff --git a/autogen.sh b/autogen.sh index bab267c82..62fb92bb3 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,7 +10,7 @@ srcdir=`dirname $0` test -n "$srcdir" && cd "$srcdir" git submodule update --init -(cd lpcnet; ./download_model.sh 399be7c) +(cd lpcnet; ./download_model.sh 859bfae) echo "Updating build configuration files, please wait...." diff --git a/lpcnet b/lpcnet index 859bfae61..aea5d3c88 160000 --- a/lpcnet +++ b/lpcnet @@ -1 +1 @@ -Subproject commit 859bfae61f89fbb57c0d068ca14fc69d12b8b374 +Subproject commit aea5d3c882e5a5b6a880b52aa95fe90937659ddd -- GitLab