From: Marcel Holtmann <marcel@holtmann.org>
To: Siarhei Siamashka <siarhei.siamashka@nokia.com>
Cc: ext Brad Midgley <bmidgley@gmail.com>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
jaska.uimonen@nokia.com,
"linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH] sbc: fix for overflow bug in quantization code
Date: Mon, 29 Dec 2008 11:33:50 +0100 [thread overview]
Message-ID: <1230546830.15666.1.camel@californication> (raw)
In-Reply-To: <200812291222.00855.siarhei.siamashka@nokia.com>
Hi Siarhei,
> > If we try to use more realistic settings similar to the recommended high
> > quality settings from SBC specification (Table 4.7):
> > ./sbcenc -j -S -b 51 BigBuckBunny-stereo.au >BigBuckBunny-stereo.sbc
> >
> > bluez 16-bit fixed point:
> > stddev: 43.82 PSNR: 63.48 bytes:114491016/114491308
> >
> > bluez 32-bit fixed point:
> > stddev: 43.78 PSNR: 63.49 bytes:114491016/114491308
> >
> > reference encoder:
> > stddev: 43.37 PSNR: 63.57 bytes:114491016/114491308
> [...]
> > PS. I still wonder why there is a loss when compared to reference encoder.
> > 32-bit fixed point version should be even more precise than single
> > precision floating point. Maybe there could be another minor bug in the
> > code, or it is just a random deviation and there could be a win for other
> > audio files.
>
> Found what's the matter. It's a problem in subbands selection criteria for
> joint-stereo. The following patch fixes it.
patch has been applied and pushed upstream. In the future, please leave
the Signed-off-by line out of it. That one is only a requirement for
kernel code and I never required it for BlueZ.
Regards
Marcel
prev parent reply other threads:[~2008-12-29 10:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 20:43 [PATCH] sbc: fix for overflow bug in quantization code Siarhei Siamashka
2008-12-18 22:59 ` Marcel Holtmann
2008-12-19 21:25 ` Siarhei Siamashka
2008-12-19 22:23 ` Luiz Augusto von Dentz
2008-12-19 22:51 ` Brad Midgley
2008-12-22 11:37 ` Siarhei Siamashka
2008-12-22 12:29 ` Marcel Holtmann
2008-12-22 17:50 ` Luiz Augusto von Dentz
2008-12-29 10:22 ` Siarhei Siamashka
2008-12-29 10:33 ` Marcel Holtmann [this message]
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=1230546830.15666.1.camel@californication \
--to=marcel@holtmann.org \
--cc=bmidgley@gmail.com \
--cc=jaska.uimonen@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=siarhei.siamashka@nokia.com \
/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