summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/ac3enc: Use avpriv_float_dsp_alloc()Michael Niedermayer2014-11-291-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'cc4992aaf3dbb0af88d9727983d75636baf1f8cc'Michael Niedermayer2014-09-261-0/+1
|\ | | | | | | | | | | | | * commit 'cc4992aaf3dbb0af88d9727983d75636baf1f8cc': ac3enc: allow Dolby Pro Logic IIz as the Dolby Surround EX mode. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: allow Dolby Pro Logic IIz as the Dolby Surround EX mode.Tim Walker2014-09-261-0/+1
| | | | | | | | This is actually defined in the A/52 specification.
* | Merge commit '4c2fd4b262347273afe97865ba451a1abde43ae6'Michael Niedermayer2014-09-261-0/+1
|\ \ | |/ | | | | | | | | | | * commit '4c2fd4b262347273afe97865ba451a1abde43ae6': ac3enc: allow Dolby Pro Logic II as a preferred downmix mode. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: allow Dolby Pro Logic II as a preferred downmix mode.Tim Walker2014-09-261-0/+1
| | | | | | | | | | Some encoders already use this value even though it's reserved in the A/52 specification.
* | Merge commit '2d60444331fca1910510038dd3817bea885c2367'Michael Niedermayer2014-07-171-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d60444331fca1910510038dd3817bea885c2367': dsputil: Split motion estimation compare bits off into their own context Conflicts: configure libavcodec/Makefile libavcodec/arm/Makefile libavcodec/dvenc.c libavcodec/error_resilience.c libavcodec/h264.h libavcodec/h264_slice.c libavcodec/me_cmp.c libavcodec/me_cmp.h libavcodec/motion_est.c libavcodec/motion_est_template.c libavcodec/mpeg4videoenc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/x86/Makefile libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-171-2/+2
| |
* | Merge commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2'Michael Niedermayer2014-06-221-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2': dsputil: Split audio operations off into a separate context Conflicts: configure libavcodec/takdec.c libavcodec/x86/Makefile libavcodec/x86/dsputil.asm libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/dsputil_x86.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split audio operations off into a separate contextDiego Biurrun2014-06-221-0/+2
| |
* | Merge commit '27631796c9d1b8146ad4a16e6539ecc08afa7565'Michael Niedermayer2014-06-131-0/+1
|\ \ | |/ | | | | | | | | | | * commit '27631796c9d1b8146ad4a16e6539ecc08afa7565': ac3: Only initialize float_dsp for the float encoder variant Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3: Only initialize float_dsp for the float encoder variantDiego Biurrun2014-06-131-0/+1
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-03-041-1/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * qatar/master: put_bits: Remove unused includes Conflicts: libavcodec/put_bits.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * put_bits: Remove unused includesVittorio Giovara2014-03-041-1/+3
| | | | | | | | | | This requires adding includes to other files that relied on these being included implicitly.
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-301-4/+4
|/
* Add a float DSP framework to libavutilJustin Ruggles2012-06-081-0/+3
| | | | Move vector_fmul() from DSPContext to AVFloatDSPContext.
* ac3enc: update to AVCodec.encode2()Justin Ruggles2012-03-201-4/+4
| | | | Update FATE references due to encoder delay.
* Make channel layout masks unsignedMans Rullgard2011-11-251-1/+1
| | | | | | | | | | It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
* fix AC3ENC_OPT_MODE_ON/OFFJohn Stebbins2011-10-111-2/+2
| | | | | | The values were reversed. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* ac3enc: Add channel coupling support for the fixed-point AC-3 encoder.Justin Ruggles2011-09-051-0/+2
| | | | Update FATE references accordingly.
* ac3enc: add macros for option names to make them more understandable.Justin Ruggles2011-08-111-0/+17
|
* ac3enc: allow new coupling coordinates to be sent independently for eachJustin Ruggles2011-08-091-1/+1
| | | | channel.
* ac3enc: separate exponent bit counting from exponent grouping.Justin Ruggles2011-08-091-0/+2
| | | | | | Move bit counting to the bit allocation function. Move exponent grouping to after bit allocation. This will allow for adjustment of bandwidth parameters during bit allocation without having to do exponent grouping multiple times.
* eac3enc: support writing of basic mixing and info metadataJustin Ruggles2011-07-271-0/+2
|
* eac3enc: use different numbers of blocks per frame to allow higher bitratesJustin Ruggles2011-07-211-0/+2
|
* eac3enc: use frame exponent strategy when applicable.Justin Ruggles2011-07-191-0/+2
| | | | | | | This checks if the set of selected exponent strategies for all blocks in a channel are in the frame exponent strategy table, and if so, writes the table index instead of each strategy. This saves up to 7 bits per channel per frame, so the overall effect on quality is small.
* ac3enc: merge AC3MDCTContext with AC3EncodeContext.Justin Ruggles2011-07-131-14/+8
| | | | | | Since both the fixed-point and floating-point encoders use the FFTContext, this no longer needs to be in a separate context. Also, when a short-transform context is added, the same MDCT window will be used.
* ac3enc: prefer passing AC3EncodeContext rather than AVCodecContextJustin Ruggles2011-07-131-1/+1
|
* ac3enc: clip coefficients after MDCT.Justin Ruggles2011-07-011-0/+4
| | | | | This ensures that any processing between the MDCT and exponent extraction will be using clipped coefficients.
* ac3enc: move ff_ac3_encode_frame() to ac3enc_template.cJustin Ruggles2011-06-271-38/+20
| | | | | This avoids using function pointers for quite a few small functions, most of which just call DSP functions.
* ac3enc: avoid masking output in asym_quant() by using signed values forJustin Ruggles2011-06-221-1/+1
| | | | quantized mantissas.
* ac3enc: fix allocation of floating point samples.Justin Ruggles2011-06-131-0/+5
| | | | sizeof(SampleType) is different for fixed and float encoders.
* ac3enc: remove empty ac3_float function that is never calledJustin Ruggles2011-06-131-1/+0
|
* ac3enc: split templated float vs. fixed functions into a separate file.Justin Ruggles2011-06-131-0/+79
| | | | | Function pointers are used for templated functions instead of needlessly duplicating many functions.
* ac3enc: dynamically allocate AC3EncodeContext fields windowed_samples and mdctJustin Ruggles2011-06-131-3/+2
| | | | | This will allow the same struct to be used for both the fixed and float ac3 encoders.
* ac3enc: use function pointer to choose between AC-3 and E-AC-3 header outputJustin Ruggles2011-06-131-0/+2
| | | | functions.
* Move E-AC-3 encoder functions to a separate eac3enc.c file.Justin Ruggles2011-06-071-0/+214
|
* preparing integration of new AC3 decoderFabrice Bellard2002-10-281-34/+0
| | | | Originally committed as revision 1089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * encoding of AC3 with more than 2 channelsZdenek Kabelac2002-04-081-2/+4
| | | | | | by Takashi Iwai <tiwai@suse.de> Originally committed as revision 383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initial revisionFabrice Bellard2001-07-221-0/+32
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk