Re: [Flac-dev] libFLAC bitbuffer optimizations

2005-01-24 Thread Eric Wong
Josh Coalson <[EMAIL PROTECTED]> wrote: > Eric, I finally got around to your patches after Miroslav's. > the first one (the memcpy/memset replacement) I had problems > with, one because the buffers can overlap so I had to use > memmove (is this usually assembly in libc too?) and also the > endpoint

Re: [Flac-dev] libFLAC bitbuffer optimizations

2005-01-24 Thread Josh Coalson
Eric, I finally got around to your patches after Miroslav's. the first one (the memcpy/memset replacement) I had problems with, one because the buffers can overlap so I had to use memmove (is this usually assembly in libc too?) and also the endpoints looked wrong, for my full patch see below. speed

Re: [Flac-dev] libFLAC bitbuffer optimizations

2005-01-01 Thread Eric Wong
Josh Coalson <[EMAIL PROTECTED]> wrote: > thanks for the patch. No prob :) > also, if you have miroslav's patch again a more updated version > of bitbuffer.c that would be great. I have been meaning to get > around to applying it for a long time. This is Miroslav's patch, from the mailing list

Re: [Flac-dev] libFLAC bitbuffer optimizations

2004-12-29 Thread Josh Coalson
thanks for the patch. also, if you have miroslav's patch again a more updated version of bitbuffer.c that would be great. I have been meaning to get around to applying it for a long time. btw how are you playing it on the ipod? not sure how to help out with lpc_restore_signal(). there are x86

[Flac-dev] libFLAC bitbuffer optimizations

2004-12-28 Thread Eric Wong
Pulled from my Arch archive, this following patch seems to have made quite a difference in getting my ARM7TDMI chip to play FLAC (compression levels 0-2) on my ipod. I don't have benchmarks with hard numbers, but playing with skips vs playing without skips is a fairly noticeable difference. memcp