Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegaudiodec.c @ 727c236a

History | View | Annotate | Download (89.7 KB)

# Date Author Comment
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

81552334 06/01/2002 02:34 PM Fabrice Bellard

fixed layer1/2 overflow if very loud sound - fixed broken free format decoding to pass all mpeg audio standard decoding tests (please avoid patching the parser without having all test streams available - contact me if necessary)

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

cd4af68a 05/27/2002 04:42 PM Zdenek Kabelac
  • started to cleanup name clashes for onetime compilation

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

fad9f495 05/26/2002 02:41 PM Fabrice Bellard

removed invalid buffer handling

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

ff4ec49e 05/25/2002 10:45 PM Fabrice Bellard

license/copyright change

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

59d3e367 05/21/2002 09:07 PM Fabrice Bellard

fixed incorrect global gain - slightly increased precision of n^(4/3) table

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

747a67fb 05/20/2002 09:15 PM Fabrice Bellard

fixed one overflow problem

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

f9ed4f88 05/18/2002 10:58 PM Fabrice Bellard

put all integer init code to compute n^(4/3) - memory alloc and header fixes

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

4b1f4f23 04/15/2002 02:28 AM Juanjo

- Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.

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

10bb7023 04/07/2002 09:44 PM Juanjo

- Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes....

27a3e2c5 01/10/2002 12:56 AM Michael Niedermayer

another bitstream reader code (faster on intel cpus) - patch by Michael Niedermayer <>

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

92d24f49 10/31/2001 07:40 PM Zdenek Kabelac
  • fixed decoding busy loop

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

2d83f323 10/23/2001 08:20 PM Zdenek Kabelac
  • and finaly avoid deadlock at the end of audio stream

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

de5123dc 10/23/2001 07:58 PM Zdenek Kabelac
  • fixes to avoid crash when broken mp3 header is found

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

c152c983 10/23/2001 07:03 PM Zdenek Kabelac
  • simple fix to avoid memcpy with len < 0

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

239c2f4c 09/15/2001 10:40 PM Fabrice Bellard

added completely new mpeg audio decoder (integer only, free format support, lsf/mpeg25 support, high/low precision support, simpler code)

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

de6d9b64 07/22/2001 02:18 PM Fabrice Bellard

Initial revision

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