Statistics
| Branch: | Revision:

ffmpeg / libavcodec / ac3.c @ 4c57cde9

History | View | Annotate | Download (8.47 KB)

# Date Author Comment
4c57cde9 01/26/2011 03:35 PM Justin Ruggles

Add ff_ prefix to ac3_common_init().

Signed-off-by: Mans Rullgard <>

24e3ad30 01/26/2011 03:35 PM Justin Ruggles

ac3: Remove ff_ac3_critical_band_size_tab.

It is only used to generate band_start_tab, which about the same size, at
runtime, so it's simpler just to always hardcode band_start_tab.

Signed-off-by: Mans Rullgard <>

6ed3b504 01/25/2011 03:10 PM Diego Elio Pettenò

Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.

This symbol is only ever used to calculate the non-hardcoded tables, so
only enable it in that case, and static to the source unit that uses it.

Signed-off-by: Mans Rullgard <>

362bfe29 01/25/2011 03:09 PM Diego Elio Pettenò

Remove unused ac3_parametric_bit_allocation function.

Signed-off-by: Mans Rullgard <>

ce571ceb 12/14/2010 02:51 PM Justin Ruggles

Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.c

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

47ae6e79 12/14/2010 02:51 PM Justin Ruggles

define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.

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

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

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

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

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

29b75f0b 01/14/2010 05:50 PM Reimar Döffinger

Change code so it uses 2 adds instead of one FFABS.
About 1% faster ff_ac3_bit_alloc_calc_psd on Intel Atom, overall speedup
not measurable though.
Should have a bigger effect on systems without cmov or with very slow cmov.

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

31f8c109 11/03/2009 03:26 AM Justin Ruggles

Simplify AC-3 critical band end calculation (correctly this time).

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

94593c9b 11/03/2009 02:59 AM Justin Ruggles

Revert r20050, which caused decoding errors with at least one valid AC-3 file.

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

09e03847 09/27/2009 06:16 AM Justin Ruggles

Remove unneeded table lookup.

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

444ce49a 09/27/2009 06:13 AM Justin Ruggles

Cosmetics: Rename some variables to be more descriptive of their use.

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

4e745ea8 09/27/2009 06:10 AM Justin Ruggles

Move some variable declarations to inside of loops.

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

3538a2e4 09/27/2009 06:01 AM Justin Ruggles

Remove unneeded variable.

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

84cb4bc6 09/27/2009 05:48 AM Justin Ruggles

Cosmetics: Rename some variables to be more descriptive of their use.

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

8a547c25 09/27/2009 05:39 AM Justin Ruggles

Remove some unneeded variables.

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

403b1543 09/27/2009 05:36 AM Justin Ruggles

Cosmetics: Rename some variables

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

f805d5fc 09/27/2009 04:57 AM Justin Ruggles

simplify 2 lines into 1 using FFMIN

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

612bdf18 09/27/2009 04:55 AM Justin Ruggles

Cosmetics: Do some basic pretty-printing.

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

bf864383 09/27/2009 04:47 AM Justin Ruggles

Simplify by combining increment with array access.

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

89e6317b 09/27/2009 04:46 AM Justin Ruggles

cosmetics: Rename some variables to be more descriptive of their use. Do some
pretty-printing as well.

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

a7e7417c 09/27/2009 04:41 AM Justin Ruggles

Move 2 variable declarations to inside of loop.

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

20520421 09/27/2009 04:37 AM Justin Ruggles

simplify by combining increment with array access

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

be5830ea 09/27/2009 04:32 AM Justin Ruggles

Remove unneeded variable

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

b05e4195 09/27/2009 04:07 AM Justin Ruggles

Hardcode AC-3 critical band tables when CONFIG_HARDCODED_TABLES is set.

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

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

20e04726 12/08/2008 03:15 AM Justin Ruggles

cosmetics: alignment after last commit

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

72a6244b 12/08/2008 03:13 AM Justin Ruggles

ac3: detect dba errors and prevent writing past end of array

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

14b70628 08/03/2008 04:42 PM Justin Ruggles

cosmetics: make all references to AC-3 capitalized and hyphenated

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

687671f0 06/07/2008 10:29 PM Justin Ruggles

pass bap table to ff_ac3_bit_alloc_calc_bap()

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

31bc6b45 06/03/2008 11:34 PM Justin Ruggles

prevent crash when dba params are invalid

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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

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

5ce21342 12/09/2007 03:23 AM Justin Ruggles

cosmetics: rename ac3 bit allocation variables

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

66ecf18e 12/09/2007 03:21 AM Justin Ruggles

cosmetics: rename ac3 tables

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

7adb10be 04/25/2007 10:12 PM Aurelien Jacobs

move ac3 tables from a .h to a .c

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

98d02051 04/15/2007 12:32 PM Diego Biurrun

Move AC3 header parsing code together with the rest of the AC3 parsing code.

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

b5a05cc2 03/20/2007 02:12 AM Justin Ruggles

fix handling of special case for lowest snroffset. regressions are unaffected.

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

575bf46f 03/18/2007 09:43 PM Justin Ruggles

split ac3_parametric_bit_allocation into 3 separate functions

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

495529f7 03/18/2007 04:53 AM Justin Ruggles

hardcode ff_ac3_frame_sizes table

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

24761399 03/11/2007 04:44 PM Justin Ruggles

move AC-3 header parsing to ac3.c

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

050aa8b9 03/11/2007 02:13 AM Justin Ruggles

remove redundancy in AC-3 parser by using common tables from ac3tab.h

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

96ae7f11 03/09/2007 01:54 PM Justin Ruggles

Create ac3.c which will be used for AC-3 common code.

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