summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
Commit message (Collapse)AuthorAge
* Use "const" qualifier for pointers that point to input data ofReimar Döffinger2010-07-24
| | | | | | | audio encoders. This is purely for clarity/documentation purposes. Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.Justin Ruggles2010-07-11
| | | | | | | Add AVLPCType enum. Deprecate AVCodecContext.use_lpc. Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-10
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: convert VLA to fixed sizeMåns Rullgård2010-06-23
| | | | Originally committed as revision 23744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all remaining occurrences of AVERROR_NOMEM withStefano Sabatini2010-04-03
| | | | | | | | | AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move autocorrelation function from flacenc.c to lpc.c. Also rename theJustin Ruggles2009-10-17
| | | | | | | | corresponding dsputil functions and remove their dependency on the FLAC encoder. Fixes Issue1486. Originally committed as revision 20266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-06
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: write initial blocksize to STREAMINFO header instead of currentJustin Ruggles2009-04-16
| | | | | | blocksize. Originally committed as revision 18532 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip loop iterations which are no-ops due to data1[-lag..-1] being zero.Bobby Bingham2009-04-13
| | | | Originally committed as revision 18498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc : do not #include libavutil/lls.h since lpc code is nowJai Menon2009-04-13
| | | | | | separate. Originally committed as revision 18495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-13
| | | | Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a function to calculate a more accurate estimate for maximum FLACJustin Ruggles2009-03-21
| | | | | | 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-21
| | | | 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-21
| | | | | | decoder Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: remove unneeded variable, 'min_encoded_framesize' and useJustin Ruggles2009-03-21
| | | | | | '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-21
| | | | 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-21
| | | | Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share some constants between the FLAC encoder and FLAC decoderJustin Ruggles2009-03-19
| | | | Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | 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-14
| | | | | | 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-14
| | | | Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write number of samples in FLAC extradata.Justin Ruggles2008-09-14
| | | | | | 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-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-16
| | | | Originally committed as revision 14797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: adjust line breaks and vertical alignmentJustin Ruggles2008-08-16
| | | | Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use limited range of lpc orders when quantizing coefficientsJustin Ruggles2008-08-16
| | | | 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-16
| | | | Originally committed as revision 14790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacenc: Allow more flexible shift calculation in LPC.Ramiro Polla2008-08-16
| | | | 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-31
| | | | 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-13
| | | | | | 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-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | 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-31
| | | | 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-30
| | | | | | 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-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* assert() and note about odd len.Michael Niedermayer2008-02-09
| | | | Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize apply_welch_window()Michael Niedermayer2008-02-09
| | | | Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-04
| | | | | | | - 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-27
| | | | | | 1% faster flac encoding. Originally committed as revision 10865 to svn://svn.ffmpeg.org/ffmpeg/trunk
* div -> mulLoren Merritt2007-10-01
| | | | Originally committed as revision 10630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify lpcLoren Merritt2007-09-30
| | | | Originally committed as revision 10628 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unroll finite differences to avoid swapping registers.Loren Merritt2007-09-29
| | | | | | | 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-29
| | | | | | | 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-29
| | | | | | | 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-29
| | | | Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk