Justin Ruggles
0bc08ed941
flacenc: write initial blocksize to STREAMINFO header instead of current
...
blocksize.
Originally committed as revision 18532 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Bobby Bingham
0aed5e9fb8
Skip loop iterations which are no-ops due to data1[-lag..-1] being zero.
...
Originally committed as revision 18498 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
437f884da6
flacenc : do not #include libavutil/lls.h since lpc code is now
...
separate.
Originally committed as revision 18495 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
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
16 years ago
Justin Ruggles
f121622114
revert accidental unrelated change in last commit
...
Originally committed as revision 18090 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d4df4e5088
share sample rate and blocksize tables between the FLAC encoder and FLAC
...
decoder
Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b9b4fc5e07
flacenc: remove unneeded variable, 'min_encoded_framesize' and use
...
'min_framesize' instead
Originally committed as revision 18087 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ad52941faa
flacenc: remove unneeded context variable, 'ch_code'
...
Originally committed as revision 18083 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3159780b18
share channel mode constants between the FLAC decoder and FLAC encoder
...
Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
07d16e2ecf
share some constants between the FLAC encoder and FLAC decoder
...
Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6682ae42a4
write actual min and max frame size to FLAC header. update regression test checksum.
...
Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
a9f8587e15
write MD5 checksum to FLAC header. update regression tests.
...
Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e1a12934c5
write number of samples in FLAC extradata.
...
based on a patch by Mathieu Velten (matmaul gmail com).
Originally committed as revision 15324 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f1f373c220
fix and simplify frame size check and reencoding in verbatim mode
...
Originally committed as revision 14811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
38c1a5c4d9
update my email address to one which does not depend on my service provider
...
Originally committed as revision 14797 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9045f5e72d
cosmetics: adjust line breaks and vertical alignment
...
Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
56c07e2989
use limited range of lpc orders when quantizing coefficients
...
Originally committed as revision 14794 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
c50da3ad6c
flacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files.
...
Originally committed as revision 14790 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
51c796d012
flacenc: Allow more flexible shift calculation in LPC.
...
Originally committed as revision 14789 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
42ceeb5f3c
remove redundant context variable
...
Originally committed as revision 12642 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
fe790f89e8
Use 15-bit LPC precision by default. This generally gives better compression
...
results. Also update Ogg regression test.
Originally committed as revision 12630 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a4195e68b6
assert() and note about odd len.
...
Originally committed as revision 11884 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fa4ed8c10a
optimize apply_welch_window()
...
Originally committed as revision 11881 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
90f0344165
remove a branch from an inner loop.
...
1% faster flac encoding.
Originally committed as revision 10865 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
286127c5dd
div -> mul
...
Originally committed as revision 10630 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b8de342919
simplify lpc
...
Originally committed as revision 10628 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
bfdd5bc1f1
unroll finite differences to avoid swapping registers.
...
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
17 years ago
Loren Merritt
a309dce75f
encode_residual_fixed(): replace FIR with finite differences.
...
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
17 years ago
Loren Merritt
6810b93a81
sse2 version of compute_autocorr().
...
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
17 years ago
Loren Merritt
19b9c7cc66
was computing one more autocorrelation coefficient that was actually used
...
Originally committed as revision 10613 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
14bd2a9f25
replace brute force find_optimal_param() with a closed-form solution.
...
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
17 years ago
Loren Merritt
f6215b1b06
gcc isn't smart enough to factor out duplicate stores
...
Originally committed as revision 10611 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
28e968c4a4
2.5x faster compute_autocorr()
...
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
17 years ago
Loren Merritt
dc44d4ad64
unroll encode_residual_lpc(). speedup varies between 1.2x and 1.8x depending on lpc order.
...
Originally committed as revision 10596 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
0d2caa37c5
oops, potential overflow on really large blocks
...
Originally committed as revision 10587 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
f74471e043
optimize encode_residual_lpc()
...
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
17 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Zuxy Meng
360932f76d
Fix ASF format parser's broken UTF-16 string handling
...
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
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Justin Ruggles
e1bbc0321c
cosmetic change to adjust alignment.
...
Originally committed as revision 5767 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago