Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegaudiodec.c @ bb54f6ab

History | View | Annotate | Download (84.2 KB)

# Date Author Comment
498c544a 10/30/2006 02:19 AM Michael Niedermayer

dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)

Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0d8052b 10/30/2006 01:29 AM Michael Niedermayer

avoid random noise on damaged frames

Originally committed as revision 6836 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

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

e1931c59 10/05/2006 06:15 PM Diego Biurrun

message typo fixes

Originally committed as revision 6564 to svn://svn.ffmpeg.org/ffmpeg/trunk

62bb489b 09/27/2006 07:54 PM Måns Rullgård

add some #ifdef CONFIG_ENCODERS/DECODERS

Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk

004390a6 09/22/2006 03:57 PM Luca Barbato

Use mathops

Originally committed as revision 6323 to svn://svn.ffmpeg.org/ffmpeg/trunk

39e1b5cf 09/19/2006 09:31 AM Michael Niedermayer

use correct rounding functions
this should fix a floating point exception on some systems
lets hope these arent missing anywhere, if so another solution must be found

Originally committed as revision 6290 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e453fc3 09/15/2006 10:28 AM Baptiste Coudurier

remove unused, uninitialized free format frame size

Originally committed as revision 6256 to svn://svn.ffmpeg.org/ffmpeg/trunk

1839e854 09/13/2006 09:39 PM Siarhei Siamashka

Proper armv5te instructions support detection.
patch by Siarhei Siamashka, siarhei dot siamashka gmail com

Originally committed as revision 6246 to svn://svn.ffmpeg.org/ffmpeg/trunk

024da4b1 09/10/2006 10:29 PM Siarhei Siamashka

armv5 optimizations
patch by Siarhei Siamashka siarhei.siamashka at gmail com

Originally committed as revision 6228 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b95bc58 09/08/2006 08:27 AM Michael Niedermayer

print more correct error messges

Originally committed as revision 6194 to svn://svn.ffmpeg.org/ffmpeg/trunk

0e176c3e 09/02/2006 11:10 PM Måns Rullgård

remove redundant declarations

Originally committed as revision 6153 to svn://svn.ffmpeg.org/ffmpeg/trunk

1b4f17fa 08/28/2006 04:15 PM Michael Niedermayer

fix buffer handling

Originally committed as revision 6116 to svn://svn.ffmpeg.org/ffmpeg/trunk

ee3bc9d3 08/27/2006 09:45 PM Michael Niedermayer

overread AV_LOG_ERROR -> AV_LOG_DEBUG

Originally committed as revision 6111 to svn://svn.ffmpeg.org/ffmpeg/trunk

c0c66dd8 08/27/2006 11:42 AM Michael Niedermayer

fix low bitrate mp3

Originally committed as revision 6107 to svn://svn.ffmpeg.org/ffmpeg/trunk

39b434c6 08/27/2006 07:19 AM Michael Niedermayer

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

716d73b4 08/26/2006 08:16 PM Michael Niedermayer

unused var

Originally committed as revision 6104 to svn://svn.ffmpeg.org/ffmpeg/trunk

d6bea623 08/26/2006 06:02 PM Michael Niedermayer

make mpa_decode_header() 10 times faster

Originally committed as revision 6101 to svn://svn.ffmpeg.org/ffmpeg/trunk

731d0b1a 08/26/2006 05:29 PM Michael Niedermayer

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

d37bb9d8 08/26/2006 03:24 PM Michael Niedermayer

10l found by valgrind

Originally committed as revision 6099 to svn://svn.ffmpeg.org/ffmpeg/trunk

06e7fb82 08/26/2006 12:19 PM Michael Niedermayer

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...

9bffa9e7 08/25/2006 02:42 PM Michael Niedermayer

avoid branch

Originally committed as revision 6088 to svn://svn.ffmpeg.org/ffmpeg/trunk

14168ddb 08/25/2006 01:58 PM Michael Niedermayer

move variable declarations so that their scope is smaller

Originally committed as revision 6087 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc2d2757 08/25/2006 01:46 PM Michael Niedermayer

move the +400 out of the innermost loop

Originally committed as revision 6086 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b49f89c 08/25/2006 01:36 PM Michael Niedermayer

avoid reading exponent twice

Originally committed as revision 6085 to svn://svn.ffmpeg.org/ffmpeg/trunk

1f1d675b 08/25/2006 12:26 PM Michael Niedermayer

reduce size of vlc table, thats slightly faster here

Originally committed as revision 6084 to svn://svn.ffmpeg.org/ffmpeg/trunk

55017f35 08/25/2006 11:55 AM Michael Niedermayer

try to avoid l3_unscale() by using a table

Originally committed as revision 6083 to svn://svn.ffmpeg.org/ffmpeg/trunk

f8347c41 08/25/2006 10:00 AM Michael Niedermayer

replace l3_unscale(1, exponents[pos]) by LUT

Originally committed as revision 6082 to svn://svn.ffmpeg.org/ffmpeg/trunk

7ca1ed0d 08/25/2006 02:40 AM Michael Niedermayer

maybe fixing the segfault on ARM

Originally committed as revision 6081 to svn://svn.ffmpeg.org/ffmpeg/trunk

92c5cb62 08/24/2006 12:35 PM Michael Niedermayer

10l typo

Originally committed as revision 6074 to svn://svn.ffmpeg.org/ffmpeg/trunk

e90a7270 08/24/2006 11:18 AM Michael Niedermayer

avoid a few if(x==0) checks in the inner loops

Originally committed as revision 6073 to svn://svn.ffmpeg.org/ffmpeg/trunk

6430ce0f 08/24/2006 08:40 AM Michael Niedermayer

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

a753e55b 08/24/2006 08:39 AM Michael Niedermayer

simplify

Originally committed as revision 6067 to svn://svn.ffmpeg.org/ffmpeg/trunk

a08a502e 08/24/2006 06:57 AM Michael Niedermayer

dont copy the whole GetBitContext around

Originally committed as revision 6062 to svn://svn.ffmpeg.org/ffmpeg/trunk

3328ec63 08/24/2006 01:12 AM Michael Niedermayer

faster handling of zero coeffs in the low freq decode

Originally committed as revision 6061 to svn://svn.ffmpeg.org/ffmpeg/trunk

3c693e77 08/24/2006 01:01 AM Michael Niedermayer

optimizing high freq decode

Originally committed as revision 6060 to svn://svn.ffmpeg.org/ffmpeg/trunk

daf4cd9a 08/24/2006 12:03 AM Michael Niedermayer

use memset() instead of slow c loops

Originally committed as revision 6059 to svn://svn.ffmpeg.org/ffmpeg/trunk

c7aa3696 08/23/2006 11:40 PM Michael Niedermayer

simplify

Originally committed as revision 6058 to svn://svn.ffmpeg.org/ffmpeg/trunk

acba3238 08/23/2006 11:39 PM Aurelien Jacobs

fix arm asm compilation in mpegaudiodec

Originally committed as revision 6057 to svn://svn.ffmpeg.org/ffmpeg/trunk

69fd15f8 08/22/2006 01:25 PM Michael Niedermayer

MUL* for ARM code based on a patch by Siarhei Siamashka
untested

Originally committed as revision 6050 to svn://svn.ffmpeg.org/ffmpeg/trunk

f617aded 08/22/2006 12:07 PM Michael Niedermayer

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

47a0cd74 08/22/2006 11:51 AM Michael Niedermayer

replacing MULH by asm for x86
about 30% faster imdct36()

Originally committed as revision 6048 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ab1972b 08/22/2006 11:16 AM Michael Niedermayer

indent preprocessor directives

Originally committed as revision 6047 to svn://svn.ffmpeg.org/ffmpeg/trunk

355903f5 08/22/2006 11:11 AM Michael Niedermayer

make high precission synth filter 3 times faster on x86

Originally committed as revision 6046 to svn://svn.ffmpeg.org/ffmpeg/trunk

0bd2483a 08/22/2006 06:24 AM Michael Niedermayer

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

eb644776 08/21/2006 12:12 PM Michael Niedermayer

replace a few MULL by MULH

Originally committed as revision 6039 to svn://svn.ffmpeg.org/ffmpeg/trunk

120aad7f 08/20/2006 10:18 PM Michael Niedermayer

reorder butterflies to reduce memory load/store

Originally committed as revision 6037 to svn://svn.ffmpeg.org/ffmpeg/trunk

55582f8d 07/07/2006 10:50 AM Michael Niedermayer

table contains vlc with 19 bits and 8*2 < 19

Originally committed as revision 5658 to svn://svn.ffmpeg.org/ffmpeg/trunk

267f7edc 03/08/2006 11:43 AM Steve L'Homme

(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

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb9cb0b8 01/08/2006 07:31 PM Benjamin Larsson

get_vlc -> get_vlc2 transition.

Originally committed as revision 4828 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9b1c197 10/18/2005 08:16 PM Roberto Togni

QDM2 compatible decoder

Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk

e6885654 10/15/2005 04:29 PM Roberto Togni

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

83254e24 10/12/2005 10:37 PM Alex Beregszaszi

removed unused CONFIG_AUDIO_NONSHORT

Originally committed as revision 4633 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26ae41d 06/01/2005 09:19 PM Michael Niedermayer

adding a few const

Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk

02af2269 05/05/2005 08:05 PM Michael Niedermayer

check for error

Originally committed as revision 4183 to svn://svn.ffmpeg.org/ffmpeg/trunk

f86f4481 03/02/2005 08:46 PM Michael Niedermayer

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

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2a7718d 02/15/2005 08:58 PM Roberto Togni

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

44f1698a 02/03/2005 03:28 AM Michael Niedermayer

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

125d6246 02/02/2005 10:38 PM Michael Niedermayer

optimizing imdct12

Originally committed as revision 3929 to svn://svn.ffmpeg.org/ffmpeg/trunk

ce4a29c0 02/02/2005 01:37 AM Michael Niedermayer

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

d04728bb 02/01/2005 11:43 PM Michael Niedermayer

faster, simpler and more accurate l3_unscale()

Originally committed as revision 3924 to svn://svn.ffmpeg.org/ffmpeg/trunk

711ae726 02/01/2005 09:27 PM Michael Niedermayer

optimizing imdct36()

Originally committed as revision 3923 to svn://svn.ffmpeg.org/ffmpeg/trunk

a3a5f4d6 01/31/2005 12:16 PM Michael Niedermayer

support 32bit output for the mpeg audio decoder

Originally committed as revision 3910 to svn://svn.ffmpeg.org/ffmpeg/trunk

b696d2a6 01/31/2005 04:06 AM Michael Niedermayer

more accurate dequant of near zero coefficients

Originally committed as revision 3909 to svn://svn.ffmpeg.org/ffmpeg/trunk

84af4a7e 01/31/2005 03:14 AM Michael Niedermayer

10l (missing overflow check)

Originally committed as revision 3908 to svn://svn.ffmpeg.org/ffmpeg/trunk

093c6e50 01/30/2005 02:10 PM Michael Niedermayer

10l (didnt test code after cvs up ...)

Originally committed as revision 3904 to svn://svn.ffmpeg.org/ffmpeg/trunk

a7a85899 01/30/2005 02:04 PM Michael Niedermayer

dithering for the mpeg audio decoder

Originally committed as revision 3903 to svn://svn.ffmpeg.org/ffmpeg/trunk

bf1f4da0 01/28/2005 07:54 PM Alex Beregszaszi

exported ff_mpa_synth_filter for upcoming qdm2 decoder

Originally committed as revision 3897 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ede228a 01/15/2005 02:59 PM Roberto Togni

Decode MP3 in ADU format

Originally committed as revision 3839 to svn://svn.ffmpeg.org/ffmpeg/trunk

2fc8ea24 01/12/2005 12:59 AM Michael Niedermayer

dissallow sprintf

Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk

caa336b4 12/29/2004 05:50 PM Michael Niedermayer

common.c -> bitstream.c (and the single non bitstream func -> utils.c)
common.h -> common.h/bitstream.h

Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk

073c2593 11/27/2004 06:10 PM Burkhard Plaum

Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)

Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk

491c4a10 06/26/2004 10:09 AM Alex Beregszaszi

warning fix

Originally committed as revision 3258 to svn://svn.ffmpeg.org/ffmpeg/trunk

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk

8d1f2ba5 03/21/2004 09:58 PM Michael Niedermayer

static allocation rewrite (old code was plain a broken mess)
doesnt call realloc every time
doesnt randomly overwrite memory after after 8-16 calls
doesnt use ugly macro wraper
fewer lines of code

Originally committed as revision 2912 to svn://svn.ffmpeg.org/ffmpeg/trunk

2caa92d9 02/04/2004 03:49 PM Michael Niedermayer

fixes by Gildas Bazin <gbazin at altern dot org>

Originally committed as revision 2745 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac806113 01/26/2004 07:14 PM Michael Niedermayer

10l

Originally committed as revision 2726 to svn://svn.ffmpeg.org/ffmpeg/trunk

84f986c0 01/08/2004 11:51 PM Steven M. Schultz

lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2680 to svn://svn.ffmpeg.org/ffmpeg/trunk

a1e257b2 01/08/2004 09:08 PM Michael Niedermayer

optimize compute_antialias() and add a floating point based alternative (2x faster)

Originally committed as revision 2679 to svn://svn.ffmpeg.org/ffmpeg/trunk

962d6ae6 11/10/2003 03:21 PM Fabrice Bellard

exported mpa_decode_header for new parser API

Originally committed as revision 2491 to svn://svn.ffmpeg.org/ffmpeg/trunk

98ce5991 09/08/2003 10:49 PM Fabrice Bellard

update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)

Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk

80783dc2 09/08/2003 10:04 PM Fabrice Bellard

CODEC_ID_MP3LAME is obsolete

Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk

8c5b5683 08/28/2003 01:38 PM Fabrice Bellard

fixed audio frame buffering problem (should correct problems on some streams) - faster synthesis filter - prototype 'parse_only' support

Originally committed as revision 2173 to svn://svn.ffmpeg.org/ffmpeg/trunk

228ef9dd 08/24/2003 10:01 PM Fabrice Bellard

memmove fixes (Jon Burgess)

Originally committed as revision 2157 to svn://svn.ffmpeg.org/ffmpeg/trunk

a05c8d71 03/18/2003 05:22 PM Michael Niedermayer

merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later)

Originally committed as revision 1690 to svn://svn.ffmpeg.org/ffmpeg/trunk

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk

68f593b4 01/21/2003 05:34 PM Michael Niedermayer

GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops

Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk

ef9f7306 01/19/2003 06:30 PM Måns Rullgård

C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))

Originally committed as revision 1474 to svn://svn.ffmpeg.org/ffmpeg/trunk

855ea723 12/03/2002 07:40 PM Zdenek Kabelac
  • two functions to handle allocation of static data more simple
    av_mallocz_static - called for every static data table
    av_free_static - called when ffmpeg is no longer needed and should free
    all static resources
  • simple usage shown in mpegaudiodec.c...
b587a7cb 11/04/2002 08:57 PM Michael Niedermayer

vc++ sucks, found by ("csharprules" <csharprules at hotmail dot com>)

Originally committed as revision 1160 to svn://svn.ffmpeg.org/ffmpeg/trunk

3625e88a 08/09/2002 10:43 AM Zdenek Kabelac
  • resync without endless loop

Originally committed as revision 849 to svn://svn.ffmpeg.org/ffmpeg/trunk

8db1a1dd 07/09/2002 10:35 AM Michael Niedermayer

new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

Originally committed as revision 725 to svn://svn.ffmpeg.org/ffmpeg/trunk

20695ec9 06/03/2002 11:16 AM Falk Hüffner

Minor warning cleanup.

Originally committed as revision 654 to svn://svn.ffmpeg.org/ffmpeg/trunk