Displaying 4 results from an estimated 4 matches for "bitbuffer_read_from_client_".
2004 Sep 10
1
process_single
...out seeing
> your code.
By libflac. Libflac has it's own buffer called a bitbuffer. When the
buffer needs to be filled, there is usually some data at the end of the
buffer (a part of a frame, may include parts of bits) that needs to be
moved to the beginning of the buffer. (see FLAC__bool
bitbuffer_read_from_client_). I thought this was using memmove but it
seems that it doesn't.
... So maybe I was wrong about the relation between my two problems.
It is all very strange. Something very fishy is going on. I've been
trying to see if my CRT is to blame. Linking different versions at
different times,...
2004 Sep 10
2
process_single
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[To: flac-dev@lists.sourceforge.net]
On Sun, 10 Nov 2002, Josh Coalson wrote:
> Hmm, that's how the plugins work. They are using the file
> decoder layer but that's a pretty trivial wrapper around
> the seekable stream decoder. Without seeing your code there's
> not much else I can say.
Do you want to see my code ;-)
>
2005 Jan 01
2
libFLAC bitbuffer optimizations
...goto break2;
+ *(++vals);
+
msbs = 0;
state = 0;
}
@@ -2212,7 +2217,7 @@
bb->consumed_blurbs = i;
bb->consumed_bits = cbits;
bb->total_consumed_bits = (i << FLAC__BITS_PER_BLURB_LOG2) | cbits;
- if(val_i < nvals) {
+ if(val_i > 0) {
if(!bitbuffer_read_from_client_(bb, read_callback, client_data))
return false;
/* these must be zero because we can only get here if we got to the end of the buffer */
>
> btw how are you playing it on the ipod?
With a modified version of Music Player Daemon (MPD, www.musicpd.org).
http://www.ipodlinux.org/MPD...
2004 Dec 28
2
libFLAC bitbuffer optimizations
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.
memcpy and memset on uClibc are optimized in asm for the ARM7TDMI in
uClibc. Other hardware/libc