aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
* | Avoid undefined shiftsMartin Storsjo2020-06-221-0/+3
| | | | | | | | | | | | Fixes: 23522/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5468272958111744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
* | Merge remote-tracking branch 'aosp/master'Martin Storsjo2019-10-084-8/+27
|\|
| * 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-252-4/+8
| | | | | | | | | | | | | | | | | | | | 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-241-2/+7
| | | | | | | | | | | | 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 "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 "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
| * | | | | 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
| * | | | | | 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
| * | | | | | | 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
| * | | | | | | | 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
| * | | | | | | | | Merge "Unsigned Integer Overflow in InitSegmentBitfield()" am: 4899e80a17 ↵Jean-Michel Trivi2018-12-261-1/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ca0d8e7461 am: cafc42b5eb Change-Id: Icd717282e22dfb01b678836f0a50eb9b56db9f0f
| | * | | | | | | | Merge "Unsigned Integer Overflow in InitSegmentBitfield()" am: 4899e80a17Jean-Michel Trivi2018-12-261-1/+4
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ca0d8e7461 Change-Id: Ia4e0396a4df14d667f80aded10631815b715e2c2
| * | | | | | | | | | Merge "Unsigned Integer Overflow in ↵Jean-Michel Trivi2018-12-261-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAacDecoder_PreRollExtensionPayloadParse()" am: a5cf260931 am: 466adf2a1b am: d07eeb453f Change-Id: Id09444e5b08161f79053c09e42d686551a2b05e5
| | * | | | | | | | | Merge "Unsigned Integer Overflow in ↵Jean-Michel Trivi2018-12-261-1/+1
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAacDecoder_PreRollExtensionPayloadParse()" am: a5cf260931 am: 466adf2a1b Change-Id: I354fe7ee0401e1e154ae42ce9a80672db8a84d08
| * | | | | | | | | | | Merge "Prevent overflow in usac filters" am: 4053380094 am: eaad782db3Jean-Michel Trivi2018-12-263-10/+9
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 18d4dcf255 Change-Id: Id1736dd6af5b656c158896f6d9fcb117231351a4
| | * | | | | | | | | | Merge "Prevent overflow in usac filters" am: 4053380094Jean-Michel Trivi2018-12-263-10/+9
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: eaad782db3 Change-Id: I86ee269643f3247138c71ffe88a2a589bfce0357
| * | | | | | | | | | | | Merge "Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()" am: 3bb4fe68a6 am: ↵Jean-Michel Trivi2018-12-261-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8879fb1fd6 am: 350e4ffea2 Change-Id: I5f6e1d37824f13d791edd8433aac9c591bbfc399
| | * | | | | | | | | | | Merge "Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()" am: 3bb4fe68a6Jean-Michel Trivi2018-12-261-2/+2
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8879fb1fd6 Change-Id: I955c6e7d250ac52986aeb0879dad976dd62d3fab
| * | | | | | | | | | | | | Merge "Signed Integer Overflow in E_UTIL_preemph()" am: aea2558c50 am: ↵Jean-Michel Trivi2018-12-264-3/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b471c2c215 am: f69ca4c614 Change-Id: I78ee4dccc649e0ff2ee4006212795d89c2f8233c
| | * | | | | | | | | | | | Merge "Signed Integer Overflow in E_UTIL_preemph()" am: aea2558c50Jean-Michel Trivi2018-12-264-3/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: b471c2c215 Change-Id: Ib6f14a5f7b33ffb8bce1a9b37531c0872eeceb2e
| * | | | | | | | | | | | | | Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()" am: ↵Fraunhofer IIS FDK2018-11-291-3/+5
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2be744af2 am: 6e4fe2e06b am: 69e052a1af Change-Id: I17eca04703b565d22659b6a3f8d08e16a818aedc
| | * | | | | | | | | | | | | Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()" am: d2be744af2Fraunhofer IIS FDK2018-11-291-3/+5
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6e4fe2e06b Change-Id: Ie017463a9aad54c9b02672c0aa4d1e7f06847427
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "Add sanity check for allowed LPD sampling rate." am: b8a384b0cdFraunhofer IIS FDK2018-11-281-2/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9cfaf0cd45 Change-Id: I0c9952fe8b16ae2e8d4cb80b30d63ba00e172b09
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "Unsigned Integer Overflow in aacDecoder_DecodeFrame()." am: 0a1e3b6ef9Fraunhofer IIS FDK2018-11-271-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c580437d7c Change-Id: Id8f177954c585644d0535a44560fa3923780a764
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "Fix huffman decoder escape sequence length limitation." am: a4d6ca7b07Fraunhofer IIS FDK2018-11-051-5/+7
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ac56cddd1f Change-Id: I422463f26359bef0ad3220c9324ceb26fcd1da14
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "Fix call to function sbrDecoder_Header() through pointer to incorrect ↵Jean-Michel Trivi2018-10-121-1/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function type." am: fb65c0c24b am: 40676e7cba Change-Id: I07d03570c8173eff319c102ce73c51025afdd056
| * | | | | | | | | | | | | | | | | | | Merge "Unify audio element loop abort criterion in ER syntax" into pi-dev ↵Jean-Michel Trivi2018-10-011-7/+4
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 28234107a7 am: 4a6124d231 Change-Id: I12aa62bfe5cc0c2900e6eb0e5427dba5f8a40068
| * | | | | | | | | | | | | | | | | | | Always check whether given channel config is supported.Fraunhofer IIS FDK2018-09-281-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112660981 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I169161dd31bc624f2cab6be2b4c6518946ed32ba
| * | | | | | | | | | | | | | | | | | | Merge "Break audio element loop in case element_count becomes too large." ↵Jean-Michel Trivi2018-09-061-1/+24
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into pi-dev am: 4d801e44ba am: a083f27afb Change-Id: I08e08b06d45c782f7cea15b06d370a0ef9920db2
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge "Prevent overflow in concealment clipping check" into pi-dev am: ↵Fraunhofer IIS FDK2018-09-061-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3ea08e059 am: 646ead1a65 Change-Id: I76943ca6e6c4541924c34ce6e7da5bf95676abec
| * | | | | | | | | | | | | | | | | | | | | FDK sanitization fixesFraunhofer IIS FDK2018-08-1413-101/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 110641440 Bug: 109936783 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Prevent bit buffer counter overflow. While long-term test we discovered a bit counter overflow in the bit buffer. The bit buffer state was only used by HCR and RVLC tool and can easily be substituted with FDKgetValidBits() call. The following patch completely removes the bit counter and all its obsolete functions. Change-Id: Icee0519d26a2aa62367d2dece59cd3d60ffcade7 Fix call to function sbrDecoder_Header() through pointer to incorrect function type. While testing FDK in Android P DP3 x86 64bit emulator we observed a runtime error. The function parameter of the callback didn't use a typeless pointer. Following patch contains a revised sbr decoder callback function with explicit data type cast to be inline with all other callbacks in FDK. Change-Id: Id224de22beaf2eb9631babd838c4c3ceae0a801e Fix huffman decoder escape sequence length limitation. Change-Id: Ib05cc2c065739c27b9720a24f90d0ce4d15bf601 Prevent overflow in MPEG-D DRC _setSelectionDataInfo(). Change-Id: I3b90ef7a5168e20766a2574d57d81bb39d2a5fb9 Add sanity check for allowed LPD sampling rate. Change-Id: I0702024adc07ed463db795dd48f4efd3de1d7896 Always check whether given channel config is supported. Change-Id: I169161dd31bc624f2cab6be2b4c6518946ed32ba Unsigned Integer Overflow in aacDecoder_DecodeFrame(). Change-Id: I617dd545f9ea0aca5a5e7d214bbc35f089bc355d Unsigned Integer Overflow in SpatialDecParseSpecificConfigHeader(). Change-Id: I5994a55f993835fa511ff61a337726b3e51aed5d Unsigned Integer Overflows in mpegSurroundDecoder_Parse(). Change-Id: I3714e88d7a9a866297bb2e93571804665a97773f Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit(). Change-Id: Ie4924460d30ea4ef76917704ded809d04db78993 Unsigned Integer Overflow in transportDec_readHeader(). Change-Id: I0beedab38175fc57e5bd9eb5700a3850ef2bebf7 UBSAN overflow in FFT An overflow in the fft was observed for certain configurations. The root cause was in the scaling of the fft input data in dct_IV and dst_IV. The following patch revises the scaling in dct and removes the unused arm implementation. Change-Id: Idc9c44a9755b8151d5c7d8107696f43ac592413b
* | | | | | | | | | | | | | | | | | | | | | Merge remote-tracking branch 'aosp/master'Martin Storsjo2019-03-152-7/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into ↵Xin Li2019-02-121-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | / | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master Bug: 124234733 Change-Id: I7ed72a237fd7f0aa984b8077a369a1ddb5ba253b