Displaying 20 results from an estimated 7000 matches similar to: "[PATCH] spaces to tabs"
2012 Jun 27
1
Failed win32 build
Hello,
While building from git, I'm getting the following failure (help please):
CC ogg_mapping.lo
CCLD libFLAC.la
Creating library file: .libs/libFLAC.dll.a
.libs/bitreader.o: In function `FLAC__clz_soft_uint32':
./include/private/bitmath.h:46: multiple definition of `_FLAC__clz_soft_uint32'
.libs/bitmath.o:./include/private/bitmath.h:46: first defined here
.libs/fixed.o:
2013 Aug 16
1
PATCH for bitmath.h: 1 typo, 1 warning
rutine -> routine
Also MSVC complains that FLAC__uint32* (unsigned int*) is not of the same type as unsigned long*
--- a\src\libFLAC\include\private\bitmath.h 2013-08-13 13:30:24.000000000 +0400
+++ b\src\libFLAC\include\private\bitmath.h 2013-08-14 10:20:51.484053700 +0400
@@ -78,12 +78,12 @@
return _bit_scan_reverse(v) ^ 31U;
#elif defined(__GNUC__) && (__GNUC__ >= 4 ||
2012 Aug 28
3
[PATCH 1/3] Make FLAC__clz_soft_uint32 static.
---
src/libFLAC/include/private/bitmath.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libFLAC/include/private/bitmath.h b/src/libFLAC/include/private/bitmath.h
index 61b0e03..d32b1a7 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -42,7 +42,7 @@
#endif
/* Will never be emitted for MSVC, GCC, Intel compilers */
2013 May 04
5
Bug fix and compatibility patches for 1.3.0pre4
Hi all,
I tried 1.3.0pre4 with ICL on Windows and found some issues. Not sure if
this is the right place to submit patches, but someone suggested this on
the apparently dead SourceForge patch tracker.
The first two are quite straight forward:
- The ICL patch fixes a typo in bitmath.h and adds
FLAC__bitwriter_write_zeroes to the external declarations in bitwriter.c.
- The Ogg patch replaces
2013 Sep 01
1
New routine: FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_16
Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> Well first of all, none of them apply :-).
I'll try to redo the necessary patches with git.
> * Remove restrict definition from include/share/compat.h. Applied.
BTW, I tried to use 'restrict' keyword with MSVS 2010 and 2012 and in fact they don't support it. Only --restrict is supported.
> * libFLAC and
2017 Jan 15
3
unsigned int and FLAC__uint32 are used interchangeably
lvqcl wrote:
> Also MSVC fails because src/libFLAC/include/private/bitmath.h now
> contains "uint32_t long idx" instead of "unsigned long idx".
Ah, missed that because it was MSVC code. They should be `uint64_t`.
> According to MSDN _BitScanReverse*() functions have signatures:
> unsigned char _BitScanReverse(unsigned long *, unsigned long);
> unsigned char
2014 Oct 11
1
bitmath.h static array
There is a function FLAC__clz_soft_uint32 in bitmath.h:
static inline unsigned int FLAC__clz_soft_uint32(unsigned int word)
{
static const unsigned char byte_to_unary_table[] = {
8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
....................................
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
return (word) > 0xffffff ?
2014 Apr 09
1
[PATCH] for src/libFLAC/include/private/bitmath.h
From the neighbouring list, http://lists.xiph.org/pipermail/opus/2014-April/002592.html
"proper architecture-specific MSVC definitions, _M_IX86 and _M_X64"
So this patch changes _WIN64 to _M_X64 (the corresponding code enables _BitScanReverse64)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitmath.patch
Type: application/octet-stream
Size: 938
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
This patch adds support for other compilers and systems
including MSVC, Intel C compiler etc..
---
src/libFLAC/bitmath.c | 48 -------------
src/libFLAC/bitreader.c | 54 ++-------------
src/libFLAC/include/private/bitmath.h | 120 ++++++++++++++++++++++++++++++---
3 files changed, 116 insertions(+), 106 deletions(-)
diff --git a/src/libFLAC/bitmath.c
2013 Aug 31
2
New routine: FLAC__lpc_compute_autocorrelation_asm_ia32_sse_lag_16
Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> Patch applied, tested, commited and pushed.
Great.
But, what about my other patches? I admit that many of them aren't necessary, but (imho) a couple of them are important. I can explain in detail why I think this.
2017 Jan 14
4
unsigned int and FLAC__uint32 are used interchangeably
On 1/14/17, Erik de Castro Lopo <mle+la at mega-nerd.com> wrote:
> Ozkan Sezer wrote:
>
>> > Ozkan Sezer wrote:
>> >
>> >> unsigned int and FLAC__uint32 are used interchangeably, leading to
>> >> warnings with platforms (e.g. djgpp) where int32_t is long:
>> >
>> > Is `sizeof int == 4` though?
>>
>> Yes, obviously
2013 Apr 19
2
Preprocessor error when trying to build integer-only
Hi,
I was wondering how much worse FLAC performance would be if it was
compiled integer-only, but while trying to do so (by adding #define
FLAC__INTEGER_ONLY_LIBRARY 1 to config.h, just on x86_64-linux) I got
this error
> ./include/private/bitmath.h:134:5: error: operator '&&' has no left
> operand
bitmath.h:134 is the following line
> #if &&
2013 May 25
0
[PATCH 1/2] Fix mistyped variable name
---
src/libFLAC/include/private/bitmath.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libFLAC/include/private/bitmath.h b/src/libFLAC/include/private/bitmath.h
index 42ce639..e5c7695 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -74,7 +74,7 @@ static inline unsigned int FLAC__clz_uint32(FLAC__uint32 v)
{
/* Never
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 Sep 04
4
PATCH: bugfixes for bitmath.h
More or less detailed explanation of this patch.
1. The first parameter of _BitScanReverse() and _BitScanReverse64() is a pointer to unsigned long (4-byte int). However _BitScanReverse64() is called with a pointer to FLAC__uint64 (8-byte int). IMHO it's a bug and this patch changes the type of idx variable inside FLAC__bitmath_ilog2_wide() from FLAC__uint64 to unsigned long.
The type of idx
2014 Jun 19
7
[PATCH] stream_encoder : Improve selection of residual accumulator width
In the precompute_partition_info_sums_ function, instead of selecting
64-bit accumulator when the signal bps is larger than 16, revert to the
original approach based on partition size, but make room for few extra
bits to not overflow with unusual signals where the average residual
magnitude may be larger than bps.
It slightly improves the performance with standard encoding levels and
16-bit files
2004 Sep 10
0
Re: detecting host machine in configure.in?
On Wed, May 23, 2001 at 03:18:16PM -0700, Josh Coalson wrote:
> but since I'm not too saavy with autoconf/automake I'll ask for a little bit
> more help. I think the only non-functional part left is that automake
> doesn't support source files that are in subdirectories, relative to
> Makefile.am(?) the layout in src/libFLAC/ is that all asm sources will go
> under a
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
2009 Aug 23
0
Strange autotools check order in autogen.sh
for am in automake-$AM_NEEDED automake$AM_NEEDED \
automake automake-1.7 automake-1.8 automake-1.9 automake-1.10; do
This code makes it check for automake-1.7 (AM_NEEDED evaluates to 1.7),
then automake (unversioned wrapper), then 1.7 (again), 1.8, 1.9 and then
1.10
1) Why the check is generally ascending? Isn't it better use the most
recent version that is known to work instead of
2004 Sep 10
2
Re: detecting host machine in configure.in?
--- Christian Weisgerber <naddy@mips.inka.de> wrote:
> Josh Coalson <xflac@yahoo.com> wrote:
>
> > Basically what I want is configure.in determination of
> > basic machine type (intel/compatible, alpha, ppc), then within
> > that (say intel) the code will detect variants like MMX, SSE,
> > and use the right routines.
>
> Please include a way to