Statistics
| Branch: | Revision:

ffmpeg / libavcodec / ac3enc.c @ 2be209b2

History | View | Annotate | Download (41.5 KB)

# Date Author Comment
2be209b2 12/14/2010 02:50 PM Justin Ruggles

Change some unsigned types to signed types in AC3EncodeContext

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

7e5a4bf8 12/14/2010 02:50 PM Justin Ruggles

cosmetics: rearrange AC3EncodeContext fields

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

63e8d976 11/21/2010 08:06 PM Stefano Sabatini

Use the new libavcore audio channel API.

This also allows to remove a linking dependency of libavfilter on
libavcodec.

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

5d6e4c16 11/12/2010 11:04 AM Stefano Sabatini

Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
SampleFormat with AVSampleFormat.

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

edac49da 07/24/2010 01:59 PM Reimar Döffinger

Use "const" qualifier for pointers that point to input data of
audio encoders.
This is purely for clarity/documentation purposes.

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

8fc0162a 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.

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

91cc5d37 11/09/2009 09:11 AM Francesco Lavra

Move ff_reverse in libavcodec to av_reverse in libavutil.

Patch by Francesco Lavra, francescolavra interfree it

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

b5f09d31 09/06/2009 09:15 AM Reimar Döffinger

Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.

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

8b44de14 07/30/2009 09:00 PM Diego Biurrun

Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.

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

be1efe59 04/20/2009 12:34 AM Justin Ruggles

ac3enc: log a warning message if the channel layout is not specified at
the time of codec initialization.

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

120b4557 04/19/2009 03:06 PM Justin Ruggles

Add channel layout support to the AC-3 encoder.

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

a7c6e117 04/17/2009 08:39 AM Justin Ruggles

ac3enc: reorder input channels to AC-3 channel order

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

fb53b4a0 04/13/2009 04:59 PM Stefano Sabatini

Rename pbBufPtr() to put_bits_ptr().
The new name is more readable and consistent with the FFmpeg naming
style.

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

b2755007 04/12/2009 08:35 AM Stefano Sabatini

Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.

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

27127202 03/05/2009 10:17 PM Diego Biurrun

Remove duplicated MUL16 macro definition, fixes the warning:
libavcodec/ac3enc.c:119:1: warning: "MUL16" redefined

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

5ef251e5 02/22/2009 01:48 PM Daniel Verkamp

Add missing av_cold in static init/close functions.

Patch by Daniel Verkamp daniel at drv dot nu.

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

2988c93d 09/01/2008 02:33 PM Justin Ruggles

create a separate codec_id for E-AC-3

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

bf09b550 08/20/2008 12:32 AM Justin Ruggles

commit the OKed parts of the E-AC-3 decoder

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

fd76c37f 07/31/2008 10:47 AM Peter Ross

Modify all codecs to report their supported input and output sample format(s).

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

cf2baeb3 06/24/2008 08:01 PM Stefan Gehrer

mark read-only data as const

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

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

162d4fc9 04/27/2008 10:39 PM Stefano Sabatini

Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

77ab59eb 03/20/2008 07:36 PM Diego Biurrun

two more typos spotted by Mike

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

c2f178da 03/20/2008 07:08 PM Diego Biurrun

british_english--;

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

3f5d7bb3 01/21/2008 12:29 AM Diego Biurrun

Remove two unused variables.

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

a4b375c6 01/21/2008 12:28 AM Diego Biurrun

Remove unnecessary forward declaration.

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

99fac080 01/13/2008 08:33 AM Reimar Döffinger

Get rid of fft_rev table, use ff_reverse and a shift.
Reduces maximum allowed value for MDCT_NBITS to 10 (current value is 9)

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

f952b30c 01/12/2008 05:37 PM Reimar Döffinger

Use FFSWAP instead of "manual" swap

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

3abe5fbd 01/04/2008 11:09 PM Aurelien Jacobs

improve CRC API
- don't export any global var
- provide either generated or hardcoded tables

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

02c164c1 12/28/2007 06:13 AM Justin Ruggles

use cutoff frequency to adjust bandwidth in ac3 encoder

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

08ac1e78 12/28/2007 05:32 AM Justin Ruggles

use bps instead of kbps for bitrate

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

c135b520 12/28/2007 03:12 AM Justin Ruggles

Do not give advice for which bitrate to choose.

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

678a7179 12/28/2007 03:05 AM Justin Ruggles

fix typo

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

e59cc205 12/09/2007 03:27 AM Justin Ruggles

cosmetics: rename common ac3 variables

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

de39d62c 11/27/2007 05:32 AM D Richard Felker III

sync message with modern ffmpeg bitrate option syntax.
note: this message should probably be tweaked; i'm not sure that it's
a good idea for lavc to be recommending ffmpeg command line options
as it's a general-purpose library.

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

d04d5bcd 07/19/2007 08:47 AM Panagiotis Issaris

Fix the self tests which are contained in some codecs and are using random().

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

2c124cb6 06/02/2007 01:41 AM Ramiro Polla

Use AV_xx throughout libavcodec

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

d971a5fa 03/22/2007 05:39 AM Justin Ruggles

cosmetics. align and condense.

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

319708da 03/22/2007 05:38 AM Justin Ruggles

simplify

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

bbd16dea 03/22/2007 05:34 AM Justin Ruggles

utilize multi-stage AC-3 bit allocation. speeds up encoding by 25-30%

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

4140a523 03/18/2007 11:18 PM Bill O'Shaughnessy

AC-3 encoded volume is too high. Revert revision 7160:
bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level...

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

4258a0a3 03/09/2007 01:57 PM Justin Ruggles

Remove common code from AC-3 encoder and utilize ac3.c.

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

abfe5a4a 03/09/2007 03:17 AM Justin Ruggles

simplify AC-3 bit allocation

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

3a8bf529 03/08/2007 11:38 PM Justin Ruggles

cosmetics. remove space before semi-colon.

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

3e954443 11/23/2006 10:21 PM Bill O'Shaughnessy

bring AC3 encoder output up to input volume level
patch by Bill O'Shaughnessy % bill P oshaughnessy A gmail.com %
+ reg tests update gruntwork by me
Original thread:
date: Nov 21, 2006 11:36 PM
subject: [Ffmpeg-devel] Simpler Patch to bring AC3 encoder output up to input level...

486497e0 11/14/2006 03:18 AM Måns Rullgård

revert bad checkin

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

be6ed6ff 11/14/2006 03:12 AM Måns Rullgård

move some CFLAGS settings away from config.* writing section

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

1df051e1 09/03/2006 03:59 PM Justin Ruggles

Fix 2 bit allocation bugs. One fix enables using a higher bandwidth code. The other fixes an issue with floorcod=7.

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

6eb1427f 04/28/2006 02:19 PM Benjamin Larsson

Revert bad ac3enc commit, the commited code was bigger and slower.

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

176c142a 04/22/2006 09:21 PM Benjamin Larsson

Patch to generate the ac3 window, based on code by Justin Ruggles.

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

f1f7807a 04/10/2006 12:12 PM Benjamin Larsson

AC3 encoding volume fix, by Justin Ruggles jruggle earthlink net.

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

f760b70f 04/03/2006 12:51 AM Justin Ruggles

AC3: support encoding fractional frame sizes

Patch by Justin Ruggles, jruggle <<at>> earthlink <<dot>> net

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

5b663851 03/26/2006 05:07 PM Benjamin Larsson

Use a more descriptive error message.

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

e027d0a8 03/06/2006 02:53 PM Michael Niedermayer

switch ac3enc to av_crc

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

132041f0 05/05/2005 02:10 PM Justin Ruggles

While adding stereo rematrixing, I came across something that needs to
be fixed even without adding the feature. The output correctly uses 4
dummy values for the rematrixing flags in block-0, but the bit
allocation routine does not take these bits into account. From what I...

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

21d7e2ff 11/25/2004 07:17 PM Jeff Muizelaar

fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)

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

e44cad52 08/02/2004 10:42 AM Jeff Muizelaar

simpler delta decreasing algorithm patch by (Jeff Muizelaar <jrmuizel at student dot cs dot uwaterloo dot ca>)

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

9ab2717a 02/18/2004 07:15 PM Michael Niedermayer

auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)

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

3d0ef6dd 11/03/2003 06:06 PM Michael Niedermayer

av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

9b879566 11/03/2003 01:26 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

ed7debda 10/12/2003 09:25 PM Alex Beregszaszi

removed the obsolete and unused parameters of init_put_bits

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

743739d2 08/20/2003 07:57 AM Michael Niedermayer

AC3 encoding patch ba (Ross Martin <ffmpeg at ross dot interwrx dot com>)

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

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

492cd3a9 12/09/2002 12:03 PM Michael Niedermayer

AVVideoFrame -> AVFrame

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

6107fa87 10/28/2002 12:39 AM Fabrice Bellard

preparing integration of new AC3 decoder

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

6000abfa 05/18/2002 11:03 PM Fabrice Bellard

removed useless header includes - use av memory functions

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

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

17592475 02/12/2002 03:43 PM Michael Niedermayer

alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)

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

8d67072f 09/16/2001 09:52 PM Fabrice Bellard

fixed symetric quantization (better quality!)

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

34763c15 08/15/2001 01:07 PM Fabrice Bellard

renamed log2 to av_log2

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

98be975d 08/06/2001 12:47 AM Fabrice Bellard

types fix

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