1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-02-16 11:21:22 +01:00

981 Commits

Author SHA1 Message Date
Dima
3612e492b4 aac-dec: save to 32-bit wav if aac: INT_PCM==LONG (SAMPLE_BITS==32) 2019-10-08 16:08:18 +03:00
Dima
aed77c2f1b m4a-dec: save to 32-bit wav if aac: INT_PCM==LONG (SAMPLE_BITS==32) 2019-10-08 16:08:18 +03:00
Dima
7bcf0d3d55 m4a-dec: return error_code + break on decoding error 2019-10-08 16:08:18 +03:00
Martin Storsjo
baad462a03 Add a decoding example that uses libavformat to demux .m4a files 2019-10-08 16:08:18 +03:00
Martin Storsjo
fc4cd7dd43 Add an example of decoding from an ADTS file 2019-10-08 15:13:50 +03:00
Martin Storsjo
eca79446f7 Add wav writer functions, for use with a decoder example 2019-10-08 15:13:50 +03:00
Martin Storsjo
10fcf89a3e Revert "Reapply: Avoid reading out of bounds due to negative aaIccIndexMapped"
This reverts commit e6bb25613016ecd64ccbcb354768b4794ffd6351.

It seems like this isn't needed any longer on the latest upstream
version.
2019-10-08 15:10:34 +03:00
Martin Storsjo
3e6e1b2097 Revert "Reapply: Avoid reading out of bounds due to too large aaIidIndexMapped"
This reverts commit 28fdc28ec436ceafb11ceb6a354e9916c5265981.

It seems like this isn't needed any longer on the latest upstream
version.
2019-10-08 15:10:32 +03:00
Martin Storsjo
18aa41a0e7 Revert "Avoid index-out-of-bounds in prepareDrcGain"
This reverts commit cc5c85dd70f04178abccfd2c5539b13e01da78d8.

It seems like this isn't needed any longer on the latest upstream
version.
2019-10-08 15:10:29 +03:00
Martin Storsjo
0eb8139145 Revert "Avoid index-out-of-bounds in prepareDrcGain"
This reverts commit 5ab5496af95674e9ee741cba178d5b981bccbe45.

It seems like this isn't needed any longer on the latest upstream
version.
2019-10-08 15:10:27 +03:00
Martin Storsjo
9ab69f0c61 Revert "Avoid index-out-of-bounds in processDrcTime"
This reverts commit 3b9dd6b614edbfcb0cc31e176a0702c7a084d268.

It seems like this isn't needed any longer on the latest upstream
version.
2019-10-08 15:10:09 +03:00
Martin Storsjo
d3e9ff8fe4 Update the version numbers in the public installed headers 2019-10-08 15:08:35 +03:00
Martin Storsjo
e365f4f278 Merge remote-tracking branch 'aosp/master' 2019-10-08 14:53:07 +03:00
Martin Storsjo
d387d3b6ed Bump the versions and add a changelog entry for v2.0.1 v2.0.1 2019-10-08 14:30:16 +03:00
Martin Storsjo
3b9dd6b614 Avoid index-out-of-bounds in processDrcTime
Fixes: 17638/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5699860921057280

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2019-10-02 13:32:57 +03:00
Martin Storsjo
5ab5496af9 Avoid index-out-of-bounds in prepareDrcGain
Fixes: 16962/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5708503842291712

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2019-09-06 22:42:07 +03:00
Xin Li
d929f68a05 Merge "DO NOT MERGE - Merge Android 10 into master" 2019-09-05 16:53:26 +00:00
Xin Li
a209adb315 DO NOT MERGE - Merge Android 10 into master
Bug: 139893257
Change-Id: I7e02014b30f1ae5d19dbb7126ebb2a69c411fe5c
2019-09-04 13:33:32 -07:00
Martin Storsjo
cc5c85dd70 Avoid index-out-of-bounds in prepareDrcGain
Fixes: 15998/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-5756080707076096

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2019-08-29 22:02:33 +03:00
Martin Storsjo
9b0f848911 Avoid a failed assert on invalid channel indices
Fixes: 14914/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LIBFDK_AAC_fuzzer-6288430994030592

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
2019-08-15 13:14:40 +03:00
Xin Li
6266103519 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
am: c2eb64586d -s ours
am skip reason: subject contains skip directive

Change-Id: I637c44703fdee4aff09ea97fe2dce5c8395a2c63
2019-07-09 15:47:27 -07:00
Xin Li
506ae97bee [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
am: 569027011c -s ours
am skip reason: subject contains skip directive

Change-Id: I5aecc5cecde457bbfa6a076c68bd0b14bfa5da3f
2019-07-09 15:08:22 -07:00
Xin Li
c2eb64586d Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master" 2019-07-09 21:38:48 +00:00
Xin Li
569027011c DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
Bug: 136196576
Change-Id: Ibab15539f2fd0081ef9f8e1a607461d5238c9a88
2019-07-09 11:23:51 -07:00
android-build-team Robot
617c38c8cf Snap for 5622519 from 81b3f635622cda59f93cc13edf0621da064bc072 to pi-platform-release
Change-Id: I2fa7ee95d121ad53fd5e3cc445b83fbeb7bb2d66
2019-07-08 23:21:02 +00:00
Xin Li
4d56b880e2 DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master
Bug: 134405016
Change-Id: I30ab93ed5c2fa3c47306058d1a0f749b8101b01e
2019-07-01 20:59:18 +00:00
Xin Li
058d1295f4 [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master" am: b018de371d -s ours
am: c10b5daa8d -s ours
am skip reason: subject contains skip directive

Change-Id: Ia1d6cf99beb6ee823b4e188c59025139db431f02
2019-06-10 13:27:49 -07:00
The Android Open Source Project
f8d9637d81 [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master am: c3dcb81334 -s ours
am: e52d79c58e -s ours
am skip reason: subject contains skip directive

Change-Id: I68fb72ac2812bd9499eca63c16ddd4e02f483506
2019-06-10 13:17:27 -07:00
Xin Li
c10b5daa8d [automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master"
am: b018de371d -s ours
am skip reason: subject contains skip directive

Change-Id: Iacff6609b76e136716228b61a989a4a81b051c4f
2019-06-10 13:16:42 -07:00
The Android Open Source Project
e52d79c58e [automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master
am: c3dcb81334 -s ours
am skip reason: subject contains skip directive

Change-Id: I92a43f949f1ca6b2d060c3bd8b5edf097b7db637
2019-06-10 13:05:55 -07:00
Xin Li
b018de371d Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master" 2019-06-10 19:54:59 +00:00
The Android Open Source Project
c3dcb81334 DO NOT MERGE - Merge pie-platform-release (PPRL.190605.003) into master
Bug: 134605042
Change-Id: Ife6e13bfe9017388e48143e2f6475111d5bebca3
2019-06-10 09:32:24 -07:00
Xin Li
68078adb95 [automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190605.003) into stage-aosp-master
am: 0ef4321d83 -s ours
am skip reason: subject contains skip directive

Change-Id: I3e301b33d28f4a84f2cc584751315fa994628732
2019-06-05 17:06:41 -07:00
Xin Li
0ef4321d83 DO NOT MERGE - Merge pi-platform-release (PPRL.190605.003) into stage-aosp-master
Bug: 134605042
Change-Id: I5741210a2732e88685d878a5eb96d381924fa8d3
2019-06-05 15:18:18 -07:00
android-build-team Robot
87820b2475 Snap for 5524043 from 6c72374eeaf99e2b9db1c8cb5c9f945311317a1c to pi-platform-release
Change-Id: Ibe2a6ddf5f388db0403be3d99676aa0384d4094c
2019-06-05 01:53:51 +00:00
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