Commit Graph

1709 Commits

Author SHA1 Message Date
Fraunhofer IIS FDK cd41dbd325 Utilize dynamic scaling in slotAmp() to avoid signed integer overflows. am: 56de8e29ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470258

Change-Id: I333d98de722a0fb4b94007a77236e503b8b7b3ca
2021-05-07 21:51:46 +00:00
Fraunhofer IIS FDK 4d5ce23a6a Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: Iedde10c45bfcd36c647747d707babc44bfbe5730
2021-05-07 21:49:58 +00:00
Fraunhofer IIS FDK 1cf293e454 Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: I9e1cb5ba113f5df4df76be7e1bee5e2cbdd8ccca
2021-05-07 21:49:57 +00:00
Fraunhofer IIS FDK 6fc7e4ae3a Prevent too large shift exponent in apply_inter_tes() and merge two loops. am: 2a40fde39d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471061

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

Change-Id: Iaa3a1546fa0d8a92de3b1434b93d810b6e00e1a7
2021-05-07 21:49:56 +00:00
Fraunhofer IIS FDK e91474fcce Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

Change-Id: I033fc46b89137ad74135b36a3c2c9ccdf8de7bd4
2021-05-07 21:49:54 +00:00
Fraunhofer IIS FDK 877f2d687c Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

Change-Id: Idd546b91b3986a8b6cc24aee7dd74f34c04d3c98
2021-05-07 21:49:52 +00:00
Fraunhofer IIS FDK 5df817f938 Pass flushing flag to SBR module for stereo config index 3 as for stereo config index 1 and 2. am: 92dd536642
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470259

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

Change-Id: I8ea16bff79bee98ecc43d393eb07b27f858c15d2
2021-05-07 21:49:41 +00:00
Fraunhofer IIS FDK 1b5b22b9fc Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: If1dc7f802006ccf79587cd372e7b673b0f155dde
2021-05-07 21:49:18 +00:00
Fraunhofer IIS FDK 23c0776047 Prevent too large shift exponent in apply_inter_tes() and merge two loops. am: 2a40fde39d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471061

Change-Id: If4e702f228c4053c345a9141636b198d470b6070
2021-05-07 21:49:17 +00:00
Fraunhofer IIS FDK 7566b0355b Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

Change-Id: I5032ed2fc0536df8e16e5488128c8b9b94a70650
2021-05-07 21:49:13 +00:00
Fraunhofer IIS FDK 2289ce0344 Pass flushing flag to SBR module for stereo config index 3 as for stereo config index 1 and 2. am: 92dd536642
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470259

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

Change-Id: I919188f860f8c9a1eb629328ef7192a8d6554b11
2021-05-07 21:49:00 +00:00
Fraunhofer IIS FDK 6de1029823 Utilize dynamic scaling in slotAmp() to avoid signed integer overflows. am: 56de8e29ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470258

Change-Id: I3dd86141caa1d65bb08206b0a86e27b72ace37fd
2021-05-07 21:48:49 +00:00
Fraunhofer IIS FDK 41c2942fda Utilize dynamic scaling in slotAmp() to avoid signed integer overflows. am: 56de8e29ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470258

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

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

Change-Id: I86d6e5de19075554a043550fd79e6c95f82a1aa6
2021-05-07 20:59:38 +00:00
Fraunhofer IIS FDK 1b074faaa8 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: Ic6d8ab1c4899aa7670074dd6011a2df85852d943
2021-05-07 20:44:40 +00:00
Fraunhofer IIS FDK f20e11ed28 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: I568446484ac45601e15980652490e8cf9fc386eb
2021-05-07 20:43:17 +00:00
Fraunhofer IIS FDK babb5dce2f Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: I6caaf0c53349cf38da263edcbccfdd49cbea624f
2021-05-07 20:43:10 +00:00
Fraunhofer IIS FDK ba81285d2b Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: Ib5c4f6c2e9e177b9c4498f6f62c94d89d835629a
2021-05-07 20:43:10 +00:00
Fraunhofer IIS FDK 99424039a2 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: If6c6a562abc17624b1a0534d6dcc9a12c74af522
2021-05-07 20:42:44 +00:00
Fraunhofer IIS FDK 6bfd703af9 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows. am: 773ff1d3e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470257

Change-Id: Iac3f458c5f7381667bb72edb0246a38e8954ab13
2021-05-07 20:41:44 +00:00
Fraunhofer IIS FDK 675de1faf2 Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: Ic04dff8bffc77eb7a178f816b9f67af1381f5a81
2021-05-07 20:41:39 +00:00
Fraunhofer IIS FDK d40c181a61 Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

Change-Id: I650d87421f7b65025d308e0e148fe064796f2aac
2021-05-07 20:41:09 +00:00
Fraunhofer IIS FDK 09cf32a6c7 Refine aacDecoder_DecodeFrame() output buffer parameter type description.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: I83a460d03c7cde3e4f74011a7c3556c4cfd08cdd
2021-05-07 12:44:36 -07:00
Fraunhofer IIS FDK c2416f5e93 Add parameter pointer check to aacEncInfo() encoder API function.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: I5d758d2708a613382d9ad6d02a9dbe46ae2ef0cf
2021-05-07 12:44:00 -07:00
Fraunhofer IIS FDK 2a40fde39d Prevent too large shift exponent in apply_inter_tes() and merge two loops.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: I9ecb7fbae0a2c2c24af9067846afcf499b021608
2021-05-07 12:33:38 -07:00
Fraunhofer IIS FDK e5a14d0a33 Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply().
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: Ib83bd37861e1e24ff18ea276244a370962808fcf
2021-05-07 12:32:45 -07:00
Fraunhofer IIS FDK 92dd536642 Pass flushing flag to SBR module for stereo config index 3 as for stereo config index 1 and 2.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: Ifed0885abdbbfb2e2d4d94bc482e5e1e30794049
2021-05-07 10:56:20 -07:00
Fraunhofer IIS FDK 56de8e29ce Utilize dynamic scaling in slotAmp() to avoid signed integer overflows.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: Ia66fbbd16dec4f9e04d67463cca91d75f3741131
2021-05-07 10:56:07 -07:00
Fraunhofer IIS FDK 773ff1d3e8 Adapt scaling in combineSignalCplxScale*() to prevent signed integer overflows.
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: If773c90ccd256fd03641446c7f8bd82d04a100e4
2021-05-07 10:55:24 -07:00
Fraunhofer IIS FDK 85a3977fdf Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding().
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: I6237be90ed15e107cc4468770da7c330cdeef16f
2021-05-07 09:52:51 -07:00
Fraunhofer IIS FDK f3a2bc6ab5 Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d am: ff4ace52fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

Change-Id: I43642d53262d80203945bd0523709de6c9150c65
2021-05-07 15:23:32 +00:00
Fraunhofer IIS FDK ff4ace52fa Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

Change-Id: I4c7d4503727d5908e909dcc7999ce39517be7e08
2021-05-07 15:06:35 +00:00
Fraunhofer IIS FDK c9d41b9d2f Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

Change-Id: I7ceb9658a16449db89ccda5de743b1c834f0ec10
2021-05-07 15:06:00 +00:00
Fraunhofer IIS FDK 03416e01c7 Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE(). am: 48e0fa028d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373124

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

Change-Id: Ib442c1ba18a5897d34369245eefc84d16c941574
2021-05-07 15:04:57 +00:00
Fraunhofer IIS FDK 48e0fa028d Avoid unintentional sign conversions in lppTransposer() and lppTransposerHBE().
Bug: 186777497
Test: atest android.media.cts.DecoderTestAacFormat android.media.cts.DecoderTestXheAac android.media.cts.DecoderTestAacDrc
Change-Id: Ifc4618b8de4e377df28e387fb976ab5acb5883d7
2021-05-06 14:40:19 -07:00
TreeHugger Robot 4d84420532 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4 am: c39393a732
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

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

Change-Id: I5a359e83c96fce7323ff0e108102798b9571f28e
2021-05-06 21:11:43 +00:00
TreeHugger Robot c39393a732 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

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

Change-Id: Ica864c2a1ea78200a44882b593fe5b5bbb014f5f
2021-05-06 20:55:56 +00:00
TreeHugger Robot fdec102c18 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

Change-Id: Ifa758ff72b8c099ba46edc06aa0a15522fddb25d
2021-05-06 20:55:11 +00:00
TreeHugger Robot 05692deb07 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

Change-Id: Iea02ef7cf0ed422eb6c30fb8ad10577f3c491b67
2021-05-06 20:55:09 +00:00
TreeHugger Robot 3b15a95c06 Merge "Validate whether all PCE listed element instance tags are present in raw_data_block." into sc-dev am: 8d746cfdb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373122

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

Change-Id: I51b0c8c03fe7f1b6e14a802f7340e121d4186fe9
2021-05-06 20:54:51 +00:00
TreeHugger Robot 32bfe195a9 Merge "Avoid integer overflows in CLatmDemux_ReadAuChunkLengthInfo() and FDK_get32() to prevent endless loop." into sc-dev am: f633fc085e
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373121

Change-Id: If933a862e97300cfe27f36d8adae9a1b2fd21bc7
2021-05-06 20:54:09 +00:00
TreeHugger Robot c49e0ec2c0 Merge "Avoid integer overflows in CLatmDemux_ReadAuChunkLengthInfo() and FDK_get32() to prevent endless loop." into sc-dev am: f633fc085e
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373121

Change-Id: I2734f66d95df9031c855bef4b4dc49a7086ba811
2021-05-06 20:53:57 +00:00