Commit Graph

1731 Commits

Author SHA1 Message Date
Fraunhofer IIS FDK 448e04cb34 Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93 am: bac4f0675f am: 7e3add342f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: I48a50b0cd809dd895d602a27f4e94e8f5b86d142
2021-05-17 21:43:16 +00:00
Fraunhofer IIS FDK 222b82ea4b Prevent too large shift exponent in apply_inter_tes() and merge two loops. am: 2a40fde39d am: 92dab635f7 am: 3db8ac7a00
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471061

Change-Id: I41fb9a013dd4d544ab4c1803127f3875fd5b7523
2021-05-17 21:43:15 +00:00
Fraunhofer IIS FDK 4789d3e8d2 Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33 am: 4390bad523 am: 148544e625
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

Change-Id: Ia358d7ab513c349af3cb67ccaa1ca969d1141278
2021-05-17 21:39:26 +00:00
Fraunhofer IIS FDK 88de4ee94f Pass flushing flag to SBR module for stereo config index 3 as for stereo config index 1 and 2. am: 92dd536642 am: db4e46c9a6 am: ef265e496f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470259

Change-Id: Ie8a0a32b2c5234a8317a09c2309ef0274bf66df8
2021-05-17 21:30:49 +00:00
Fraunhofer IIS FDK 49c0c89b92 Utilize dynamic scaling in slotAmp() to avoid signed integer overflows. am: 56de8e29ce am: cd41dbd325 am: 1456244fff
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470258

Change-Id: I4bd3e492720e1eb201dfe9749b5d0323846fb927
2021-05-17 21:19:48 +00:00
Fraunhofer IIS FDK 0546b26f78 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8 am: 1b074faaa8 am: b0d57f7546
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: Ie24da11cb129e00474ec80eda17f2ae08d7a300f
2021-05-17 21:08:49 +00:00
Fraunhofer IIS FDK a671a11a3a Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf am: babb5dce2f am: c0daf696e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: Ie4f26371ddb10175959b20b5b13133b642d1d74d
2021-05-17 21:01:49 +00:00
Fraunhofer IIS FDK af864c1866 Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d am: ff4ace52fa am: f3a2bc6ab5
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

Change-Id: I1837589fa4b99f0c738edd9564a0b8795917f043
2021-05-17 20:49:56 +00:00
TreeHugger Robot 2f011a0831 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4 am: c39393a732 am: 4d84420532
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

Change-Id: I56e9204c37a75d88213a646627701df31d958cab
2021-05-17 20:35:15 +00:00
TreeHugger Robot e67be75544 Merge "Avoid integer overflows in CLatmDemux_ReadAuChunkLengthInfo() and FDK_get32() to prevent endless loop." into sc-dev am: f633fc085e am: ad6ba7f548 am: 8494edb8b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373121

Change-Id: I97400b5e66ee05cbb92cf517adaf8028db62bc97
2021-05-17 20:18:59 +00:00
TreeHugger Robot 9bdedd0148 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4 am: 47ee0b94ab am: 696a3cf9e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: Ibfb2496a5b09f04b651be13d5df1aa9cc9fa9b9e
2021-05-17 20:09:27 +00:00
TreeHugger Robot 9e70bca044 Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157 am: cffde9083d am: c7facc625a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

Change-Id: I53d95ee4ead6144529815b256c599362ad9c2c5c
2021-05-17 20:03:29 +00:00
Fraunhofer IIS FDK a442e18466 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc am: f708b26538 am: b97fd3d89f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

Change-Id: I9ae377fd6bdd442244fae6d417079335aec9bf98
2021-05-17 19:49:40 +00:00
TreeHugger Robot 1c0a1825ca Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d am: 4c350fc3fc am: 03b6777510
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

Change-Id: I98bacfbece6e8e022885fe93f8a81f8a91aa3048
2021-05-17 19:28:48 +00:00
TreeHugger Robot 4114af809f Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0 am: 46a636829c am: 3124e44e6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

Change-Id: I8a3c04982a8738ac1e304b4e64ac315f1425c30c
2021-05-17 18:54:35 +00:00
Jean-Michel Trivi 0baa26e3fc Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327 am: 2841b0ff99 am: 3310104edd
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: I66642386cb2f55edb65c1f661f0424c4f5c9c3fd
2021-05-17 15:24:06 +00:00
TreeHugger Robot 5867f8cc5c Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92 am: 8ed5575e34 am: 8e4beaf191
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: Icf85201c500775a87899ad8af9402969bc3f11a3
2021-05-17 15:16:18 +00:00
TreeHugger Robot 1322720089 Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659 am: 3a8d94cb27 am: e054184edc
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

Change-Id: I380dc1f5ba113b889adb185adaf324fa728d2a60
2021-05-17 15:04:49 +00:00
TreeHugger Robot e1c97ccd93 Merge "Prevent undefined values for CODING_SCHEME type in huff_decode()." into sc-dev am: af61f20a8d am: 851785f791 am: 1fcc47f50f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386930

Change-Id: I7d94698f7c58b41a4c27de00fd9e3c03b81fe717
2021-05-17 14:53:11 +00:00
TreeHugger Robot 31295c5ab6 Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100 am: 6f453aba85 am: cb4a2b7820
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: I9d4f78ad0dafb00bd4b5df0c6c1d6a0d251de30c
2021-05-17 13:59:01 +00:00
TreeHugger Robot 638800ae75 Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90 am: 69a6369082 am: 2715520d9a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: I26af1e47a8214d263775eb12c601957604c749d4
2021-05-17 13:44:52 +00:00
TreeHugger Robot 07a95eb219 Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9 am: 236cd75f1c am: 5a192951da
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: Ib1d61ade7dcebd2ae5a87bd59d3bc9645e80f3a3
2021-05-17 11:03:26 +00:00
Fraunhofer IIS FDK d672ba0c36 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4 am: d2aca9e020 am: 6edbc9a7e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: I0c2ab0e97698ba9c45313e2515a20874b7ceef74
2021-05-17 10:54:03 +00:00
TreeHugger Robot 4b2c62dd4b Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682 am: dcb2d8bd81
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: I7d491e8611d820b346b3bdf4522b6e0660d339dd
2021-05-16 09:17:44 +00:00
TreeHugger Robot 10896bded2 Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730 am: ace123a6c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: I1f09925d30af78d5846e095bd284eed306d2291b
2021-05-16 09:17:18 +00:00
Fraunhofer IIS FDK 8c620c3017 Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93 am: 1cf293e454
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: I84e69aacded59b0ac062092c4ecc1fde0fe0d55b
2021-05-16 09:15:57 +00:00
Fraunhofer IIS FDK 817f63d1d7 Prevent too large shift exponent in apply_inter_tes() and merge two loops. am: 2a40fde39d am: 9b481d3556
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471061

Change-Id: Id034c5d76ece5b9d241fcffa1bb684878427794c
2021-05-16 09:15:56 +00:00
Fraunhofer IIS FDK 71e84d7474 Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33 am: 877f2d687c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

Change-Id: I35f219744f7464aa0f727eab4ea7c0232e76fd1a
2021-05-16 09:07:17 +00:00
Fraunhofer IIS FDK 1532a3d868 Pass flushing flag to SBR module for stereo config index 3 as for stereo config index 1 and 2. am: 92dd536642 am: b71181dec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470259

Change-Id: I8ea64f2dc62d3e7c436a4430cf903083518a6f95
2021-05-16 08:56:16 +00:00
Fraunhofer IIS FDK efc26a0576 Utilize dynamic scaling in slotAmp() to avoid signed integer overflows. am: 56de8e29ce am: 8077876e6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470258

Change-Id: Ib9827f133d4959286f40ceba4fb34e2b2de0c336
2021-05-16 08:54:50 +00:00
Fraunhofer IIS FDK 3f62a2a1fe Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8 am: 6bfd703af9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: Ie845e8b11ddc336c7f3ea2259fd378ca288f99e6
2021-05-16 08:53:02 +00:00
Fraunhofer IIS FDK bc774411c7 Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf am: 675de1faf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: I151dac218910412653745580e2b76e13ebe73e73
2021-05-16 08:38:15 +00:00
Fraunhofer IIS FDK 91e7648127 Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d am: ec3a5114d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

Change-Id: I2425551b178ecc88f731d693a800ca77b9e43557
2021-05-16 08:33:50 +00:00
TreeHugger Robot 546d75ecd6 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4 am: 05692deb07
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

Change-Id: I2ecf12d33ca3d9f7936e85e1069dace386483eff
2021-05-16 08:24:18 +00:00
TreeHugger Robot ba9f2fc54f Merge "Avoid integer overflows in CLatmDemux_ReadAuChunkLengthInfo() and FDK_get32() to prevent endless loop." into sc-dev am: f633fc085e am: 97d79d7054
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373121

Change-Id: I19e45a422ccdf33d1215c6bdde84a479dbba9dde
2021-05-16 08:20:52 +00:00
TreeHugger Robot 086f4c9526 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4 am: 480c182ae9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: I2fe542920e55322aaae86d3ee11b90ec76c2af98
2021-05-16 08:10:41 +00:00
TreeHugger Robot ca6441ca35 Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157 am: f092b88a25
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

Change-Id: I2faf8e91423ad68f8f58f34331eed7696d78f20b
2021-05-16 07:57:30 +00:00
Fraunhofer IIS FDK 95f7178e49 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc am: adf9fe784b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

Change-Id: I8af88ec328523c845b45a34aa50249d240578b64
2021-05-16 07:26:40 +00:00
TreeHugger Robot 2e550d0f36 Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d am: 24e69d4552
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

Change-Id: Ifd2b8b2eb85806d31d40fcff54a402f56f31937c
2021-05-16 07:15:42 +00:00
TreeHugger Robot a74df9ebb7 Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0 am: 740116e266
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

Change-Id: Ibac7e9987408930981178669b45de95f21607c91
2021-05-16 06:48:19 +00:00
Jean-Michel Trivi 1f1fabc759 Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327 am: 52403628c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: I95d18a53bfe9520b6bb47c85eb2bcaf7af8e17e0
2021-05-16 06:35:06 +00:00
TreeHugger Robot b4018198dd Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92 am: 4f86d745ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: I6eac7c7b2c6180e4518d4ff54b0f17458a8f1039
2021-05-16 06:11:35 +00:00
TreeHugger Robot 97882bc3db Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659 am: f893dbc6ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

Change-Id: I8a76227c5d3dbe7213c19953e94f9df701e8b7bb
2021-05-16 05:28:06 +00:00
TreeHugger Robot db0eb54a60 Merge "Prevent undefined values for CODING_SCHEME type in huff_decode()." into sc-dev am: af61f20a8d am: 6213667f45
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386930

Change-Id: I84d34791370fbba64f41699c76931a1301b45930
2021-05-16 04:31:23 +00:00
TreeHugger Robot 6194400b60 Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100 am: 84bd0de621
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: I3f6386f49e441ac79a309c981172598662cd97df
2021-05-16 03:48:37 +00:00
TreeHugger Robot 209d4af35a Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90 am: 4f432296b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: Ib3d0c7d42585d55d313c1931c1b2200e2d2bc2d9
2021-05-16 02:41:19 +00:00
TreeHugger Robot 62ef7efa0b Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9 am: a8f6f5847e
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: I046ac94369a1d5e285cd28f9aa33096be45775b2
2021-05-15 21:40:43 +00:00
Fraunhofer IIS FDK d22ea87339 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4 am: 5141e516de
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: I70d87fcb84a09eb9cc5966540ae5bb13a0251009
2021-05-15 21:28:22 +00:00
Fraunhofer IIS FDK e600f5260b Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1 am: b7aee93697 am: 7997eb4a73
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

Change-Id: I7210851beb677d0fe260cdfb3a3a1dff98955f43
2021-05-15 06:11:24 +00:00
Fraunhofer IIS FDK cbbc65cd31 Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1 am: b8242b65ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

Change-Id: Iaa5232b15ba8254d270b8836b9902aede60270a0
2021-05-15 03:44:47 +00:00