aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * | [automerger skipped] Merge "DO NOT MERGE - Merge Android 10 into master"Xin Li2019-09-050-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | am: d929f68a05 -s ours am skip reason: subject contains skip directive Change-Id: Iabc2e26ef91b10d03f213fa1a694cb921ca4c1bb
| | | * Merge "DO NOT MERGE - Merge Android 10 into master"Xin Li2019-09-0532-1352/+4643
| | | |\
| | | | * DO NOT MERGE - Merge Android 10 into masterXin Li2019-09-0432-1352/+4643
| | | |/| | | | | | | | | | | | | | | | | | | | | Bug: 139893257 Change-Id: I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c
* | | | | [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master" am: c2eb64586d -s ours am: 6266103519 -s ours am: bf68b4972f am: a3f72d9e44 -s ours am skip reason: subject contains skip directive Change-Id: I89cb15471dea474be46354bae3f04b39430e7355
| * | | | [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master" am: c2eb64586d -s ours am: 6266103519 -s ours am: bf68b4972f Change-Id: I05880e6e76d61b683b55364726e841097f130a16
| | * | | [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master" am: c2eb64586d -s ours am: 6266103519 -s ours am skip reason: subject contains skip directive Change-Id: I69945c03e154530e7d917f1de7f0669480715686
| | | * | [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master" am: c2eb64586d -s ours am skip reason: subject contains skip directive Change-Id: I637c44703fdee4aff09ea97fe2dce5c8395a2c63
| | | | * Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"Xin Li2019-07-090-0/+0
| | | | |\
* | | | | | [automerger skipped] DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master am: 569027011c -s ours am: 506ae97bee -s ours am: 50d8447d97 am: 2480568f89 -s ours am skip reason: subject contains skip directive Change-Id: I78e6e4e8878c1b48c2dbeb2fdc48f48e7926e9a3
| * | | | | [automerger skipped] DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master am: 569027011c -s ours am: 506ae97bee -s ours am: 50d8447d97 Change-Id: Ifb01dd1cbab4f450563f31f93c19dad5bf079404
| | * | | | [automerger skipped] DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master am: 569027011c -s ours am: 506ae97bee -s ours am skip reason: subject contains skip directive Change-Id: I715b40974bbd1381f7b72c0ee399fe4214444a0d
| | | * | | [automerger skipped] DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-07-090-0/+0
| | |/| | | | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190705.004) into master am: 569027011c -s ours am skip reason: subject contains skip directive Change-Id: I5aecc5cecde457bbfa6a076c68bd0b14bfa5da3f
| | | * | DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into masterXin Li2019-07-090-0/+0
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | Bug: 136196576 Change-Id: Ibab15539f2fd0081ef9f8e1a607461d5238c9a88
| | | | * Snap for 5622519 from 81b3f635622cda59f93cc13edf0621da064bc072 to ↵android-build-team Robot2019-07-080-0/+0
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pi-platform-release Change-Id: I2fa7ee95d121ad53fd5e3cc445b83fbeb7bb2d66
| | | | | * Snap for 5526913 from b81f869de3f7c5b6395606d5f36cef57987eae8f to ↵android-build-team Robot2019-05-030-0/+0
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pi-qpr3-b-release Change-Id: I15a91b27f0bcef3b820d665017fa8d4d105ee33d
| | | | | * \ Merge cherrypicks of [7070078, 7070079, 7070080, 7070608, 7069857, 7069858, ↵android-build-team Robot2019-04-161-0/+8
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7069859, 7070136, 7070137, 7070138, 7071045, 7071046, 7071047, 7071048, 7070081, 7070863, 7070082, 7069862, 7069863, 7069864, 7071085, 7070118] into pi-qpr3-b-release Change-Id: I253904631907415999bad3cbcd4259896b8a3844
| | | | | | * | Add sanity check in huff_decode()Fraunhofer IIS FDK2019-04-161-0/+8
| | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Bug: 119292397 Change-Id: I33e99629665df9aa6262c90dd7ebdde4b4b9d773 (cherry picked from commit b81f869de3f7c5b6395606d5f36cef57987eae8f)
| | | | | * | Snap for 5447620 from 69514bb3082c0f26a3684501240c982b79ecc22b to ↵android-build-team Robot2019-04-161-8/+0
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pi-qpr3-b-release Change-Id: I85690855119d1d87f317117f7454b99a1353a388
| | | | | * \ \ Merge cherrypicks of [7068682, 7066360, 7066361, 7066362, 7068985, 7068986, ↵android-build-team Robot2019-04-161-0/+8
| | | | | |\ \ \ | | | | | | |/ / | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 7068987, 7068800, 7068004] into pi-qpr3-b-release Change-Id: I779161184ff3f9875b815efe88c9d12e046879e8
| | | | | | * | Add sanity check in huff_decode()Fraunhofer IIS FDK2019-04-161-0/+8
| | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Bug: 119292397 Change-Id: I33e99629665df9aa6262c90dd7ebdde4b4b9d773 (cherry picked from commit b81f869de3f7c5b6395606d5f36cef57987eae8f)
* | | | | | | [automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor ↵Xin Li2019-07-020-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (5699924) into stage-aosp-master am: 4d56b880e2 am: 0942f837c5 -s ours am skip reason: subject contains skip directive Change-Id: Ia49c4c0c1b61b95d4393f7312189c237d86e5ea2
| * | | | | | DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into ↵Xin Li2019-07-020-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 4d56b880e2 Change-Id: Ida7e07f2d981f3df794171aba9385dcc691f43c8
| | * | | | | DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into ↵Xin Li2019-07-0132-1352/+4643
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master Bug: 134405016 Change-Id: I30ab93ed5c2fa3c47306058d1a0f749b8101b01e
* | | | | | | | [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release ↵Xin Li2019-06-100-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PPRL.190605.003) into master" am: b018de371d -s ours am: c10b5daa8d -s ours am: 058d1295f4 am: a55b37a564 -s ours am skip reason: subject contains skip directive Change-Id: Ib2fd42b4ea1dcc8a0dbe897458ad489144b8b35a