summaryrefslogtreecommitdiff
path: root/libavcodec/aacsbr.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aacsbr: Fix type for index variableVittorio Giovara2015-03-17
| | | | | | Prevents unsigned overflow and variable truncation. Bug-Id: CID 603186
* aacsbr: silence message for SBR extension "padding".Reimar Döffinger2015-02-03
| | | | | | | | | Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacsbr: always initialize max_qmf_subbandsVittorio Giovara2014-11-24
| | | | Fixes a wordly warning from clang -Wsometimes-uninitialized.
* aacsbr: change order of operation to prevent out of array readMichael Niedermayer2014-11-04
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732250
* aacsbr: treat 1-d arrays as suchVittorio Giovara2014-11-03
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1238802 / CID 1238793 / CID 1238785 CID 1238808 / CID 1238809
* aacsbr: Add some const casts to silence warnings in ff_sbr_apply()Diego Biurrun2013-11-25
|
* aacdec: Set the profile during decodingGian-Carlo Pascutto2013-11-04
| | | | | | | Previously the profile would not be set if the bitstream needs to be decoded to know the profile. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()Diego Biurrun2013-03-13
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-13
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-08
|
* floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | | Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
* floatdsp: move vector_fmul_add from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
|
* AAC SBR: use AVFloatDSPContext's vector_fmulChristophe Gisquet2012-12-07
| | | | | | Around 5% speedup on the code block using 'vector_fmul_add's. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aac: avoid a memcpy in sbr_qmf_analysisChristophe Gisquet2012-12-02
| | | | | | | Swapping buffer indices allows saving one memcpy that accounts for 1% of the runtime, according to oprofile. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* aacdec: use float planar sample format for outputJustin Ruggles2012-11-25
|
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-23
|
* aacdec: More robust output configuration.Alex Converse2012-04-16
| | | | | | Save the old output configuration (if it has been used successfully) when trying a new configuration. If the new configuration fails to decode, restore the last successful configuration.
* aacsbr: Add a debug check to sbr_mapping.Alex Converse2012-03-23
| | | | | | | | There have been multiple bugs caused by inconsistencies here. Based on an idea from Michael Niedermayer. CC: libav-stable@libav.org
* aac: Reset some state variables when turning SBR offAlex Converse2012-03-23
| | | | | | | | This makes sure the reset flag gets set when SBR gets turned back on and sets control variables for unguided mode back to their defaults. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* Revert "AAC SBR: group some writes."Ronald S. Bultje2012-03-07
| | | | | This reverts commit ba36f14e5d34bcca6ecf77ba1c7512d1b51a9740. It broke decoding on x86-32 on some systems.
* AAC SBR: group some writes.Christophe Gisquet2012-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacsbr: use a swap index for the Y matrix rather than copy buffers.Christophe Gisquet2012-03-01
| | | | Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacsbr: align some arraysMans Rullgard2012-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacsbr: move some simdable loops to function pointersMans Rullgard2012-01-28
| | | | | | | | This prepares for assembly optimisations by moving the most time-consuming loops to functions called through pointers in a new context. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacsbr: prevent out of bounds memcpy().Alex Converse2012-01-10
| | | | | | | | | | | Fixes Libav Bug 195. This doesn't make the code handle sample rate or upsample/downsample change properly but this is still a good sanity check. Based on change by Michael Niedermayer. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbisJustin Ruggles2011-05-18
| | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout.
* aac: add headers needed for log2f()Michael Niedermayer2011-04-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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>
* aac: remove dead SBR input scalingAlex Converse2011-02-14
| | | | | | It has been unused since 9d06d7bce3babb82ed650c13ed13a57f6f626a71 Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* aacsbr: Eliminate double precision arithmetic.Alex Converse2010-07-13
| | | | Originally committed as revision 24227 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move Parametric Stereo related ps* files to aacps*.Alex Converse2010-06-22
| | | | Originally committed as revision 23720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacsbr: Make dk signed. There is no point in it being unsigned.Alex Converse2010-06-20
| | | | Originally committed as revision 23671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: aacsbr: Fix f_master[2] calculation when k2diff == -1.Alex Converse2010-06-20
| | | | Originally committed as revision 23660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add HE-AAC v2 support to the AAC decoder.Alex Converse2010-06-19
| | | | Originally committed as revision 23647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fold constants and re-indent after last commit.Alex Converse2010-06-08
| | | | Originally committed as revision 23520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Base downsampled SBR synthesis filterbank on a single IMDCT.Alex Converse2010-06-08
| | | | | | | Based on Han-Wen Hsu, et al. "Fast Complex Quadrature Mirror Filterbanks for MPEG-4 HE-AAC" Originally committed as revision 23519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Fix types and now unused variables after last commit.Alex Converse2010-06-07
| | | | Originally committed as revision 23517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rewrite the SBR decoder QMF analysis filter on top of the IMDCT instead of ↵Alex Converse2010-06-07
| | | | | | | | | | the RDFT. This is based on a procedure to implement the filterbank on the DCT-IV described in Hsu, H.W. et al. "A Complex Quadrature Mirror Filterbanks for MPEG-4 HE-AAC" http://sites.google.com/site/wenchiehlee1020/Papers/ComplexFB_AES_121paper144.pdf Originally committed as revision 23516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aacdec: Rename avccontext to avctx.Alex Converse2010-06-05
| | | | Originally committed as revision 23488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: The SBR refactor requires the use of 2 independent output X buffers.Alex Converse2010-05-03
| | | | Originally committed as revision 23014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enforce time border monotonicity.Alex Converse2010-04-30
| | | | | | Thanks to Chromium. Originally committed as revision 23000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the SBR patch count check to prevent overwrites.Alex Converse2010-04-30
| | | | | | Thanks to Chromium. Originally committed as revision 22999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase size of patch_borders[].Alex Converse2010-04-30
| | | | | | 6 patches means there can be 7 borders. Found by Chromium. Originally committed as revision 22998 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ReindentAlex Converse2010-04-30
| | | | Originally committed as revision 22996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rewrite ff_sbr_apply in a manner more friendly to PS.Alex Converse2010-04-30
| | | | | | This includes merging ff_sbr_dequant into ff_sbr_apply. Originally committed as revision 22995 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
* Reindent read_sbr_extension.Alex Converse2010-04-08
| | | | Originally committed as revision 22820 to svn://svn.ffmpeg.org/ffmpeg/trunk