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

783 Commits

Author SHA1 Message Date
Fraunhofer IIS FDK
26b76b4b8d Increase scale factor to avoid overflows in function factorCLD(). am: ce00007148
am: f8c4039069

Change-Id: I1319ca784270c564ccb320ff93dcc94c96bf0738
2019-05-16 05:32:56 -07:00
Fraunhofer IIS FDK
535bf1be13 Fix out of sync function declaration of scaleValues(). am: 1b5457fe93
am: 73441adf7f

Change-Id: I8ab26ca4a1d61c88a21fe8e56f868c7192e9eb35
2019-05-16 03:33:00 -07:00
Fraunhofer IIS FDK
40989413ba Fix integer overflow in FDKaacEnc_IntensityStereoProcessing(). am: 55002323b3
am: d4a622c288

Change-Id: I76ddc86c1f0f521eba89fc30770d949905e55f20
2019-05-15 23:29:53 -07:00
Fraunhofer IIS FDK
c446d5628d Improve phase coding accuracy by use of splitAngle lookup table.
am: f6a6a071a9

Change-Id: I02dc1d25cc7f3d317a1bac64f0368175813eb5f5
2019-05-15 23:25:00 -07:00
Fraunhofer IIS FDK
522afc9c9c Improve random phase table accuracy.
am: 818743f718

Change-Id: I2cf4e3aec1ec54f629c614cd00090d1fea2ff347
2019-05-15 23:17:35 -07:00
Fraunhofer IIS FDK
264d57b9ec Increase scale factor gain in TES tool.
am: 2ef020c93a

Change-Id: I45d8b1c72ef68401de0bca03bb0888bab361a5f8
2019-05-15 23:11:31 -07:00
Fraunhofer IIS FDK
c9fbf5a360 Improve accuracy of division in calcSubbandGain().
am: 69a5c189ad

Change-Id: I2bc889856aa9b066ba5d1c2043a6864b2455733f
2019-05-15 23:05:02 -07:00
Fraunhofer IIS FDK
ced1a601f0 Avoid -1.0 autocorrelation input data.
am: e51063ca54

Change-Id: Ic059b05ceb43d993900805c746382d17adc52ee8
2019-05-15 22:54:08 -07:00
Fraunhofer IIS FDK
d4a622c288 Fix integer overflow in FDKaacEnc_IntensityStereoProcessing().
am: 55002323b3

Change-Id: I7f14e3b7bd79110eff8b01184483ab4e2c4fc9b3
2019-05-15 19:05:13 -07:00
Fraunhofer IIS FDK
ab7be54274 Increase scale factor to avoid overflows in function factorCLD().
am: ce00007148

Change-Id: I5527c89c4ec9f1ec5e3c3e733ed7446f49561d8f
2019-05-15 17:17:20 -07:00
Fraunhofer IIS FDK
7eae271690 Fetch multiple samples of input channels from encoder input buffer. am: 89ca476e52
am: 9524549fbf

Change-Id: Ie7df2c76c7ff0948be16c7858c36443c5e1172be
2019-05-15 16:38:00 -07:00
Fraunhofer IIS FDK
88bb068328 Fix out of sync function declaration of scaleValues().
am: 1b5457fe93

Change-Id: I377aad010627a1bfef3280edca2e07f5a5905260
2019-05-15 15:37:40 -07:00
Fraunhofer IIS FDK
53c7705c79 Fetch multiple samples of input channels from encoder input buffer.
am: 89ca476e52

Change-Id: I7cde3746816d1d9ecfacae91a367d34cc545c009
2019-05-15 14:48:13 -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
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