Michael Niedermayer
c0c66dd81d
fix low bitrate mp3
...
Originally committed as revision 6107 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
39b434c6ae
check the validity of the amount of the remaining bytes in the bitsteam before memcpy
...
Originally committed as revision 6105 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
716d73b47d
unused var
...
Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
d6bea62338
make mpa_decode_header() 10 times faster
...
Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
731d0b1aaa
another silly typo which surprisingly neither valgrind nor cmp of the file output cought
...
Originally committed as revision 6100 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
d37bb9d8c1
10l found by valgrind
...
Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
06e7fb82a4
remove duplicated parser, people who pass random gibblets of the bitstream into the decoder will have to pass it through a AVParser like for all other codecs too
...
remove silly internal buffering architecture (removes 1 memcpy() of the bitstream)
mp3on4 and mp3adu untested
Originally committed as revision 6098 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
9bffa9e7af
avoid branch
...
Originally committed as revision 6088 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
14168ddb28
move variable declarations so that their scope is smaller
...
Originally committed as revision 6087 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
bc2d2757bb
move the +400 out of the innermost loop
...
Originally committed as revision 6086 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
9b49f89cdf
avoid reading exponent twice
...
Originally committed as revision 6085 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
1f1d675b68
reduce size of vlc table, thats slightly faster here
...
Originally committed as revision 6084 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
55017f35da
try to avoid l3_unscale() by using a table
...
Originally committed as revision 6083 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
f8347c4167
replace l3_unscale(1, exponents[pos]) by LUT
...
Originally committed as revision 6082 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
7ca1ed0d9c
maybe fixing the segfault on ARM
...
Originally committed as revision 6081 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
92c5cb62b0
10l typo
...
Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
e90a72701e
avoid a few if(x==0) checks in the inner loops
...
Originally committed as revision 6073 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
6430ce0f72
optimize reorder_block() though this function seems to be executed too rarely for this to make much difference
...
Originally committed as revision 6068 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a753e55bb5
simplify
...
Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
a08a502eda
dont copy the whole GetBitContext around
...
Originally committed as revision 6062 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3328ec6331
faster handling of zero coeffs in the low freq decode
...
Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3c693e7743
optimizing high freq decode
...
Originally committed as revision 6060 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
daf4cd9ac3
use memset() instead of slow c loops
...
Originally committed as revision 6059 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c7aa36964e
simplify
...
Originally committed as revision 6058 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Aurelien Jacobs
acba32385b
fix arm asm compilation in mpegaudiodec
...
Originally committed as revision 6057 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
69fd15f871
MUL* for ARM code based on a patch by Siarhei Siamashka
...
untested
Originally committed as revision 6050 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
f617adedc8
replace MULL with asm too, no significnat speedup but its probably better to not take any chances, some versions of gcc will almost certainly mess it up too if they can
...
Originally committed as revision 6049 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
47a0cd7408
replacing MULH by asm for x86
...
about 30% faster imdct36()
Originally committed as revision 6048 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
5ab1972b53
indent preprocessor directives
...
Originally committed as revision 6047 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
355903f5a8
make high precission synth filter 3 times faster on x86
...
Originally committed as revision 6046 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
0bd2483a75
replace MULL by MULH + shift in dct32() (code is very slightly faster, and the compiler should be able to optimize the shift away on 64bit archs)
...
Originally committed as revision 6045 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
eb6447766d
replace a few MULL by MULH
...
Originally committed as revision 6039 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
120aad7fe9
reorder butterflies to reduce memory load/store
...
Originally committed as revision 6037 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
55582f8de3
table contains vlc with 19 bits and 8*2 < 19
...
Originally committed as revision 5658 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Steve L'Homme
267f7edcd1
(f)printf --> av_log conversion
...
taken from a patch by Steve L'Homme
Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Benjamin Larsson
fb9cb0b8c4
get_vlc -> get_vlc2 transition.
...
Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roberto Togni
d9b1c197e5
QDM2 compatible decoder
...
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roberto Togni
e6885654eb
Reverse patch 1.59->1.60, it break mp3 in ffplay and ffmpeg
...
Reversing approved by patch author
Originally committed as revision 4646 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alex Beregszaszi
83254e245c
removed unused CONFIG_AUDIO_NONSHORT
...
Originally committed as revision 4633 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c26ae41db2
adding a few const
...
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
02af2269c0
check for error
...
Originally committed as revision 4183 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
f86f4481d8
cast to uint32 as the table is uint32_t, this also worksaround a gcc or libc bug related to frexp()
...
Originally committed as revision 3997 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Roberto Togni
d2a7718df9
Multichannel mp3 in mp4 support ISO/IEC 14496-3:2001/FPDAM 3 (MP3onMP4)
...
Derived from MPlayer patch by Larry Ruedisueli
Originally committed as revision 3955 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
44f1698a38
merge a few shifts into the dequantization, faster and more accurate, lets hope it doesnt overflow
...
Originally committed as revision 3930 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
125d624610
optimizing imdct12
...
Originally committed as revision 3929 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
ce4a29c066
optimize antialias
...
switch to integer antialias code as default as its faster now
Originally committed as revision 3925 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago