aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add FDK_FALLTHROUGH macro to prevent implicit-fallthrough compiler warningsFraunhofer IIS FDK2018-12-2711-3/+41
| | | | | Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I9f9064fb63ac40e18f245c00b7375b4874f2925b
* Merge "Limit too large shift exponent in apply_inter_tes()"Jean-Michel Trivi2018-12-271-2/+4
|\
| * Limit too large shift exponent in apply_inter_tes()Fraunhofer IIS FDK2018-12-271-2/+4
| | | | | | | | | | | | Bug: 112892200 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I74e349ecb796343b475b825ac7d97497560a1e7a
* | Merge "Limit too large scale_change exponent used in adjustTimeSlot"Jean-Michel Trivi2018-12-271-7/+9
|\ \ | |/ |/|
| * Limit too large scale_change exponent used in adjustTimeSlotFraunhofer IIS FDK2018-12-271-7/+9
|/ | | | | | Bug: 112892953 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I4fe66defb40a36612850582cb0f1da7fb07a8bed
* Merge "Signed Integer Overflows in imlt_block()"Jean-Michel Trivi2018-12-271-6/+10
|\
| * Signed Integer Overflows in imlt_block()Fraunhofer IIS FDK2018-12-261-6/+10
|/ | | | | | Bug: 112890242 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I98fda0eea7f7223d76df31776c6723b618e5b581
* Merge "Unsigned Integer Overflow in InitSegmentBitfield()"Jean-Michel Trivi2018-12-271-1/+4
|\
| * Unsigned Integer Overflow in InitSegmentBitfield()Fraunhofer IIS FDK2018-12-261-1/+4
| | | | | | | | | | | | Bug: 112662995 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ida3b1d49dc35a03a3ff02f6e150cfb55e9e1da11
* | Merge "Encoder returned an error while explicit flushing"Jean-Michel Trivi2018-12-271-3/+4
|\ \
| * | Encoder returned an error while explicit flushingFraunhofer IIS FDK2018-12-261-3/+4
| |/ | | | | | | | | | | | | Bug: 112663571 Test: atest EncoderTest Change-Id: Ieaaaf2c32786a8344ba912f4587298654d508e67
* | Merge "Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()"Jean-Michel Trivi2018-12-271-1/+1
|\ \
| * | Unsigned Integer Overflow in CAacDecoder_PreRollExtensionPayloadParse()Fraunhofer IIS FDK2018-12-261-1/+1
| |/ | | | | | | | | | | Bug: 112661610 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I96e2c10328fec8fd12f9c752904860b87a72bed2
* | Merge "Improve error robustness in arithmetic decoder"Jean-Michel Trivi2018-12-271-3/+11
|\ \
| * | Improve error robustness in arithmetic decoderFraunhofer IIS FDK2018-12-261-3/+11
| |/ | | | | | | | | | | Bug: 112663564 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I3025adbf308bf510dc5bdc1d70c58979fb182187
* | Merge "Prevent overflow in usac filters"Jean-Michel Trivi2018-12-273-10/+9
|\ \
| * | Prevent overflow in usac filtersFraunhofer IIS FDK2018-12-263-10/+9
| |/ | | | | | | | | | | Bug: 112663886 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ie7af65a1a556afb141ea5272f70bfea11881ac30
* | Merge "Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()"Jean-Michel Trivi2018-12-271-2/+2
|\ \
| * | Signed Integer Overflow in CLpd_FAC_Acelp2Mdct()Fraunhofer IIS FDK2018-12-261-2/+2
| |/ | | | | | | | | | | Bug: 112663384 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I5e41f1455ab35060c136abb7f4945fe9a545633c
* | Merge "Signed Integer Overflow in E_UTIL_preemph()"Jean-Michel Trivi2018-12-274-3/+4
|\ \
| * | Signed Integer Overflow in E_UTIL_preemph()Fraunhofer IIS FDK2018-12-264-3/+4
| |/ | | | | | | | | | | Bug: 112661356 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ibc7120aba3d357bfb8d751d80d99a6e0f51473e4
* | Merge "Fix SATURATE_LEFT_SHIFT_ALT() since it returned 0x80000000 in certain ↵Jean-Michel Trivi2018-12-271-5/+5
|\ \ | |/ |/| | | cases"
| * Fix SATURATE_LEFT_SHIFT_ALT() since it returned 0x80000000 in certain casesFraunhofer IIS FDK2018-12-261-5/+5
|/ | | | | | Bug: 112661911 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I16e522c975ad45ff8d47d4cabe44f1f2bf95b73b
* Merge "UBSAN overflow in FFT"Jean-Michel Trivi2018-12-262-623/+23
|\
| * UBSAN overflow in FFTFraunhofer IIS FDK2018-12-262-623/+23
| | | | | | | | | | | | | | | | | | | | | | 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. Bug: 112661057 Bug: 109936783 Bug: 112022208 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Idc9c44a9755b8151d5c7d8107696f43ac592413b
* | Merge "Unsigned Integer Overflow in transportDec_readHeader()."Jean-Michel Trivi2018-12-261-4/+4
|\ \
| * | Unsigned Integer Overflow in transportDec_readHeader().Fraunhofer IIS FDK2018-12-261-4/+4
| |/ | | | | | | | | | | Bug: 112662270 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0beedab38175fc57e5bd9eb5700a3850ef2bebf7
* | Merge "Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit()."Jean-Michel Trivi2018-12-261-3/+3
|\ \
| * | Unsigned Integer Overflow in transportDec_AdjustEndOfAccessUnit().Fraunhofer IIS FDK2018-12-261-3/+3
| |/ | | | | | | | | | | Bug: 112661348 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Ie4924460d30ea4ef76917704ded809d04db78993
* | Merge "Unsigned Integer Overflows in mpegSurroundDecoder_Parse()."Jean-Michel Trivi2018-12-261-4/+4
|\ \ | |/ |/|
| * Unsigned Integer Overflows in mpegSurroundDecoder_Parse().Fraunhofer IIS FDK2018-12-261-4/+4
| | | | | | | | | | | | Bug: 112661835 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I3714e88d7a9a866297bb2e93571804665a97773f
* | Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master"Treehugger Robot2018-12-1316-213/+175
|\ \
| * \ DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into masterXin Li2018-12-1116-213/+175
| |\ \ | | |/ | |/| | | | | | | Bug: 120502534 Change-Id: Ie44ac2dc553c40a8a9bd9b42b00a0b01cfa9799a
| | * Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform ↵Bill Rassieur2018-12-043-45/+57
| | |\ | | | | | | | | | | | | | | | | | | | | release.\n\nBUG: 120448245 Change-Id: I1d3ce7e7d198f3256d3ecbd932f8d6f9977ba16d
| | | * Merge cherrypicks of [5317808, 5317809, 5318498, 5317873, 5318338, 5318195, ↵android-build-team Robot2018-10-203-45/+57
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | 5318499, 5317874, 5317875, 5317876, 5318243, 5318244, 5318537, 5318538, 5318539, 5318540, 5318541, 5318542, 5318543, 5318544, 5318545, 5318546, 5315210, 5317756, 5318557, 5318558, 5318559, 5318560, 5318561, 5318339, 5318547, 5318548, 5318549, 5318562, 5318563, 5318564, 5318565, 5318566, 5318172, 5318173, 5318174, 5318550, 5318401, 5318196, 5317889, 5318175, 5318176, 5318577, 5318578, 5318579, 5318580, 5318581, 5318503, 5318390, 5318505, 5318341, 5318551] into pi-qpr1-release Change-Id: Icee0cd3d40cc7982201e0afe5ba0307a936a8796
| | | | * Prevent out of bounds accesses in lppTransposer() and lppTransposerHBE()Fraunhofer IIS FDK2018-10-202-27/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112160868 Test: see poc in bug Change-Id: I6a2161865d9cb9b51dc37c09d6e3a4a8e5d11f86 (cherry picked from commit 4dad829df00932b89858b9833cf5dcded8d97c37)
| | | | * Unify audio element loop abort criterion in ER syntaxFraunhofer IIS FDK2018-10-201-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112891548 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Iea56cf804cfb9d396810124c718fc91bdff68392 (cherry picked from commit f2bc07da2ed70eb069f3faab1179c4c89792bf3d)
| | | | * Always check whether given channel config is supported.Fraunhofer IIS FDK2018-10-201-11/+3
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112660981 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I169161dd31bc624f2cab6be2b4c6518946ed32ba Merged-In: I169161dd31bc624f2cab6be2b4c6518946ed32ba (cherry picked from commit 25b209f229879a155759d791fe463b8abd283677)
| | * | Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releaseBill Yi2018-11-2814-168/+118
| | |\| | | | | | | | | | | | | Change-Id: If3ff263d4f628f2c6d4ad3c28d0571284ca1f56d
| | | * Merge cherrypicks of [4986743, 4986744, 4987539, 4987168, 4986376, 4986377, ↵android-build-team Robot2018-09-1014-168/+118
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | 4986378, 4986889, 4986745, 4986746, 4986747, 4986748, 4986749, 4986750, 4986773, 4987169, 4987170, 4987611, 4987631, 4987632, 4987633, 4987634, 4986890, 4987612, 4987651, 4987598, 4987613, 4987614, 4987615, 4987599, 4986379, 4986380, 4987652, 4987653, 4987691, 4986774] into pi-qpr1-release Change-Id: Ib805bf06d51e2a7e6f0d9bf2676dc1f21b6cbb9e
| | | | * Prevent bit buffer counter overflow.Fraunhofer IIS FDK2018-09-1012-166/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Bug: 112662184 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: Icee0519d26a2aa62367d2dece59cd3d60ffcade7 (cherry picked from commit 15292f7e9620caf9e8df26a62efc2a2891ea822e)
| | | | * Break audio element loop in case element_count becomes too large.Fraunhofer IIS FDK2018-09-101-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112891564 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I35f02d23c0cfd620088291a52d9996a0d5a17199 (cherry picked from commit 3347cfb91a7ecabf5800d72e936f04ce44752bf3)
| | | | * Add sampling rate sanity checkFraunhofer IIS FDK2018-09-101-1/+3
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112661641 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I8e416fb1501dabda20babd4a28a99ab06950b221 (cherry picked from commit ba003785774efe355bcac950158fc78a0cff0c2b)
* | | | Merge "Enable bounds sanitization in libaac."Treehugger Robot2018-12-121-1/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Enable bounds sanitization in libaac.Ivan Lozano2018-12-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enables the UBSan bounds sanitizer in libaac. This adds bounds checks around array accesses when the array size is known at compile time. Bug: 117221610 Test: make -j Test: Device boots. Change-Id: Ib820c7ec6ef6bcbf98d8526ed213c90ab29169c2
* | | | Merge "Integer overflow fix in InvMdctTransformLowDelay_fdk()"Treehugger Robot2018-11-291-3/+5
|\ \ \ \
| * | | | Integer overflow fix in InvMdctTransformLowDelay_fdk()Fraunhofer IIS FDK2018-11-281-3/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112892194 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I47fdb5b51afd8c588607bf206d4ae3ef4ba1cdb3
* | | | Merge "Add sanity check for allowed LPD sampling rate."Treehugger Robot2018-11-281-2/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Add sanity check for allowed LPD sampling rate.Fraunhofer IIS FDK2018-11-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 112662981 Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I0702024adc07ed463db795dd48f4efd3de1d7896 Merged-In: Idc9c44a9755b8151d5c7d8107696f43ac592413b
* | | | Merge "Unsigned Integer Overflow in SpatialDecParseSpecificConfigHeader()."Treehugger Robot2018-11-271-2/+2
|\ \ \ \