> We have already done Altivec support for most of Speex. The patch > is waiting on Jean-Marc adding the RunTime / Compile Time options so it > doesn't crash systems that don't support Altivec such as G3's or early G4's.I remember seeing an SSE patch (which I ended up rewriting as intrinsics), but I don't remember any AltiVec patch. Could you please send it again? Jean-Marc -- Jean-Marc Valin http://www.xiph.org/~jm/ LABORIUS Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée. Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040330/c687c903/signature-0001.pgp
On Mar 29, 2004, at 5:05 PM, Jean-Marc Valin wrote:> Can you try manually swapping the bytes on the raw output and see if > you > get something useful (I think by default wav is always little endian > while raw is native endian)?Well, my apologies. Apparently I got confused when trying all the different formats and somehow skipped little endian. The decoded raw file is in little endian format and works fine. The decoded .wav is also in little endian format. Looking at speexdec.c, the problem is it hardcodes output into little endian format. If you don't mind, I'd like to fix that, as well as add soundcard support for the Macintosh. I'm pretty busy, but I should be able to get to it pretty soon. Longer term, I'd also like to take a shot at adding Altivec support on the Mac. I'm no Altivec guru, but I know the right people to ask for help, so I'm pretty confident I could do it, given enough time. Thanks for a great library - I look forward to contributing what I can. Wade --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Wade, We have already done Altivec support for most of Speex. The patch is waiting on Jean-Marc adding the RunTime / Compile Time options so it doesn't crash systems that don't support Altivec such as G3's or early G4's. Aron Rosenberg SightSpeed www.sightspeed.com <p>At 09:20 PM 3/29/2004, Wade Williams wrote:>On Mar 29, 2004, at 5:05 PM, Jean-Marc Valin wrote: > >>Can you try manually swapping the bytes on the raw output and see if you >>get something useful (I think by default wav is always little endian >>while raw is native endian)? > >Well, my apologies. Apparently I got confused when trying all the >different formats and somehow skipped little endian. > >The decoded raw file is in little endian format and works fine. > >The decoded .wav is also in little endian format. > >Looking at speexdec.c, the problem is it hardcodes output into little >endian format. > >If you don't mind, I'd like to fix that, as well as add soundcard support >for the Macintosh. I'm pretty busy, but I should be able to get to it >pretty soon. > >Longer term, I'd also like to take a shot at adding Altivec support on the >Mac. I'm no Altivec guru, but I know the right people to ask for help, so >I'm pretty confident I could do it, given enough time. > >Thanks for a great library - I look forward to contributing what I can. > >Wade > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/ >To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hello everyone, I'm finally beginning to use Speex for a project. As expected, the implementation so far has been very easy and I am thrilled with the capabilities and flexibility of Speex, especially the new features in 1.1. My efforts so far have resulted in a couple of questions: 1) I was interested in fetching the default quality setting for narrowband: speex_encoder_ctl(_encodeState, SPEEX_GET_QUALITY, &value); Unfortunately, the above fails with libspeex 1.1.4. The console shows: warning: Unknown nb_ctl request: 5 There was a report of this issue back in September with a reply indicating that this was fixed, but I'm still seeing the problem as of this version. Not a big deal, I'm going to set the quality to a value anyway, just thought I'd report the issue. 2) Let's say I wish to encode some data. Speex can tell me the uncompressed frame size (for narrowband, 160 * sizeof(short)), but what about the size of the compressed data? If I'm not using VBR, I assume that size is going to be constant, yes? But is there a way for Speex to tell me what that value is before I begin encoding? thanks much, Chris <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.