summaryrefslogtreecommitdiffstats
path: root/libavcodec/flacenc.c
Commit message (Collapse)AuthorAgeFilesLines
* add a function to calculate a more accurate estimate for maximum FLACJustin Ruggles2009-03-211-5/+2
| | | | | | frame size and use the function in the FLAC decoder and FLAC encoder Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert accidental unrelated change in last commitJustin Ruggles2009-03-211-1/+3
| | | | Originally committed as revision 18090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share sample rate and blocksize tables between the FLAC encoder and FLACJustin Ruggles2009-03-211-24/+9
| | | | | | decoder Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: remove unneeded variable, 'min_encoded_framesize' and useJustin Ruggles2009-03-211-5/+3
| | | | | | 'min_framesize' instead Originally committed as revision 18087 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: remove unneeded context variable, 'ch_code'Justin Ruggles2009-03-211-3/+1
| | | | Originally committed as revision 18083 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share channel mode constants between the FLAC decoder and FLAC encoderJustin Ruggles2009-03-211-10/+4
| | | | Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share some constants between the FLAC encoder and FLAC decoderJustin Ruggles2009-03-191-8/+3
| | | | Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-1/+1
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write actual min and max frame size to FLAC header. update regression test ↵Justin Ruggles2008-09-141-1/+11
| | | | | | checksum. Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write MD5 checksum to FLAC header. update regression tests.Justin Ruggles2008-09-141-1/+29
| | | | Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write number of samples in FLAC extradata.Justin Ruggles2008-09-141-2/+13
| | | | | | based on a patch by Mathieu Velten (matmaul gmail com). Originally committed as revision 15324 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix and simplify frame size check and reencoding in verbatim modeJustin Ruggles2008-08-171-12/+17
| | | | Originally committed as revision 14811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update my email address to one which does not depend on my service providerJustin Ruggles2008-08-161-1/+1
| | | | Originally committed as revision 14797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: adjust line breaks and vertical alignmentJustin Ruggles2008-08-161-2/+3
| | | | Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use limited range of lpc orders when quantizing coefficientsJustin Ruggles2008-08-161-1/+1
| | | | Originally committed as revision 14794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files.Ramiro Polla2008-08-161-189/+2
| | | | Originally committed as revision 14790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: Allow more flexible shift calculation in LPC.Ramiro Polla2008-08-161-10/+11
| | | | Originally committed as revision 14789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bitstream: move put_sbits() from flacenc.c to bitstream.h and use itRamiro Polla2008-07-131-7/+0
| | | | | | throughout libavcodec. Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-2/+2
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove redundant context variableJustin Ruggles2008-03-311-12/+8
| | | | Originally committed as revision 12642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use 15-bit LPC precision by default. This generally gives better compressionJustin Ruggles2008-03-301-10/+2
| | | | | | results. Also update Ogg regression test. Originally committed as revision 12630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* assert() and note about odd len.Michael Niedermayer2008-02-091-0/+3
| | | | Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize apply_welch_window()Michael Niedermayer2008-02-091-3/+6
| | | | Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-041-2/+4
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove a branch from an inner loop.Loren Merritt2007-10-271-3/+2
| | | | | | 1% faster flac encoding. Originally committed as revision 10865 to svn://svn.ffmpeg.org/ffmpeg/trunk
* div -> mulLoren Merritt2007-10-011-3/+6
| | | | Originally committed as revision 10630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify lpcLoren Merritt2007-09-301-15/+14
| | | | Originally committed as revision 10628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll finite differences to avoid swapping registers.Loren Merritt2007-09-291-9/+12
| | | | | | | 1.5x faster encode_residual_fixed(). overall flac encoding: 3% faster at compression_levels 0-2. Originally committed as revision 10625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* encode_residual_fixed(): replace FIR with finite differences.Loren Merritt2007-09-291-6/+27
| | | | | | | 4x faster order 2, 3.5x order 3, 3x order 4. overall flac encoding: 35% faster at compression_levels 0-2, no effect at higher levels. Originally committed as revision 10624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sse2 version of compute_autocorr().Loren Merritt2007-09-291-5/+10
| | | | | | | 4x faster than c (somehow, even though doubles only allow 2x simd). overal flac encoding: 15-50% faster on core2, 4-11% on k8, 3-13% on p4. Originally committed as revision 10621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* was computing one more autocorrelation coefficient that was actually usedLoren Merritt2007-09-291-4/+7
| | | | Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace brute force find_optimal_param() with a closed-form solution.Loren Merritt2007-09-291-12/+11
| | | | | | | | overall flac encoding: 4-15% faster. output is not identical to the previous algorithm due to occasional rounding errors, but the differece is less than .0005% bitrate. Originally committed as revision 10612 to svn://svn.ffmpeg.org/ffmpeg/trunk
* gcc isn't smart enough to factor out duplicate storesLoren Merritt2007-09-291-2/+3
| | | | Originally committed as revision 10611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 2.5x faster compute_autocorr()Loren Merritt2007-09-281-8/+17
| | | | | | overall flac encoding: 15-50% faster on core2, 8-30% on k8, 2-20% on p4 (depending on compression_level) Originally committed as revision 10606 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending ↵Loren Merritt2007-09-271-2/+83
| | | | | | on lpc order. Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
* oops, potential overflow on really large blocksLoren Merritt2007-09-251-1/+1
| | | | Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize encode_residual_lpc()Loren Merritt2007-09-251-6/+11
| | | | | | 37%/45%/90% faster on core2/k8/p4, making flac encoding overall 15%/17%/40% faster at compression_level>=8 (less at low levels). Originally committed as revision 10585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-251-2/+2
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ASF format parser's broken UTF-16 string handlingZuxy Meng2006-11-061-14/+2
| | | | | | | | | | | 1. Add a PUT_UTF8 macro to common.h; code borrowed from libavcodec/flacenc.c. 2. Make use of the macro in flacenc.c Patch by Zuxy Meng % zuxy P meng A gmail P com % Original thread: Date: Nov 5, 2006 9:56 AM Subject: [Ffmpeg-devel] PUT_UTF8 & asf format enhancement Originally committed as revision 6911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ABS macro to FFABS.Diego Biurrun2006-10-111-4/+4
| | | | Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetic change to adjust alignment.Justin Ruggles2006-07-161-2/+2
| | | | Originally committed as revision 5767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify preset compression levels to utilize log search.Justin Ruggles2006-07-161-2/+2
| | | | Originally committed as revision 5766 to svn://svn.ffmpeg.org/ffmpeg/trunk
* log prediction order search methodMichael Niedermayer2006-07-161-1/+24
| | | | Originally committed as revision 5763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add lpc order search. This creates new compression levels 6 to 12.Justin Ruggles2006-07-161-15/+66
| | | | Originally committed as revision 5762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* calculate all coefficients for several orders during cholesky factorization, ↵Michael Niedermayer2006-07-151-9/+15
| | | | | | the resulting coefficients are not strictly optimal though as there is a small difference in the autocorrelation matrixes which is ignored for the smaller orders Originally committed as revision 5758 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud