summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Move CreateFile_utf8 function to a more logical placelvqcl2018-08-257-50/+36
|
* Add VSX optimised versions of autocorrelation loopsAnton Blanchard2018-08-204-0/+987
| | | | | | | | Add a POWER8 and POWER9 version of the autocorrelation functions. flac --best is about 3.3x faster on POWER9 with this patch. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* Add runtime detection of POWER8 and POWER9Anton Blanchard2018-08-202-0/+37
| | | | | | | Use getauxval() to determine if we are on POWER8 or POWER9 or newer. POWER8 is represented by version 2.07 and POWER9 by version 3.00. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* Check if compiler supports target attribute on ppc64Amitay Isaacs2018-08-201-0/+20
| | | | | | | Check if the compiler supports __attribute__((target("cpu=power8"))) and __attribute__((target("cpu=power9"))) Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* Add m4 macro to check for C __attribute__ featuresAmitay Isaacs2018-08-201-0/+18
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* configure.ac: Fix FLAC__CPU_PPC on little endian, and add FLAC__CPU_PPC64Anton Blanchard2018-08-201-1/+11
| | | | | | | FLAC__CPU_PPC wasn't catching powerpcle or powerpc64le. Fix that and add a new define for FLAC__CPU_PPC64. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* configure.ac: Add VSX enable/disableAnton Blanchard2018-08-201-0/+13
| | | | | | | We want to create functions with PowerPC VSX instructions, so add a configure check. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* configure.ac: Remove SPE detection codeAnton Blanchard2018-08-201-8/+0
| | | | | | | We don't have any SPE code, so there's no need to detect it at configure time. Signed-off-by: Anton Blanchard <anton@ozlabs.org>
* move CreateFile function outside of libFLAClvqcl2018-08-196-52/+55
|
* windows_unicode_filenames.c: Fix a missing return statementErik de Castro Lopo2018-08-181-0/+2
|
* Improve SIMD detection with Visual Studioevpobr2018-06-131-15/+15
| | | | | | Visual Studio can use GCC (for Android) and Clang (supported toolset) so they must be checked before native compiler. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Add output-prefix testsorbea2018-06-111-0/+37
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix --output-prefix with input-files in sub-directoriesorbea2018-06-111-2/+20
| | | | | | | And make sure to reserve the whole file path when not using --output-prefix. Fixes https://sourceforge.net/p/flac/bugs/463/ Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix miscellaneous typos.luz.paz2018-05-2431-41/+41
| | | | Found via `codespell -q 3`
* .travis.yml: Simplify file structure and add libogg dependency.Robert Kausch2018-05-211-24/+12
|
* Add unit tests for word-wise CRC16 functionsRobert Kausch2018-05-212-0/+93
| | | | Update FLAC__BitReader structure in unit test.
* Fix CRC calculation for small blocks.Robert Kausch2018-05-211-1/+1
|
* Update CRC16 for larger data blocks when decoding.Robert Kausch2018-05-213-28/+75
|
* Implement slicing-by-8 CRC16 algorithm.Robert Kausch2018-05-212-10/+274
|
* .travis.yml: Run --enable-64-bit-words test in separate job.Robert Kausch2018-05-201-8/+30
|
* Add bitreader unit test.Robert Kausch2018-05-208-0/+371
|
* Minor fixes for bitwriter unit test.Robert Kausch2018-05-201-16/+11
|
* Add unit tests for CRC calculation.Robert Kausch2018-05-208-3/+234
|
* Remove unused CRC8 functions.Robert Kausch2018-05-202-18/+3
|
* Fix more GCC warnings about case fall-throughErik de Castro Lopo2018-05-061-9/+9
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* More generic version of MSVC bug workaroundErik de Castro Lopo2018-05-063-6/+6
| | | | | | This is an updtate to the fix for an MSVC 2015 bug in 94a61241b0. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* .travis.yml: Test --enable-64-bit-words as welltopic/travisErik de Castro Lopo2018-05-011-0/+1
|
* replaygain_synthesis.c: Fix compile issue in MSVSJeffrey Espiritu2018-04-091-0/+1
| | | | | | The `inline` keyword is only available in C++ so include `share/compat.h`. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix for missing WINAPI_FAMILY_PARTITIONErik de Castro Lopo2018-02-102-0/+5
| | | | This is macro identifier is not defined, define it to `0`.
* libFLAC : new function returns client_data from decoderChristophe DUMONT2018-01-082-0/+10
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* UWP build fixAlberto Fustinoni2018-01-061-0/+11
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* replaygain_synthesis.c: Fix a cppcheck warningErik de Castro Lopo2017-07-211-13/+18
| | | | | | | Cppcheck was incorrectly warning that `doubletmp` was being used un-initialized. This was due to the fact that it was being used and initialized in a pre-processor macro. Chaning the macro to an inline function stops cppcheck from raising a warning.
* Revert "Add Clang support for FLAC__SSE_TARGET"Erik de Castro Lopo2017-07-191-2/+1
| | | | | | This reverts commit b52fa0ec6dc83ec0f430ff7bd7c80485c45728b0. See: https://github.com/xiph/flac/commit/b52fa0ec6dc83ec0f430ff7bd7c80485c45728b0
* Add Clang support for FLAC__SSE_TARGETC.W. Betts2017-07-151-1/+2
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Correct flattop window coefficientsThomas Zander2017-07-011-1/+1
| | | | | | The window amplitude is now normalised to 1.0. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Fix GCC 7 case fall through warningsErik de Castro Lopo2017-06-265-275/+275
| | | | | GCC 7 warns about `case` statements which are not separated by a `break` statement. This warning can be fixed by adding a comment.
* Update lpc_intrin_sse.cShark642017-06-261-4/+4
| | | | | | Remove redundant assignment before broadcasting into xmm registers. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* FLAC++: Add missing prototype for construct_blockThomas Zander2017-06-231-0/+9
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Silence -finline-functions warningThomas Zander2017-06-232-4/+10
| | | | | | This warning flag is gcc-specfic. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* doc: Add notes about subframe sample sizeRuud van Asseldonk2017-06-121-1/+8
|
* flac: Use WAVEFORMATEXTENSIBLE when bps != (8|16)Erik de Castro Lopo2017-05-273-7/+3
| | | | | | | | When decoding to WAV, the legacy wFormatTag of WAVE_FORMAT_PCM should only be used if the bitwidth is 8 or 16. For all other bitwidths, use WAVEFORMATEXTENSIBLE. Two of the test programs/scripts also needed updating.
* Fix missing SIZE_MAX definition on AndroidErik de Castro Lopo2017-05-033-0/+6
|
* libFLAC: Fix default flac_max/minErik de Castro Lopo2017-04-191-4/+4
| | | | | There were a number of specialized versions, but the default case defined `MAX` and `MIN` instead of `flac_max` and `flac_min`.
* flac: Fix usage messageErik de Castro Lopo2017-04-171-1/+1
| | | | Patch-from: "Michael W. Bombardieri" <mb@ii.net>
* metaflac: Fix a memory leakErik de Castro Lopo2017-04-091-1/+3
|
* stream_decoder.c: Fix a memory leakErik de Castro Lopo2017-04-081-0/+3
| | | | Leak reported by Secunia Research.
* Fix typos in header filesErik de Castro Lopo2017-03-213-3/+3
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* stream_decoder.h: Fix Reference to Non-Existent FunctionsKeegan Drake H.P2017-03-161-2/+1
| | | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Closes: https://github.com/xiph/flac/pull/31
* stream_decoder.h: Fix References to ``stdout''Keegan Drake H.P2017-03-161-2/+2
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* cpu.c: Fix LLVM compileErik de Castro Lopo2017-03-021-1/+1
| | | | | | Switch from `asm` to `__asm__` which is better supported. Patch-from: Olivier Tristan <o.tristan@uvi.net>