mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] opus: version bump 1.4 -> 1.5.1
Date: Fri,  8 Mar 2024 12:57:55 +0100	[thread overview]
Message-ID: <20240308115756.271085-1-p.zabel@pengutronix.de> (raw)

https://opus-codec.org/demo/opus-1.5/

New features optional, enabling DRED, deep PLC, and OSCE increases
the library size by a few MiB.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/opus.in   | 20 ++++++++++++++++++--
 rules/opus.make | 11 +++++++++--
 2 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/rules/opus.in b/rules/opus.in
index 7412eb76a538..3b8e6444cd3e 100644
--- a/rules/opus.in
+++ b/rules/opus.in
@@ -1,7 +1,23 @@
 ## SECTION=multimedia_libs
 
-config OPUS
+menuconfig OPUS
 	tristate
-	prompt "opus"
+	prompt "opus                          "
 	help
 	  Opus is a totally open, royalty-free, highly versatile audio codec.
+
+if OPUS
+
+config OPUS_DRED
+	bool
+	prompt "enable deep redundancy (DRED)"
+
+config OPUS_DEEP_PLC
+	bool
+	prompt "enable deep packet loss concealment (PLC)"
+
+config OPUS_OSCE
+	bool
+	prompt "enable opus speech coding enhancement (OSCE)"
+
+endif
diff --git a/rules/opus.make b/rules/opus.make
index 4dd2f9d9b653..ea1f04837cf1 100644
--- a/rules/opus.make
+++ b/rules/opus.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_OPUS) += opus
 #
 # Paths and names
 #
-OPUS_VERSION	:= 1.4
-OPUS_MD5	:= 0d89c15268c5c5984f583d7997d2a148
+OPUS_VERSION	:= 1.5.1
+OPUS_MD5	:= 06c0e626ea3ad72f7b006e9130c8b15d
 OPUS		:= opus-$(OPUS_VERSION)
 OPUS_SUFFIX	:= tar.gz
 OPUS_URL	:= http://downloads.xiph.org/releases/opus/$(OPUS).$(OPUS_SUFFIX)
@@ -38,6 +38,9 @@ OPUS_CONF_OPT	:= \
 	--disable-fixed-point-debug \
 	--enable-float-api \
 	--disable-custom-modes \
+	--$(call ptx/endis, PTXCONF_OPUS_DRED)-dred \
+	--$(call ptx/endis, PTXCONF_OPUS_DEEP_PLC)-deep-plc \
+	--disable-lossgen \
 	--enable-float-approx \
 	--enable-asm \
 	--enable-rtcd \
@@ -47,6 +50,10 @@ OPUS_CONF_OPT	:= \
 	--disable-fuzzing \
 	--disable-check-asm \
 	--disable-doc \
+	--disable-dot-product \
+	--disable-dnn-debug-float \
+	--disable-osce-training-data \
+	--$(call ptx/endis, PTXCONF_OPUS_OSCE)-osce \
 	--disable-extra-programs \
 	--enable-rfc8251
 
-- 
2.39.2




             reply	other threads:[~2024-03-08 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 11:57 Philipp Zabel [this message]
2024-03-08 11:57 ` [ptxdist] [PATCH 2/2] opus: switch to meson build system Philipp Zabel
2024-03-15  6:19 ` [ptxdist] [PATCH 1/2] opus: version bump 1.4 -> 1.5.1 Michael Olbrich
2024-03-15 12:00   ` Philipp Zabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240308115756.271085-1-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox