search for: flac__max_rice_partition_ord

Displaying 6 results from an estimated 6 matches for "flac__max_rice_partition_ord".

2004 Sep 10
2
Error initializing flac stream decoder.
Thanks for that email. The one lihe change I made is this : from #define FLAC__MAX_RICE_PARTITION_ORDER (15u) to #define FLAC__MAX_RICE_PARTITION_ORDER (6u) and that seemed to make decoder_new() happy, but it's promptly crashing after making a call to the read callback (below), then to the meta callback. The meta callback did nothing but print a string and return. I removed it, and it...
2004 Sep 10
1
Error initializing flac stream decoder.
...unsigned raw_bits[1 << 6]; } FLAC__EntropyCodingMethod_PartitionedRice; Any other thoughts? Thanks, Reza Josh Coalson wrote: > --- Reza Naima <reza@reza.net> wrote: > >>Thanks for that email. The one lihe change I made is this : >> >>from #define FLAC__MAX_RICE_PARTITION_ORDER (15u) >>to #define FLAC__MAX_RICE_PARTITION_ORDER (6u) >> >>and that seemed to make decoder_new() happy, but it's promptly >>crashing >>... > > > Don't change the global define... just replace the value > FLAC__MAX_RICE_PARTITION_ORDER with 6 i...
2004 Sep 10
3
[Flac-users] libflac memory requirements?
Hello, Can someone give me an idea of the memory requirements for using libFLAC? I'm trying to incorporate FLAC support into a player application for the Rio Receiver (see http://rioreceiver.comms.net for details), but I'm having trouble because FLAC__stream_decoder_new() is attempting to allocate 2099828 bytes for an instance of the FLAC__StreamDecoderPrivate struct. Is this accurate,
2004 Sep 10
2
Error initializing flac stream decoder.
I've cross-compiled flac for the armv4l processor (rio receiver), and i'm trying to start up a decode thread : #include <FLAC/stream_decoder.h> .... FLAC__StreamDecoder *flac = NULL; flac = FLAC__stream_decoder_new(); if (flac == NULL) { printf("[DECODE] Unable to initalize flac object\n");
2004 Sep 10
0
[Flac-users] libflac memory requirements?
...for an instance of the > FLAC__StreamDecoderPrivate > struct. Is this accurate, or is there something wrong with my setup? I forgot to mention, as a temporary workaround until the next release, in your development environment you can safely reduce the requirement by changing the word 'FLAC__MAX_RICE_PARTITION_ORDER' to '6' in the definition of the struct FLAC__EntropyCodingMethod_PartitionedRice, in format.h, if you remember this limitation: it will only support files with a max partition order of 6. This number corresponds to the value passed to '-r' in flac. You will notice that 6 i...
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...cros.h" /* adjust for compilers that can't understand using LLU suffix for uint64_t literals */ #ifdef _MSC_VER @@ -542,7 +538,7 @@ unsigned FLAC__format_get_max_rice_partition_order_from_blocksize(unsigned block max_rice_partition_order++; blocksize >>= 1; } - return min(FLAC__MAX_RICE_PARTITION_ORDER, max_rice_partition_order); + return flac_min(FLAC__MAX_RICE_PARTITION_ORDER, max_rice_partition_order); } unsigned FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(unsigned limit, unsigned blocksize, unsigned predictor_order) diff --git a/src/libFLAC/i...