Statistics
| Branch: | Revision:

ffmpeg / libavcodec / ac3dec.c @ 60f07fad

History | View | Annotate | Download (36.3 KB)

# Date Author Comment
60f07fad 08/04/2007 01:13 AM Justin Ruggles

dither zero-bit mantissas by default. remove dithering only if it's explicitly turned off.

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

d63f6fea 08/04/2007 12:12 AM Justin Ruggles

simplify coefficient decoding

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

285bf28c 08/04/2007 12:04 AM Justin Ruggles

merge decoding of coupling channel coefficients and regular channel coefficients

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

d7dc7ad0 08/03/2007 11:53 PM Justin Ruggles

split out coupling coefficient reconstruction into a separate function

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

dfd57c36 08/01/2007 01:13 AM Justin Ruggles

align array used in mdct. fixes segfault.

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

8b60bbbf 07/29/2007 12:58 AM Justin Ruggles

simplify stereo rematrixing

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

b6acc57f 07/29/2007 12:35 AM Justin Ruggles

change 2 fields from context to local variables

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

8fbb368d 07/28/2007 08:50 PM Justin Ruggles

BLOCK_SIZE is not used properly, just use numbers instead to avoid confusion

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

7bfd22f2 07/28/2007 07:33 PM Justin Ruggles

remove broken downmixing. will add new implementation later.

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

4611b64e 07/24/2007 02:08 AM Justin Ruggles

simplify snr offset and bit allocation

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

e9a38248 07/24/2007 01:43 AM Justin Ruggles

only use sized data types when necessary

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

8f58a4c9 07/24/2007 01:35 AM Justin Ruggles

set bit allocation parameters directly instead of copying

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

e2cd6686 07/23/2007 10:47 PM Justin Ruggles

use enum value instead of numerical value for acmod

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

bc8edb7e 07/23/2007 10:23 PM Justin Ruggles

use consistent data type for exponents. needs to be int8_t to pass to bit allocation.

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

878c40a1 07/23/2007 10:16 PM Justin Ruggles

change some bit masks to arrays

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

bec37145 07/21/2007 05:03 PM Justin Ruggles

cosmetics: indentation

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

9fc1ab72 07/21/2007 04:28 PM Justin Ruggles

Use shared AC-3 header parsing. Move some initializations to block parsing function.

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

9ef60390 07/21/2007 01:56 PM Justin Ruggles

don't need to synchronize in the decoder. the parser does that already.

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

de34875c 07/21/2007 11:54 AM Justin Ruggles

get rid of an ugly macro

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

614e9b24 07/19/2007 02:21 AM Justin Ruggles

don't need to define ALT_BITSTREAM_READER

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

36266421 07/19/2007 02:16 AM Justin Ruggles

update license header. add copyright for myself. correct and complete the statement about liba52.

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

3bb004fc 07/19/2007 02:09 AM Justin Ruggles

revise comment for exponent decoding function

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

4415076f 07/19/2007 02:04 AM Justin Ruggles

new implementation of exponent decoding

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

d699d383 07/19/2007 12:51 AM Justin Ruggles

cosmetics: indentation

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

0ce66801 07/19/2007 12:50 AM Justin Ruggles

remove portions of bit allocation which are no longer needed since they are shared with the encoder

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

0de73a46 07/15/2007 02:47 PM Justin Ruggles

fix the 256-point MDCT

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

623b7943 07/15/2007 01:53 PM Justin Ruggles

use shared ac3 bit allocation function

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

fa67992d 07/15/2007 01:38 AM Justin Ruggles

no need for the decoder to have the license as a prefix

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

76d357fd 07/15/2007 01:35 AM Justin Ruggles

remove a debugging function and variable, and remove the commented-out code which uses them.

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

a39532b0 07/15/2007 01:32 AM Justin Ruggles

ABS -> FFABS

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

cc2a8443 07/15/2007 01:31 AM Justin Ruggles

move some common values to ac3.h and utilize them

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

cb503702 07/14/2007 11:57 PM Justin Ruggles

use random number generator from libavutil

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

9d109601 07/14/2007 10:17 PM Justin Ruggles

10l to me. I accidentally removed a word.

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

0ec2cc35 07/14/2007 06:53 PM Justin Ruggles

revise license header for simplicity and consistency

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

283614b5 07/14/2007 04:07 PM Justin Ruggles

make ac3dec.c GPL until violations are fixed

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

967d397a 07/14/2007 04:06 PM Justin Ruggles

AC-3 decoder, soc revision 402, Jul 14 13:45:14 2007 UTC by jbr
merge ac3_decoder.h into ac3_decoder.c

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

afb46fc0 07/14/2007 04:05 PM Loren Merritt

AC-3 decoder, soc revision 148, Sep 28 18:38:27 2006 UTC by banan
Enable sse imdct, patch by Loren Merrit.

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

de17eee7 07/14/2007 04:05 PM Justin Ruggles

AC-3 decoder, soc revision 109, Sep 22 22:42:54 2006 UTC by banan
Cosmetics.

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

1ea76064 07/14/2007 04:04 PM Justin Ruggles

AC-3 decoder, soc revision 72, Sep 7 04:20:00 2006 UTC by cloud9
fix short block imdct.

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

c7cfc48f 07/14/2007 04:04 PM Justin Ruggles

AC-3 decoder, soc revision 71, Sep 4 09:47:12 2006 UTC by cloud9
Redundant code cleanup.
Optimized dither generation.
Minor optimization in bit allocation.
Comments.

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

860fe8c9 07/14/2007 04:03 PM Justin Ruggles

AC-3 decoder, soc revision 70, Aug 31 18:04:23 2006 UTC by banan
Cosmetics, white space removal.

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

6dc5d71f 07/14/2007 04:03 PM Justin Ruggles

AC-3 decoder, soc revision 69, Aug 31 07:12:56 2006 UTC by cloud9
Fix the bugs:
1. The quality of output because of incorrect windowing coefficients.
New code for window generation.

2. Dynrng values were reset where dynrng value is present in the first block,...

d7bcc4ad 07/14/2007 04:02 PM Justin Ruggles

AC-3 decoder, soc revision 58, Aug 19 14:20:45 2006 UTC by cloud9
Further optimizations.

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

1d0a6f52 07/14/2007 04:02 PM Justin Ruggles

AC-3 decoder, soc revision 57, Aug 19 12:44:38 2006 UTC by cloud9
Optimization as suggested by Benjamin.

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

032732d4 07/14/2007 04:01 PM Justin Ruggles

AC-3 decoder, soc revision 56, Aug 17 14:21:58 2006 UTC by cloud9
Acknowledgements.

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

e6bca37c 07/14/2007 04:01 PM Justin Ruggles

AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.

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

3ff88ff4 07/14/2007 04:00 PM Justin Ruggles

AC-3 decoder, soc revision 54, Aug 17 09:13:08 2006 UTC by cloud9
Remove unnecessary header files.

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

262d8702 07/14/2007 04:00 PM Justin Ruggles

AC-3 decoder, soc revision 53, Aug 17 08:53:44 2006 UTC by cloud9
Converted the window from double to float.
Now sound produced is as good as sound produced by liba52.

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

67414da7 07/14/2007 03:59 PM Justin Ruggles

AC-3 decoder, soc revision 52, Aug 16 22:45:07 2006 UTC by cloud9
Reset the blksw and dithflag to 0 at the begining of each block.
Otherwise blockswitching propagates over multiple frames even if
block switching is not enabled for that frame.
Also reuse rematflg....

45b0ed13 07/14/2007 03:58 PM Justin Ruggles

AC-3 decoder, soc revision 48, Aug 16 11:27:49 2006 UTC by cloud9
I realized that the bug was not in the imdct routine but in the
get_transform_coeffs.
Fixed it.
Code now uses the ffmpeg's imdct routines.
All the mplayer's ac3 samples are decoded
successfully....

2fbbd087 07/14/2007 03:57 PM Justin Ruggles

AC-3 decoder, soc revision 40, Aug 9 00:10:14 2006 UTC by cloud9
More code cleanup.
Window is now runtime generated.
Fixed the bugs in rematrixing routine and
in Decoding AC3 Bitstreams when coupling is in use.

Still struggling to find out what affects the quality of...

98a27a8a 07/14/2007 03:56 PM Justin Ruggles

AC-3 decoder, soc revision 38, Aug 7 00:03:00 2006 UTC by cloud9
major code cleanup.
correct implementation of imdct.
implemented imdct for block switching also.
when coupling is not in use all the
ac3 streams are decoded correctly.
but when coupling is in use there is a bug....

41277578 07/14/2007 03:51 PM Justin Ruggles

AC-3 decoder, soc revision 34, Jul 18 14:27:54 2006 UTC by cloud9
working decoder
imdct for block switching is to be implemented
various other things to do

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

6bd4660c 07/14/2007 03:49 PM Justin Ruggles

AC-3 decoder, soc revision 33, Jul 17 12:13:40 2006 UTC by cloud9
getting weired output
but its working

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

486637af 07/14/2007 03:48 PM Justin Ruggles

AC-3 decoder, soc revision 32, Jul 17 09:37:32 2006 UTC by cloud9
Latest commit.
There is no error in parsing and or recovering transform coefficients.
Double checked with ac3dec.
Getting consistent results with the bit allocation routine and transform
coefficients....

00585845 07/14/2007 03:42 PM Justin Ruggles

AC-3 decoder, soc revision 31, Jul 14 23:53:28 2006 UTC by cloud9
Removed _ from names
Removed temporary storage for the exponents
Removed ctx->samples
Now each transform coefficients are stored in audio block as an array of transform coefficients for each channel...

1b293437 07/14/2007 03:41 PM Justin Ruggles

AC-3 decoder, soc revision 26, Jul 5 04:55:15 2006 UTC by cloud9
Mersenne Twister
Dynamic Range
Downmixing
IMDCT

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

2aa2c5c4 07/14/2007 03:38 PM Justin Ruggles

AC-3 decoder, soc revision 9, Jun 14 03:52:02 2006 UTC by cloud9
initial commit
NOTE: This and all subsequent ac3dec.c revisions from the soc repository
violate the GPL. This will be fixed after all soc revisions are imported.
This file is not compiled yet, so the license compliance of any builds in...

b7d3bfa6 02/11/2007 12:27 PM Diego Biurrun

Remove unused libac3 AC3 decoding interface.

Originally committed as revision 7923 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

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

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

95ae72b7 08/26/2005 07:05 PM Michael Niedermayer

Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)

Originally committed as revision 4540 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

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

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

license/copyright change

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

076b09e9 04/15/2002 12:52 PM Zdenek Kabelac
  • minor - slightly modified debug message

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

e0d2714a 04/09/2002 04:52 AM Juanjo

- Fixed AC3 decoding for 5:1 AC3 streams. Now when calling av_audio_decode for
AC3 set avcodec_context->channels to the desired number channels, if the
setting is 0 AC3 decoder will set it to the channels found in the
stream.
- Changed ffmpeg to cope with the new "way" of AC3 decoding....

30b68f33 04/08/2002 12:08 PM Zdenek Kabelac
  • encoding of AC3 with more than 2 channels
    by Takashi Iwai <>

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

1a565432 08/13/2001 09:48 PM Fabrice Bellard

win32 fixes

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

d771bcae 07/23/2001 08:58 PM Fabrice Bellard

added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)

Originally committed as revision 9 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