summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacsbr.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aacsbr: Fix type for index variableVittorio Giovara2015-03-171-3/+3
| | | | | | Prevents unsigned overflow and variable truncation. Bug-Id: CID 603186
* aacsbr: silence message for SBR extension "padding".Reimar Döffinger2015-02-031-1/+3
| | | | | | | | | 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-241-1/+1
| | | | Fixes a wordly warning from clang -Wsometimes-uninitialized.
* aacsbr: change order of operation to prevent out of array readMichael Niedermayer2014-11-041-1/+2
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732250
* aacsbr: treat 1-d arrays as suchVittorio Giovara2014-11-031-2/+8
| | | | | | 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-251-7/+14
|
* aacdec: Set the profile during decodingGian-Carlo Pascutto2013-11-041-0/+1
| | | | | | | 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-131-1/+1
|
* av_log_missing_feature() ---> avpriv_report_missing_feature()Diego Biurrun2013-03-131-1/+1
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-081-0/+1
|
* floatdsp: move vector_fmul_reverse from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-2/+2
| | | | | | 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-221-5/+5
|
* AAC SBR: use AVFloatDSPContext's vector_fmulChristophe Gisquet2012-12-071-5/+6
| | | | | | 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-021-10/+11
| | | | | | | 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-251-4/+2
|
* Improve wording and spelling of av_log_missing_feature messages.Diego Biurrun2012-10-231-2/+2
|
* aacdec: More robust output configuration.Alex Converse2012-04-161-6/+6
| | | | | | 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-231-7/+17
| | | | | | | | 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-231-7/+26
| | | | | | | | 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-071-6/+12
| | | | | This reverts commit ba36f14e5d34bcca6ecf77ba1c7512d1b51a9740. It broke decoding on x86-32 on some systems.
* AAC SBR: group some writes.Christophe Gisquet2012-03-071-12/+6
| | | | 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-011-14/+19
| | | | Signed-off-by: Alex Converse <alex.converse@gmail.com>
* aacsbr: align some arraysMans Rullgard2012-01-281-3/+5
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacsbr: move some simdable loops to function pointersMans Rullgard2012-01-281-135/+48
| | | | | | | | 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-101-3/+4
| | | | | | | | | | | 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-181-3/+8
| | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout.
* aac: add headers needed for log2f()Michael Niedermayer2011-04-261-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fft: remove inline wrappers for function pointersMans Rullgard2011-03-191-4/+4
| | | | | | | 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-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* aac: remove dead SBR input scalingAlex Converse2011-02-141-7/+3
| | | | | | 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-281-10/+3
|
* aacsbr: Eliminate double precision arithmetic.Alex Converse2010-07-131-2/+2
| | | | Originally committed as revision 24227 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move Parametric Stereo related ps* files to aacps*.Alex Converse2010-06-221-1/+1
| | | | 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-201-2/+1
| | | | 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-201-1/+1
| | | | Originally committed as revision 23660 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add HE-AAC v2 support to the AAC decoder.Alex Converse2010-06-191-6/+24
| | | | Originally committed as revision 23647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fold constants and re-indent after last commit.Alex Converse2010-06-081-5/+5
| | | | Originally committed as revision 23520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Base downsampled SBR synthesis filterbank on a single IMDCT.Alex Converse2010-06-081-10/+11
| | | | | | | 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-071-3/+2
| | | | 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-071-28/+16
| | | | | | | | | | 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-051-27/+27
| | | | 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-031-3/+3
| | | | Originally committed as revision 23014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enforce time border monotonicity.Alex Converse2010-04-301-0/+7
| | | | | | 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-301-7/+9
| | | | | | Thanks to Chromium. Originally committed as revision 22999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase size of patch_borders[].Alex Converse2010-04-301-1/+1
| | | | | | 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-301-21/+21
| | | | 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-301-12/+18
| | | | | | 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-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
* Reindent read_sbr_extension.Alex Converse2010-04-081-7/+7
| | | | Originally committed as revision 22820 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud