1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-01-31 07:55:22 +01:00

778 Commits

Author SHA1 Message Date
Fraunhofer IIS FDK
5e7e6f4e14 Integer overflow fix in FDKaacEnc_initAvoidHoleFlag()
am: 5def92cb0f

Change-Id: Iddf54352eead7a2963fdd50a0988c1b9fbbd60a1
2019-05-17 12:00:39 -07:00
Fraunhofer IIS FDK
5def92cb0f Integer overflow fix in FDKaacEnc_initAvoidHoleFlag()
Bug: 121226473
Test: see bug with specific audio stream to encode
Change-Id: I282506f0856130fa00c7f7c6e94b18e1162c8593
2019-05-16 21:07:20 +00:00
Fraunhofer IIS FDK
7b94fe764e Fix integer overflow in FDKaacEnc_IntensityStereoProcessing().
am: 55002323b3

Change-Id: I1e8713da2b04469ad89dc133a5ba0f2d1c2fc672
2019-05-15 18:58:01 -07:00
Fraunhofer IIS FDK
55002323b3 Fix integer overflow in FDKaacEnc_IntensityStereoProcessing().
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Id2a7e26fff499146a39cea757b1b7fc787b54b31
2019-05-15 12:31:19 -07:00
Fraunhofer IIS FDK
8aa2932bac Improve phase coding accuracy by use of splitAngle lookup table.
am: f6a6a071a9

Change-Id: Ie457ae793a0d2de847965f85e5f8ce0f530349bb
2019-05-15 09:07:57 -07:00
Fraunhofer IIS FDK
5871d262db Improve random phase table accuracy.
am: 818743f718

Change-Id: I5221156bb813ac855fbc14588c3bfdff09de160a
2019-05-15 09:07:19 -07:00
Fraunhofer IIS FDK
de38ed2500 Increase scale factor gain in TES tool.
am: 2ef020c93a

Change-Id: I81fbb36c68a11c2c1551047e7e2d15d356a538c0
2019-05-15 09:07:16 -07:00
Fraunhofer IIS FDK
17e60ff0c4 Improve accuracy of division in calcSubbandGain().
am: 69a5c189ad

Change-Id: I22cd9a24e9d669fa7bce48809dc6d71e771c79f8
2019-05-15 09:07:14 -07:00
Fraunhofer IIS FDK
b1f3f35219 Avoid -1.0 autocorrelation input data.
am: e51063ca54

Change-Id: Icf5c611638b290f7896ab77d285e8972be4c92ad
2019-05-15 09:06:53 -07:00
Fraunhofer IIS FDK
f8c4039069 Increase scale factor to avoid overflows in function factorCLD().
am: ce00007148

Change-Id: I8bcfc79faadfcff1639cfe93cffe2caf9088a71e
2019-05-15 08:59:39 -07:00
Fraunhofer IIS FDK
73441adf7f Fix out of sync function declaration of scaleValues().
am: 1b5457fe93

Change-Id: Ie14fa486e38a2a3fe0b25df32e36cf0225d77aff
2019-05-15 08:59:26 -07:00
Fraunhofer IIS FDK
9524549fbf Fetch multiple samples of input channels from encoder input buffer.
am: 89ca476e52

Change-Id: Id07ef57824ea774e37fdeb150e08a068135136a9
2019-05-15 08:59:10 -07:00
Fraunhofer IIS FDK
f6a6a071a9 Improve phase coding accuracy by use of splitAngle lookup table.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I7fd83b478f4156a0abb7ac42cd6d9b6cf0ac8b91
2019-05-14 14:18:25 -07:00
Fraunhofer IIS FDK
818743f718 Improve random phase table accuracy.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: Ifca82aec87c0d21871d1f181b1be635c419433ee
2019-05-14 14:13:38 -07:00
Fraunhofer IIS FDK
2ef020c93a Increase scale factor gain in TES tool.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I498be80902da32944ab456436689ca4aba42d3f6
2019-05-14 14:10:18 -07:00
Fraunhofer IIS FDK
b1dbb88c46 Fix HE-AAC using MPEG-D DRC with implicit SBR signaling.
am: e970ac4c95

Change-Id: Ifed3b75bd31cd064860e47b5e60ec982028532de
2019-05-14 13:37:26 -07:00
Fraunhofer IIS FDK
69a5c189ad Improve accuracy of division in calcSubbandGain().
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I3beeda23355ae1200d9f55c9e8cd1cc6bc899153
2019-05-14 09:53:45 -07:00
Fraunhofer IIS FDK
e51063ca54 Avoid -1.0 autocorrelation input data.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I2d4ccf9ee666a5533417ea98302de4a01b74c5ce
2019-05-14 09:47:32 -07:00
Fraunhofer IIS FDK
ce00007148 Increase scale factor to avoid overflows in function factorCLD().
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I8f5f67375b3413cce855bddc18ce0546caa01062
2019-05-14 09:30:37 -07:00
Fraunhofer IIS FDK
1b5457fe93 Fix out of sync function declaration of scaleValues().
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I1b9a204c52aee20adabc1baee7f5e5cdbf1ee39e
2019-05-14 09:13:11 -07:00
Fraunhofer IIS FDK
89ca476e52 Fetch multiple samples of input channels from encoder input buffer.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I548c62efcbe2629479f671befd4388895d835de7
2019-05-14 09:09:19 -07:00
Fraunhofer IIS FDK
e970ac4c95 Fix HE-AAC using MPEG-D DRC with implicit SBR signaling.
Bug: 132641988
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I97c5d3972528092f627153ad3127c7db977a0e5d
2019-05-13 15:24:51 -07:00
Fraunhofer IIS FDK
a3a7d15dc2 MPEG-4/D DRC unification, loudness norm default at -24
am: 14f7e13693

Change-Id: I63974f68f2f2a18a6d77e9a5e718a902693679e0
2019-04-26 18:52:18 -07:00
Fraunhofer IIS FDK
14f7e13693 MPEG-4/D DRC unification, loudness norm default at -24
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
2019-04-25 09:35:00 -07:00
Fraunhofer IIS FDK
7f075eb874 Add support for Album Mode (FDKdec v3.1.0).
am: 37972d5a1f

Change-Id: I536a2e47c552f10a50adb6e8c6439a6544e53725
2019-04-24 20:46:45 -07:00
Fraunhofer IIS FDK
37972d5a1f Add support for Album Mode (FDKdec v3.1.0).
Bug: 131255165
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: I6b4b176ec497587238537bddd89889341733d4e2
2019-04-24 22:56:19 +00:00
Fraunhofer IIS FDK
e146ca7b29 Add sanity check in huff_decode() am: b81f869de3
am: 67a2c092f5

Change-Id: I47c44541b62a41a6855944bafff4f0a138c5287a
2019-04-10 12:40:15 -07:00
Fraunhofer IIS FDK
67a2c092f5 Add sanity check in huff_decode()
am: b81f869de3

Change-Id: Id5a12cd85e70b3ec017e04212db6f922fb3f64bd
2019-04-10 11:30:48 -07:00
Fraunhofer IIS FDK
b81f869de3 Add sanity check in huff_decode()
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Bug: 119292397
Change-Id: I33e99629665df9aa6262c90dd7ebdde4b4b9d773
2019-04-09 12:05:51 -07:00
Fraunhofer IIS FDK
592c03a9f0 Reset parameter smoothing tool while concealment.
Change-Id: I9ec328096e88f5de984daca85a87c200827e7048
2019-03-15 18:57:14 +00:00
Fraunhofer IIS FDK
273a43f61f Discard SBR data in case of unsuccessful SBR header update.
Change-Id: I31ab01476d5a9de273c7adce14a1c29fa0023682
2019-03-15 18:10:11 +00:00
Jean-Michel Trivi
97b421ce43 Merge "Trigger config change after a change in SBR activity has been recognized." 2019-03-15 18:07:26 +00:00
Fraunhofer IIS FDK
856e3d339e Trigger config change after a change in SBR activity has been recognized.
Change-Id: I7715e61fdfcd16dfae6029171888aef9c6f0738e
2019-03-15 10:32:59 -07:00
TreeHugger Robot
1e0313fb04 Merge "Clear config in case of parsing error in drcDec_readUniDrc()" 2019-03-15 02:15:59 +00:00
Jean-Michel Trivi
041424440a Merge "Clear config in case of parsing error in drcDec_readUniDrc()" 2019-03-14 22:08:07 +00:00
Fraunhofer IIS FDK
a1f6034653 Clear config in case of parsing error in drcDec_readUniDrc()
Change-Id: I827a1ddbed2cf10e6b4fabdea2bf3f71c8f30c6f
2019-03-14 15:01:30 -07:00
TreeHugger Robot
358e6d14ac Merge "Always call startSelectionProcess() independent on an error in FDK_drcDec_ReadUniDrc()" 2019-03-14 20:20:28 +00:00
Fraunhofer IIS FDK
1f908ac9b0 Add MPEG-D DRC sanity checks
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: I5413e43d5cfc895b8c3171f8857ca6feab6c269e
2019-03-14 08:58:57 -07:00
Fraunhofer IIS FDK
2bd9404254 Always call startSelectionProcess() independent on an error in FDK_drcDec_ReadUniDrc()
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc

Change-Id: Ie7fdb69ea7a6d68b14b9fa06e68c86496cb01a02
2019-03-14 08:56:59 -07:00
Fraunhofer IIS FDK
c2e0dfe237 Clear config in case of parsing error in drcDec_readUniDrc()
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc
Change-Id: Ic1a12cbd31aa51d8a89bc4d6a67f9b0289265b6c
2019-03-14 08:53:44 -07:00
Jean-Michel Trivi
f164a97189 Merge "AAC decoder: fix use of uninitialized value, check index" 2019-03-08 14:52:26 +00:00
TreeHugger Robot
ea08af4499 Merge "libSBRdec: prevent OOB access" 2019-03-08 10:27:16 +00:00
Jean-Michel Trivi
8e27e0bd30 AAC decoder: fix use of uninitialized value, check index
Initialize aInterpolate int array in mapIndexData().
Prevent index from accessing OOB value.

Bug: 120426980
Test: see bug
Change-Id: Ib9f1b5e143802d3d662af36fedcae8bf47ff09bc
2019-03-07 15:04:08 -08:00
Jean-Michel Trivi
8972e93edd libSBRdec: prevent OOB access
In generateFixFixOnly() check validity of  index before accessing
  SBR decoder envolope tables.

Bug: 112052062
Test: see bug
Change-Id: Icd7ec3807eea9ef8417dba7383f361101becc4f2
2019-03-07 14:16:05 -08:00
Jean-Michel Trivi
0309455012 libMpegTPDec: fix use of uninitialized value in OutOfBandConfig
Initialize tmpConf in transportDec_OutOfBandConfig

Bug: 120426166
Test: see bug
Change-Id: I72ac8bc96a7d386ffe32acd669c78c4a581d52dc
2019-03-07 13:15:15 -08:00
Xin Li
3e8d8ba558 Merge stage-aosp-master into pi-dev-plus-aosp
am: 719ad2e600

Change-Id: I2eda96b8a597569263b841f21b66b55b5e9a4971
2019-02-25 05:06:17 -08:00
Xin Li
719ad2e600 Merge stage-aosp-master into pi-dev-plus-aosp
Bug: 126125118
Change-Id: If648fc23ea1edee18f0bf264b7b35aac504a25b5
2019-02-25 00:27:38 -08:00
Xin Li
b6be942529 DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: I1bbe11b78b2f06f948be0e04fcae6582bad9cc21
2019-02-20 16:18:11 -08:00
Xin Li
5761bd24ee [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: d5724aefe9 -s ours am: 2dd3e2e6c9 -s ours
am: 2ef1b029ce -s ours
am skip reason: subject contains skip directive

Change-Id: I9f869083551264692a4efe9d94a8085ba2ace4d0
2019-02-20 11:17:33 -08:00
Xin Li
0de71dd7a4 [automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 7ac13ae4aa -s ours am: b3537f907a -s ours
am: 9d138bd1e3 -s ours
am skip reason: subject contains skip directive

Change-Id: I241eff03f8e88fb2cef002ade4f415d42759b1fd
2019-02-20 10:09:38 -08:00