Return-Path: From: Siarhei Siamashka To: linux-bluetooth@vger.kernel.org Subject: Scripts which have been used to calculate the 'magic' constants for sbc encoder Date: Thu, 11 Nov 2010 12:47:57 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13584325.6JrTevByxL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Message-Id: <201011111248.08393.siarhei.siamashka@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --nextPart13584325.6JrTevByxL Content-Type: multipart/mixed; boundary="Boundary-01=_en82MT6dBjmG2yN" Content-Transfer-Encoding: 7bit --Boundary-01=_en82MT6dBjmG2yN Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, The scripts which have been used to calculate the 'magic' constants introdu= ced=20 in commit: http://git.kernel.org/?p=3Dbluetooth/bluez.git;a=3Dcommit;h=3Df70d1ada0aba5= 567fbf67cedfb4a4ba1a9f9852e Remembered that these are not available in bluez repository so sending them here basically for archival purposes. I also had scripts for finding a suit= able SIMD permutation, but IIRC these were totally unmaintainable (required seve= ral scripts to run, with human intervention in between and tweaking intermediate data). =2D-=20 Best regards, Siarhei Siamashka --Boundary-01=_en82MT6dBjmG2yN Content-Type: application/x-compressed-tar; name="sbc-encoder-quality-tuning-scripts.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sbc-encoder-quality-tuning-scripts.tar.gz" H4sIAOLH20wAA+1d628bOZLP1+iv4DoTrJSk23z2Y3aCxSIbf9udw93iviRBIEtyLJwtJZKc8dzO /O9X7Ccfxe6W49gYXHMwsSSyulgPslml+rX254totVlsl6td9OVmfrU+/Bodbjbrzadov9itPx/2 p0++tVFoqVL6L0sVrf7K4vOqPWFMJkkqRZKIJ5QlUqVPiPpmzgPazf4w3xHyZL//et41rq//D9r2 /fbPtsvlN/HQBk6kDNifweu0sT9NGdg/5TCc0HuSsbP9P7d/FBFKomhyPb/dL+ZXK/KayJgqlXE5 2e7Wn9ab+RXZbW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MjsWRqP/e853FHy5l+5wg//vo2dh6/mIZ/iTF5WlmiIu+2Rf dyJP9a970YfTG53+Q9brzqbgyglk6k7/ee91J/oTAEZnSemEXqagXtRmCepF14MF9SJNW1AnSDUF 9cJMU1AvQjUF9cJqU1AvIncEdaLqIwR1kgiNoFg0bgqKT7cJALHpii4VVWETrqImieOE0vdgUCwE tz0X878mnYH5n+jyeVoXXmE+3y5RJ4C+nyWKUzYGxXYU9CcSTEGP/K2E8rdtGjX4vxYWCpIHUfkR 63Cyu83R/REmQ9f+PLCyIJMsMI8+Mj8vYrphJzN8jmMA/0dod8R/3OPzn+Hkn3q//5QIPp7/H6Ld H/7DA7A/Jv4DAaOEKp8fCwDiFrL7T3l4TAAIgkYJKfDRECAumsJ/EspjIkAQOEq4+P4xICAIHgX3 wUfGgNiQlLAOHwMDggBS8I3wEUEgCCjlj4UCGVJLf8c6+SE4gUB5+/FYAhwCcgcswYgAuRMC5I7I neFX6kPuDAcv3QvCaRDkaESBPCAKpHjowQgDGWEgIwxkhIGMMJARBjLCQEYYyNjGNraxjW1sYxvb g7b/A836WJUAoAAA --Boundary-01=_en82MT6dBjmG2yN-- --nextPart13584325.6JrTevByxL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkzbyegACgkQvyB/CfYEEt7nvACfdbJkbyMs9T5kOylK8DWuM+Bq OCAAnicJfiLxaAEp3i7ZH3S525RtBRN9 =AC+B -----END PGP SIGNATURE----- --nextPart13584325.6JrTevByxL--