76 Commits (31fdd641945dc5cdcfde9ee92329e22c0279981e)

Author SHA1 Message Date
Stefano Sabatini 2874c81cc8 Replace all remaining occurrences of AVERROR_NOMEM with 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Justin Ruggles fde82ca7e4 Move autocorrelation function from flacenc.c to lpc.c. Also rename the 15 years ago
Reimar Döffinger b5f09d31c2 Make sample_fmts and channel_layouts compound literals const to reduce size of 16 years ago
Måns Rullgård 63613fe615 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 16 years ago
Justin Ruggles 0bc08ed941 flacenc: write initial blocksize to STREAMINFO header instead of current 16 years ago
Bobby Bingham 0aed5e9fb8 Skip loop iterations which are no-ops due to data1[-lag..-1] being zero. 16 years ago
Jai Menon 437f884da6 flacenc : do not #include libavutil/lls.h since lpc code is now 16 years ago
Stefano Sabatini 9106a698e7 Rename bitstream.h to get_bits.h. 16 years ago
Justin Ruggles 0fb2182d46 add a function to calculate a more accurate estimate for maximum FLAC 16 years ago
Justin Ruggles f121622114 revert accidental unrelated change in last commit 16 years ago
Justin Ruggles d4df4e5088 share sample rate and blocksize tables between the FLAC encoder and FLAC 16 years ago
Justin Ruggles b9b4fc5e07 flacenc: remove unneeded variable, 'min_encoded_framesize' and use 16 years ago
Justin Ruggles ad52941faa flacenc: remove unneeded context variable, 'ch_code' 16 years ago
Justin Ruggles 3159780b18 share channel mode constants between the FLAC decoder and FLAC encoder 16 years ago
Justin Ruggles 07d16e2ecf share some constants between the FLAC encoder and FLAC decoder 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Justin Ruggles 6682ae42a4 write actual min and max frame size to FLAC header. update regression test checksum. 17 years ago
Justin Ruggles a9f8587e15 write MD5 checksum to FLAC header. update regression tests. 17 years ago
Justin Ruggles e1a12934c5 write number of samples in FLAC extradata. 17 years ago
Justin Ruggles f1f373c220 fix and simplify frame size check and reencoding in verbatim mode 17 years ago
Justin Ruggles 38c1a5c4d9 update my email address to one which does not depend on my service provider 17 years ago
Justin Ruggles 9045f5e72d cosmetics: adjust line breaks and vertical alignment 17 years ago
Justin Ruggles 56c07e2989 use limited range of lpc orders when quantizing coefficients 17 years ago
Ramiro Polla c50da3ad6c flacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files. 17 years ago
Ramiro Polla 51c796d012 flacenc: Allow more flexible shift calculation in LPC. 17 years ago
Peter Ross fd76c37fd9 Modify all codecs to report their supported input and output sample format(s). 17 years ago
Ramiro Polla 6647ab80e3 bitstream: move put_sbits() from flacenc.c to bitstream.h and use it 17 years ago
Stefano Sabatini fe4bf37455 Make AVCodec long_names definition conditional depending on CONFIG_SMALL. 17 years ago
Diego Biurrun 245976da2a Use full path for #includes from another directory. 17 years ago
Stefano Sabatini d5202e4fda Add long names to many AVCodec declarations. 17 years ago
Justin Ruggles 42ceeb5f3c remove redundant context variable 17 years ago
Justin Ruggles fe790f89e8 Use 15-bit LPC precision by default. This generally gives better compression 17 years ago
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec 17 years ago
Michael Niedermayer a4195e68b6 assert() and note about odd len. 17 years ago
Michael Niedermayer fa4ed8c10a optimize apply_welch_window() 17 years ago
Aurelien Jacobs 3abe5fbdc4 improve CRC API 17 years ago
Loren Merritt 90f0344165 remove a branch from an inner loop. 17 years ago
Loren Merritt 286127c5dd div -> mul 17 years ago
Loren Merritt b8de342919 simplify lpc 17 years ago
Loren Merritt bfdd5bc1f1 unroll finite differences to avoid swapping registers. 17 years ago
Loren Merritt a309dce75f encode_residual_fixed(): replace FIR with finite differences. 17 years ago
Loren Merritt 6810b93a81 sse2 version of compute_autocorr(). 17 years ago
Loren Merritt 19b9c7cc66 was computing one more autocorrelation coefficient that was actually used 17 years ago
Loren Merritt 14bd2a9f25 replace brute force find_optimal_param() with a closed-form solution. 17 years ago
Loren Merritt f6215b1b06 gcc isn't smart enough to factor out duplicate stores 17 years ago
Loren Merritt 28e968c4a4 2.5x faster compute_autocorr() 17 years ago
Loren Merritt dc44d4ad64 unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order. 18 years ago
Loren Merritt 0d2caa37c5 oops, potential overflow on really large blocks 18 years ago
Loren Merritt f74471e043 optimize encode_residual_lpc() 18 years ago