summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.c
Commit message (Collapse)AuthorAge
* Merge remote branch 'qatar/master'Michael Niedermayer2011-04-24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Handle unicode file names on windows rtp: Rename the open/close functions to alloc/free Lowercase all ff* program names. Refer to ff* tools by their lowercase names. NOT Pulled Replace more FFmpeg instances by Libav or ffmpeg. Replace `` by $() syntax in shell scripts. patcheck: Allow overiding grep program(s) through environment variables. NOT Pulled Remove stray libavcore and _g binary references. vorbis: Rename decoder/encoder files to follow general file naming scheme. aacenc: Fix whitespace after last commit. cook: Fix small typo in av_log_ask_for_sample message. aacenc: Finish 3GPP psymodel analysis for non mid/side cases. Remove RDFT dependency from AAC decoder. Add some debug log messages to AAC extradata Fix mov debug (u)int64_t format strings. bswap: use native types for av_bwap16(). doc: FLV muxing is supported. applehttp: Handle AES-128 encrypted streams Add a protocol handler for AES CBC decryption with PKCS7 padding doc: Mention that DragonFly BSD requires __BSD_VISIBLE set Conflicts: ffplay.c ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aacenc: Finish 3GPP psymodel analysis for non mid/side cases.Nathan Caldwell2011-04-23
| | | | | | | | | | | | | | | | | | There is still are still a few sections missing relating to TNS (not present) and mid/side (contains other bugs). Overall this improves quality, and vastly improves rate-control. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-21
|\| | | | | | | Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move sine windows to a separate fileMans Rullgard2011-03-20
| | | | | | | | | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Move ff_kbd_window_init() to a separate fileMans Rullgard2011-03-19
| | | | | | | | | | | | | | This function is not tightly coupled to mdct, and it's in the way of making a fixed-point mdct implementation. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * fft: remove inline wrappers for function pointersMans Rullgard2011-03-19
| | | | | | | | | | | | | | This removes the rather pointless wrappers (one not even inline) for calling the fft_calc and related function pointers. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * aacenc: Fix a segfault in search_for_quantizersNathan Caldwell2011-03-08
| | | | | | | | | | | | | | | | This reverts the removal of scoefs from AACEncContext. It resulted in scoefs being a NULL pointer when search_for_quantizers() is called. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * aacenc: remove the data arraysYoung Han Lee2011-03-07
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * aacenc: fix typo in sync extension constant in 8ae0fa2Janne Grunau2011-01-23
| |
| * Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * aacenc: mark SBR absentAlex Converse2011-01-22
| | | | | | | | | | | | | | Use backwards compatible explicit signalling to denote the absence of SBR. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* | aacenc: Fix a segfault in search_for_quantizersNathan Caldwell2011-03-08
| | | | | | | | | | | | | | | | This reverts the removal of scoefs from AACEncContext. It resulted in scoefs being a NULL pointer when search_for_quantizers() is called. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aacenc: remove the data arraysYoung Han Lee2011-03-08
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 2790d7a9ffbd51f33e5367a31ace5c44c30401a1)
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-28
| | | | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* | aacenc: fix typo in sync extension constant in 8ae0fa2Janne Grunau2011-01-26
| | | | | | | | (cherry picked from commit 2fd9035ddc4f6b9313023891a16b6e9820d958ed)
* | Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-23
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 6eabb0d3ad42b91c1b4c298718c29961f7c1653a)
* | aacenc: mark SBR absentAlex Converse2011-01-23
|/ | | | | | | | Use backwards compatible explicit signalling to denote the absence of SBR. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 8ae0fa243e1f7a03cb5f23e2d9a32d3cc88b4def)
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Remove an unused variable from adjust_frame_information().Alex Converse2010-08-31
| | | | Originally committed as revision 25002 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Don't set s->cur_channel before apply_window_and_mdct().Alex Converse2010-08-31
| | | | | | In general s->cur_channel should be phased out. Originally committed as revision 25001 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Write tag.elem_id early.Alex Converse2010-08-30
| | | | Originally committed as revision 25000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Only apply M/S if common_window is set.Alex Converse2010-08-30
| | | | Originally committed as revision 24998 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Adjust array offsets for the current channel before calling ↵Nathan Caldwell2010-07-19
| | | | | | | | ff_psy_suggest_window(). Patch by Nathan Caldwell <saintdev@gmail.com> Originally committed as revision 24332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Refactor apply_window_and_mdct() so it no longer takes an offset ↵Nathan Caldwell2010-07-19
| | | | | | | | channel. Patch by Nathan Caldwell <saintdev@gmail.com> Originally committed as revision 24331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: whitespaceAlex Converse2010-07-07
| | | | Originally committed as revision 24100 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Enforce LFE bitstream restrictions.Alex Converse2010-07-07
| | | | Originally committed as revision 24099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: replace VLA with fixed sizeMåns Rullgård2010-07-06
| | | | | | | Number of channels is restricted to 6 so the size is acceptable for the stack. Originally committed as revision 24068 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Start the lookahead pointer 1/4 of the way into the first short window.Alex Converse2010-06-28
| | | | | | Short windows are of length 256 and begin at sample 448. Originally committed as revision 23871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Properly pad extradata.Alex Converse2010-06-28
| | | | | | This fixes a valgrind error when encoding to ADTS. Originally committed as revision 23866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aactab: Tablegenify ff_aac_pow2sf_tab.Alex Converse2010-06-23
| | | | Originally committed as revision 23740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cleanup apply_window_and_mdct().Alex Converse2010-06-05
| | | | Originally committed as revision 23495 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark AAC encoder as experimental.Alex Converse2010-05-27
| | | | Originally committed as revision 23350 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Select the TLS (two-loop search) as the default scalefactor coder.Alex Converse2010-05-14
| | | | Originally committed as revision 23133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Fix psy logic.Alex Converse2010-05-14
| | | | | | | Set band info before determining scalefactors. Use the look ahead for windowing decision. Originally committed as revision 23132 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set cur_channel in the AAC encoder context where needed.Alex Converse2010-05-11
| | | | | | | Most coder functions read it. Carting this around in the context may be suboptimal; a refactor should be considered. Originally committed as revision 23094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Error out when too many bits per frame are requested.Alex Converse2010-05-06
| | | | Originally committed as revision 23036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* aacenc: Error when an unsupported profile is requestedAlex Converse2010-04-02
| | | | Originally committed as revision 22784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hard-coded MDCT-related ff_sine_windows tables.Reimar Döffinger2010-01-09
| | | | Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-06
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert unintended portion of last commit. (Setting the default coder toAlex Converse2009-07-22
| | | | | | twoloop.) Originally committed as revision 19481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Be sure to increment our position in the coefficient array when skipping a zeroAlex Converse2009-07-22
| | | | | | band in the twoloop scalefactor search. Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.Alex Converse2009-07-09
| | | | Originally committed as revision 19391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitAlex Converse2009-07-08
| | | | Originally committed as revision 19382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent AAC frame size overflows.Alex Converse2009-07-08
| | | | Originally committed as revision 19381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Refactor windowing and early psy from bitstream writing parts of the AAC ↵Alex Converse2009-07-08
| | | | | | encoder. Originally committed as revision 19380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Turn on AAC rate control.Alex Converse2009-07-08
| | | | Originally committed as revision 19379 to svn://svn.ffmpeg.org/ffmpeg/trunk