aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix dry and wet energy initialization in subbandTPInit().Fraunhofer IIS FDK2019-12-271-5/+3
| | | | | | | | | | | | Bug: 145668025 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iadf5d4ebcecfa544b688a69d569ad515c0affade
* | Add loop abort criterion to prevent timeout in EldSpecificConfig_Parse().Fraunhofer IIS FDK2019-12-271-5/+7
| | | | | | | | | | | | Bug: 145668344 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iea6457e8545438c7ad4d05a682ffa656ec35ead9
* | 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
* | Avoid signed integer overflows in multiple adjustTimeSlot*() functions.Fraunhofer IIS FDK2019-12-271-25/+72
| | | | | | | | | | | | Bug: 145669628 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Id0f3ee9d3413e534505c0c7eea379ce42880ca79
* | Improve robustness of limiter band table calculation in ResetLimiterBands().Fraunhofer IIS FDK2019-12-271-0/+5
| | | | | | | | | | | | Bug: 145668973 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ic076cf5b44c0618734064b670de61f9da532a13e
* | Fix signed integer overflow in pvcDecodeTimeSlot().Fraunhofer IIS FDK2019-12-271-12/+13
| | | | | | | | | | | | Bug: 145668022 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0a165330cf174f24310f8d705523d310a3522e7a
* | 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
* [automerger skipped] DO NOT MERGE - ↵Xin Li2019-10-300-0/+0
|\ | | | | | | | | | | | | | | | | qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: 7ea2e46dc1 am: 13d520b193 -s ours am skip reason: subject contains skip directive Change-Id: Ic14cc4914dfb877a04b150b63f8cb1f10a9646c7
| * DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵Xin Li2019-10-300-0/+0
| |\ | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 7ea2e46dc1 Change-Id: I580bebbf6a96c5ef6dfbb8e691917c16207551bb
| | * DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵Xin Li2019-10-300-0/+0
| | |\ | | |/ | |/| | | | | | | | | | | | | stage-aosp-master Bug: 142003500 Change-Id: I809fba949d51f01395793ccb36118e4f5c42e5be
* | | 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
* | | Initialize scale variable in qmfForwardModulationLP_even() and ↵Fraunhofer IIS FDK2019-10-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | qmfInverseModulationLP_even() which is updated in dct/fft processing. Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Id294afb1ac740abf6000d7286e0f95c8b13a7eb8
* | | Limit too large shift value in apply_inter_tes().Fraunhofer IIS FDK2019-10-181-1/+2
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I38cc7053e671f6e20a1a9ba4f1645d1cf8be77e2
* | | Fix nrgGain_e update in equalizeFiltBufferExp(). Prevents negative shift ↵Fraunhofer IIS FDK2019-10-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | exponents in calculateSbrEnvelope(). Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I66ad54dae0fa1d414d8b2b9a9e0b6145cce4042d
* | | 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
* | | Fix integer overflow in imlt_block().Fraunhofer IIS FDK2019-10-181-3/+3
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ia7e03bbf6daef61079514de407a5900f6dc22a21
* | | 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
* | | Fix signed integer overflow in calcFactorPerBand() calculation.Fraunhofer IIS FDK2019-10-181-2/+5
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I9f18f675112651be8dec5c0474601ca6531fbf15
* | | Prevent integer overflow in sbrDecoder_calculateGainVec().Fraunhofer IIS FDK2019-10-181-7/+8
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I359f7f976a5ad5459be7d7b786145988a175e305
* | | 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
* | | Validate correct ascLen in CLatmDemux_ReadStreamMuxConfig() to overcome ↵Fraunhofer IIS FDK2019-10-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | integer overflow in FDK_get32(). Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I87b53661df7a435ddf3572a0ff8b6ef84972db60
* | | 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
* | | Saturate shift value in calculateSbrEnvelope(). Prevents too large shift values.Fraunhofer IIS FDK2019-10-141-2/+2
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I3331ac9bc267cd3fa4c1178bc445998869f0d99b
* | | Limit shift exponent in adjustTimeSlot_EldGrid().Fraunhofer IIS FDK2019-10-141-6/+7
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I4000972d63d74e871d47f2db031308cd7ea285d6
* | | Fix shift value assignment in addHighBandPart().Fraunhofer IIS FDK2019-10-141-2/+2
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I69457c1b551e33e3ee9ef39b457b0f83de2e370e
* | | Replace obsolete SBR CRC with superior FDK CRC implementation. Fixes ELD SBR ↵Fraunhofer IIS FDK2019-10-113-382/+35
| | | | | | | | | | | | | | | | | | | | | | | | CRC decoding and prevents negative shift exponents in calcCRC(). Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0c40609975de5854560643f3ce2c9fecf5973f73
* | | Solve potential dereference of null pointers in factorCLD().Fraunhofer IIS FDK2019-10-111-2/+2
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I27334567d1887755d62fadf2456fd5366869cbab
* | | Reject unsupported channel configuration / audio object type combinations.Fraunhofer IIS FDK2019-10-111-0/+18
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I84bd355df0f690636c109695d8df64fa7bdcf63c
* | | Fix possible stack buffer overflow in mapIndexData().Fraunhofer IIS FDK2019-10-111-13/+11
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I160e7174f32dabe386fce1e9ec67d3c8cea60c78
* | | 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 assert in synchronization() for loas streams with multiple sub frames.Fraunhofer IIS FDK2019-10-101-6/+15
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Icb7d4b0b00a17367c8ec762b112fbb25268d9f67
* | | Restrict sampling rates parsed from bitstream to maximum of 96kHz.Fraunhofer IIS FDK2019-10-101-3/+12
| | | | | | | | | | | | | | | | | | Bug: 131430997 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I2511a7cfcdf1bae57d17c02c93867ccc4f1ea693
* | | [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li2019-09-080-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 09dc9b073f -s ours am: 7fc6e3f8ff -s ours am: 99e78ac95f -s ours am skip reason: change_id I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c with SHA1 a209adb315 is in history Change-Id: I1b0e74e7c405aa4e9b9841cc9ad931561ab5df56
| * | [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li2019-09-080-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 09dc9b073f -s ours am: 7fc6e3f8ff -s ours am skip reason: change_id I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c with SHA1 a209adb315 is in history Change-Id: I67e58e13c18499f1fdcd5b6b72b8afce257a22f7
| | * | [automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into ↵Xin Li2019-09-080-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 09dc9b073f -s ours am skip reason: change_id I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c with SHA1 a209adb315 is in history Change-Id: I921ce87ed814fc4b8ff3977e3b5fefa796e872f2
| | | * Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-masterXin Li2019-09-080-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No content change. Bug: 135460123 Change-Id: I058d0d709bb7752aa276e0047d2e0b81403ee5fc Merged-In: I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c
* | | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li2019-09-050-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d929f68a05 -s ours am: 5d3d55e2c7 am: 35b1ada3b4 am: c7d03309f9 -s ours am skip reason: subject contains skip directive Change-Id: Ibfc869a47e6e34a425709bf45e2c9d37af633db8
| * | | | [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li2019-09-050-0/+0
| |\| | | | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | d929f68a05 -s ours am: 5d3d55e2c7 am: 35b1ada3b4 Change-Id: I735bbaf8236207a00fb745c8e57a04c77b76b432
| | * | [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master" am: ↵Xin Li2019-09-050-0/+0
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d929f68a05 -s ours am: 5d3d55e2c7 Change-Id: I0ada3904a4004089fdfdb43966288c019cf58d8c