aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec
Commit message (Collapse)AuthorAgeFilesLines
* Fix too large shift exponent in CConcealment_InterpolateBuffer().Fraunhofer IIS FDK2020-01-161-8/+3
| | | | | | Bug: 146938361 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Idb0a4e2c87962e453a991f0a573155ace6e9bf40
* Prevent negation of INT_MIN in CConcealment_ApplyRandomSign().Fraunhofer IIS FDK2020-01-141-2/+2
| | | | | | Bug: 146937601 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I9747110eca96b37604df996ef5e86ea58e2d8932
* Add sanity check for huffman escape sequences in HCR tool.Fraunhofer IIS FDK2019-12-271-1/+5
| | | | | | Bug: 145669389 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iaa624f3040269b5c84883bc3ee38cad7cd88e54d
* Prevent signed integer overflows in ELD filterbank, multE2_DinvF_fdk().Fraunhofer IIS FDK2019-12-271-7/+11
| | | | | | Bug: 145669388 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iaba69b58666833c90e05b296c502ba6509a087a9
* Use one additional bit headroom to prevent signed integer overflow in ↵Fraunhofer IIS FDK2019-12-271-10/+13
| | | | | | | | BuildAdaptiveExcitation(). Bug: 145666984 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I5c881238562c3d9f7cd8d77a8c52f7231126587f
* FDK: USAC CLpd_Reset uses rate constantsJean-Michel Trivi2019-10-211-1/+1
| | | | | | | Use constants defined in libAACdec/src/usacdec_const.h Test: atest DecoderTestXheAac Change-Id: Idf1aa9fefb92b1abf64f50b044b2490b0d31b426
* Prevent signed integer overflows in CLpd_FAC_Mdct2Acelp().Fraunhofer IIS FDK2019-10-181-3/+3
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I348fe4be577ac39f961352902d138a8e07982096
* Prevent signed integer overflows in CLpd_FAC_Acelp2Mdct().Fraunhofer IIS FDK2019-10-181-6/+4
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I216f97b0c75a9076f3963036b098af37b390c5bb
* Fix integer overflow in complex multiplication called from ↵Fraunhofer IIS FDK2019-10-181-10/+10
| | | | | | | | CLpd_FAC_Acelp2Mdct(). Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I7cd234698821cf13b163d323cfd90fdccaaec3c1
* Avoid signed integer overflow in bass_pf_1sf_delay().Fraunhofer IIS FDK2019-10-181-6/+11
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I67bfab71987b31601a4666c8cf292f71bcb6799a
* Prevent signed integer overflow in filtLP().Fraunhofer IIS FDK2019-10-181-3/+4
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I8da32f4794274e2955936ccd42c009485fbe1972
* Suppress integer overflow in lsf_weight_2st() by using 64 bit multiplication ↵Fraunhofer IIS FDK2019-10-151-1/+2
| | | | | | | | with explicit 32 bit integer result. Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I82ce4858688e90abee0c44c4ada34a9a7b08342f
* Prevent signed integer overflow in RE8_PPV().Fraunhofer IIS FDK2019-10-151-5/+5
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ic66ac4742d8e466431c5cf09d02b0d9c7f842df2
* Avoid signed integer overflow in E_LPC_f_lsp_a_conversion().Fraunhofer IIS FDK2019-10-151-8/+6
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: If2110ad246bb5b57ef76c9cd251874ecd4b05109
* Use SATURATE_LEFT_SHIFT in get_lsppol() to prevent integer overflow.Fraunhofer IIS FDK2019-10-151-3/+6
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ie9ec52485a52b076a900b111b035289110c004f8
* Fix integer overflow in E_UTIL_preemph().Fraunhofer IIS FDK2019-10-151-2/+2
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iaaa0630e59d8e83e58b25168a3db04304485429b
* Overcome potential integer overflows in M/S module for complex prediction.Fraunhofer IIS FDK2019-10-151-25/+15
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ic0648203b6a61ebff8bcc93c4b1099e033bc6860
* Avoid integer overflows with pseudoLR in CAacDecoder_DecodeFrame().Fraunhofer IIS FDK2019-10-151-5/+9
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I5c83d72b5c0f4cd1569b648f102c8c549a7a6ac2
* Restrict size of huffman escape sequence to prevent shift with too large ↵Fraunhofer IIS FDK2019-10-141-9/+19
| | | | | | | | exponent in DecodeEscapeSequence(). Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ibcd182e313e9ef480e92619023bf424762b92e23
* Limit too large shift exponent in CJointStereo_ApplyMS()Fraunhofer IIS FDK2019-10-141-16/+14
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ia6ab654654e899368ba207a66eddf22b6b855635
* Fix CpePersistentData memory leak.Fraunhofer IIS FDK2019-10-101-1/+2
| | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iee5c93d61088bbda2328099ad20413adae3fa09b
* Validate aacSampleRate after applying ELD downscale factor. Avoid division ↵Fraunhofer IIS FDK2019-10-101-0/+3
| | | | | | | | by zero. Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I3f7ece9451121d40fab2c97571c695c1ac62bd00
* Fix HE-AAC using MPEG-D DRC with implicit SBR signaling.Fraunhofer IIS FDK2019-05-131-0/+7
| | | | | | Bug: 132641988 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I97c5d3972528092f627153ad3127c7db977a0e5d
* MPEG-4/D DRC unification, loudness norm default at -24Fraunhofer IIS FDK2019-04-253-51/+60
| | | | | | | | | | Unify API parameter of MPEG-4/D DRC and introduce rounding to boost/compress setParam function (FDKdec v3.1.1). Enable Loudness Normalization with target loudness -24 by default (FDKdec v3.1.2). Bug: 131255165 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I249a36b4861d0c8d4a0ed2df4dc1f444576bac6b
* Add support for Album Mode (FDKdec v3.1.0).Fraunhofer IIS FDK2019-04-242-3/+14
| | | | | | Bug: 131255165 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I6b4b176ec497587238537bddd89889341733d4e2
* Trigger config change after a change in SBR activity has been recognized.Fraunhofer IIS FDK2019-03-151-1/+4
| | | | Change-Id: I7715e61fdfcd16dfae6029171888aef9c6f0738e
* Merge "Add QMF analysis band sanity check" am: b30e02cfd3 am: db4a1deb28Jean-Michel Trivi2019-02-011-3/+7
|\ | | | | | | | | | | am: 6ff2d3cf8e Change-Id: I12bc58a0ed01daba0295a4a8feab853b6cc3f0f0
| * Merge "Add QMF analysis band sanity check" am: b30e02cfd3Jean-Michel Trivi2019-02-011-3/+7
| |\ | | | | | | | | | | | | | | | am: db4a1deb28 Change-Id: I0b4b5de02becd0a105e9958231ef2e58000d2cc8
| | * Merge "Add QMF analysis band sanity check"Jean-Michel Trivi2019-02-011-3/+7
| | |\
| | | * Add QMF analysis band sanity checkFraunhofer IIS FDK2019-01-151-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0001e0996a970e91a21bfe8ba051fdba0c06c219
* | | | Merge "Do not support channel configuration change within PCE" am: ↵Jean-Michel Trivi2019-01-151-7/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed56e77acb am: a82589476a am: 7ca245e21e Change-Id: Ic339d07a62ddbecdc6c2efcd5834e5758c90f70f
| * | | Merge "Do not support channel configuration change within PCE" am: ed56e77acbJean-Michel Trivi2019-01-151-7/+1
| |\| | | | | | | | | | | | | | | | | | | | | | am: a82589476a Change-Id: Ie9de704ba4aee6954e9ca82df8c56bc81a482c32
| | * | Merge "Do not support channel configuration change within PCE"Jean-Michel Trivi2019-01-151-7/+1
| | |\ \ | | | |/ | | |/|
| | | * Do not support channel configuration change within PCEFraunhofer IIS FDK2019-01-021-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I94bddad6c88148dd01fff0850e261d98ef691793
* | | | Merge "Add AOT specific number of qmf bands sanity check in ↵Fraunhofer IIS FDK2019-01-031-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SpatialSpecificConfig()" am: bcda185d56 am: 4ab4454f29 am: 6d1247f2e2 Change-Id: I1552fb42268ad2b019b728a8d61561a9028a60ad
| * | | Merge "Add AOT specific number of qmf bands sanity check in ↵Fraunhofer IIS FDK2019-01-031-3/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SpatialSpecificConfig()" am: bcda185d56 am: 4ab4454f29 Change-Id: I0ac3055487ce17f6218e3a0644778a0d8da27119
| | * | Add AOT specific number of qmf bands sanity check in SpatialSpecificConfig()Fraunhofer IIS FDK2019-01-031-3/+3
| | |/ | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ic106c4371c5ac17cb832c7d9db042bcc9d1e7a09
* | | Merge "Prevent energy overflow in acelp calc_period_factor()" am: eb9319afb2 ↵Fraunhofer IIS FDK2018-12-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | am: 196f1ce484 am: b29fd0db45 Change-Id: Ic3acadc0a8a48485b96075882eebfd867cfc709e
| * | Merge "Prevent energy overflow in acelp calc_period_factor()" am: eb9319afb2Fraunhofer IIS FDK2018-12-291-1/+1
| |\| | | | | | | | | | | | | | | | am: 196f1ce484 Change-Id: I4bcc2e7ff145bffb7f11a090e8a048e9c2d11d76
| | * Prevent energy overflow in acelp calc_period_factor()Fraunhofer IIS FDK2018-12-281-1/+1
| | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I5a28fcb09a1b0b0d1f8861642c64185937021154
* | | Merge "Skip CRC check when flushing or concealment is applied" am: ↵Jean-Michel Trivi2018-12-281-3/+5
|\| | | | | | | | | | | | | | | | | | | | | | | 385764944d am: 7c9f1165e7 am: 7b664f0bea Change-Id: I205000a7dd682df83dff15afbd35772ed7c14a0f
| * | Merge "Skip CRC check when flushing or concealment is applied" am: 385764944dJean-Michel Trivi2018-12-281-3/+5
| |\| | | | | | | | | | | | | | | | am: 7c9f1165e7 Change-Id: Ia818ae31a012d18cefad45ea969123d09ff6e31a
| | * Skip CRC check when flushing or concealment is appliedFraunhofer IIS FDK2018-12-271-3/+5
| | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0f340eb0fe7f5ee8778a73fbe27199ba4915de70
* | | Merge changes I97471c4d,I8a8626a8,I1f176740,I10da23ee,I9f9064fb am: ↵Jean-Michel Trivi2018-12-274-9/+21
|\| | | | | | | | | | | | | | | | | | | | | | | ecc96969d7 am: f5512132f3 am: d6459f539c Change-Id: I15844b575d276334d5a960a73cf556f5f82fcff3
| * | Merge changes I97471c4d,I8a8626a8,I1f176740,I10da23ee,I9f9064fb am: ecc96969d7Jean-Michel Trivi2018-12-274-9/+21
| |\| | | | | | | | | | | | | | | | am: f5512132f3 Change-Id: Ie01b6d6c881c4c9a52af921eee9f7ced6fd6880e
| | * Apply sbrDecoder_Parse() function for all explict SBR elementsFraunhofer IIS FDK2018-12-271-8/+12
| | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I97471c4db309307a21100f1d5d88d3c4e24d2670
| | * Add missing break in order to avoid a fallthrough in setConcealMethod()Fraunhofer IIS FDK2018-12-271-0/+1
| | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I10da23ee81cfc48d4a67c25006e6fd48ed985c69
| | * Add FDK_FALLTHROUGH macro to prevent implicit-fallthrough compiler warningsFraunhofer IIS FDK2018-12-273-1/+8
| | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I9f9064fb63ac40e18f245c00b7375b4874f2925b
* | | Merge "Signed Integer Overflows in imlt_block()" am: 55930c28af am: 7d959f2f30Jean-Michel Trivi2018-12-271-6/+10
|\| | | | | | | | | | | | | | | | | am: 83ba3e096a Change-Id: I0805e8ba62c75a16c9df2d2169c79b8ddbd0974e
| * | Merge "Signed Integer Overflows in imlt_block()" am: 55930c28afJean-Michel Trivi2018-12-271-6/+10
| |\| | | | | | | | | | | | | | | | am: 7d959f2f30 Change-Id: Iea1e4a89029523511bef926c98ee23e9bcb216fe