[Flac-dev] Building a Rice Encoder/Decoder from FLAC

Mary Amon mary.amon at gmail.com
Tue Jul 11 17:47:37 PDT 2006


I feel really silly asking this, but where is read_residual_partitioned_rice
>
> _() ?  I tried using the standard find feature on text editors for all of
> the .c and .cpp files in libFLAC and libFLAC++, but nothing came up.



-Mary



On 7/11/06, Ralph Giles <giles at xiph.org> wrote:
>
> On Tue, Jul 11, 2006 at 04:17:41PM -0700, Mary Amon wrote:
>
> >                                                          Right now, I am
> > looking in the src code of libFLAC, (I am looking through
> stream_encoder.c
> > in libFLAC src code), but its really confusing to someone who just
> learned
> > what ./configure meant today.
>
> Well, configure is obfuscating, but that's not really the problem.
>
> You're on the right track; the rice encode/decode stuff is all
> in libFLAC/stream_decoder.c, stream_encoder.c, and
> stream_encoder_framing.c. The decoder routine
> read_residual_partitioned_rice_() might be a good place to start.
>
> FLAC is highly modular code with lots of interfaces and abstraction
> layers; it takes lots of tracing to follow the flow and sort out
> the actual implementation. Keep at it though; it's good practice.
>
> > P.S.  I totally appreciate the very clean code and documentation!  It's
> > making the learning much less painful than I think it could be.
>
> Yes, Josh's code is well written, in a C++ sort of way. :-)
>
> Good luck and let us know if you get stuck,
> -r
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20060711/c8b1de3d/attachment.htm


More information about the Flac-dev mailing list