Displaying 20 results from an estimated 10000 matches similar to: "[PATCH 2/5] SIMD: remove extra space"
2017 Feb 18
1
[PATCH 3/5] SIMD: accelerate decoding of some 24-bit FLAC
This patch accelerates decoding of non-Subset 24-bit FLAC files
(where lpc_order > 12).
(The improved function is FLAC__lpc_restore_signal_wide_intrin_sse41().
It requires SSE4.1 and it's used only by 32-bit libFLAC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03_wide_decode.patch
Type: application/octet-stream
Size: 5502 bytes
Desc: not available
2017 Feb 18
4
[PATCH 5/5] SIMD: remove outdated SSE2 code
This patch removes FLAC__lpc_restore_signal_16_intrin_sse2().
It's faster than C code, but not faster than MMX-accelerated
ASM functions. It's also slower than the new SSE4.1 functions
that were added by the previous patch.
So this function wasn't very useful before, and now it's
even less useful. I don't see a reason to keep it.
-------------- next part --------------
A
2017 Feb 18
2
[PATCH 4/5] SIMD: accelerate decoding of 16-bit FLAC
This patch adds 2 new functions,
FLAC__lpc_restore_signal_intrin_sse41() and
FLAC__lpc_restore_signal_16_intrin_sse41().
The decoding speed of Subset-compatible 16-bit FLAC files
is slightly increased on SSE4.1-compatible CPUs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_add_new_intrin_func.patch
Type: application/octet-stream
Size: 9851 bytes
Desc: not
2017 Feb 18
1
[PATCH 1/5] SIMD: add const qualifier
This patch adds const to some variables, to make code slightly easier to
read.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_const.patch
Type: application/octet-stream
Size: 2984 bytes
Desc: not available
URL: <http://lists.xiph.org/pipermail/flac-dev/attachments/20170218/cd780683/attachment.obj>
2014 May 25
2
make dllimport/dllexport attributes work with mingw (and others)
Erik de Castro Lopo wrote:
> Ozkan Sezer wrote:
>
>> My apologies, obviously sent an old testing patch. Correct one is
>> attached (declspec2.diff). Compilation tested using MinGW (gcc-3.4.5,
>> binutils-2.20), and MinGW-w64 (gcc-4.5.4, binutils-2.21.90.)
>
> lvqcl,
>
> Can you please validate this new patch?
It works, but only if i call ./configure without
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
2017 Feb 20
2
[PATCH 5/5] SIMD: remove outdated SSE2 code
Erik de Castro Lopo wrote:
> Sorry, this patch fails to apply on top of the others. Would
> you be able to rebase against what's currently in the tree?
Ok, will do it, but currently xiph git still contains old code.
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
2016 Jan 09
2
Lets do a 1.3.2 release
Janne Hyv?rinen wrote:
> Win_utf8 stuff should not be included in libflac since it's only to be
> used by the flac.exe frontend. It is not needed by other programs nor
> would they benefit from it without doing the extra work of converting
> their ansi filenames and functions to utf-8.
>
>> Version 2 of my patch attached, which fixes the problem for the
>>
2016 Jan 31
3
test_streams dependencies
test_streams currently depends on grabbag and (on Windows) on win_utf8_io libs.
It depends on win_utf8_io only because it uses flac_fopen() function.
It will become to depend on libFLAC when all file functions will be moved
from win_utf8_io to libFLAC. Not a big problem, but it is possible to avoid
this dependency by replacing flac_fopen() with fopen().
test_streams doesn't open/create
2016 Jan 29
2
Lets do a 1.3.2 release
Erik de Castro Lopo wrote:
>> Currently functions in win_utf8_io.c are a compatibility layer for
>> libFLAC. I can't see reasons not to move win_utf8_io.c into libFLAC.
>
> Ok, lets do it.
I just thought that it's more complicated. All *file* functions should
really be moved to libFLAC. But other functions should not, because
libFLAC doesn't use them.
Two of them -
2014 May 25
1
make dllimport/dllexport attributes work with mingw (and others)
Ozkan Sezer wrote:
> flac.exe built with mingw with or without the dllimport/dllexport patch
> always requires libFLAC-8.dll (because flac/Makefile.am has libFLAC.la
> in flac_LDADD and not libFLAC-static.la), and the patch doesn't make it
> any more or any less dependent on any 'foreign' dlls: the patch doesn't
> change the existent situation in that regard. If
2016 Jan 16
2
Lets do a 1.3.2 release
Evan Ramos wrote:
>> So currently libFLAC on _WIN32 does depend on win_utf8_io.
>
> Does my patch fix this issue on your end?
BTW, your patch also changes MSVC solution/projects. What's the
problem with them? I built flac/metaflac/libFLAC libraries
with Visual Studio many times, and haven't noticed anything wrong.
2014 Jul 03
4
[PATCH] two patches of doubtful usefulness
Erik de Castro Lopo wrote:
>> There's the following code in stream_decoder.c:
>
> Like you, I don't see a lot of value in these. I think I'll decline
> these.
FLAC__lpc_restore_signal_asm_ia32_mmx compares 'order' argument with 4
and if it's greater then it jumps to FLAC__lpc_restore_signal_asm_ia32.
I wonder why the same wasn't done for PPC/Altivec:
2016 Dec 03
2
Q: test for CPUID instruction presence
I found that FLAC__cpu_have_cpuid_x86() was removed in the commit
<http://git.xiph.org/?p=flac.git;a=commitdiff;h=fa24613ad94ba8fb8e23bcb9ca80b4548bb617e6>
with the message:
"Remove `FLAC__cpu_have_cpuid_x86` altogether as it wasn't actually
being used but that was difficult to tell because of all the #ifdef
nonsense."
But FLAC__cpu_have_cpuid_x86() actually WAS used
2014 Jan 03
2
PATCH: add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED
Currently the only way to compile FLAC using GCC w/o SSE support
is to disable asm optimizations (see configure.ac):
if test "x$asm_optimisation" = "xyes" ; then
XIPH_ADD_CFLAGS([-msse2])
fi
Also it's not possible to enable SSE4.1 intrinsic functions even
with -msse4.1 option. The patch fixes both problems.
---------------
BTW: I'm not sure that share/compat.h
2015 Oct 01
3
Supporting 32 bit data
Op 01-10-15 om 18:14 schreef lvqcl:
> Currently libFLAC stores residual signal as 32-bit signed int. And there
> are the following comments in stream_encoder.c:
The residual is stored as a Golomb/Rice code. As far as I know,
that is not limited to 32-bit in the format itself, only in the
implementation.
However, there are two residual coding methods now: rice and
rice2. rice2 was added
2015 Dec 29
2
FLAC__BYTES_PER_WORD==8 test results
I wrote a patch that enables FLAC__BYTES_PER_WORD==8 in
libFLAC/bitreader.c and libFLAC\bitwriter.c.
The tests were done on an Intel Nehalem CPU, and flac was compiled
with CGG 4.9.x.
Average speed increase for FLAC__BYTES_PER_WORD change from 4 to 8:
Decoding speed:
ia32 architecture
16-bit .flac: -15%
24-bit .flac: -11%
x86-64 architecture
16-bit .flac:
2016 Jan 09
2
Lets do a 1.3.2 release
lvqcl wrote:
> IIRC libFLAC.a built with "./autogen.sh && ./configure && make"
> contains all functions from win_utf8_io. So I think it's possible
> to change some Makefile.lite or maybe build/*.mk files so that
> there will be no need to add -lwin_utf8_io to -lFLAC.
Version 2 of my patch attached, which fixes the problem for the
Makefile.lite and Visual
2016 Dec 03
1
Questions about libFLAC and SSE/SSE2/...
Erik de Castro Lopo wrote:
> lvqcl.mail wrote:
>> now. Removing OS check will greatly simplify src/libFLAC/cpu.c.
>
> That makes sense.
Should I post a patch that removes OS check and keeps only CPU check?
>> 2.
>> "configure" build system adds -msse2 option by default. It means that
>> x86 (32-bit) library won't work on older, non-SSE2