summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC (follow)
Commit message (Collapse)AuthorAge
* ffmpeg flac does actually support up to 192k sample rates, and my test file ↵Michael Giacomelli2010-11-17
| | | | | | seems to decode fine, so lets enable it. Note that using 192khz is over 6 times slower then 44.1khz on my test file, so I recommend sticking to more reasonable bitrates. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28609 a1c6a512-1295-4272-9138-f99709370657
* Shorten: tweak some inline asm, use local lables to not cause problems when ↵Nils Wallménius2010-07-20
| | | | | | the function gets inlined, mark it as inline, tweak clobbers and use lea instead of add in one place. Fixes problems when building libffmpegFLAC with newer gcc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27503 a1c6a512-1295-4272-9138-f99709370657
* Remove two unused macros.Nils Wallménius2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27438 a1c6a512-1295-4272-9138-f99709370657
* Properly fix warning by copying the swap16 and swap32 inline functions from ↵Nils Wallménius2010-07-15
| | | | | | system.h to mips/ingenic_jz47xx/system-target.h to replace the defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27433 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix 'comparison between signed and unsigned' warningNils Wallménius2010-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27431 a1c6a512-1295-4272-9138-f99709370657
* Sync codeclib bitstream code with upstream ffmpeg code. Build ↵Nils Wallménius2010-07-15
| | | | | | ffmpeg_bitstream.c as a part of the codec lib. Use this codeclib implementation in libffmpegFLAC. Implement adapted version of the unaligned longword reading optimization for coldfire from the libwma version of this code. Speeds up cook decoding by 2-3% on h300 and flac by 25% on h300, also speeds up flac decoding by 2% on c200 (decoding speed of cook on c200 is unchanged). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27430 a1c6a512-1295-4272-9138-f99709370657
* FS#11335 by me: make ARM assembly functions thumb-friendlyRafaël Carré2010-06-11
| | | | | | | | | | | | | We can't pop into pc on ARMv4t when using thumb: the T bit won't be modified if we are returning to a thumb function Code running on ARMv4t should use the new ldrpc / ldmpc macros instead of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc} No modification on pure ARM builds and ARMv5+ Note: USE_THUMB is currently never defined, no targets can currently be built with -mthumb, see FS#6734 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11381. Use -O2 for ffmpegFLAC on ARM targets. This will give ↵Andree Buschmann2010-06-09
| | | | | | reasonable speed-up (+3% on PP502x) for svn and major speed-up when switching to eabi tool chain (+9% on PP502x). Coldfire was tested to be faster when keeping -O1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26712 a1c6a512-1295-4272-9138-f99709370657
* Revert r25929. Test have shown that the assembler code is more than 50% ↵Jens Arnold2010-05-10
| | | | | | faster than the C code both on ARM7TDMI (tested on PP5002 and PP5022) and on ARM1136JF-S (tested on Gigabeat S). If it is slower on ARM9*, it should be disabled for ARM9 only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25937 a1c6a512-1295-4272-9138-f99709370657
* flac: remove ARM assemblyRafaël Carré2010-05-10
| | | | | | | | Using current gcc it only makes decoding a tiny bit slower Using eabi gcc it makes no speed difference Tested on fuzev1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25929 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 a1c6a512-1295-4272-9138-f99709370657
* Remove all tabs within codec path.Andree Buschmann2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
* Fix red: av_log2 undefined for ARM_ARCH <= 4, missing codeclib.h includes.Andrew Mahone2009-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23869 a1c6a512-1295-4272-9138-f99709370657
* Move av_log2 function and asociated table to the codec lib, remove 3 ↵Nils Wallménius2009-12-05
| | | | | | identical implementations, always have LUT in iram (gives a *tiny* speedup on coldfire), make the clz based function return the same value as the non clz based function for 0 input to be safe (slows down flac ~2% on the gigabeat S) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23858 a1c6a512-1295-4272-9138-f99709370657
* Use clz instruction to calculate integer logarithms, speeds up decoding of ↵Nils Wallménius2009-11-29
| | | | | | one flac 8 sample by 12%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23783 a1c6a512-1295-4272-9138-f99709370657
* Check some previously unchecked return values in the standalone FLAC test ↵Dave Chapman2009-05-08
| | | | | | program - fixes some warnings spotted by Mohamed Tarek El Haddad (mt). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20875 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10111 - Pops and clicks when playing 24 bit FLAC files. This fixes ↵Boris Gjenero2009-04-10
| | | | | | decoding of RICE2 entropy coding. Backported from ffmpeg. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20671 a1c6a512-1295-4272-9138-f99709370657
* Silence warning from 'ar' if the archive had to be created.Jens Arnold2009-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
* Stop hiding errors by redirecting stderr to /dev/null. If we really need to ↵Daniel Stenberg2009-02-23
| | | | | | do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
* Added 'keywords' and 'eol-style' properties.Björn Stenberg2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
* Remove .a files before running ar, to avoid problems with renamed files ↵Björn Stenberg2008-11-20
| | | | | | remaining in the library. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19160 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* Make the standalone FLAC test program work again (compile with make -f ↵Dave Chapman2008-07-19
| | | | | | Makefile.test). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18093 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* from ffmpeg: replace FIR with finite differences.Marcoen Hirschberg2007-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15530 a1c6a512-1295-4272-9138-f99709370657
* from ffmpeg: Add decoding support for variable block size FLAC files using ↵Marcoen Hirschberg2007-11-07
| | | | | | the latest FLAC specification. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15521 a1c6a512-1295-4272-9138-f99709370657
* from ffmpeg: Add support for FLAC's new RICE2 entropy coding method. fixes ↵Marcoen Hirschberg2007-11-07
| | | | | | 24-bit FLAC files encoded with flac-1.2.1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15517 a1c6a512-1295-4272-9138-f99709370657
* Remove some unrequired SIMULATOR checks - the CPU_* family of defines are ↵Dave Chapman2007-09-15
| | | | | | never defined for the sim. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14711 a1c6a512-1295-4272-9138-f99709370657
* Code cleaning - remove some unnecessary defined(SIMULATOR) checksDave Chapman2007-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
* fix previous commit and use just .textMarcoen Hirschberg2006-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11870 a1c6a512-1295-4272-9138-f99709370657
* fix flac on ARM platforms which don't use iramMarcoen Hirschberg2006-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11869 a1c6a512-1295-4272-9138-f99709370657
* Added macros controlling what goes to IRAM on different targets.Tomasz Malesinski2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
* Sample-accurate seeking for FLACAdam Boot2006-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11474 a1c6a512-1295-4272-9138-f99709370657
* Update several codec Makefiles so that the codec libs build again on ↵Magnus Holmgren2006-10-30
| | | | | | Coldfire targets, after the recent move of system-related things to the target tree. (Note to admins: make errors aren't detected on the CVS build page. :)) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11401 a1c6a512-1295-4272-9138-f99709370657
* Next step of Makefile tuning: * Use 'make' internal commands for printing ↵Jens Arnold2006-10-27
| | | | | | messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
* Assembler optimised FLAC 24 bit handling routines for Coldfire based ↵Thom Johansen2006-10-25
| | | | | | players. Decoding speed should be improved drastically. Haven't got so many 24 bit files myself, so let me know if something sounds off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11329 a1c6a512-1295-4272-9138-f99709370657
* Consistent style of 'make' messages. Always use ranlib after ar.Jens Arnold2006-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
* Fix erronous ARM assembler case for order 1 frames in the FLAC codec. Fixes ↵Thom Johansen2006-08-02
| | | | | | FS #5759. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10411 a1c6a512-1295-4272-9138-f99709370657
* Free one register extra so we can block load a bit more.Thom Johansen2006-03-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9069 a1c6a512-1295-4272-9138-f99709370657
* Enable ARM optimisation.Thom Johansen2006-03-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8931 a1c6a512-1295-4272-9138-f99709370657
* ARM assembler optimised LPC decode routine for FLAC (not yet enabled).Thom Johansen2006-03-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8927 a1c6a512-1295-4272-9138-f99709370657
* prevent rockbox from using the wrong includesMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
* Convert to use common internal sample format.Thom Johansen2006-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8681 a1c6a512-1295-4272-9138-f99709370657
* Patch #1426489 - Shorten codec optimisations from Mark ArigoDave Chapman2006-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8615 a1c6a512-1295-4272-9138-f99709370657
* Profiling support, tools and documentation.Brandon Low2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
* Codec makefile cleanup: remove redundant things, don't generate dependency ↵Magnus Holmgren2005-12-05
| | | | | | files when cleaning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8154 a1c6a512-1295-4272-9138-f99709370657
* Shorten updates from Mark Arigo: calculate average bitrate, skip id3v2 tags ↵Dave Chapman2005-11-13
| | | | | | and remove debugf definition from codec git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7840 a1c6a512-1295-4272-9138-f99709370657
* OopsDave Chapman2005-11-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7817 a1c6a512-1295-4272-9138-f99709370657
* Move ff_log2_tab out of header file into its own .c fileDave Chapman2005-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7816 a1c6a512-1295-4272-9138-f99709370657
* Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox ↵Dave Chapman2005-11-11
| | | | | | implementation by Mark Arigo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657