Displaying 20 results from an estimated 9000 matches similar to: "PATCH: FLAC__I64L macro"
2013 Oct 09
2
unsigned long long suffix
share/compat.h contains the following code:
/* adjust for compilers that can't understand using LLU suffix for uint64_t literals */
#ifdef _MSC_VER
#define FLAC__U64L(x) x
#else
#define FLAC__U64L(x) x##LLU
#endif
I tested MSVS 2005 and indeed it doesn't support LLU suffix, but it can compile
a code with ULL suffix. Also, http://gcc.gnu.org/onlinedocs/gcc/Long-Long.html
mentions ?ULL?
2015 Dec 28
1
[PATCH 4] for test_libFLAC/bitwriter.c
1) The definition of FLAC__BitWriter was updated with the
current text from /libFLAC/bitwriter.c (the text in comments was changed).
And the definition of TOTAL_BITS was made closer to the code from /libFLAC/bitwriter.c.
2) The values for 'words' and 'bits' values now calculated, not just some
magic constants.
3) Added FLAC__U64L() for 64-bit constants. It seems that it
2015 Dec 28
1
[PATCH 2] more changes in bitmath.h
1) FLAC supports only MSVS 2005 and newer, so (_MSC_VER >= 1400)
is always true and can be removed.
2) The argument for FLAC__clz_uint32() is of FLAC__uint32 type, so
FLAC__clz_soft_uint32() should have the same argument type.
3) The patch removes unnecessary parentheses around 'word' variable.
4) It also replaces "sizeof(FLAC__uint32) * CHAR_BIT - 1 -
2013 Sep 08
7
PATCH: x86-64 support and SSE intrinscis code
It's not possible to use ia32/*.nasm code in 64-bit compiles.
There's still no 64-bit asm code in FLAC. I'm not familiar with asm too,
so I wrote SSE-accelerated code using intrinsics.
This code uses two new preprocessor macros:
FLAC__CPU_X86_64 (analogous to FLAC__CPU_IA32)
and FLAC__HAS_X86INTRIN (analogous to FLAC__HAS_NASM)
Patch for cpu.c/cpu.h adds CPU features (sse3, ssse3)
2014 Mar 09
1
PATCH: fix pragma warning
Changes invalid (and commented)
#pragma warning ( enable : 4800 )
with correct
#pragma warning ( default : 4800 )
Also adds
#pragma warning ( disable : 4800 )
to src/test_libFLAC++/encoders.cpp (analogous to src/test_libFLAC++/decoders.cpp)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warning4800.patch
Type: application/octet-stream
Size: 1079
2014 Mar 09
1
PATCH: coding style fixes
a) A previous patch for stream_encoder_intrin_xxxx.c removes
definitions of abs_residual_partition_sum variables but leaves
unnecessary empty line after it. The first attached patch removes them.
b) The second attached patch fixes coding style for lpc_asm.nasm:
mov{space}ebp, esp
to
mov{tab}ebp, esp
etc.
-------------- next part --------------
A non-text attachment was scrubbed...
2013 Sep 25
1
PATCH: move M_PI definition to share/compat.h
Analogous to M_LN2 patch: the patch moves definition of M_PI
from src/libFLAC/window.c and src/test_streams/main.c to include/share/compat.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: M_PI.patch
Type: application/octet-stream
Size: 1581 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130925/6a0afebe/attachment.obj
2016 Apr 26
1
[PATCH] MSVC: add ENABLE_64_BIT_WORDS macro
This patch adds ENABLE_64_BIT_WORDS preprocessor variable to
libFLAC_dynamic, libFLAC_static and test_libFLAC projects, x64 platform.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcxproj.patch
Type: application/octet-stream
Size: 5797 bytes
Desc: not available
URL: <http://lists.xiph.org/pipermail/flac-dev/attachments/20160426/0ba518a4/attachment.obj>
2014 Mar 09
1
PATCH: FLAC__STRCASECMP definition
Move FLAC__STRCASECMP to share/compat.h and remove it from
src/flac/main.c and src/share/grabbag/cuesheet.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strcasecmp.patch
Type: application/octet-stream
Size: 1596 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140310/f2bd3db3/attachment.obj
2014 Mar 09
1
PATCH: strtoull
For MSVS, share/compat.h redefines strtoull as _strtoui64, and
there's no need in local__strtoull().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strtoull.patch
Type: application/octet-stream
Size: 936 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20140310/b959b299/attachment.obj
2016 Jun 26
4
FLAC__SSE_OS change
lvqcl wrote:
> It doesn't know about uint32_t type, so the definition of cpu_xgetbv_x86() fails.
> It can be fixed by adding "#include share/compat.h" to cpu.c (or by using
> FLAC__uint32 from FLAC/ordinals.h).
Ok, added share/compat.h.
> When I fix this, the following problem occurs:
>
> error LNK2019: unresolved external symbol ___cpuidex referenced in
2015 Dec 28
6
How to check for 64-bit CPU?
In stream_encoder.c there's the following code:
#if defined FLAC__CPU_X86_64 /* and other 64-bit arch, too */
if(mean <= 0x80000000/512) { /* 512: more or less optimal for both 16- and 24-bit input */
#else
if(mean <= 0x80000000/8) { /* 32-bit arch: use 32-bit math if possible */
#endif
A) How to properly check for 64-bit architectures?
I can check for "defined
2013 Sep 28
4
PATCH: modify/add intrinsics code
The patch does the following:
1. splits lpc_x86intrin.c to lpc_intrin_sse.c and lpc_intrin_sse2.c
2. adds FLAC__lpc_compute_residual_from_qlp_coefficients_intrin_sse2()
function to lpc_intrin_sse2.c
3. adds lpc_intrin_sse41.c with two ..._wide_intrin_sse41() functions
(useful for 24-bit en-/decoding)
4. adds precompute_partition_info_sums_intrin_sse2() / ...ssse3() and
disables
2014 Nov 23
8
New release
lvqcl wrote:
> I have a couple of questions:
>
> 1) Do you plan to release 1.3.1 pre1, pre2 etc or just 1.3.1 w/o any pre-releases?
I had not planned to do a pre-release.
> 2) Do you plan to release any official binaries (flac, metaflac, maybe something else)?
Nor had I planned to release binaries. The source code tarball ends
up here:
https://svn.xiph.org/releases/flac/
I
2015 Jul 04
4
num_comments==0 and comments==0
About the removed assert in this commit: http://git.xiph.org/?p=flac.git;a=commitdiff;h=bc5113007a53be2c621d5eb5f4485eddf947ef37
It looks reasonable that if x.num_comments == 0 then x.comments is also NULL.
Otherwise there's probably a leak somewhere that should be fixed.
I found several places where the situation is reverse:
comments can be 0 but num_comments is not; IMHO it makes sense
2014 Jul 09
3
[PATCH] PPC/Altivec removal
This set of patches removes PPC/Altivec code from FLAC.
I decided to split the patch into 5 parts to make it
more simple:
1) removes FLAC__lpc_restore_signal_asm_ppc_altivec_16*
from lpc.h and stream_decoder.c
2) removes PPC-specific code from cpu.c and cpu.h
3) removes PPC stuff from libFLAC/Makefile.lite and build/*.mk
4) removes as/gas/PPC-specific stuff from configure.ac
and
2017 Jan 14
2
[PATCH 0/5] Allow multiple targets to be disabled
Hugo Beauzée-Luyssen wrote:
>> configure.ac: Allow the programs to be disabled
>> configure.ac: Allow bench to be disabled
>> configure.ac: Don't build any tests when they are explicitely disabled
>> configure.ac: Allow examples to be disabled
>> win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
>>
>> configure.ac
2014 Mar 09
2
PATCH: OS SSE support detection for GCC on Windows
libFLAC for Windows compiled with GCC/MinGW can't detect SSE OS support:
it can't use GCC+Linux detection code and can't use MSVC+Win32 code that
uses SEH (__try/__except). So it doesn't use any SSE/SSE2/etc routines.
One way to fix it is to call configure script with --enable-sse
(flac will probably crash on Win95/WinNT4 but who cares).
Another way is to add a new code just for
2014 Jun 27
4
Lets work towards a new version
Martijn van Beurden wrote:
> Like I reported just before the release of 1.3.0 (mail of Fri,
> 05 Apr 2013 08:25:10 +0200, to be specific), compiling on
> Raspbian (Debian Wheezy, GCC 4.6) returns quite some warnings of
> the type -Wcast-align.
>
> > CC lpc_intrin_sse2.lo
> > CC lpc_intrin_sse41.lo
> > CC md5.lo
> > md5.c: In function
2014 Mar 15
5
PATCH: OS SSE support detection, version 2
Erik de Castro Lopo wrote:
>> part 1: fixes
>>
>> part 2: new code
>>
>> Any comments?
>
> Applied cpu_part2.patch. Thanks!
Thanks. I hope that this code will help to avoid "bug" reports
such as http://sourceforge.net/p/flac/bugs/409/ (it seems that
the author of this report compiled FLAC without --enable-sse option).
OTOH, SSE support is