summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Minor clean up of win_utf8_io.Erik de Castro Lopo2014-09-211-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* include/share/endswap.h : Improvements to fallthrough ENDSWAP_*.Erik de Castro Lopo2014-08-091-2/+2
| | | | | | | According to patch author GCC can optimize expressions like "(a<<8)|(a>>8)", but has problems with "(a<<8)+(a>>8)". Patch-from: lvqcl <lvqcl.mail@gmail.com>
* include/share/endswap.h : Fix default ENDSWAP_16.Erik de Castro Lopo2014-07-131-1/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix bswap16 issue on Debian 6.Ralph Giles2014-07-031-0/+8
| | | | | | | | | | | | Versions of GCC prior to 4.8 didn't provide an implementation of __builtin_bswap16 on x86_64. Detect those versions and supply a fallback implementation. A cleaner fix would be to detect bswap16 independently of bswap32 in configure and handle them separately. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624 Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* include/share/endswap.h : Fix fallback ENDSWAP_16 macro.Erik de Castro Lopo2014-06-301-1/+1
|
* include/share/endswap.h : Add endswapping of 16 bit values.Erik de Castro Lopo2014-06-291-0/+17
| | | | | Also add macros H2LE_16 and H2LE_32, which do host to little-endian swapping of 16 and 32 bit values respectively.
* Underscore fixes.Erik de Castro Lopo2014-06-282-4/+4
| | | | | | | | | * Replace _declspec with __declspec. * Replace __wgetmainargs_ with __wgetmainargs_t and __wgetmainargs with wgetmainargs because identifiers with leading underscores are reserved for the compiler. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Update URLs as nedeed.Erik de Castro Lopo2014-06-282-2/+2
| | | | | | | Sourceforge.net links updated as nedeed with some of them being changed to point to xiph.org/flac. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* replaygain_analysis : Rename float_t -> flac_float_t.Erik de Castro Lopo2014-06-241-5/+5
| | | | | There were a number of reports that float_t clashed with a type defined in Linux system header files.
* replaygain_analysis : Switch to standard C sized integer types.Erik de Castro Lopo2014-06-161-5/+5
|
* replaygain_synthesis.h : Fix FLAC_SHARE__MAX_SUPPORTED_CHANNELS.Erik de Castro Lopo2014-05-111-2/+2
| | | | | | Was previously hard coded as 2 when it should be FLAC__MAX_CHANNELS. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* share/compat.h : Remove duplicate flac_stat definition.Erik de Castro Lopo2014-04-111-5/+0
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix clang compiler warnings.Erik de Castro Lopo2014-04-091-1/+3
| | | | | | | | These were most arising from -Wenum-conversion where an enum of one type was being assigned to a variable on another. Originally reported by Lenny Maiorani <lenny@colorado.edu> on the flac-dev mailing list.
* Fix all instances of '#if HAVE_CONFIG_H'.Erik de Castro Lopo2014-03-243-3/+3
| | | | | | Should be '#ifdef HAVE_CONFIG_H'. Closes: https://sourceforge.net/p/flac/bugs/410/
* Move FLAC__STRCASECMP definition to compat.h.Erik de Castro Lopo2014-03-141-0/+2
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix pragma warning.Erik de Castro Lopo2014-03-141-2/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Add FLAC__SSE_SUPPORTED and FLAC__SSE2_SUPPORTED flags.Erik de Castro Lopo2014-01-301-8/+0
| | | | | | | * Allow compiling using GCC GCC w/o SSE support. * Allow SSE4.1 intrinsic functions to be enabled. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* compat.h : Simplify definition of FLAC__U64L.Erik de Castro Lopo2014-01-071-6/+1
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Adds use of restrict keyword to improve encoding speed.Erik de Castro Lopo2013-10-101-0/+9
| | | | | | | | | | | | | | Restrict works very poorly in Visual Studio (much slower than without) so defined flac_restrict in share/compat.h and use that in: lpc_compute_residual...() lpc_restore_signal...() As a result, FLAC__lpc_compute_residual_from_qlp_coefficients_wide_intrin_sse41() offers no advantage for 64-bit compiles and was removed from x86-64 part of stream_encoder.c Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Improve x86 instrinsic implementation.Erik de Castro Lopo2013-10-041-0/+8
| | | | | | | | | | | | | | * Splits lpc_x86intrin.c to lpc_intrin_sse.c and lpc_intrin_sse2.c * Add FLAC__lpc_compute_residual_from_qlp_coefficients_intrin_sse2() function to lpc_intrin_sse2.c * Add lpc_intrin_sse41.c with two ..._wide_intrin_sse41() functions (useful for 24-bit en-/decoding) * Add precompute_partition_info_sums_intrin_sse2() / ...ssse3() and disables precompute_partition_info_sums_32bit_asm_ia32_(). SSE2 version uses 4 SSE2 instructions instead of 1 SSSE3 instruction PABSD so it is slightly slower. Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Move M_PI definition to include/share/compat.h.Erik de Castro Lopo2013-09-271-1/+4
| | | | Patch-from: lvqcl <lvqcl.mail@gmail.com>
* Fix numerous warnings arising from addition of -Weffc++.Erik de Castro Lopo2013-09-151-0/+12
|
* Move defintion of M_LN2 to include/share/compat.h.Erik de Castro Lopo2013-09-071-0/+3
|
* include/share/compat.h : Remove deinition of restrict.Erik de Castro Lopo2013-09-011-4/+0
| | | | | | | Wasn't being used anywhere in the code and clashes with a symbol in MSVC. Suggested-by: lvqcl <lvqcl.mail@gmail.com>
* Language fix: "difference licenses"Ulrich Klauer2013-05-271-1/+1
| | | | Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Set version to 1.3.0 and update coyprights throughout.Erik de Castro Lopo2013-05-2628-27/+85
|
* Replace dead anchorMartijn van Beurden2013-05-251-1/+1
| | | | | | This fixes a wrong link (dead anchor) in the Doxygen api documentation Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
* Win utf8 treatment for CreateFile.Erik de Castro Lopo2013-04-211-1/+2
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* Fix compiler warnings related to win utf8 stuff.Erik de Castro Lopo2013-04-211-0/+3
|
* include/share/compat.h : Include cleanup.Erik de Castro Lopo2013-04-071-5/+1
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* Fix Windows SIZE_T_MAX definition.Erik de Castro Lopo2013-04-071-1/+5
| | | | | Problem reported by Ulrich Klauer <ulrich@chirlu.de>. Patch from Janne Hyvärinen <cse@sci.fi>.
* Fix a bunch of compiler warnings (mainly MinGW).Erik de Castro Lopo2013-04-071-1/+1
|
* Two small patches for utf8 I/O.Erik de Castro Lopo2013-04-022-2/+2
| | | | Thanks to LRN <lrn1986@gmail.com>.
* include/share/Makefile.am : Add win_utf8_io.h.Erik de Castro Lopo2013-04-021-1/+2
|
* Purge more strcpy/strcat usage.Erik de Castro Lopo2013-04-011-1/+6
|
* Enable utf8 I/O stuff when compiling with MinGW.Erik de Castro Lopo2013-04-012-2/+3
|
* include/share/compat.h : Cleanup.Erik de Castro Lopo2013-03-291-5/+7
|
* Rename _flac_stat to flac_stat_s.Erik de Castro Lopo2013-03-291-2/+2
|
* Rename all 'utf8_io' -> 'win_utf8_io'.Erik de Castro Lopo2013-03-292-3/+3
|
* Huge Windows utf8 I/O patch.Erik de Castro Lopo2013-03-292-0/+72
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* include/share/compat.h : Simplify.Erik de Castro Lopo2013-03-231-6/+4
|
* Add new file include/share/safe_str.h.Erik de Castro Lopo2013-03-192-0/+70
| | | | | New functions safe_strncat() and safe_strncpy() which always return a NUL terminated string and do not overflow the destination buffer.
* include/share/private.h : Add FLAC_API to private functions.Erik de Castro Lopo2013-03-171-5/+5
| | | | Patch from Janne Hyvärinen <cse@sci.fi>.
* Add file src/share/grabbag/snprintf.c to grabbag library.Erik de Castro Lopo2013-03-171-0/+10
| | | | | | Define function flac_snprintf() which has ISO C99 snprintf() behavior even when compiling with Microsoft Visual Studio, by wrapping the MSVS snprintf_s() function.
* Restore code dropped in commit f25b2602dc.Erik de Castro Lopo2013-03-151-0/+5
|
* Fix a couple of Windows 2Gig file size issues.Erik de Castro Lopo2013-03-143-14/+9
| | | | Patch submitted by Janne Hyvärinen <cse@sci.fi>.
* Fix -Wstrict-prototypes -Wmissing-prototypes warnings.Erik de Castro Lopo2013-03-112-0/+46
| | | | | | | The files src/flac/encode.c and src/libFLAC/stream_encoder.c use functions in libFLAC that are marked as 'unpublished debug routines'. This patch moves these functions to new file include/share/private.h and marks them as 'unpublished debug routines'.
* include/share/compat.h : feeko and ftello fixes for MinGW.Erik de Castro Lopo2013-03-101-0/+6
| | | | Patch from LRN <lrn1986@gmail.com>.
* FLAC/ordinals.h : Add <stdint.h> definitions for MSVC < 2010.Erik de Castro Lopo2013-03-091-5/+21
|
* FLAC/ordinals.h : Provide links for <stdint.h> replacements.Erik de Castro Lopo2013-03-081-1/+4
|