Displaying 20 results from an estimated 5000 matches similar to: "Building a Rice Encoder/Decoder from FLAC"
2006 Jul 11
2
Building a Rice Encoder/Decoder from FLAC
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@xiph.org> wrote:
>
> On Tue, Jul 11, 2006 at 04:17:41PM -0700, Mary Amon wrote:
>
> >
2006 Jul 11
0
Building a Rice Encoder/Decoder from FLAC
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
2014 Jun 19
5
[PATCH] stream_encoder : Improve selection of residual accumulator width
On Thu, Jun 19, 2014 at 03:30:22PM +0400, lvqcl wrote:
> BTW, what can you say about the following place in stream_decoder.c
> in read_subframe_lpc_() function:
>
> /*@@@@@@ technically not pessimistic enough, should be more like
> if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1)
2004 Sep 10
2
1.0 candidate checked in
On Fri, Jul 20, 2001 at 03:01:54PM -0700, Josh Coalson wrote:
> --- Matt Zimmerman <mdz@debian.org> wrote:
> >
> > automake will include ltmain.sh in the source distribution, so it
> > should be
> > used even if it isn't installed on the build system. In fact, it
> > seems to
> > always use the distributed version, and not the installed one
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote:
> --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> > I have few notes:
> >
> > It seems there is changed API in CVS again. So, what about adding
> > function like
> > unsigned FLAC__format_frame_size(const FLAC__Frame *frame)
> > which returns size of the frame in bytes. This
2013 May 15
2
FLAC currently won't compile for Android [bisected]
2013/5/15 Ulrich Klauer <ulrich at chirlu.de>
> Felix Homann wrote:
>
> > Yes, HAVE_SYS_PARAM_H is set in config.h:
>
> OK ... Yet still I don't see how a change in
> src/libFLAC/include/private/macros.h could affect src/flac/utils.c in
> any way.
>
> Anyone got an idea?
I haven't spend too much attention to the errors when bisecting, sorry!
The
2004 Sep 10
2
getting framesize in client
I have few notes:
It seems there is changed API in CVS again. So, what about adding
function like
unsigned FLAC__format_frame_size(const FLAC__Frame *frame)
which returns size of the frame in bytes. This can be useful, for
example, in xmms plugin to display current bitrate like vorbis plugin
does.
If 'PERFORMER' field is missing in vorbis comment, it would be nice to
display
2007 Jun 14
1
I can't use libFLAC++
Hi,
I've been trying to use the FLAC lib for c++. I need
to implement basic encoder function in my application,
so i tried to include encoder.h , set everything to
the default path, and included
stream_encoder.cpp,stream encoder.cpp files in the
project. Include is
#include "FLAC++/encoder.h"
i write something like this
FLAC::Encoder::File test;
i build, compile goes ok but then
2012 Dec 03
4
[PATCH 1/5] Remove old GNU-stack sections from nasm files.
They are not needed since the section is defined in nasm.h.
---
src/libFLAC/ia32/bitreader_asm.nasm | 4 ----
src/libFLAC/ia32/cpu_asm.nasm | 4 ----
src/libFLAC/ia32/fixed_asm.nasm | 4 ----
src/libFLAC/ia32/lpc_asm.nasm | 4 ----
src/libFLAC/ia32/stream_encoder_asm.nasm | 4 ----
5 files changed, 20 deletions(-)
diff --git
2014 Nov 25
9
Two new CVEs against FLAC
Hi all,
Google Security Team member, Michele Spagnuolo, recently found two potential
problems in the FLAC code base. They are :
CVE-2014-9028 : Heap buffer write overflow
CVE-2014-8962 : Heap buffer read overflow
For Linux distributions, the specific fixes for these two CVEs are available
from Git here:
2014 Dec 06
2
GCC/clang compilation issues
> Oliver St?neberg wrote:
>
> > I finally got around to trying to update FLAC for the MAME/MESS
> > project again. There were several issues I was able to fix and will
> > submit patches later, but I hit one roadblock with GCC and clang:
> >
> > src/lib/libflac/libFLAC/stream_encoder.c:1696:43: error: cast from function call
> > of type
2006 Aug 21
1
[PATCH] Memory issue and cast causing failures when adding metadata
Hi,
We are using the libFLAC++ library to encode FLAC files with Vorbis
comments in them and have had the FLAC 1.1.2 version fail consistently
(access violation or segmentation fault) on both Windows and Linux. We
tracked this down to the metadata code in the C++ API.
The problem is in src/libFLAC++/file_encoder.cpp.
There are two problems - firstly, a C-style cast is hiding a bad
conversion
2014 Dec 06
2
GCC/clang compilation issues
Hi,
I finally got around to trying to update FLAC for the MAME/MESS
project again. There were several issues I was able to fix and will
submit patches later, but I hit one roadblock with GCC and clang:
src/lib/libflac/libFLAC/stream_encoder.c:1696:43: error: cast from function call
of type 'double' to non-matching type 'FLAC__int32' (aka 'int')
2014 Jun 20
2
Lets work towards a new version
On Fri, Jun 20, 2014 at 1:05 AM, lvqcl <lvqcl.mail at gmail.com> wrote:
> I cannot find anything about the size of METADATA_BLOCK_PICTURE block
> in <http://xiph.org/flac/format.html>. Where did you read this?
>
METADATA_BLOCK_HEADER has a 24-bit field to encode the length of
METADATA_BLOCK_DATA ; hence the limitation (which not only applies
to METADATA_BLOCK_PICTURE but all
2014 Sep 23
4
Disk fragmentation
I have been running a lot of large compression tests to see how well
Martijn van Beurden's new presets do and was once again reminded how
real the fragmentation problem still is.
To have decent speed it's necessary to run multiple encoders in
parallel. In my setup FLAC was compressing four files at the same time
and each instance writes tiny bits of data to disk at once. A
2004 Sep 10
2
1.0 candidate checked in
> OK, that worked.
>
> I checked in your patch to make a static libFLAC-asm.a and
> I moved @XMMS_LIBS@ to the end of ...LIBADD. Matt and Ben,
> can you try the latest CVS to see if it works for you now?
It doesn't work for me. Looks like libtool decided not to link
libFLAC-asm.a into libFLAC.
Here's the output:
Making all in src
gmake[1]: Entering directory
2013 Mar 12
3
Can't cross-compile from git now.
JonY wrote:
> What is your link test checking and how does it fail?
My m4 macro is really simple, TRY_LINK a simple program with the
stack protect CFLAGS:
AC_DEFUN([XIPH_GCC_STACK_PROTECTOR],
[AC_LANG_ASSERT(C)
AC_MSG_CHECKING([if $CC supports stack smash protection])
xiph_stack_check_old_cflags="$CFLAGS"
SSP_FLAGS="-fstack-protector --param ssp-buffer-size=4"
2015 Dec 10
5
Windows file buffering
Erik de Castro Lopo wrote:
> lvqcl,
>
> Would you be able to have alook at this one? I think its
> Windows related:
>
> https://sourceforge.net/p/flac/feature-requests/114/
>
The relevant changes are
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=6a6207b52a86b1d7980a5233e297c0fc948bed7d> and
2004 Sep 10
3
Altivec, automake
I think I've gotten FLAC__lpc_restore_signal() about as good as I'm going to
get it.
Here's what I have:
-a new file, lpc_asm.s, which has the assembly routines
-changes to cpu.h, cpu.c, and stream_decoder.c to enable them
-changes to configure.in to support the new cpu stuff
-a preliminary Makefile.am
-maybe something else I'm forgetting
Now automake complains that configure.in
2005 Oct 23
1
Compile error on PPC linux
Hi,
I am using a ppc-32bit version of linux called crux,
with kernel 2.6.12.5
binutils version is 2.16.1
How can i get past this error..???
/usr/bin/ld -r -o .libs/libFLAC.la-19.o
.libs/stream_encoder_framing.o .libs/libFLAC.la-18.o
gcc -shared .libs/libFLAC.la-19.o -lm -maltivec
-mabi=altivec -mcpu=powerpc -Wl,-read_only_relocs
-Wl,warning -Wl,-soname -Wl,libFLAC.so.7 -o