Displaying 5 results from an estimated 5 matches for "flac__streamdecoderprivate".
2004 Sep 10
3
[Flac-users] libflac memory requirements?
...ry 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, or is there something wrong with my setup?
I'm hoping I just have something configured wrong, because this device
only has 4 megs of memory and no swap, so allocating 2+ megs isn't going
to work so well. Thanks in advance for your help!
-Dave
2013 Sep 17
2
Performance and precompute_partition_info_sums_32bit_asm_ia32_()
Previously I wrote that precompute_partition_info_sums_32bit_asm_ia32_() only
makes encoding slower. Now I managed to compile flac with GCC 4.8.1, with this
function enabled and disabled. NASM was enabled, SSE intrinsics disabled.
Then I added -msse option (so that all C code was compiled with -msse),
then -msse2 and so on.
Input file for test: 44.1kHz/16bit/stereo; best compression mode (flac
2004 Sep 10
0
[Flac-users] libflac memory requirements?
...LAC?
> 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, 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 t...
2015 Jun 16
0
Low-level seek routines in libFLAC
...ons (mostly copy-paste from seek_to_absolute_sample_())
. modification of seek_to_absolute_sample_() to use those low-level functions inside. seek_to_absolute_sample_() will retain its current behavior.
This is a short description of the proposed API:
/*
An object of this structure lives within FLAC__StreamDecoderPrivate.
It saves the local variables needed for seek functions.
*/
typedef struct seek_t {
int state;
FLAC__uint64 lower_bound;
FLAC__uint64 upper_bound;
FLAC__uint64 lower_bound_sample;
FLAC__uint64 upper_bound_sample;
FLAC__uint64 this_frame_sample;
unsigned approx_bytes_per_frame;
FLAC__bool f...
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...t
FLAC__MD5Update(ctx, ctx->internal_buf, bytes_needed);
return true;
+#endif
+
}
diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c
index 5b3c3cd..f8029dd 100644
--- a/src/libFLAC/stream_decoder.c
+++ b/src/libFLAC/stream_decoder.c
@@ -185,7 +185,7 @@ typedef struct FLAC__StreamDecoderPrivate {
FLAC__bool internal_reset_hack; /* used only during init() so we can call reset to set up the decoder without rewinding the input */
FLAC__bool is_seeking;
FLAC__MD5Context md5context;
- FLAC__byte computed_md5sum[16]; /* this is the sum we computed from the decoded data */
+ FLAC__byte com...