aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aaccoder.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * aacenc: reduce the number of loop index variablesYoung Han Lee2011-04-041-8/+8
| | | | | | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-261-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * newdev/master: mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom. Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser and decoder, and vice-versa for the AC-3 encoder. Use audio_service_type to set stream disposition. Add APIchanges entry for audio_service_type. Add audio_service_type field to AVCodecContext for encoding and reporting of the service type in the audio bitstream. configure: in check_ld, place new -l flags before existing ones support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl doc: update build system documentation aacenc: indentation aacenc: fix the side calculation in search_for_ms vp8.c: rename EDGE_* to VP8_EDGE_*. Conflicts: doc/APIchanges libavcodec/avcodec.h libavcodec/version.h libavcodec/vp8.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aacenc: indentationYoung Han Lee2011-03-241-1/+1
| |
| * aacenc: fix the side calculation in search_for_msYoung Han Lee2011-03-241-1/+1
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: cosmetics, indentation, and comment clarificationNathan Caldwell2011-03-161-25/+25
| | | | | Correct bad indentation in aaccoder Clarify and correct comments in 3GPP psymodel, other cosmetics.
* aaccoder: Change FFMAX for allzero flag to OR bit operationYoung Han Lee2011-03-161-1/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacenc: TLS: Save maximum values for each swb in a table.Alex Converse2010-07-241-6/+14
| | | | | | This gives an almost 20% speedup. Originally committed as revision 24484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Remove some commented out code that slipped in.Alex Converse2010-07-241-1/+0
| | | | Originally committed as revision 24483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: TLS: Try to preserve some energy in each non-zero band.Alex Converse2010-07-241-1/+6
| | | | | | | Reduce scalefactors in non-zero bands that underflow by twice as much as those in bands that just fail to hit psy targets. Originally committed as revision 24482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Prevent premature termination of the two loop search.Alex Converse2010-07-241-3/+1
| | | | Originally committed as revision 24476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Favor log2f() and sqrtf() over log2() and sqrt().Alex Converse2010-07-241-7/+7
| | | | Originally committed as revision 24473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Factorize some scalefactor utilities.Alex Converse2010-07-231-4/+14
| | | | Originally committed as revision 24472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Convert if () abort() to assert().Alex Converse2010-07-191-1/+1
| | | | Originally committed as revision 24336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: WhitespaceAlex Converse2010-07-191-13/+13
| | | | Originally committed as revision 24333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Add a missing const.Alex Converse2010-07-161-1/+1
| | | | Originally committed as revision 24274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Template quantize_and_encode_band_cost().Alex Converse2010-07-161-10/+60
| | | | Originally committed as revision 24273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Fill in the estimated codebook for the final computed scalefactor in ↵Alex Converse2010-06-281-1/+3
| | | | | | the TLS. Originally committed as revision 23869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Remove an unnecessary division from the TLS.Alex Converse2010-05-281-2/+2
| | | | Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: whitespaceAlex Converse2010-05-281-17/+17
| | | | Originally committed as revision 23367 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Remove unnecessary variables and scopes in the TLS.Alex Converse2010-05-281-11/+3
| | | | Originally committed as revision 23366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix declaration after statementAlex Converse2010-05-251-1/+2
| | | | Originally committed as revision 23331 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Split find_max_val() from find_min_book() to eliminate duplicate ↵Alex Converse2010-05-251-6/+12
| | | | | | searches. Originally committed as revision 23322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless costly inf checks from the trellis scalefactor search.Alex Converse2010-05-251-15/+0
| | | | Originally committed as revision 23319 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Trellis over scalefactors using an estimated codebook rather than ↵Alex Converse2010-05-251-8/+3
| | | | | | | | every codebook. The minimal codebook to encode the band without clipping is used (as is done in the TLS). Originally committed as revision 23318 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Only trellis over a column of 61 scalefactors (reduced from 256).Alex Converse2010-05-251-26/+52
| | | | | | This still provides plenty of dynamic range, makes every move legal, and greatly reduces the search space. Originally committed as revision 23317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Factor out find_min_book so it can be used by multiple coefficient ↵Alex Converse2010-05-251-17/+22
| | | | | | coders. Originally committed as revision 23316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fmaxf -> FFMAX to fix pre-C99 systemsAlex Converse2010-05-141-1/+1
| | | | Originally committed as revision 23138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Add a rate only trellis for codebook selection for the TLS.Alex Converse2010-05-141-1/+110
| | | | Originally committed as revision 23136 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Use exact values when quantizing, not fuzzy values.Alex Converse2010-05-141-64/+22
| | | | | | This requires us to code small escapes; we can't avoid it. Originally committed as revision 23135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Use an estimated codebook for the TLS (two loop search).Alex Converse2010-05-141-3/+18
| | | | Originally committed as revision 23134 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: store the result of clipping added in r23035Alex Converse2010-05-061-1/+1
| | | | Originally committed as revision 23037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the faac inspired quantizer search make sense for a slightly narrower ↵Alex Converse2010-05-061-7/+9
| | | | | | definition of "make sense." Originally committed as revision 23035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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: Merge quantize_band_cost() with quantize_and_encode_band().Alex Converse2010-03-241-114/+30
| | | | | | If these two functions aren't matched results may be unexpected. Originally committed as revision 22655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Use preprocessor constants for trellis states and stages.Alex Converse2009-09-211-9/+12
| | | | Originally committed as revision 19948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Split paths in the scalefactor selection trellis into a 2-D array.Alex Converse2009-09-211-46/+49
| | | | Originally committed as revision 19947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Replace cbrt() with cbrtf() when the result is destined for floatAlex Converse2009-09-211-2/+2
| | | | | | storage. Originally committed as revision 19946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Multiple distortion by lambda after it's summed and not each individualAlex Converse2009-09-211-12/+12
| | | | | | term before. Originally committed as revision 19945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Reindent after r19943.Alex Converse2009-09-211-10/+10
| | | | Originally committed as revision 19944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacenc: Don't make unnecessary compares to the escape value in tight loops.Alex Converse2009-09-211-4/+4
| | | | Originally committed as revision 19943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-add search_for_ms to the coefficients encoders to silence warningsAlex Converse2009-08-271-4/+4
| | | | Originally committed as revision 19733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Be sure to increment our position in the coefficient array when skipping a zeroAlex Converse2009-07-221-1/+3
| | | | | | band in the twoloop scalefactor search. Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove an unused field from the BandCodingPath struct.Alex Converse2009-07-201-1/+0
| | | | Originally committed as revision 19473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Actually use all the codebooks we are iterating over in the two-loop ↵Alex Converse2009-07-201-1/+1
| | | | | | scalefactor search. Originally committed as revision 19472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix an integer overflow in the AAC encoder.Alex Converse2009-07-201-2/+2
| | | | Originally committed as revision 19470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace pow(x, 0.75) with sqrtf(x * sqrtf(x)) for a 33% speedup.Alex Converse2009-07-171-5/+8
| | | | Originally committed as revision 19459 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dead code removal in the AAC encoder.Alex Converse2009-07-171-5/+0
| | | | Originally committed as revision 19457 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When calculating AAC quantized band cost, don't leave garbage in the bit countAlex Converse2009-07-161-0/+2
| | | | | | for the 0 codebook. Originally committed as revision 19444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.Alex Converse2009-07-091-9/+9
| | | | Originally committed as revision 19391 to svn://svn.ffmpeg.org/ffmpeg/trunk