Compare commits

...

540 Commits

Author SHA1 Message Date
Martin Storsjo 14922d3c5e Add Github Actions CI build testing 2023-10-06 16:37:58 +03:00
Martin Storsjo 8f44c0c851 Add a script for doing very rudimentary regression testing
This is expected to fail if the encoder is updated in a way
that changes its output; in such cases, the test references need
to be updated.
2023-10-06 16:37:58 +03:00
Martin Storsjo 875c4f2846 Add a tool for testing decoding+encoding in a number of configurations 2023-10-06 16:37:58 +03:00
David Seifert 0ff71755b3 Do not force inlining of indirect functions
* A function called indirectly cannot be decorated
  with `__attribute((always_inline))`, as this is
  guaranteed to only work with direct calls:
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63220#c1

Bug: https://bugs.gentoo.org/798045
2023-10-06 16:37:58 +03:00
Christian Budde 74c338771a Fixed a typo in the documentation 2023-10-06 16:37:58 +03:00
evpobr 463a3180f8 Add CMake project 2023-10-06 16:37:58 +03:00
Rosen Penev ef9248e62a fix compilation with mips16
Some users wrongly pass both -mips16 and -mdsp when compiling on MIPS
platforms. Handle such a case.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-10-06 16:37:58 +03:00
Martin Storsjo c2ccb6cf0d Fix FDK_FALLTHROUGH for apple clang
In the apple branded version of clang, the [[clang::fallthrough]]
attribute isn't supported.

Directly exposing __has_cpp_attribute(clang::fallthrough) to the
preprocessor breaks when building in C mode with GCC, which forces
wrapping it in an extra layer of #ifdef __cplusplus.
2023-10-06 16:37:58 +03:00
Martin Storsjo b0de62a822 Remove a duplicate definition of fMax/fMin for x86_64 mingw
FIXP_SGL is a typedef for SHORT, so these extra definitions (which
only were enabled on x86_64 mingw) were duplicates with the fMin/fMax
functions defined for FIXP_SGL right above.
2023-10-06 16:37:58 +03:00
Martin Storsjo 69e32c26a7 Initialize the transport decoder library with TPDEC_PARAM_IGNORE_BUFFERFULLNESS
Prior to FDKv2, this was what the library used to do.

This makes sure that the decoder actually decodes ADTS frames directly
if feeding full ADTS frames to the decoder. Previously after FDKv2,
the decoder would only start decoding ADTS frames after feeding a few
frames.
2023-10-06 16:37:58 +03:00
Martin Storsjo 7b59c1a95d Recognize the MSVC ARM64 compiler arch identification 2023-10-06 16:37:58 +03:00
Martin Storsjo ebc6e2df5d Replace __attribute__((always_inline)) with FDK_FORCEINLINE
This fixes compilation for ARM with MSVC.
2023-10-06 16:37:58 +03:00
Martin Storsjo 950bacf4b4 Add an fdk_ prefix to t_qua_gain7b
This fixes symbol collisions, if libfdk-aac and libopencore-amr are
statically linked into the same binary.
2023-10-06 16:37:58 +03:00
Martin Storsjo 6e55ce2a7f Fix building with MSVC for ARM
cmnintrin.h only existed for Windows CE, and doesn't seem to actually
be necessary for building this.
2023-10-06 16:37:58 +03:00
opcodevoid e1518e59e6 Windows MSVC Build fixes 2023-10-06 16:37:58 +03:00
Guillaume Smaha 2cc90f3861 Invert inline and void to be compatible with gcc 3.3.4 2023-10-06 16:37:58 +03:00
Vicente Olivert Riera da5be35bfc libFDK/include/mips/cplx_mul.h: use C code instead of ASM
Replace the assembler code by the equivalent in C. This way it will work
for every MIPS ISA. Now the check for __mips_isa_rev < 6 is no longer
necessary, so remove it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
2023-10-06 16:37:58 +03:00
Jasper Lievisse Adriaanse 8a2030e2b0 Fix the preprocessor statements controlling the use of mips{32,64}r1 instructions.
Only enable code using mips32/mips64 instructions if the compiler is targetting
this ISA. (integer madd and msub instructions aren't available in the
``canonical'' mips ISAs)
2023-10-06 16:37:58 +03:00
Mark Harris 68bb77094b Add ppc optimization for clz and fixmul
Optimize ppc/ppc64 similar to i386/x86_64, approximately doubling
encoding speed on a Power Mac G5 running OS X 10.5.8.
2023-10-06 16:37:58 +03:00
Mark Harris 01c1dc56fe Fix PowerPC Mac build 2023-10-06 16:37:58 +03:00
Martin Storsjo 31b6ca6184 Add automake/autoconf source files
Also add examples.
2023-10-06 16:37:58 +03:00
Sergio Ammirata eea4c5e9aa Add support for Workgroup 4 (WG4) channel mapping
This is the channel ordering used in DVD Audio, and is the standard
used internally in the VLC media player.
2023-10-06 16:14:53 +03:00
Xin Li 5543791bdc Merge "Merge Android 14" into main 2023-10-06 05:38:52 +00:00
Xin Li 7a4a08dbf0 Merge Android 14
Bug: 298295554
Merged-In: I206973e0bb21140865efffd930e39f920f477359
Change-Id: Ic25a4d2ce82788e0f07d1e5de0f76c780977b180
2023-10-05 15:36:59 -07:00
Xin Li ff7af5c8e6 Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: Icf5305a7da47fb85235f428151f2fed10f4aa2f4
Change-Id: I1d3004de1db114ad88224d8b7d4aaeec0d1fe23d
2023-08-14 15:36:13 -07:00
Treehugger Robot 820482ff3f Merge "Updated fuzz_config in Android.bp file" am: e1495c9ec5 am: 6144fcd3a6 am: d5b80a23c2
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2471984

Change-Id: Icf5305a7da47fb85235f428151f2fed10f4aa2f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 08:54:35 +00:00
Treehugger Robot d5b80a23c2 Merge "Updated fuzz_config in Android.bp file" am: e1495c9ec5 am: 6144fcd3a6
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2471984

Change-Id: I3e88cc494864e50a9aba55368abd2aa68ba0daa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 08:06:15 +00:00
Treehugger Robot 6144fcd3a6 Merge "Updated fuzz_config in Android.bp file" am: e1495c9ec5
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2471984

Change-Id: I3ab0c566dcf14ff9edad899eb0cd5818d2211a64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-19 07:27:40 +00:00
Treehugger Robot e1495c9ec5 Merge "Updated fuzz_config in Android.bp file" 2023-06-19 06:50:16 +00:00
Fraunhofer IIS FDK 41f22ae529 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 11fe84eaf8 -s ours am: 0c859a510a -s ours am: 00e8f9d514 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ic94d9da6d2f0329414a2c34b05091ead274498cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:37:48 +00:00
Fraunhofer IIS FDK 3b7ca1a88b [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 2012fb9340 -s ours am: 4fe922ff76 -s ours am: 917390dbc8 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: I8da39d1a0eaa191bd6878658b2c3ea1ff692ac4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:37:12 +00:00
Fraunhofer IIS FDK bf0bcef7d7 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 7e3afbb85d -s ours am: 64809622b6 -s ours am: 4a8fe5105e -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: If4ef53a6d10d18a18980425ec844684b22c64b8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:36:44 +00:00
Fraunhofer IIS FDK 832858bb3e [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: 6611abd75d -s ours am: c0228e20b7 -s ours am: 39a41bdb16 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I0d30156177085a062f1155365cb2812c3069ddac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:36:11 +00:00
Fraunhofer IIS FDK b0c6dfc098 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 882e4f2180 -s ours am: d72330c0a7 -s ours am: ea4dfc9e90 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: Iae4ff809fb8e070401ae2ca0d5874ce8b63f55e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:35:19 +00:00
Fraunhofer IIS FDK 28811c4bf9 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: d71bdb8fa4 -s ours am: c933b13d82 -s ours am: 648d33f8af -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: I24c15e551a4bbe06bf230491e1021bbe34875088
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 20:34:14 +00:00
Fraunhofer IIS FDK 6123c14d47 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 11fe84eaf8 -s ours am: 0c859a510a -s ours am: afd7d151c0 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ibea513bee07b4cbcd1d57d099c3d0d1a01ca158b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:50 +00:00
Fraunhofer IIS FDK a806653b77 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 2012fb9340 -s ours am: 4fe922ff76 -s ours am: 81771bec91 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Iffd02588ecc3a0122d35646f66ea25de8b4dc8fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:45 +00:00
Fraunhofer IIS FDK 5e7d83b441 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 7e3afbb85d -s ours am: 64809622b6 -s ours am: 2bc1bd163d -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I53eb0dff0ab67dbf220eb7df76ff597b2fc7c0d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:39 +00:00
Fraunhofer IIS FDK 204fdbc725 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: 6611abd75d -s ours am: c0228e20b7 -s ours am: ff72e4b39d -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I24b237ce9cab7d07d1f18c434e2ce885a238dcd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:34 +00:00
Fraunhofer IIS FDK b9013a1d56 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 882e4f2180 -s ours am: d72330c0a7 -s ours am: f33b682192 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: I62684fa1c0b495c7cbd1c98162f0761d422bc0fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:29 +00:00
Fraunhofer IIS FDK 57af508e93 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: d71bdb8fa4 -s ours am: c933b13d82 -s ours am: f3d2f764b0 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: If27d3b8ec7b65842f8b0a8a5edb00dc23956251e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:54:23 +00:00
Fraunhofer IIS FDK d885d2cf88 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 15c94964e0 -s ours am: 063f755963 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Iebc839b15cca135732b36c83fcb2f3004c778736
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:53:55 +00:00
Fraunhofer IIS FDK 2a4a29989e [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 0010ae7c45 -s ours am: aa48c8c31f -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ifcf4a2c1c9946597d12d1f6f5af2faf448758642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:53:20 +00:00
Fraunhofer IIS FDK 2d1a8f59f6 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 8e7379d938 -s ours am: 1052e4c46c -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: If48a91df9ffe8c01e25ea2fcc3b116739b0390bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:42 +00:00
Fraunhofer IIS FDK 00e8f9d514 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 11fe84eaf8 -s ours am: 0c859a510a -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I92da7ae43e4f8e84c2881c7228e2ba7b1ee43bac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:40 +00:00
Fraunhofer IIS FDK 917390dbc8 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 2012fb9340 -s ours am: 4fe922ff76 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ia6dbbd83431f2260e6f61192c16e9ccdb0327a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:35 +00:00
Fraunhofer IIS FDK 4a8fe5105e [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 7e3afbb85d -s ours am: 64809622b6 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I885054796113b46268f29665423ad087f17524bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:30 +00:00
Fraunhofer IIS FDK 39a41bdb16 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: 6611abd75d -s ours am: c0228e20b7 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I9be758fbda2651fa1fc35c3991653bbcd1871c8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:24 +00:00
Fraunhofer IIS FDK afd7d151c0 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 11fe84eaf8 -s ours am: 0c859a510a -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I59f141e89f5e38f33fd68ba0d157a8a9bf474b61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:11 +00:00
Fraunhofer IIS FDK 8c8250e245 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: cc453a7a26 -s ours am: ca237e7dbe -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I84b73a1f7ef94ff66104e632ce42693ed93ed6b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:07 +00:00
Fraunhofer IIS FDK 81771bec91 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 2012fb9340 -s ours am: 4fe922ff76 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ie9c553211bdd5393ab1cc7207619a4841c3d0b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:06 +00:00
Fraunhofer IIS FDK 4141846ac5 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 24ff1ff2b2 -s ours am: e4342fee79 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: Iaa75cfac4934f2bdab6cfddec6b0c34edab68752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:02 +00:00
Fraunhofer IIS FDK 2bc1bd163d [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 7e3afbb85d -s ours am: 64809622b6 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I6848f17348b75ad4c7fcc9118bbcb55f068669a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:52:00 +00:00
Fraunhofer IIS FDK ff72e4b39d [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: 6611abd75d -s ours am: c0228e20b7 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: Ib137057a633c02af86c28ecd9ae1a4156ca3dd07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:51:55 +00:00
Fraunhofer IIS FDK ea4dfc9e90 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 882e4f2180 -s ours am: d72330c0a7 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: Icbc5a0198c63b8cdd837c65c3702d2b635c51561
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:51:40 +00:00
Fraunhofer IIS FDK f33b682192 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 882e4f2180 -s ours am: d72330c0a7 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: Ia172b18a8619bc63496fb692a74480f69ee8f3b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:50:48 +00:00
Fraunhofer IIS FDK 648d33f8af [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: d71bdb8fa4 -s ours am: c933b13d82 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: Icc556560125c6309444b7c3ab164932bb7ad8243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:50:41 +00:00
Fraunhofer IIS FDK ff1b13474a [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: 7eff67a079 -s ours am: edefec42ea -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: I4bb7d619e3b535d3c74988470f4075478b6b70ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:50:18 +00:00
Fraunhofer IIS FDK f3d2f764b0 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: d71bdb8fa4 -s ours am: c933b13d82 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: Ib9e739033f58c5326f9207c4a62674724dc84fa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:49:31 +00:00
Fraunhofer IIS FDK 063f755963 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 15c94964e0 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ie649330ef5a63771e6afb09dcb6489c841fa3b64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:05:06 +00:00
Fraunhofer IIS FDK aa48c8c31f [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 0010ae7c45 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: I1c8dec90667000a29bb1b7e0f09648851f7e3e2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:05:01 +00:00
Fraunhofer IIS FDK 1052e4c46c [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 8e7379d938 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I3cbf2ad394c785e15c7ff794e4a92de998bdac1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:04:55 +00:00
Fraunhofer IIS FDK ca237e7dbe [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: cc453a7a26 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I19533b5c7716fd251c36c104cf97e948d73735d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 19:04:50 +00:00
Fraunhofer IIS FDK 0c859a510a [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours am: 11fe84eaf8 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ie796c1ce76d1ee6782750a933833e795f3a7e9d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:26 +00:00
Fraunhofer IIS FDK 4fe922ff76 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours am: 2012fb9340 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: I76f5ab0d4823584b6c014a60ff4d7ac18002d2d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:22 +00:00
Fraunhofer IIS FDK 64809622b6 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours am: 7e3afbb85d -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: If58cf7246c2641d53109f857b93ef9177f9d11f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:17 +00:00
Fraunhofer IIS FDK 11fe84eaf8 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I3e47aebd2675bafd1f72ebf6e1aedfe376ac4e86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:17 +00:00
Fraunhofer IIS FDK c0228e20b7 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours am: 6611abd75d -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I6c064f5e025a4ad0d73c8dc8296307a29801b713
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:13 +00:00
Fraunhofer IIS FDK 2012fb9340 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Iea7a737007c9366275467df43dbe8e246876aae8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:13 +00:00
Fraunhofer IIS FDK d72330c0a7 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 882e4f2180 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: I71bc71785f1bbe9492afcea56692f11eec04e15b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:09 +00:00
Fraunhofer IIS FDK 7e3afbb85d [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I247ec8b2d868d6f2cbed49f122db6cc4adb26f7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:08 +00:00
Fraunhofer IIS FDK c933b13d82 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: d71bdb8fa4 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: I327326f0f1a25b5e950531bc2f48a5226efbe6cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:05 +00:00
Fraunhofer IIS FDK 6611abd75d [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: Iceb6c6ba07fba559ead144ebdd2cf59b568f7c56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:40:04 +00:00
Fraunhofer IIS FDK 15c94964e0 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours am: 1985b858ab -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I55b19dd99ff703fecbc614926fb9172dadb2e026
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:39:33 +00:00
Fraunhofer IIS FDK 0010ae7c45 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours am: 4af68e31b3 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: I2752383333e6222ec575291bd062ea601b162474
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:39:28 +00:00
Fraunhofer IIS FDK 8e7379d938 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours am: 8fa3cb2888 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: Iacb88b5be83b7303d6c715fb67e7a28e07b03fbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:39:22 +00:00
Fraunhofer IIS FDK cc453a7a26 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours am: 7c0b490f6b -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I1d04af405cd3781d11ed41f96755784e3b73524e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:39:17 +00:00
Fraunhofer IIS FDK f0eaa81898 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cf141c714f am: f1b90b8dff -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497644

Change-Id: Ieb5da4c6c143b821aa54f5374157c225dd4c8b5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:37:41 +00:00
Fraunhofer IIS FDK e4342fee79 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours am: 24ff1ff2b2 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: If3095b66732503a47967798c3bad4c5a20f6f11d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:36:46 +00:00
Fraunhofer IIS FDK edefec42ea [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7 am: 7eff67a079 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cf141c714f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: If72c52599c88f034912524abac6a1cae4f0f7e90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:36:31 +00:00
Fraunhofer IIS FDK 1985b858ab [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours am: 51901eb166 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I13af45b28d4afeee0bb70a39f1c5b9ff814f185e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:12:20 +00:00
Fraunhofer IIS FDK 4af68e31b3 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours am: 867b8e1f77 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ia86a6ec756ec5f7d6f6f5fd5160f155b2a1055ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:12:15 +00:00
Fraunhofer IIS FDK 8fa3cb2888 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours am: daa7312ce2 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I0e3d78d5f007d1e799048082a968084d36f40809
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:12:10 +00:00
Fraunhofer IIS FDK 7c0b490f6b [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours am: ae3186940a -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: I5b07f584bc4c2d8a241981b70cc891f2c8b61fa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 18:12:04 +00:00
Fraunhofer IIS FDK 51901eb166 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours am: f2c0c8722a -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: I5019fb3e1643b12a87c4ace1a94a0c47590c8b1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:38 +00:00
Fraunhofer IIS FDK 867b8e1f77 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours am: ec5f76e522 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: I4bf5ea5afbb0bd97231d4a48cd398bf260c10525
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:33 +00:00
Fraunhofer IIS FDK 882e4f2180 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: I61a8a0b62b9d5a14ba86fee7c1897b049504392c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:32 +00:00
Fraunhofer IIS FDK d71bdb8fa4 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: I968eb9733f397cb354adf68b536436b44102eeb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:28 +00:00
Fraunhofer IIS FDK daa7312ce2 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours am: 2297b69943 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: I7e6148792e5cfb13f1f000e1e4bac858c1af5e40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:27 +00:00
Fraunhofer IIS FDK ae3186940a [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 35a37fd6ed -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 cd6f219861 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497640

Change-Id: Ie7a8385adde4f07fb5e7e7d1e7fc586c7d730d67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:55:22 +00:00
Fraunhofer IIS FDK 24ff1ff2b2 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours am: 14db3e3104 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: Icf0b65e3a9bc2ee93deb85823aff6b6f773169d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:54:47 +00:00
Fraunhofer IIS FDK 7eff67a079 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 2f8c08a4e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497643

Change-Id: I7b204263b83a23c81138a697905553c28fce4dae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:54:41 +00:00
Fraunhofer IIS FDK b6035c3846 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cf141c714f -s ours am: 25f9b3a489 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 0c4954dd87 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497644

Change-Id: I4a527301ff179b638f51567562ad1a40995557ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:54:02 +00:00
Fraunhofer IIS FDK f1b90b8dff Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cf141c714f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497644

Change-Id: Ieb9f45ff464225c80a170c296dc17058e6f56e89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:53:00 +00:00
Fraunhofer IIS FDK d721fc5223 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 0c4954dd87
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497047

Change-Id: I84543f1357f7dde3ff81f912c9ee76a9560410cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:52:48 +00:00
Fraunhofer IIS FDK f2c0c8722a [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours am: de6ed2f433 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Idd58cb54822bebd41debd51bffef8523427c9cfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:52:16 +00:00
Fraunhofer IIS FDK ec5f76e522 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours am: e65291ead7 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ia192cbde2f6f7443efc0c247c7204194ecea3143
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:52:12 +00:00
Fraunhofer IIS FDK 2297b69943 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 173576b2b3 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 35a37fd6ed is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497466

Change-Id: Ied5877b110fc7361eed78db35b4679edefcabfb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:52:08 +00:00
Fraunhofer IIS FDK de6ed2f433 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours am: 990f402bdf -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ie7552fcd2428ccdda6c09c8d13167ba2a6c8e249
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:51:53 +00:00
Fraunhofer IIS FDK e65291ead7 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 46c53ba0cb -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 173576b2b3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497460

Change-Id: Ie59442faa18ad74f2f58bf395205f9daf9a66550
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:51:47 +00:00
Fraunhofer IIS FDK 25f9b3a489 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cf141c714f -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 0c4954dd87 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497644

Change-Id: I25ec900e95aa401d61b6685a5355d81d2693f561
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:51:42 +00:00
Fraunhofer IIS FDK 14db3e3104 [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: cd6f219861 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 2f8c08a4e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497642

Change-Id: If658ec94a0c6db63a0818039d89f556178c71aa9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:49:43 +00:00
Fraunhofer IIS FDK 990f402bdf [automerger skipped] Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer(). am: 451762ca48 -s ours
am skip reason: Merged-In I206973e0bb21140865efffd930e39f920f477359 with SHA-1 46c53ba0cb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/23497456

Change-Id: Ica23cac502199f6b248e008ff8396f35a8769c78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 17:49:41 +00:00
Fraunhofer IIS FDK cf141c714f Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:05:30 +00:00
Fraunhofer IIS FDK 2f8c08a4e7 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:04:44 +00:00
Fraunhofer IIS FDK cd6f219861 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:03:52 +00:00
Fraunhofer IIS FDK 35a37fd6ed Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:03:22 +00:00
Fraunhofer IIS FDK 173576b2b3 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:02:06 +00:00
Fraunhofer IIS FDK 46c53ba0cb Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 19:00:57 +00:00
Fraunhofer IIS FDK 451762ca48 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 18:59:04 +00:00
Fraunhofer IIS FDK 0c4954dd87 Increase patchParam array size by one and fix out-of-bounce write in resetLppTransposer().
Bug: 279766766
Test: see POC
Change-Id: I206973e0bb21140865efffd930e39f920f477359
Merged-In: I206973e0bb21140865efffd930e39f920f477359
(cherry picked from commit f682b8787eb312b9f8997dac4c2c18bb779cf0df)
2023-05-31 18:56:49 +00:00
Treehugger Robot 2d5b94d481 [automerger skipped] Merge "Disable MPEG-D DRC for legacy AOTs" am: aa9650bdc4 am: b3318ce691 am: f0f384d363 -s ours
am skip reason: Merged-In Ie84badaa24bb4169adfdb1d3243525c32b44d3e9 with SHA-1 2f4c595c4a is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562630

Change-Id: Ia3e3f1c4772a1ee64c99fae0b0318f176c108d3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 18:28:39 +00:00
Treehugger Robot 182d1982a2 [automerger skipped] Merge "Remove obsolete uni drc precedence handling" am: 7f83eb07af am: dc087c5c90 am: bc912c4780 -s ours
am skip reason: Merged-In I0ddc479626fb6a89d04bc989256ad1d8ec4275a3 with SHA-1 4c41b05b6c is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562610

Change-Id: I3b05500a54a5cd9db8aafbb1ec09c4ae2cef932a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 18:28:36 +00:00
Treehugger Robot f0f384d363 Merge "Disable MPEG-D DRC for legacy AOTs" am: aa9650bdc4 am: b3318ce691
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562630

Change-Id: I06f7f454988a27cf05c329b85d7bc668eb5673d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:42:45 +00:00
Treehugger Robot bc912c4780 Merge "Remove obsolete uni drc precedence handling" am: 7f83eb07af am: dc087c5c90
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562610

Change-Id: Ib91dbddb88fcab7c2e3d8128fedc13b84ec2e510
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:42:43 +00:00
Treehugger Robot b3318ce691 Merge "Disable MPEG-D DRC for legacy AOTs" am: aa9650bdc4
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562630

Change-Id: I68a2aba4720b5615111e1fd07a334e43ae6d5718
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:00:19 +00:00
Treehugger Robot dc087c5c90 Merge "Remove obsolete uni drc precedence handling" am: 7f83eb07af
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2562610

Change-Id: I8d29d1b5b13251bd3f375da79156dfeead7104d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-01 17:00:17 +00:00
Treehugger Robot aa9650bdc4 Merge "Disable MPEG-D DRC for legacy AOTs" 2023-05-01 16:18:51 +00:00
Treehugger Robot 7f83eb07af Merge "Remove obsolete uni drc precedence handling" 2023-05-01 16:18:51 +00:00
Fraunhofer IIS FDK 7db7dc35b9 Remove obsolete uni drc precedence handling am: 4c41b05b6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/22789795

Change-Id: I1918a1e75e006ab291625065bba8943237777f93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 17:23:06 +00:00
Jean-Michel Trivi a6ab9ba89b Disable MPEG-D DRC for legacy AOTs am: 2f4c595c4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/22789794

Change-Id: Icfb2b46c74449cd0ed4b1aa4721fbcf7d4a27c10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-25 17:23:04 +00:00
Jean-Michel Trivi b5b590367a Disable MPEG-D DRC for legacy AOTs
Disable MPEG-D DRC metadata for legacy AOTs 2 (AAC-LC), 5 (HE-AAC),
and 29 (HE-AAC v2).

Bug: 241391733
Test: see bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2f4c595c4abd721967ecb494f5aec3f6b6dafb9e)
Merged-In: Ie84badaa24bb4169adfdb1d3243525c32b44d3e9
Change-Id: Ie84badaa24bb4169adfdb1d3243525c32b44d3e9
2023-04-25 17:11:39 +00:00
Jean-Michel Trivi 167dcc380a Remove obsolete uni drc precedence handling
Bug: 241391733
Test: see bug
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c41b05b6c60275c2a6b28918f40c218a8b818f6)
Merged-In: I0ddc479626fb6a89d04bc989256ad1d8ec4275a3
Change-Id: I0ddc479626fb6a89d04bc989256ad1d8ec4275a3
2023-04-25 17:11:26 +00:00
Fraunhofer IIS FDK 4c41b05b6c Remove obsolete uni drc precedence handling
Bug: 241391733
Test: see bug
Change-Id: I0ddc479626fb6a89d04bc989256ad1d8ec4275a3
2023-04-21 18:23:24 -07:00
Jean-Michel Trivi 2f4c595c4a Disable MPEG-D DRC for legacy AOTs
Disable MPEG-D DRC metadata for legacy AOTs 2 (AAC-LC), 5 (HE-AAC),
and 29 (HE-AAC v2).

Bug: 241391733
Test: see bug
Change-Id: Ie84badaa24bb4169adfdb1d3243525c32b44d3e9
2023-04-21 17:14:34 -07:00
Jean-Michel Trivi 9a1d7af5d5 Merge "Correct comment spelling error." am: 0f065e796b am: 18cb3fccf6 am: a6afc4ee44
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2519657

Change-Id: I0ccbc0c4671d836dd385a6b82b85bef7f974248f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 21:37:40 +00:00
Jean-Michel Trivi a6afc4ee44 Merge "Correct comment spelling error." am: 0f065e796b am: 18cb3fccf6
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2519657

Change-Id: I9219ef758ffb43804959a70204dce05de88447ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 21:07:12 +00:00
Jean-Michel Trivi 18cb3fccf6 Merge "Correct comment spelling error." am: 0f065e796b
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2519657

Change-Id: Ifeddd337fb8c4b648aaafb8c86c94ea4fa904f76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 20:24:48 +00:00
Jean-Michel Trivi 0f065e796b Merge "Correct comment spelling error." 2023-04-04 19:59:06 +00:00
wujianxing1 477ac94c2d Correct comment spelling error.
Change-Id: I2b0451986e70d0fbb7fefa5bbb95b1ca98e4f7ac
Signed-off-by: wujianxing1 <wujianxing1@xiaomi.corp-partner.google.com>
2023-04-03 17:06:00 +08:00
Ayushi Khopkar e575d5741d Updated fuzz_config in Android.bp file
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.

Bug: 271384401
Test: Build aac_dec_fuzzer and aac_enc_fuzzer

Change-Id: I2637accffa42e37fc90e19b531ca5aef299b811e
2023-03-06 11:13:25 +05:30
Martin Storsjo 7cb7d8c181 Update the version numbers in the public installed headers
Bug: 261048742
Test: atest android.media.encoder.cts.EncoderTest
Change-Id: I44537c067e6ef34e77a67d02d8e9a8e9dfffab92
2022-12-09 04:19:16 +00:00
Martin Storsjo 32c697660d Include the encoder library version in the publicly installed header
This allows callers to conditionally use new API features without
breaking compatibility with the earlier versions of the library.

Bug: 261048742
Test: atest android.media.encoder.cts.EncoderTest
Change-Id: Icdf18317e120caf8be750a839ae75a6ac8eba142
2022-12-01 21:48:47 +00:00
Treehugger Robot 2032bc891f Merge "Add riscv64 support" am: 75e9f62078 am: 87b22603e8 am: a30d828f33
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2171525

Change-Id: I0d4764f69e5075df012ee7ad7c059881dcff69d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 23:46:45 +00:00
Treehugger Robot a30d828f33 Merge "Add riscv64 support" am: 75e9f62078 am: 87b22603e8
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2171525

Change-Id: If1c06433eb568c9823c89d86ba6686ac4ac7366d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 23:13:55 +00:00
Treehugger Robot 87b22603e8 Merge "Add riscv64 support" am: 75e9f62078
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2171525

Change-Id: I4d5851ffc1e5e1892ec83209045ccf3bf4b188cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 22:29:53 +00:00
Treehugger Robot 75e9f62078 Merge "Add riscv64 support" 2022-11-04 21:52:02 +00:00
Treehugger Robot 433a135d67 Merge "[Bluetooth apex] Use new apex name" am: f9820781d9 am: 82c5dbb07b am: 1b918d8de0 am: 34effe2f68 am: 6097888451
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2192087

Change-Id: Ib205b865950336bf275640c891fd111ca8c1e22d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 01:14:36 +00:00
Treehugger Robot 6097888451 Merge "[Bluetooth apex] Use new apex name" am: f9820781d9 am: 82c5dbb07b am: 1b918d8de0 am: 34effe2f68
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2192087

Change-Id: I90093847a2efe1b5af80f14712353a3531e1c9c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-24 00:28:39 +00:00
Treehugger Robot 34effe2f68 Merge "[Bluetooth apex] Use new apex name" am: f9820781d9 am: 82c5dbb07b am: 1b918d8de0
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2192087

Change-Id: Ic2dda304ecfb4d8c520c30ffd95b704497260d03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 23:33:49 +00:00
Treehugger Robot 1b918d8de0 Merge "[Bluetooth apex] Use new apex name" am: f9820781d9 am: 82c5dbb07b
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2192087

Change-Id: I20beda4ed1fcf0a060e0ca03d6e76a161d499aeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 23:03:06 +00:00
Treehugger Robot 82c5dbb07b Merge "[Bluetooth apex] Use new apex name" am: f9820781d9
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2192087

Change-Id: Iaea278a4c8c276598c1d9d7b6a6495a2faad0591
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 21:40:31 +00:00
Treehugger Robot f9820781d9 Merge "[Bluetooth apex] Use new apex name" 2022-08-23 21:05:13 +00:00
William Escande 2bb735c4fb [Bluetooth apex] Use new apex name
The Bluetooth apex name is now called com.android.btservices

Bug: 243054261
Test: Build
Change-Id: I504a8727ddf73d3568616bc0f57983331dd28744
2022-08-22 11:27:53 -07:00
haocheng.zy 3aabcb6abd Add riscv64 support
Signed-off-by: Zhang Ye <haocheng.zy@linux.alibaba.com>
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>

Change-Id: Ifc1c8801d885b0b4ac1bf91842830ab650780328
2022-08-01 16:27:30 +08:00
Treehugger Robot de4a1d6125 [automerger skipped] Merge "DO NOT MERGE - Skip SQ3A.220605.009" am: 2231acfd62 am: 8f53fdaaa6 am: 8da1061f74 am: 2c2abe9736 am: 9cf12aa868 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: Ia697176fcde810faa01a30e669cd17cd7a921dce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:58:34 +00:00
Xin Li af845c3530 [automerger skipped] DO NOT MERGE - Skip SQ3A.220605.009 am: bc7c5b55b5 am: 181d0ef5e2 am: 94a09cf355 am: a5b4e7363f am: 580e9caedd -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: Ieb7e5a23c273f1c4419316fb4ea9f0e5e8246b8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:57:46 +00:00
Treehugger Robot 9cf12aa868 Merge "DO NOT MERGE - Skip SQ3A.220605.009" am: 2231acfd62 am: 8f53fdaaa6 am: 8da1061f74 am: 2c2abe9736
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: I8ef7094e0c67b956b2c7302a247b26323cdd9879
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:32:46 +00:00
Xin Li 580e9caedd DO NOT MERGE - Skip SQ3A.220605.009 am: bc7c5b55b5 am: 181d0ef5e2 am: 94a09cf355 am: a5b4e7363f
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: Ib7c8008cf259618654de2d4a9c23fc26310741ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:32:00 +00:00
Treehugger Robot 2c2abe9736 Merge "DO NOT MERGE - Skip SQ3A.220605.009" am: 2231acfd62 am: 8f53fdaaa6 am: 8da1061f74
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: I4018d2e225aefd674fddc8691cfeb0c9d2a3ac8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:03:17 +00:00
Xin Li a5b4e7363f DO NOT MERGE - Skip SQ3A.220605.009 am: bc7c5b55b5 am: 181d0ef5e2 am: 94a09cf355
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: Ia1f3936ec9a751e6bc8e9b31e5130976b0bd2276
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 22:02:32 +00:00
Xin Li d722264e24 [automerger skipped] Merge "Merge Android 12 QPR 3" am: cb00f5235d -s ours am: 5ccfd6ac78 -s ours am: 1a013376bd -s ours am: 2e02d4c91c -s ours am: 85b17c8c10 -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: Idfdf539fd4874772c3bef65519ddaec869361b37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 21:34:51 +00:00
Xin Li e579056830 [automerger skipped] Merge Android 12 QPR 3 am: 0ace73f2d3 -s ours am: 3c9fe29541 -s ours am: 3d2637ce9a -s ours am: 9eb437d8ca -s ours am: f7594a4c73 -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: If0480b81892c6f79f4a6c3cd58f523d6ae82d127
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 21:33:36 +00:00
Treehugger Robot 8da1061f74 Merge "DO NOT MERGE - Skip SQ3A.220605.009" am: 2231acfd62 am: 8f53fdaaa6
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: I17ca4d9dc314d0b286708b079cdb9464be99e942
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 21:28:06 +00:00
Xin Li 94a09cf355 DO NOT MERGE - Skip SQ3A.220605.009 am: bc7c5b55b5 am: 181d0ef5e2
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: I5e56b7dd29b51efb2fb330832f7b990d5f735408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 21:27:24 +00:00
Xin Li 85b17c8c10 [automerger skipped] Merge "Merge Android 12 QPR 3" am: cb00f5235d -s ours am: 5ccfd6ac78 -s ours am: 1a013376bd -s ours am: 2e02d4c91c -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: I32589f68cdaf3ae48930b21947e79d615b4d41b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 20:54:00 +00:00
Xin Li f7594a4c73 [automerger skipped] Merge Android 12 QPR 3 am: 0ace73f2d3 -s ours am: 3c9fe29541 -s ours am: 3d2637ce9a -s ours am: 9eb437d8ca -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: Ife4349f0a7ab64120e0bb4fba0c6e1b72465ad49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 20:52:43 +00:00
Treehugger Robot 8f53fdaaa6 Merge "DO NOT MERGE - Skip SQ3A.220605.009" am: 2231acfd62
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: If09f84637bfd45a2ded9516104de2e7ae520d402
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 20:07:13 +00:00
Xin Li 181d0ef5e2 DO NOT MERGE - Skip SQ3A.220605.009 am: bc7c5b55b5
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2128078

Change-Id: I5cf15e7b63c5874ada7ec110523d5f1e2bb83157
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 20:06:26 +00:00
Xin Li 2e02d4c91c [automerger skipped] Merge "Merge Android 12 QPR 3" am: cb00f5235d -s ours am: 5ccfd6ac78 -s ours am: 1a013376bd -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: I42c52aac9bcff66d7dbeb5da3964bc1039827306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 19:57:41 +00:00
Xin Li 9eb437d8ca [automerger skipped] Merge Android 12 QPR 3 am: 0ace73f2d3 -s ours am: 3c9fe29541 -s ours am: 3d2637ce9a -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: Ie7f7e1b880623ccf0377038c48ad0bec25ebf7fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 19:56:25 +00:00
Treehugger Robot 2231acfd62 Merge "DO NOT MERGE - Skip SQ3A.220605.009" 2022-06-17 14:29:01 +00:00
Xin Li bc7c5b55b5 DO NOT MERGE - Skip SQ3A.220605.009
Bug: 236045730
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Change-Id: Ie0ca07f0aa6ea25a02e3702745c1ab1b6fd55bc9
2022-06-16 22:50:42 -07:00
Xin Li 1a013376bd [automerger skipped] Merge "Merge Android 12 QPR 3" am: cb00f5235d -s ours am: 5ccfd6ac78 -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: Ic35150ce86342d8abe9bfc0f77c0b255c3ec7d42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 00:15:36 +00:00
Xin Li 3d2637ce9a [automerger skipped] Merge Android 12 QPR 3 am: 0ace73f2d3 -s ours am: 3c9fe29541 -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: I9f4e52edb80ba867982c657f12f79b2fe2a17e3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 00:14:20 +00:00
Xin Li 5ccfd6ac78 [automerger skipped] Merge "Merge Android 12 QPR 3" am: cb00f5235d -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: I7881f686f3011850e299efde8c2588f5d7ceaff6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 19:58:37 +00:00
Xin Li 3c9fe29541 [automerger skipped] Merge Android 12 QPR 3 am: 0ace73f2d3 -s ours
am skip reason: Merged-In I4df938df7886adc58185586190e27bcd16e17966 with SHA-1 1f830f7196 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2126004

Change-Id: If8b5a0cf1530fd8f49ceda4fd767bf4f67827e1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 19:57:13 +00:00
Xin Li cb00f5235d Merge "Merge Android 12 QPR 3" 2022-06-16 18:51:56 +00:00
Xin Li 0ace73f2d3 Merge Android 12 QPR 3
Bug: 236045730
Merged-In: I4df938df7886adc58185586190e27bcd16e17966
Change-Id: I14c070faf59e63c6fac783faf8f8f5ec41609c29
2022-06-14 16:48:08 -07:00
Xin Li 561c0dbba0 [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours am: 9192d46a8a -s ours am: 09023836cb -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: I8bd2fd5d97bc02766b1eb9182ab12b0763017343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 13:49:43 +00:00
Xin Li 09023836cb [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours am: 9192d46a8a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: I42922a84bff598191dd22fa9dad1fc7022a2f2a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 13:05:25 +00:00
Xin Li 30772487bf [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours am: 9192d46a8a -s ours am: 7e1fb037c7 -s ours am: 2c16a17358 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: Ia644755696ea531375453e840f4c605e85b80246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 06:17:10 +00:00
Xin Li 2c16a17358 [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours am: 9192d46a8a -s ours am: 7e1fb037c7 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: I9eb7a01dbe13825311174b700169cd7b8387fc4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 05:33:18 +00:00
Xin Li 7e1fb037c7 [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours am: 9192d46a8a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: Iff0bc9acb8d2f99e7bdddb84bd8e054255e09373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 05:13:25 +00:00
Xin Li 9192d46a8a [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours am: 456ba9e186 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: I5681a91da0fd07d4d7d63c2121b614f209aefada
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 04:47:31 +00:00
Xin Li 456ba9e186 [automerger skipped] Merge sc-v2-dev-plus-aosp-without-vendor@8433047 am: 1f830f7196 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17805627

Change-Id: I3fcfa21a61f634331f58d03e3a11fc0ec8953192
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 00:08:15 +00:00
Xin Li 1f830f7196 Merge sc-v2-dev-plus-aosp-without-vendor@8433047
Bug: 226662282
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Change-Id: I4df938df7886adc58185586190e27bcd16e17966
2022-04-18 21:01:07 +00:00
Android Build Coastguard Worker 67dcccc111 Snap for 8417597 from f02e2ba58f to sc-qpr3-release
Change-Id: Iede59048bfac7adc5daa9359fed3c2295873637c
2022-04-07 23:03:13 +00:00
Fraunhofer IIS FDK 867aec8205 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours am: 7561fa0250 -s ours am: fa729ee567 -s ours am: ab1e0835ba -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I0d33be64ae506ca570a5291700599c10b186d08c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:23:54 +00:00
Fraunhofer IIS FDK ab1e0835ba [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours am: 7561fa0250 -s ours am: fa729ee567 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Id72d27f6d8143c2aa97d47df9d072baaedd623f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:03:58 +00:00
Fraunhofer IIS FDK 5f780d725f [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours am: 7561fa0250 -s ours am: 2549017265 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I14adb2a9fdbde97b193add99a35dfa7a01eb85f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 03:03:05 +00:00
Fraunhofer IIS FDK b3690d0fc3 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours am: 6dec10523f -s ours am: 30bf020509 -s ours am: 4fbaa71c4d -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I8ac3cb62759b2eff670532dcd2d230f071184e04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:45:04 +00:00
Fraunhofer IIS FDK 2549017265 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours am: 7561fa0250 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I513cba56f8def5b0cf98d892487d4a4e32a025b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:42:49 +00:00
Fraunhofer IIS FDK fa729ee567 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours am: 7561fa0250 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Ifa61b6b854648dcbbb432aa4b1ac6fa7c5189202
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:42:34 +00:00
Fraunhofer IIS FDK 4fbaa71c4d [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours am: 6dec10523f -s ours am: 30bf020509 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I35e2eb134c62d9d9e58ff69784baa27d2a1290a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:26:00 +00:00
Fraunhofer IIS FDK d9f6ebace9 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours am: 6dec10523f -s ours am: faf549ba0a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I09587e700f6e3faf10fb914cc3315a34a2d8b660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:25:56 +00:00
Fraunhofer IIS FDK 7561fa0250 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours am: e72924914c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I620d85b4660c8c54cb9cca32278bace0f7f8495b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:25:34 +00:00
Fraunhofer IIS FDK 30bf020509 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours am: 6dec10523f -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Ie22e428d0e427f9fb391a1e1a3847cf135c89bad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:03:12 +00:00
Fraunhofer IIS FDK faf549ba0a [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours am: 6dec10523f -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I322cfc077a102edc8a885c043d07d343d64fc357
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:02:36 +00:00
Fraunhofer IIS FDK e72924914c [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours am: f02e2ba58f -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I58f79bbd56888233a5d4e80f55db0c12fd4245e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 02:01:19 +00:00
Fraunhofer IIS FDK 3c4bb750e5 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours am: 38c4d6c261 -s ours am: 359fb4ca09 -s ours am: 0683f8f469 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Ie914e15c506a284d642075871729c0e3966ad70c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:46:19 +00:00
Fraunhofer IIS FDK 883642405b [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours am: 4f7627cd19 -s ours am: 52496856d5 -s ours am: c9ba3de5b8 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I8282208e012a1fa64c00339a358580830674d593
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:46:12 +00:00
Fraunhofer IIS FDK c19c9060e8 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours am: decca895c2 -s ours am: ada86c27af -s ours am: 0b7853db62 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Iffbd3b90892f617ee953654a394ce41f38150a0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:45:46 +00:00
Fraunhofer IIS FDK 00dc137681 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours am: e6af0aa846 -s ours am: 511ae3250c -s ours am: a1831d2c76 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I55374c1a1a980a66d5fbf07243963ec2cc6f8800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:45:37 +00:00
Fraunhofer IIS FDK 75e831a314 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours am: d855f61bc2 -s ours am: 35d2b43997 -s ours am: fb1aaa5ff7 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I55b8bde3c28a81dc319587975d9d61dd3236ae2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:45:04 +00:00
Fraunhofer IIS FDK 032fca6c95 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours am: f2e16d0a1b -s ours am: 5fd13f8be4 -s ours am: 7950abf527 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: I1a5066993d58842eaf8ddaad029b9623dd40947c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:44:21 +00:00
Fraunhofer IIS FDK f02e2ba58f [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 4942ddcaac -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Ieacfcbb28bd8f356162a8d3cc92a350a2d03f0b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:26:13 +00:00
Fraunhofer IIS FDK 6dec10523f [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours am: 87ad6b892f -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I427569d2b8d9e9d91456219fc11352e319024e1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:26:06 +00:00
Fraunhofer IIS FDK 0683f8f469 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours am: 38c4d6c261 -s ours am: 359fb4ca09 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I3b27ac744c33f1f9c356f1bafc4bf52209ea90ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:17:11 +00:00
Fraunhofer IIS FDK c9ba3de5b8 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours am: 4f7627cd19 -s ours am: 52496856d5 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: Id8ed84de2ec1d6fffc05d026ef9d4b0c6bd3898c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:17:07 +00:00
Fraunhofer IIS FDK 0b7853db62 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours am: decca895c2 -s ours am: ada86c27af -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I76c19a925fbdada253554df0f4cdb9cf10fe58f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:17:03 +00:00
Fraunhofer IIS FDK a1831d2c76 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours am: e6af0aa846 -s ours am: 511ae3250c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: Ieca4d819c737ba224581868e0838f0382ea0f9d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:58 +00:00
Fraunhofer IIS FDK fb1aaa5ff7 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours am: d855f61bc2 -s ours am: 35d2b43997 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I6ec8b7cad264a4b5906e091713d8ae2f91fb7074
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:54 +00:00
Fraunhofer IIS FDK 6acf01e86b [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours am: 38c4d6c261 -s ours am: a3a06f982b -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I559ab18a5daba9525601e9f0c37132e28b5a4d59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:54 +00:00
Fraunhofer IIS FDK 1a1115cfe7 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours am: 4f7627cd19 -s ours am: b8faa56079 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I10c5f24536efd7fc55d66db0b025965e4b3261b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:48 +00:00
Fraunhofer IIS FDK 7950abf527 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours am: f2e16d0a1b -s ours am: 5fd13f8be4 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: I08b08b54134911c9c927ab5ea20205ff7be462ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:45 +00:00
Fraunhofer IIS FDK 8331e32551 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours am: decca895c2 -s ours am: 288c239a32 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I0ddffde2f07c588edef476fec66d7006d8abcb3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:43 +00:00
Fraunhofer IIS FDK 03b545054c [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours am: e6af0aa846 -s ours am: fbdb961888 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I56b6406d35bbd12b9e4d93efc8e46069d5e4375d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:35 +00:00
Fraunhofer IIS FDK 4c35dd0089 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours am: d855f61bc2 -s ours am: 0af414e531 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Ia67d1dc5ab19df76778ff02b02490e24f2ecc3b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:29 +00:00
Fraunhofer IIS FDK 7d12403d30 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours am: f2e16d0a1b -s ours am: f8c0b91450 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: If844e841a1f710d89f66ff0f9d2e37498ebfcaba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:16:21 +00:00
Fraunhofer IIS FDK 4942ddcaac [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I34e3e3c3d56c7ad92d0619abcc160f77c0487dd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:01:33 +00:00
Fraunhofer IIS FDK 87ad6b892f [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours am: 8b6f2f0af5 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I85027c16c682104915271362d23763dd91cca9c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 01:00:43 +00:00
Fraunhofer IIS FDK a3a06f982b [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours am: 38c4d6c261 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I38c247bc050682ca18ca23d50424566b8f3ffe8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:42:56 +00:00
Fraunhofer IIS FDK b8faa56079 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours am: 4f7627cd19 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: Ia8510630e4264e4477795c6bdf3e0efdd9da8e1e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:42:52 +00:00
Fraunhofer IIS FDK 359fb4ca09 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours am: 38c4d6c261 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I5b298613c7207d0edf4f3ff1fec2c1634bfc5f9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:42:33 +00:00
Fraunhofer IIS FDK 52496856d5 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours am: 4f7627cd19 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I35a30218c9cf7086c9b65484c8d29eabd41469fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:42:10 +00:00
Fraunhofer IIS FDK 288c239a32 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours am: decca895c2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Icefc65a7c83c1da0c069071075d9b5d3ce4fd52f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:41:23 +00:00
Fraunhofer IIS FDK fbdb961888 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours am: e6af0aa846 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I55dbc050002ca4ed0061f2a2e2fc798c474a9d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:41:19 +00:00
Fraunhofer IIS FDK ada86c27af [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours am: decca895c2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I73f25f2d2788f1e7e7a77772c0e4e036f8d0bc2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:41:09 +00:00
Fraunhofer IIS FDK 511ae3250c [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours am: e6af0aa846 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: Id5b9101274352822dcccd022bca1ce91e682fb4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:41:05 +00:00
Fraunhofer IIS FDK 35d2b43997 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours am: d855f61bc2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Ib37a75e4e73a5153ce623e25e0be8bdf61a44ed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:40:43 +00:00
Fraunhofer IIS FDK 0af414e531 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours am: d855f61bc2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Id0d445487b230041d03518a277123424f89c71eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:40:08 +00:00
Fraunhofer IIS FDK 5fd13f8be4 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours am: f2e16d0a1b -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: Ic51bdb9f7093c79f679658b69b5e3dd6d8339e8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:39:38 +00:00
Fraunhofer IIS FDK f8c0b91450 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours am: f2e16d0a1b -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: Ia3027ff9142f0f7a943116db58d0cfc976df785f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:39:31 +00:00
Fraunhofer IIS FDK 8b6f2f0af5 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours am: 8c56a3bf71 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I46baa1df38066d55b0c8ba13de4a8587e189f788
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:38:42 +00:00
Fraunhofer IIS FDK 8a84e9414b [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours am: fa701f794c -s ours am: 915bb8c5e2 -s ours am: febebcfeba -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: I198d5921e6b8565c5ddae00e01088ee8cb09d572
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:24:30 +00:00
Ray Essick 1ab44af137 [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev am: 50b881083a -s ours am: 7b9ef3a6e7 -s ours am: 1f93a748e4 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I12dabc43cda5dc8a6a56cc7fe7e158a0c018e493
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:24:08 +00:00
Fraunhofer IIS FDK ba699fe5d1 [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca am: b70aa8fe34 -s ours am: e9c55650f1 -s ours am: c5f6216db8 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Ib4d18a03c4f539b2883e5cc802929281c4b6ade0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:24:08 +00:00
Fraunhofer IIS FDK 38c4d6c261 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 1193b11357 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Ifc31f69df19dcc12a5dfef24679b6d106e09cb01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:17:32 +00:00
Fraunhofer IIS FDK 4f7627cd19 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 2c6782ab76 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I5e14f4633e54ae13400b3e91692af09113f449f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:17:18 +00:00
Fraunhofer IIS FDK decca895c2 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours am: b5b3b3c0a2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I609baf5eaa6ed558affba5a988d65b929369a5e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:43 +00:00
Fraunhofer IIS FDK e6af0aa846 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours am: 88d1e82df9 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: Ibefc5e3f9ab8972e3abf3e20647fce00612e2a64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:37 +00:00
Fraunhofer IIS FDK d855f61bc2 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours am: 70ac549da3 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I319a6ffa8f09094f72244da01891842b45a68ddb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:32 +00:00
Fraunhofer IIS FDK f2e16d0a1b [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours am: 5a05a6a816 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: I4a04f01ccb82aa7015b2c72953e7029b3c957e0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:16:26 +00:00
Fraunhofer IIS FDK 8c56a3bf71 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours am: 16585e6174 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Ife0ac184822af69a6640cc0a01783259b290679b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 00:14:49 +00:00
Fraunhofer IIS FDK b5b3b3c0a2 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours am: d5de58e395 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Ib9306e120fc4117ea18f0c8a6039ca461df5acb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:18:22 +00:00
Fraunhofer IIS FDK 16585e6174 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519 am: 2b57d2b0be -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 6a3817573b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: Ia1d76d35fde1175b5bcda3669b1c8b0fe76a717d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:17:22 +00:00
Fraunhofer IIS FDK febebcfeba [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours am: fa701f794c -s ours am: 915bb8c5e2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: If56a008f2a80595301518914898fac182a65e8b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:15:31 +00:00
Ray Essick 1f93a748e4 [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev am: 50b881083a -s ours am: 7b9ef3a6e7 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I0d4b4257b702baf2a9beb40b9d32a9be7a3685fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:12:51 +00:00
Fraunhofer IIS FDK c5f6216db8 [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca am: b70aa8fe34 -s ours am: e9c55650f1 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I19a6f5b72a0746783b4f462001c85f93bd9963dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:12:51 +00:00
Fraunhofer IIS FDK d5de58e395 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours am: 0ad5135377 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Id687212c011e695880d23974f25080452c4cf002
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:11:06 +00:00
Fraunhofer IIS FDK 88d1e82df9 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours am: 9bfb60d7c4 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I3be6917066813802035854bcb6a744dc57d4984c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:10:43 +00:00
Fraunhofer IIS FDK 70ac549da3 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours am: 96eb73f1d2 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Iee254145cc580a97f8ac5ca7de149f87f332b916
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:10:37 +00:00
Fraunhofer IIS FDK 1193b11357 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Ib3e00e6f19f7bbf83c745e8caff6853fa48f4453
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:10:31 +00:00
Fraunhofer IIS FDK 2c6782ab76 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I9de914da031fcec5f531652cb7a54ec4b509e4db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:10:26 +00:00
Fraunhofer IIS FDK 5a05a6a816 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours am: 76075bd4e5 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: I08268a900f00d5f72a27843f71cac70fcdba8838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 23:09:18 +00:00
Fraunhofer IIS FDK 6e37deda2d [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours am: fa701f794c -s ours am: 108ef2dd74 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: I1a39af6365623a24eb49d894c57a3ace657719b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:56:18 +00:00
Ray Essick 9e4a12aff4 [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev am: 50b881083a -s ours am: fc4fd5e0ca -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I221aa3d5e1c8e8aeaba6edbcf3eee6d94a24fbbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:56:02 +00:00
Fraunhofer IIS FDK 0ad5135377 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours am: f95792e18c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: If518b274a207500bc53d1a7566d76339e3afcbf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:55:59 +00:00
Fraunhofer IIS FDK 2b57d2b0be Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: eb07c22519
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615048

Change-Id: I483ed144764b68840a5ee6463f1db927fe174ae7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:55:14 +00:00
Fraunhofer IIS FDK 108ef2dd74 [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours am: fa701f794c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: I7972a6fedd4191c1f8661e62bbaa720b6265d276
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:53:04 +00:00
Fraunhofer IIS FDK 915bb8c5e2 [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours am: fa701f794c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: Ic1f60238b63966a539af02c42df798a575fcf209
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:52:30 +00:00
Ray Essick fc4fd5e0ca [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev am: 50b881083a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I7d2738dbb1e00ecfb22501a8b9ffd5079ad714d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:51:56 +00:00
Ray Essick 7b9ef3a6e7 [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev am: 50b881083a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I417f6376fd886b553f9cc62f78843bc9e1ace0a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:51:43 +00:00
Fraunhofer IIS FDK e9c55650f1 [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca am: b70aa8fe34 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: Id45242e0af8e42ca395f63ebe58709bca23dd804
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:51:42 +00:00
Fraunhofer IIS FDK 9bfb60d7c4 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours am: 29f4827ef4 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I8d5ee3895733fa660cc096ee7cbf3f3ccdb2ff9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:49:06 +00:00
Fraunhofer IIS FDK 96eb73f1d2 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours am: f57a7c233f -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I780c0ef89eff586ba5ad462d25527d5e1502c38f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:49:00 +00:00
Fraunhofer IIS FDK 76075bd4e5 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: c650c88c62 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 2768a078f3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615050

Change-Id: I188c5da3f9b47d51a2fc8bca78ad9c33a612359f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:48:56 +00:00
Fraunhofer IIS FDK f95792e18c [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours am: 156794b105 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: I5888c51c770184ab3349f3e0c90eeccb19f5f47b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:48:38 +00:00
Fraunhofer IIS FDK 29f4827ef4 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours am: 6b001a123c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I6fed7db61ffe312199e9761be800dff1fbd80a9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:48:35 +00:00
Fraunhofer IIS FDK f57a7c233f [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 23ef1ac38c -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 c650c88c62 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I59120641fbf79d13ad4886c224e9fc90b71ca87f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:48:31 +00:00
Ray Essick a88f1c790c [automerger skipped] Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-mainline-prod am: b5da046e74 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Change-Id: I43aefcb702997e076f7087d82b7ac1ec350c5d6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:48:27 +00:00
Fraunhofer IIS FDK 6b001a123c [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: b297bcbf2a -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17614692

Change-Id: I5f682fc32640b62e99c3d27a52a707084f4d9699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:47:29 +00:00
Fraunhofer IIS FDK 156794b105 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 6a3817573b -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 b297bcbf2a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615049

Change-Id: Ie0df904e14408f20118d07e9d416c27b52d2f908
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:47:18 +00:00
Fraunhofer IIS FDK fa701f794c [automerger skipped] [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3 am: d787bdd639 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 23ef1ac38c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Change-Id: Ie699de60dc56fbb19dc4a9cd27c03235515df69f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:59:46 +00:00
Ray Essick b5da046e74 Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-mainline-prod
* changes:
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 50d66655ca 2p: b70aa8fe34
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c
  Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
2022-04-06 21:45:21 +00:00
Ray Essick 50b881083a Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev" into tm-dev
* changes:
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c
  Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
2022-04-06 21:45:21 +00:00
Ray Essick e30dba06e7 Merge changes from topic "presubmit-am-7d8337c3813a47e19898b70f395cf7ea-git_mainline-module-media_swcodec-release-rvc-qpr-dev-sc-dev"
* changes:
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: b70aa8fe34 2p: 72b79304b5
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 50d66655ca 2p: b70aa8fe34
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca
  [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c
  Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
2022-04-06 21:45:21 +00:00
Fraunhofer IIS FDK be9f009724 [automerger skipped] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 067929dcd3 am: 83f9450b43 am: 8cadcc08e4 -s ours
am skip reason: Merged-In I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6 with SHA-1 067929dcd3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615043

Change-Id: I0131a1a62f0359a14456a5a65844a9d0f10ef87e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:09:25 +00:00
Fraunhofer IIS FDK 8cadcc08e4 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 067929dcd3 am: 83f9450b43
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615043

Change-Id: I0d627e2a8f8a11f1736aaa45e70bd2b8ceef9d97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 20:52:06 +00:00
Fraunhofer IIS FDK 83f9450b43 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. am: 067929dcd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615043

Change-Id: I2a93360d07eed2f773ef9612b1c2ea745dfd5fb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 20:19:39 +00:00
Fraunhofer IIS FDK 7b71c53352 [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: b70aa8fe34 2p: 72b79304b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Bug: 224314979
Bug: 221734266
Change-Id: I27ebd021f8bfe0d8b4237be35ba584adcb216689
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:06:19 +00:00
Fraunhofer IIS FDK 72b79304b5 [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 50d66655ca 2p: b70aa8fe34
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Bug: 224314979
Bug: 221734266
Change-Id: Ie6f6b59eb6b7602a90c550e4f7f4c1ada59d73f4
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:06:11 +00:00
Fraunhofer IIS FDK b70aa8fe34 [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c 2p: 50d66655ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Bug: 224314979
Bug: 221734266
Change-Id: I41a977f7513be7f6df072011524a4870ac08dfab
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:06:03 +00:00
Fraunhofer IIS FDK 50d66655ca [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 23ef1ac38c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615057

Bug: 224314979
Bug: 221734266
Change-Id: I5ec75e235f096a4e8bd7e82ea3bf5f99353078af
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:05:51 +00:00
Fraunhofer IIS FDK 23ef1ac38c Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:05:39 +00:00
Fraunhofer IIS FDK b297bcbf2a Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 05:04:55 +00:00
Presubmit Automerger Backend 9923d51ded [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 067929dcd3 2p: 9fb873a6ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615043

Bug: 224314979
Bug: 221734266
Change-Id: Iff53639a3bc01005edd5775d7951c44a51cb4cac
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:46:43 +00:00
Presubmit Automerger Backend 9fb873a6ea [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 067929dcd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615043

Bug: 224314979
Bug: 221734266
Change-Id: I69b28b6fc5e23e4023d89815e61e6778631105b7
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:46:35 +00:00
Fraunhofer IIS FDK 067929dcd3 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:46:26 +00:00
Fraunhofer IIS FDK d787bdd639 [automerge] Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation. 2p: 2768a078f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/17615051

Bug: 224314979
Bug: 221734266
Change-Id: Id377e9ed3e293572c9f6feadbabdaa7ac66e0a6e
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:44:54 +00:00
Fraunhofer IIS FDK 2768a078f3 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:44:47 +00:00
Fraunhofer IIS FDK c650c88c62 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:44:01 +00:00
Fraunhofer IIS FDK 6a3817573b Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:43:17 +00:00
Fraunhofer IIS FDK eb07c22519 Reject invalid out of band config in transportDec_OutOfBandConfig() and skip re-allocation.
Bug: 224314979
Bug: 221734266
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5461414938804224
Test: adb shell /data/fuzz/arm64/C2FuzzerAacDec/C2FuzzerAacDec /data/local/tmp/clusterfuzz-testcase-minimized-C2FuzzerAacDec-5062403589275648

Change-Id: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
Merged-In: I64e7fe1b258be2f59c6d39c0b7b699fa881d79e6
2022-04-06 04:42:12 +00:00
Treehugger Robot eafb6ae202 Merge "Add license_note" am: 3070cab376 am: 53c773b1ce am: 891e8c1f3a am: 671c4c80fe am: 7ad4d71f15
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: Iedb8baba4e4642c671a03f27e969ad17c95a41dc
2022-03-08 18:13:59 +00:00
Treehugger Robot 7ad4d71f15 Merge "Add license_note" am: 3070cab376 am: 53c773b1ce am: 891e8c1f3a am: 671c4c80fe
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: Iccc75158dbd5d94658aa119cc1fff958a7688615
2022-03-08 17:49:47 +00:00
Treehugger Robot 9d09f63dd1 Merge "Add license_note" am: 3070cab376 am: 53c773b1ce am: 891e8c1f3a am: 671c4c80fe
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: I857e6b1572e5f408c0c65eeded59364e7c1ba52c
2022-03-08 17:49:46 +00:00
Treehugger Robot 671c4c80fe Merge "Add license_note" am: 3070cab376 am: 53c773b1ce am: 891e8c1f3a
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: Ia38ec1fc4507182ca045ecaacaa4e95b3ab900db
2022-03-08 17:25:27 +00:00
Treehugger Robot 891e8c1f3a Merge "Add license_note" am: 3070cab376 am: 53c773b1ce
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: I264e8378920565bcaa08d057cbd262e1260a5a6f
2022-03-08 17:02:32 +00:00
Treehugger Robot 53c773b1ce Merge "Add license_note" am: 3070cab376
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/2011744

Change-Id: I21f518a6f6617cb68c06fc131e38ac3c0991f28a
2022-03-08 16:34:15 +00:00
Treehugger Robot 3070cab376 Merge "Add license_note" 2022-03-08 16:12:37 +00:00
Bob Badour d468889147 Add license_note
Comments not preserved during refresh.

Bug: 68860345

Test: m nothing
Change-Id: I46129df85a9242587621756be25d797bf90428d6
2022-03-07 14:26:02 -08:00
Etienne Ruffieux e689e65ef6 Merge "Renamed bluetooth apex name to com.android.bluetooth" am: dd6d9f9f6c am: 19aed5ca32 am: acbcc9b9f3 am: 19f5de8354
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1924424

Change-Id: If5fcd63d06db469b8da9f9e896d1c435cf7c170b
2021-12-16 23:31:19 +00:00
Etienne Ruffieux 19f5de8354 Merge "Renamed bluetooth apex name to com.android.bluetooth" am: dd6d9f9f6c am: 19aed5ca32 am: acbcc9b9f3
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1924424

Change-Id: Iff49e44b95b4c812cfedfe4de438fa081d8dc534
2021-12-16 23:13:53 +00:00
Etienne Ruffieux acbcc9b9f3 Merge "Renamed bluetooth apex name to com.android.bluetooth" am: dd6d9f9f6c am: 19aed5ca32
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1924424

Change-Id: I8f89b5cf299b92478fdeea4df43dcd1544ec4a6d
2021-12-16 22:44:25 +00:00
Etienne Ruffieux 19aed5ca32 Merge "Renamed bluetooth apex name to com.android.bluetooth" am: dd6d9f9f6c
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1924424

Change-Id: I86050beb93e24fa9fda8ad977b39429a1739316a
2021-12-16 18:19:44 +00:00
Xin Li 52c48acfd3 [automerger skipped] Merge "Merge Android 12" am: 0bfa3fc1cd -s ours am: e5af18bbac -s ours am: 8174082796 -s ours am: 3a30e79d30 -s ours am: 5cc7cec66e -s ours
am skip reason: Merged-In Ia7a8fba7d5108dd4281a47b1aa15966bb6eee947 with SHA-1 a950cd9905 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1847533

Change-Id: Ic6a83a0fa660a67e3a15967a6824f55156f4b8b9
2021-10-08 09:00:04 +00:00
Xin Li 5cc7cec66e [automerger skipped] Merge "Merge Android 12" am: 0bfa3fc1cd -s ours am: e5af18bbac -s ours am: 8174082796 -s ours am: 3a30e79d30 -s ours
am skip reason: Merged-In Ia7a8fba7d5108dd4281a47b1aa15966bb6eee947 with SHA-1 a950cd9905 is already in history

Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1847533

Change-Id: I1c15a27d8a78adbe60ecbc1732457f42e5770cfb
2021-10-08 08:29:53 +00:00
Xin Li c2a73571b2 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: a950cd9905 -s ours am: 472cef1b5e -s ours am: d327f4f001 -s ours am: fec72c2c90 -s ours
am skip reason: Merged-In I18d2a0819145e1f02c8868674eab081ab243f0a9 with SHA-1 dcb2d8bd81 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/15567335

Change-Id: I092764b5bf04ed177fed6883341036fdd193ce52
2021-08-18 00:24:03 +00:00
Xin Li fec72c2c90 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: a950cd9905 -s ours am: 472cef1b5e -s ours am: d327f4f001 -s ours
am skip reason: Merged-In I18d2a0819145e1f02c8868674eab081ab243f0a9 with SHA-1 dcb2d8bd81 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/15567335

Change-Id: Ie7bbc6582a27a2fde3560a02d1f124418fdea0c7
2021-08-17 20:32:44 +00:00
Xin Li 6f8272c394 Merge sc-mainline-prod
Bug: 189946434
Change-Id: I2cb3cdc88d8b13af7d822e97ee6c5edccdeb7795
2021-06-02 16:48:45 +00:00
TreeHugger Robot a71807d0be Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682 am: dcb2d8bd81 am: 4b2c62dd4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

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

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

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

Change-Id: Ie6dee85b92955b3ebb74c2627cc2fa32b20dd5cb
2021-05-17 22:51:55 +00:00
Fraunhofer IIS FDK 54a56490c9 Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33 am: 877f2d687c am: 71e84d7474
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

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

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

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

Change-Id: Iddaac5f930ea916bdec9df30989ef78f1d239a99
2021-05-17 22:49:25 +00:00
Fraunhofer IIS FDK 635998a36b Fix fixmadddiv2_DD() integer overflow in SpatialDecApplyM2_Mode212_ResidualsPlusPhaseCoding(). am: 85a3977fdf am: 675de1faf2 am: bc774411c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14470256

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

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

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

Change-Id: If74257d200781d61bb6eb066d5fca2e368014946
2021-05-17 22:41:07 +00:00
TreeHugger Robot 65fffef926 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4 am: 480c182ae9 am: 086f4c9526
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: I4095801191f2f714fc44ae66e25771f677c57530
2021-05-17 22:40:24 +00:00
TreeHugger Robot 01490d9b51 Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157 am: f092b88a25 am: ca6441ca35
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

Change-Id: Ia4d9762e8e0a72ca1e0354226a8a67daf743b558
2021-05-17 22:39:32 +00:00
Fraunhofer IIS FDK 167e18cdd8 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc am: adf9fe784b am: 95f7178e49
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

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

Change-Id: I60fe7fba89db014a8de771f67504b08e95206f6d
2021-05-17 22:32:32 +00:00
TreeHugger Robot 09483421cd Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0 am: 740116e266 am: a74df9ebb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

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

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

Change-Id: If031d98d929f279c4dc31239123521d8feb076f2
2021-05-17 22:21:37 +00:00
TreeHugger Robot f4a0f986c6 Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659 am: f893dbc6ee am: 97882bc3db
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

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

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

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

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

Change-Id: I23e08a64b2b2c5afaeceb30c7aae4380275276c5
2021-05-17 22:09:20 +00:00
Fraunhofer IIS FDK 85b8ea5bc6 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4 am: 5141e516de am: d22ea87339
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: I3d29cc7b0a4ac02fbc67291bcb14d315f6c1edda
2021-05-17 22:03:08 +00:00
Fraunhofer IIS FDK 463cd22f94 Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1 am: b8242b65ac am: cbbc65cd31
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

Change-Id: I9e736e0d573d0f45ee878de257ec8878a0d60dcb
2021-05-17 22:00:48 +00:00
TreeHugger Robot d9601cb5a1 Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682 am: 214241aa94 am: d0fe06a4cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: I410d08f6d80587ac045bf7f00a63dd995bbf66b3
2021-05-17 21:53:01 +00:00
TreeHugger Robot 8acf73de36 Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730 am: 772a763080 am: f9f384ac37
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: I723abbe61a98f16e2035c4ff0d0e19b21804344c
2021-05-17 21:48:40 +00:00
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
TreeHugger Robot d0fe06a4cf Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682 am: 214241aa94
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: I2c35eacd3fa82f7001661142d75578fa39357b7a
2021-05-08 20:36:18 +00:00
TreeHugger Robot f9f384ac37 Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730 am: 772a763080
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: I6b150cf9359dedb1aa1484e357d87dd9b6c97f6b
2021-05-08 20:36:08 +00:00
TreeHugger Robot 214241aa94 Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: Ie163d6025bf44400b1a470642610d78fc4fbcf1b
2021-05-08 20:14:13 +00:00
TreeHugger Robot 772a763080 Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: Ic237a72fec5930755faf4957dede78e7a74e9ffe
2021-05-08 20:14:07 +00:00
TreeHugger Robot 26eed59258 Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: Iec55c398637d4906b7b89979c6292f9e26e012fe
2021-05-08 20:11:49 +00:00
TreeHugger Robot 951758e6d6 Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: Id42fc123b39c431988b2549b56e9de12036a9020
2021-05-08 20:11:45 +00:00
TreeHugger Robot 25a60f6a27 Merge "Refine aacDecoder_DecodeFrame() output buffer parameter type description." into sc-dev am: d2c2a20682
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471063

Change-Id: Ife83d0980ab3a8a29db757dbe6aa7c39f0547633
2021-05-08 20:11:11 +00:00
TreeHugger Robot f67caf892c Merge "Adjust eqSubbandGainFormat data type to prevent load of invalid value in _skipEqCoefficients()." into sc-dev am: 4a9bfbf730
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471902

Change-Id: If1e1fa8ba514f72fff2e14968f59e62ed2d07b3d
2021-05-08 20:11:05 +00:00
Fraunhofer IIS FDK 7e3add342f Add parameter pointer check to aacEncInfo() encoder API function. am: c2416f5e93 am: bac4f0675f
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471062

Change-Id: I63ae90c7288f72ce534c33d04bb534b23244d396
2021-05-07 22:12:02 +00:00
Fraunhofer IIS FDK 3db8ac7a00 Prevent too large shift exponent in apply_inter_tes() and merge two loops. am: 2a40fde39d am: 92dab635f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471061

Change-Id: I875ddf34a24a92655f0cfdefab55f0bcb355fdcb
2021-05-07 22:12:01 +00:00
Fraunhofer IIS FDK 148544e625 Use scaleValuesSaturate() to avoid integer overflows in QmfTransposerApply(). am: e5a14d0a33 am: 4390bad523
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14471060

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

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

Change-Id: I10970daf44e125418edaab85a7f238c0251672a7
2021-05-07 22:11:49 +00:00
Fraunhofer IIS FDK bac4f0675f 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: Ib10f0ce06062a64b4ac89166ce040d41108adc3d
2021-05-07 21:52:09 +00:00
Fraunhofer IIS FDK 92dab635f7 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: Id537737085575c0238e61369e03387832a48b7f8
2021-05-07 21:52:08 +00:00
Fraunhofer IIS FDK 4390bad523 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: I7a670cc313d190c72d5365f410916e93df458acc
2021-05-07 21:52:04 +00:00
Fraunhofer IIS FDK db4e46c9a6 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: I907d00e50b06a21ddf3016ebd9e4dac713a5b6e4
2021-05-07 21:52:00 +00:00
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 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 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 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 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 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 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 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
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 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 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
TreeHugger Robot 696a3cf9e8 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4 am: 47ee0b94ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

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

Change-Id: I68997798fa469bcec9a146560d0ac57357b4b69e
2021-05-05 02:09:12 +00:00
TreeHugger Robot 47ee0b94ab Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: Ib7da85b08a91c3182240487b0b4ded667f0d7f4a
2021-05-05 01:25:45 +00:00
TreeHugger Robot cffde9083d Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

Change-Id: If632a10eb3a9c8f738769ca7cf539c1a4d81e3ed
2021-05-05 01:25:39 +00:00
TreeHugger Robot 67f3797819 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: I8b176d329bcc8eec9abb4c59dede5f42b3b77bec
2021-05-05 01:24:01 +00:00
TreeHugger Robot ab552d65e6 Merge changes I42956a9f,I92f7c559,I5af62590 into sc-dev am: 826719dee4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373120

Change-Id: I747f1d34cb96ee7bc29d7330b1fc7c35813eb290
2021-05-05 01:24:00 +00:00
TreeHugger Robot 4bb6385637 Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

Change-Id: I10fa393638f65f550e63b289e21be4d66dc1cce1
2021-05-05 01:23:54 +00:00
TreeHugger Robot 18d0f60150 Merge changes Ic767aeb6,I2aef40ef into sc-dev am: 2a3cde8157
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373117

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

Change-Id: Ia46125b36c23e96e0b40595b617947f283cba1aa
2021-05-01 02:33:05 +00:00
Fraunhofer IIS FDK f708b26538 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

Change-Id: I5807efd132d61353cf9211ad94eb0caf0720f7b4
2021-05-01 02:12:47 +00:00
Fraunhofer IIS FDK b9d46e0d97 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

Change-Id: Icaac4b6202939b4f4fb641ace5fc60b1daffbdeb
2021-05-01 02:10:44 +00:00
Fraunhofer IIS FDK 773fb32926 Avoid signed integer overflow in pcmLimiter_Apply(). am: 76104a5431 am: b1dc10e5bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386919

Change-Id: I409e037bcb7c3ec712326fbded1e354bc92d3bd7
2021-05-01 02:09:51 +00:00
TreeHugger Robot 03b6777510 Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d am: 4c350fc3fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

Change-Id: I65ab34b1b25c999fded1364e430a914753e377c5
2021-05-01 00:23:27 +00:00
TreeHugger Robot 4c350fc3fc Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

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

Change-Id: Ic1169b5be36ce52bd1336b8b91e385c642a603a5
2021-05-01 00:15:54 +00:00
TreeHugger Robot 6625b74402 Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

Change-Id: I02836ed3daff3993c8bcce77665e977c8f6ff6a3
2021-05-01 00:15:22 +00:00
TreeHugger Robot 2a7cf2dc04 Merge "Avoid signed integer overflow in combineSignalCplxScale2()." into sc-dev am: ab332a940d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387474

Change-Id: I9260146d48ff100437308a2138942fdc1cc785a2
2021-05-01 00:15:00 +00:00
TreeHugger Robot 46a636829c Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

Change-Id: I8fa1e312041703cf3a7ba316e6c0bb65c0b52176
2021-04-30 23:44:23 +00:00
TreeHugger Robot 9abe2071d1 Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

Change-Id: I3b27b7ffa17e683ad2f01ecdd6583baec569f881
2021-04-30 23:43:01 +00:00
TreeHugger Robot 6d1f1ebaab Merge "Improve validation of channel indices in pcmDmx." into sc-dev am: 38afdcc7d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14373123

Change-Id: Ibc2b001cce0f3192b64ec957252d631f6f5c68a1
2021-04-30 23:42:32 +00:00
Jean-Michel Trivi 3310104edd Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327 am: 2841b0ff99
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: Iadf6fbaf267c2650eae872de60064f1f98cc7afc
2021-04-30 22:55:14 +00:00
TreeHugger Robot 8e4beaf191 Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92 am: 8ed5575e34
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: If5a0a8f46d213f30b867d5e705852d62b1161fa1
2021-04-30 22:55:10 +00:00
TreeHugger Robot e054184edc Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659 am: 3a8d94cb27
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

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

Change-Id: I8dfd4b3dd4d9f0259137cc29fd68fc3edf1fcdce
2021-04-30 22:55:01 +00:00
TreeHugger Robot cb4a2b7820 Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100 am: 6f453aba85
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: Id0cfaf7b3351cbac88f044229a26afd57224fdfa
2021-04-30 22:54:56 +00:00
TreeHugger Robot 2715520d9a Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90 am: 69a6369082
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: I992fff157090c6b811733bc4eafff3484bab9154
2021-04-30 22:54:50 +00:00
Jean-Michel Trivi 23308594fb Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: I3c35d6347cafc9ace7bbcefd9d15213f257c5cae
2021-04-30 22:53:38 +00:00
TreeHugger Robot 5a192951da Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9 am: 236cd75f1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: I1186682bef5fc6a7324bcd8c6509e824dc466737
2021-04-30 22:53:15 +00:00
Jean-Michel Trivi e3fb585c48 Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: Ie6f00290f57cf8eebb192c1327d7c2dafe0abf8e
2021-04-30 22:53:13 +00:00
Jean-Michel Trivi 2841b0ff99 Merge "Use dynamic scaling depending on autocorr length to avoid signed integer overflow." into sc-dev am: a37553e327
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355879

Change-Id: I4a47ed883fba05b56f2cde2d6005ba2a413392d5
2021-04-30 22:31:27 +00:00
TreeHugger Robot 8ed5575e34 Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: I0bf2e8c3d568ab250b9a2d774445c99565bdcc7c
2021-04-30 22:23:49 +00:00
TreeHugger Robot 3a8d94cb27 Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

Change-Id: I3082ddac6b36ba301dd8ac6fa43541f265ab0735
2021-04-30 22:23:44 +00:00
TreeHugger Robot 851785f791 Merge "Prevent undefined values for CODING_SCHEME type in huff_decode()." into sc-dev am: af61f20a8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386930

Change-Id: I05fe67470c83fe97b5f33bd1a1bbdb95febe0fd3
2021-04-30 22:23:39 +00:00
TreeHugger Robot 6f453aba85 Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: I938e29b525376cc7793072d29307bfd1812b3cd6
2021-04-30 22:23:34 +00:00
TreeHugger Robot 69a6369082 Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: If1e636f234a9ebd351d0358d79ac902f68167c7f
2021-04-30 22:23:29 +00:00
TreeHugger Robot 236cd75f1c Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: Ifc277eaaf09fc35c0f59f5eedd17c2f4cf652d45
2021-04-30 22:23:20 +00:00
TreeHugger Robot 89a1174551 Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: Ife10ac9ef4500627382e6a07b6934fe56376d9bd
2021-04-30 22:22:05 +00:00
TreeHugger Robot ba3603de6d Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

Change-Id: I48ec7b7a48e5b21c25fdc5441aa541653a791f10
2021-04-30 22:22:00 +00:00
TreeHugger Robot 99cd9ab658 Merge "Adjust data types to prevent load of invalid value" into sc-dev am: 9b9f051c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14381853

Change-Id: If6827db023c8ba6ee4da71cba1f6207ed0904bfb
2021-04-30 22:21:59 +00:00
TreeHugger Robot e3039808a0 Merge "Avoid load of undefined SPATIALDEC_TREE_CONFIG enum value." into sc-dev am: 427912f659
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386929

Change-Id: If55f330827c4c1356399c8a6c6edb24b7b08e773
2021-04-30 22:21:56 +00:00
TreeHugger Robot 8b17753d3c Merge "Prevent undefined values for CODING_SCHEME type in huff_decode()." into sc-dev am: af61f20a8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386930

Change-Id: Iba961d39a5ac2e4cfdb95a53a11196b794d82cf1
2021-04-30 22:21:54 +00:00
TreeHugger Robot d361b3d5c2 Merge "Prevent undefined values for CODING_SCHEME type in huff_decode()." into sc-dev am: af61f20a8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14386930

Change-Id: I1c3ce14ce976feed3c913882ddd7a8f2d907950b
2021-04-30 22:21:52 +00:00
TreeHugger Robot 1fa4f08b21 Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: I7f81b0c9cc2404082996f1a41fbe3db5db1b9d72
2021-04-30 22:21:48 +00:00
TreeHugger Robot e4f73d5c0d Merge "Revise synthesis QMF scaling for PS to avoid integer overflow in qmfSynPrototypeFirSlot()." into sc-dev am: c0c3096100
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387475

Change-Id: I1373bf848ca878faa781b00814a2a027eb9618ba
2021-04-30 22:21:48 +00:00
TreeHugger Robot 19be9226f3 Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: I586c62c28581e2bb0593c9a2833682b575c80daf
2021-04-30 22:21:37 +00:00
TreeHugger Robot 280e49f8f8 Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: I9895067d725d564d1c9708cd8c6a921cd94b25aa
2021-04-30 22:21:28 +00:00
TreeHugger Robot e4c5b304e8 Merge "Prevent signed integer overflow in calc_qmfBufferReal()." into sc-dev am: b0a46baf90
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387477

Change-Id: Id0d4b81de3cb05934ef7470ac26287a84c2fb6f5
2021-04-30 22:21:24 +00:00
TreeHugger Robot 06c3c300b8 Merge "Prevent signed integer overflow in complex path of calc_qmfBuffer()." into sc-dev am: dff30034b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387482

Change-Id: I919d99cf698746bb18510f5e45a16962392244b1
2021-04-30 22:21:15 +00:00
Fraunhofer IIS FDK 6edbc9a7e8 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4 am: d2aca9e020
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: Ie51264d592a1a2b6afbdf347b05ac5260e9ef1d0
2021-04-30 19:30:10 +00:00
Fraunhofer IIS FDK d2aca9e020 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: Ied81b3004086b8bb5e58bb94e7600293e21ee553
2021-04-30 19:16:11 +00:00
Fraunhofer IIS FDK 63bc562431 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: Ia6a25fd44b97252815232a48e043da744fee3376
2021-04-30 19:14:29 +00:00
Fraunhofer IIS FDK 5ba6f60265 Fix stack buffer overflow in Pred_lt4(). am: 22e70729b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14387483

Change-Id: If2e081e0eefc058afdbeb658de1d3eef0e877ee2
2021-04-30 19:14:08 +00:00
Fraunhofer IIS FDK 7997eb4a73 Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1 am: b7aee93697
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

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

Change-Id: I88a7881171286fdaa438a3c2aad49f3f9822b1e4
2021-04-30 15:00:09 +00:00
Fraunhofer IIS FDK e249d56343 Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

Change-Id: I798d862bd7532eb5c4c11789358389ce81eb1d1f
2021-04-30 14:58:36 +00:00
Fraunhofer IIS FDK 68bb047e95 Avoid signed integer overflow in pcmLimiter_Apply(). am: 5a83a8e5e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/14355877

Change-Id: Ic1ce11ac8b83e5dcf891239648dfc2979e6a8748
2021-04-30 14:58:15 +00:00
Anuj Joshi 45c56d041b Stop using __DATE__/__TIME__ on all builds am: edbf93589b am: 5f80d21a8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893670

Change-Id: I50e629a1bd07ddf3985a280c32678c446201bac9
2021-03-19 03:26:41 +00:00
Fraunhofer IIS FDK 2f106c58f3 Solve issue regarding config changes between Loudness-only vs. Loudness+DRC. am: a4695298d6 am: 830d2d033c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893669

Change-Id: I0d777fd2e5cdd9fa874708494c30e04abd42d539
2021-03-19 03:26:39 +00:00
Fraunhofer IIS FDK 207a4cee05 Overcome SBR encoder coupling quality issue in ELD. am: edab3e30d6 am: 67bd65ae2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893668

Change-Id: I9a743f343325b5a9b6cd17b2ab77f936fc5950f9
2021-03-19 03:26:37 +00:00
Fraunhofer IIS FDK 2383a87460 Fix input buffer flushing for PS encoder. am: 4fbc97cc47 am: 1e6b9e0283
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893667

Change-Id: I7a6aa1f9625290deac2499d4ba46707f16869507
2021-03-19 03:26:36 +00:00
Fraunhofer IIS FDK 285fc69da6 Fix wrong input buffer feed for PS encoder at less input samples than framesize. am: bd021e7fb4 am: c66c41726b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893666

Change-Id: I7bda1e6c65ca0535e0ec5ff7d093a849ff084953
2021-03-19 03:26:34 +00:00
Fraunhofer IIS FDK 7a41ce55d2 Read uniDrcGainExtension element only if all DRC gain sequences are parsed correctly. am: 0c2c08aef6 am: d3ade3d525
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893665

Change-Id: I4ff20a46fa2131b5bd1d884d6f7ae0cc28274965
2021-03-19 03:26:32 +00:00
Fraunhofer IIS FDK d356fc5bb8 Consider TNS headroom for complex prediction. am: 5e031b67ba am: dd435f98de
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893584

Change-Id: Ibe70e73392e9213cfd662c566c879ab914ef5a37
2021-03-19 03:26:30 +00:00
Fraunhofer IIS FDK 8367dea9e6 Fix USAC time domain limiter latency at config change. am: 09e7c40a3a am: 0b8dc7f5ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893583

Change-Id: Ibf215a3b7d95742c18fb0a2464c44de7732a1ce1
2021-03-19 03:26:28 +00:00
Fraunhofer IIS FDK 6f23bec19a Introduce additional sanity checks to validate program config element. am: 82f6f3dac6 am: ac4a9990b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893582

Change-Id: Ie38793caef6344e60676b8d09ed61bf016d39dfb
2021-03-19 03:26:26 +00:00
Fraunhofer IIS FDK afef1613e6 Validate DRC compression factor and DRC boost factor value range in aacDecoder_SetParam(). am: baa3203971 am: d6b2fee1a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893581

Change-Id: I3926abbc2634286f47faec0e87e1ba655d045a30
2021-03-19 03:26:24 +00:00
Fraunhofer IIS FDK 43f219d639 Fix unsigned integer overflow in Hcr_State_BODY_SIGN_ESC__ESC_WORD(). am: a7c64ff42f am: 8d150d51be
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893580

Change-Id: Ic0e74d2d8cdd4dc47159d42bc5b8ad9865cd23cf
2021-03-19 03:26:22 +00:00
Fraunhofer IIS FDK e0c4c24cfa Make sure that alphaValue is correctly initialized in sbrDecoder_drcApplySlot(). am: 150febcc65 am: 3634d2026c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893579

Change-Id: I0069b6e9f429be5b51cbcb6fbc0b634136cad757
2021-03-19 03:26:20 +00:00
Fraunhofer IIS FDK e91120f6b7 Introduce aacDecoder_drcDisable() and always disable legacy DRC for USAC. am: 3ebe6ffe95 am: b29e70b86c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893578

Change-Id: I3a5bb7a14bf0f3066822ae92d419ce326cfaad27
2021-03-19 03:26:19 +00:00
Fraunhofer IIS FDK fa6aba363d Evaluate and return StoreConfigAsBitstream() error state. am: 702d914e1a am: 87ec9dc4b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893577

Change-Id: I2686674890cda03234dbaf954cf576657e21008a
2021-03-19 03:26:17 +00:00
Fraunhofer IIS FDK e2ebbcd4c7 Check transportDec_OutOfBandConfig() input buffer size parameter. am: ef5f44c760 am: 4ee3d5e502
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893576

Change-Id: I44b080cdce04ccf7899884c2d4cfd3362b2bd50b
2021-03-19 03:26:15 +00:00
Fraunhofer IIS FDK 299b5cfd7c ELD downscale factor 3 is only allowed for framesize 480. am: 18758b9fe1 am: a98b84dad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893575

Change-Id: Ia736223ff975b702d63aba06db12cabb1fe1a00e
2021-03-19 03:26:13 +00:00
Fraunhofer IIS FDK 4dd6948876 Improve decoder robustness by storing flags and elFlags temporarily. am: b93f896f37 am: bdf161824b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893574

Change-Id: I6904208dfaf8c158d33237c860942cb4e312ffea
2021-03-19 03:26:11 +00:00
Fraunhofer IIS FDK e9396621d3 Revise bypass mode in SpatialDecApplyParameterSets() to prevent an assert in fDivNorm(). am: a1a8f69b14 am: 1e1d714dd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893573

Change-Id: I13f43344216b3d953a39200e2565a0b4409575cd
2021-03-19 03:26:09 +00:00
Fraunhofer IIS FDK aabad641bc Check number of core channels and SAC decoder input channels to avoid a channel mismatch. am: 87e01ef1e7 am: c7f9c11adf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893572

Change-Id: I0910b1fa2a5bf1153333b01bf4a214baeeab9a0c
2021-03-19 03:26:06 +00:00
Anuj Joshi e6f17b3e72 Stop using __DATE__/__TIME__ on all builds am: edbf93589b am: 5f80d21a8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893670

Change-Id: I6fc207a9adab75841dbff7aa2bc0a33f6bee788e
2021-03-19 03:26:05 +00:00
Fraunhofer IIS FDK 473403d571 Prevent integer overflow in subbandTPApply() energy update. am: e916be37f2 am: 1f9f6958c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893571

Change-Id: Ibd97bb78f1e3d42a210edf4a5a8ff639daa6479e
2021-03-19 03:26:04 +00:00
Fraunhofer IIS FDK df2cddfdb3 Solve issue regarding config changes between Loudness-only vs. Loudness+DRC. am: a4695298d6 am: 830d2d033c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893669

Change-Id: I4241fc52c87b1d933813c22880166b7cf79fca1b
2021-03-19 03:26:03 +00:00
Fraunhofer IIS FDK af40b10e95 Limit smoothedNoise values to avoid integer overflows in adjustTimeSlotHQ() and adjustTimeSlotHQ_GainAndNoise(). am: ba54a5c040 am: d40cec83ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893570

Change-Id: I293c2bcb4de6aaf609ba067688f8574f732be6e8
2021-03-19 03:26:02 +00:00
Fraunhofer IIS FDK 2475df28c2 Overcome SBR encoder coupling quality issue in ELD. am: edab3e30d6 am: 67bd65ae2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893668

Change-Id: I34cd4823c2a8af78710e32681385ea1be24515ca
2021-03-19 03:26:01 +00:00
Fraunhofer IIS FDK 9542492f21 Avoid integer overflow in dct_II(). am: 19c8cc495e am: 7f707f8057
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893569

Change-Id: I9b2e017443215c646b67471a5c5babb4886b2a49
2021-03-19 03:26:00 +00:00
Fraunhofer IIS FDK 9f6f300dff Fix input buffer flushing for PS encoder. am: 4fbc97cc47 am: 1e6b9e0283
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893667

Change-Id: If22aadf77a0c60c6e4f6dbb5b3bb5a5878c3a488
2021-03-19 03:25:59 +00:00
Fraunhofer IIS FDK cd4b6095c3 Prevent integer overflows in dualChannelFiltering() and eightChannelFiltering(). am: 614b9f005a am: a948ff1cd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893568

Change-Id: Ie1b7ec7af6e41e095d93253c8ecc4eb63d50d295
2021-03-19 03:25:58 +00:00
Fraunhofer IIS FDK fd82cc8924 Fix wrong input buffer feed for PS encoder at less input samples than framesize. am: bd021e7fb4 am: c66c41726b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893666

Change-Id: I0e37033545f624ae71bf20c9aef77b5585a7537b
2021-03-19 03:25:57 +00:00
Fraunhofer IIS FDK 3ec23a0ac3 Adjust VBR mode depending on given peak bitrate and fix crash recovery usage. am: f89d1d0a4e am: f04901b42a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893567

Change-Id: Icbb5dab11813dda07c2bf945781ef2b3e720e002
2021-03-19 03:25:56 +00:00
Fraunhofer IIS FDK 4e95049d6e Read uniDrcGainExtension element only if all DRC gain sequences are parsed correctly. am: 0c2c08aef6 am: d3ade3d525
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893665

Change-Id: Id33b3066508311404c0149f9c7e539ffe952b303
2021-03-19 03:25:55 +00:00
Fraunhofer IIS FDK 648badf920 Consider TNS headroom for complex prediction. am: 5e031b67ba am: dd435f98de
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893584

Change-Id: I6d384642469e88979d18dd55cf61c566f6dde5b0
2021-03-19 03:25:53 +00:00
Fraunhofer IIS FDK b5940b9d1e Fix USAC time domain limiter latency at config change. am: 09e7c40a3a am: 0b8dc7f5ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893583

Change-Id: I9fed5911f416b38593d80585e4bfea7db4a355e8
2021-03-19 03:25:51 +00:00
Fraunhofer IIS FDK 58d29eb3b3 Introduce additional sanity checks to validate program config element. am: 82f6f3dac6 am: ac4a9990b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893582

Change-Id: I17f7c45897761741cb62ce3ca5aceeeec84d52f7
2021-03-19 03:25:49 +00:00
Fraunhofer IIS FDK 597313e438 Validate DRC compression factor and DRC boost factor value range in aacDecoder_SetParam(). am: baa3203971 am: d6b2fee1a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893581

Change-Id: I21d8d065e27b7c9396fb315a466d0d78041bf0f2
2021-03-19 03:25:47 +00:00
Fraunhofer IIS FDK 9f4c09846e Fix unsigned integer overflow in Hcr_State_BODY_SIGN_ESC__ESC_WORD(). am: a7c64ff42f am: 8d150d51be
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893580

Change-Id: Ib88c88c221f54f86aa4ed47b2d6d1e6ee63e6996
2021-03-19 03:25:45 +00:00
Fraunhofer IIS FDK fb51b8f4b8 Make sure that alphaValue is correctly initialized in sbrDecoder_drcApplySlot(). am: 150febcc65 am: 3634d2026c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893579

Change-Id: I03d3278ba0eb2db77a6d33c21edf5e2dd11905ab
2021-03-19 03:25:43 +00:00
Fraunhofer IIS FDK 166c67099a Introduce aacDecoder_drcDisable() and always disable legacy DRC for USAC. am: 3ebe6ffe95 am: b29e70b86c
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893578

Change-Id: I90d8c6325ecaf3c1c1c797780eeea41775996593
2021-03-19 03:25:41 +00:00
Fraunhofer IIS FDK d9e31b0700 Evaluate and return StoreConfigAsBitstream() error state. am: 702d914e1a am: 87ec9dc4b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893577

Change-Id: Ic6f76d8631656088034e07e1573a49e6bd6df35a
2021-03-19 03:25:39 +00:00
Fraunhofer IIS FDK 52a206c940 Check transportDec_OutOfBandConfig() input buffer size parameter. am: ef5f44c760 am: 4ee3d5e502
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893576

Change-Id: I50fe4fe54c4204e4b3a0461d583190b57c4f0cfd
2021-03-19 03:25:36 +00:00
Fraunhofer IIS FDK 28d4ee7c57 ELD downscale factor 3 is only allowed for framesize 480. am: 18758b9fe1 am: a98b84dad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893575

Change-Id: Ic8c1d24c19f3d74a5b309394a3ce999f2f20c6b0
2021-03-19 03:25:34 +00:00
Fraunhofer IIS FDK f7fe3b9b18 Improve decoder robustness by storing flags and elFlags temporarily. am: b93f896f37 am: bdf161824b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893574

Change-Id: I7838577da3ccfeaae426703b7ef1b1d3411647d1
2021-03-19 03:25:32 +00:00
Fraunhofer IIS FDK cd6f2b27e6 Revise bypass mode in SpatialDecApplyParameterSets() to prevent an assert in fDivNorm(). am: a1a8f69b14 am: 1e1d714dd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893573

Change-Id: Ic6160d133e8230e8315667f98e55403a3b7a30aa
2021-03-19 03:25:30 +00:00
Fraunhofer IIS FDK 0e247f183d Check number of core channels and SAC decoder input channels to avoid a channel mismatch. am: 87e01ef1e7 am: c7f9c11adf
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893572

Change-Id: Ida44b892a90c804eb20dde496b8d22a20ac01a25
2021-03-19 03:25:28 +00:00
Fraunhofer IIS FDK c419180e46 Prevent integer overflow in subbandTPApply() energy update. am: e916be37f2 am: 1f9f6958c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893571

Change-Id: I42f40b379ae405dcd4a87ed0d3185dc590460030
2021-03-19 03:25:26 +00:00
Fraunhofer IIS FDK 98b9c134a5 Limit smoothedNoise values to avoid integer overflows in adjustTimeSlotHQ() and adjustTimeSlotHQ_GainAndNoise(). am: ba54a5c040 am: d40cec83ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893570

Change-Id: I08ae5cbc12f285250afcf8a5db623d81ec5c7daf
2021-03-19 03:25:25 +00:00
Fraunhofer IIS FDK 7c6b987fc0 Avoid integer overflow in dct_II(). am: 19c8cc495e am: 7f707f8057
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893569

Change-Id: I9d30b004a103014e61a2881df7dc5ded1e3b2dde
2021-03-19 03:25:23 +00:00
Fraunhofer IIS FDK eac65eded1 Prevent integer overflows in dualChannelFiltering() and eightChannelFiltering(). am: 614b9f005a am: a948ff1cd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893568

Change-Id: Ied51faf01028a95104a479754dc2454204cfa5ff
2021-03-19 03:25:21 +00:00
Fraunhofer IIS FDK 678582779c Adjust VBR mode depending on given peak bitrate and fix crash recovery usage. am: f89d1d0a4e am: f04901b42a
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/aac/+/13893567

Change-Id: I09a8ea695781097f9f56433eb6e7870913cf6616
2021-03-19 03:25:19 +00:00
Xin Li b3f525e5a7 [automerger skipped] Mark ab/7061308 as merged in stage. am: 6d10f91a77 -s ours am: 10a3289cdd -s ours am: c726622078 -s ours
am skip reason: Change-Id Id04d2590c249cad13da8dd8975d0a12ce96a9597 with SHA-1 a5f0e4af6d is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53e6e4b91f7c54dc9ee702d7461fe36212c27aa4
2021-02-20 16:41:27 +00:00
Xin Li 27a2f364cb [automerger skipped] Mark ab/7061308 as merged in stage. am: 6d10f91a77 -s ours am: 10a3289cdd -s ours am: c726622078 -s ours
am skip reason: Change-Id Id04d2590c249cad13da8dd8975d0a12ce96a9597 with SHA-1 a5f0e4af6d is in history

Original change: undetermined

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia59fdb0a73c7f0a6957d93b06ed59156a706aeed
2021-02-20 16:40:18 +00:00
Bob Badour 5a8db9346c Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/aac" am: 9f1be9d06f am: 7ad87e81d7 am: 2020366ce7 am: 24a33f559c
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1588770

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id1fd6df26e6dab8ef19de7b1a889bc3ec1544867
2021-02-17 20:31:02 +00:00
Bob Badour 69179af1ee Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/aac" am: 9f1be9d06f am: 7ad87e81d7 am: 2020366ce7 am: 24a33f559c
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1588770

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8b242f3f29aaba1a2b75deddf80c1caf967181b8
2021-02-17 20:28:37 +00:00
Treehugger Robot 6c28745360 Merge "Fix improper assignment in aac_enc_fuzzer" am: dde78303e8 am: b3ae2fd27f am: 80ccc5df59 am: 80ec04f39f
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1592151

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I959fcfd422c98426ddd36e355abe73e8c48d442d
2021-02-17 18:22:58 +00:00
Treehugger Robot 7fb40a5fbe Merge "Fix improper assignment in aac_enc_fuzzer" am: dde78303e8 am: b3ae2fd27f am: 80ccc5df59 am: 80ec04f39f
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1592151

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I23c603170477f2afaa2b0bf7c4718c89775beecf
2021-02-17 18:22:12 +00:00
Treehugger Robot 7f22e2a776 Merge "aac_enc_fuzzer: Improve code coverage" am: fbed528d62 am: 118aad7689 am: 2ee2fa993b am: 8105418c36
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1566866

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie80743b93a236920ac9f758676ca5f2a63db3169
2021-02-14 05:27:07 +00:00
Treehugger Robot dcf386247c Merge "aac_enc_fuzzer: Improve code coverage" am: fbed528d62 am: 118aad7689 am: 2ee2fa993b am: 8105418c36
Original change: https://android-review.googlesource.com/c/platform/external/aac/+/1566866

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I53a3f33a95b2ac0f654dac6452be1720ab36ccfa
2021-02-14 05:22:34 +00:00
58 changed files with 3957 additions and 169 deletions

215
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,215 @@
name: CI
on: [push, pull_request]
jobs:
linux-autotools:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh
./configure --enable-example
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
- name: Run tests
run: |
sudo apt-get install --no-install-recommends ffmpeg
./test/run-test.sh
linux-cmake:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror -Wno-stringop-overflow"
cmake --build build
- name: Run tests
run: |
sudo apt-get install --no-install-recommends ffmpeg
cd build
../test/run-test.sh
linux-sanitizers-gcc-autotools:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh
FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize=shift-base -DDEBUG -fno-sanitize-recover=all"
CC="gcc $FLAGS" CXX="g++ $FLAGS" ./configure --enable-example
make -j$(nproc)
- name: Run tests
run: |
sudo apt-get install --no-install-recommends ffmpeg
./test/run-test.sh
linux-sanitizers-clang-cmake:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize=shift-base -DDEBUG -fno-sanitize-recover=all -fno-sanitize=vptr -fno-sanitize=function"
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_FLAGS="$FLAGS" -DCMAKE_CXX_FLAGS="$FLAGS"
cmake --build build
- name: Run tests
run: |
sudo apt-get install --no-install-recommends ffmpeg
cd build
../test/run-test.sh
macos-autotools:
runs-on: macos-latest
steps:
- name: Install autotools
run: |
brew install automake
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh
./configure --enable-example
make -j$(sysctl -n hw.ncpu) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror -Wno-deprecated-declarations"
macos-cmake:
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror -Wno-deprecated-declarations"
cmake --build build
mingw-cross-autotools:
runs-on: ubuntu-latest
steps:
- name: Install cross compiler
run: |
sudo apt-get install g++-mingw-w64-x86-64
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
./autogen.sh
./configure --enable-example --host=x86_64-w64-mingw32
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
mingw-cross-cmake:
runs-on: ubuntu-latest
steps:
- name: Install cross compiler
run: |
sudo apt-get install g++-mingw-w64-x86-64
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_CROSSCOMPILING=TRUE -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror -Wno-stringop-overflow"
cmake --build build
msys-cmake:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: >-
git
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake
mingw-w64-x86_64-ninja
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES
cmake --build build
msvc-cmake:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -B build -DBUILD_PROGRAMS=YES
cmake --build build --config Release
msvc-cmake-ninja-arm:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up the environment
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64_arm
- name: Build
run: |
cmake . -G Ninja -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_PROGRAMS=YES
cmake --build build
msvc-cmake-arm64:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
run: |
cmake . -B build -DBUILD_PROGRAMS=YES -A ARM64
cmake --build build --config Release
llvm-mingw:
runs-on: ubuntu-latest
steps:
- name: Install llvm-mingw
run: |
wget https://github.com/mstorsjo/llvm-mingw/releases/download/20231003/llvm-mingw-20231003-ucrt-ubuntu-20.04-x86_64.tar.xz
tar -Jxvf llvm-mingw-*-ucrt-ubuntu-*-x86_64.tar.xz
rm llvm-mingw-*.tar.xz
sudo mv llvm-mingw-* /opt/llvm-mingw
echo /opt/llvm-mingw/bin >> $GITHUB_PATH
- name: Checkout sources
uses: actions/checkout@v4
- name: Build fdk-aac
run: |
./autogen.sh
./configure --host=aarch64-w64-mingw32 --enable-example
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
linux-ffmpeg:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Build fdk-aac
run: |
./autogen.sh
mkdir build
cd build
../configure --enable-example --prefix=$(pwd)/../prefix
make -j$(nproc)
make -j$(nproc) install
- name: Checkout FFmpeg
uses: actions/checkout@v4
with:
repository: ffmpeg/ffmpeg
path: ffmpeg
- name: Build FFmpeg
run: |
sudo apt-get install -y nasm
cd ffmpeg
PKG_CONFIG_PATH=$(pwd)/../prefix/lib/pkgconfig ./configure --enable-libfdk-aac --enable-nonfree
make -j$(nproc)

46
.gitignore vendored Normal file
View File

@ -0,0 +1,46 @@
*.o
*.lo
*.la
*~
.deps
.libs
.dirstamp
Makefile
Makefile.in
aclocal.m4
autom4te.cache
configure
fdk-aac.pc
config.guess
config.log
config.status
config.sub
depcomp
install-sh
libtool
ltmain.sh
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
missing
stamp-h1
aac-enc
test-encode-decode
compile
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
CMakeSettings.json
*[Bb]uild*/
.vs/
.vscode/

View File

@ -94,7 +94,7 @@ cc_library_static {
apex_available: [
"//apex_available:platform",
"com.android.bluetooth",
"com.android.btservices",
"com.android.media.swcodec",
],
min_sdk_version: "29",

600
CMakeLists.txt Normal file
View File

@ -0,0 +1,600 @@
# # CMake project for fdk-aac
#
# ## Basic usage
#
# 1. Download and install CMake >= 3.10 (CMake >= 3.15 is recommended)
# 2. Clone fdk-aac repository
# 3. In fdk-aac directory create and go to `build` subdirectory:
#
# mkdir build
# cd build
#
# 4. Run cmake to configure project with desired build type (Release|Debug):
#
# cmake .. -DCMAKE_BUILD_TYPE=Release
#
# Note CMake configuration without CMAKE_BUILD_TYPE option will not set build
# type to some default and it is most likely is not what you want.
#
# If you want to build static (default is shared library), add BUILD_SHARED_LIBS=OFF option:
#
# # cmake .. -DBUILD_SHARED_LIBS=OFF
#
# You can combine options as well:
#
# cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
#
# 5. Run cmake to build project:
#
# cmake --build . -c Release
cmake_minimum_required(VERSION 3.5.1)
# Policies
## Enables CMAKE_MSVC_RUNTIME_LIBRARY option support for CMake >= 3.15
## if you want to use a MSVC multi-threaded statically-linked runtime library
## If you enable it, CMake will build fdk-acc.dll without external dependencies.
##
## Example usage:
##
## cmake .. -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>
if(POLICY CMP0091)
cmake_policy(SET CMP0091 NEW)
endif()
project(fdk-aac VERSION 2.0.2)
# Includes
include(CheckFunctionExists)
include(CheckLibraryExists)
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
if(CMAKE_VERSION VERSION_LESS 3.11)
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
endif()
include(CPack)
# Options
option(BUILD_SHARED_LIBS "Build shared library" ON)
option(BUILD_PROGRAMS "Build extra utilities" OFF)
option(FDK_AAC_INSTALL_CMAKE_CONFIG_MODULE "Install CMake package configuration file" ON)
option(FDK_AAC_INSTALL_PKGCONFIG_MODULE "Install pkg-config .pc file" ON)
# Checks
## Check if math functions are in separate library (Most of Linux distros, maybe some other OSes)
check_function_exists(sin HAVE_DEFAULT_MATH)
if(NOT HAVE_DEFAULT_MATH)
check_library_exists(m sin "" HAVE_LIBM)
endif()
# Library
## Sources
set(AACDEC_SRC
libAACdec/src/FDK_delay.cpp
libAACdec/src/aac_ram.cpp
libAACdec/src/aac_rom.cpp
libAACdec/src/aacdec_drc.cpp
libAACdec/src/aacdec_hcr.cpp
libAACdec/src/aacdec_hcr_bit.cpp
libAACdec/src/aacdec_hcrs.cpp
libAACdec/src/aacdec_pns.cpp
libAACdec/src/aacdec_tns.cpp
libAACdec/src/aacdecoder.cpp
libAACdec/src/aacdecoder_lib.cpp
libAACdec/src/block.cpp
libAACdec/src/channel.cpp
libAACdec/src/channelinfo.cpp
libAACdec/src/conceal.cpp
libAACdec/src/ldfiltbank.cpp
libAACdec/src/pulsedata.cpp
libAACdec/src/rvlc.cpp
libAACdec/src/rvlcbit.cpp
libAACdec/src/rvlcconceal.cpp
libAACdec/src/stereo.cpp
libAACdec/src/usacdec_ace_d4t64.cpp
libAACdec/src/usacdec_ace_ltp.cpp
libAACdec/src/usacdec_acelp.cpp
libAACdec/src/usacdec_fac.cpp
libAACdec/src/usacdec_lpc.cpp
libAACdec/src/usacdec_lpd.cpp
libAACdec/src/usacdec_rom.cpp
libAACdec/src/aac_ram.h
libAACdec/src/aac_rom.h
libAACdec/src/aacdec_drc.h
libAACdec/src/aacdec_drc_types.h
libAACdec/src/aacdec_hcr.h
libAACdec/src/aacdec_hcr_bit.h
libAACdec/src/aacdec_hcr_types.h
libAACdec/src/aacdec_hcrs.h
libAACdec/src/aacdec_pns.h
libAACdec/src/aacdec_tns.h
libAACdec/src/aacdecoder.h
libAACdec/src/block.h
libAACdec/src/channel.h
libAACdec/src/channelinfo.h
libAACdec/src/conceal.h
libAACdec/src/conceal_types.h
libAACdec/src/FDK_delay.h
libAACdec/src/ldfiltbank.h
libAACdec/src/overlapadd.h
libAACdec/src/pulsedata.h
libAACdec/src/rvlc.h
libAACdec/src/rvlc_info.h
libAACdec/src/rvlcbit.h
libAACdec/src/rvlcconceal.h
libAACdec/src/stereo.h
libAACdec/src/usacdec_ace_d4t64.h
libAACdec/src/usacdec_ace_ltp.h
libAACdec/src/usacdec_acelp.h
libAACdec/src/usacdec_const.h
libAACdec/src/usacdec_fac.h
libAACdec/src/usacdec_lpc.h
libAACdec/src/usacdec_lpd.h
libAACdec/src/usacdec_rom.h)
set(AACENC_SRC
libAACenc/src/aacEnc_ram.cpp
libAACenc/src/aacEnc_rom.cpp
libAACenc/src/aacenc.cpp
libAACenc/src/aacenc_lib.cpp
libAACenc/src/aacenc_pns.cpp
libAACenc/src/aacenc_tns.cpp
libAACenc/src/adj_thr.cpp
libAACenc/src/band_nrg.cpp
libAACenc/src/bandwidth.cpp
libAACenc/src/bit_cnt.cpp
libAACenc/src/bitenc.cpp
libAACenc/src/block_switch.cpp
libAACenc/src/channel_map.cpp
libAACenc/src/chaosmeasure.cpp
libAACenc/src/dyn_bits.cpp
libAACenc/src/grp_data.cpp
libAACenc/src/intensity.cpp
libAACenc/src/line_pe.cpp
libAACenc/src/metadata_compressor.cpp
libAACenc/src/metadata_main.cpp
libAACenc/src/mps_main.cpp
libAACenc/src/ms_stereo.cpp
libAACenc/src/noisedet.cpp
libAACenc/src/pnsparam.cpp
libAACenc/src/pre_echo_control.cpp
libAACenc/src/psy_configuration.cpp
libAACenc/src/psy_main.cpp
libAACenc/src/qc_main.cpp
libAACenc/src/quantize.cpp
libAACenc/src/sf_estim.cpp
libAACenc/src/spreading.cpp
libAACenc/src/tonality.cpp
libAACenc/src/transform.cpp
libAACenc/src/aacenc.h
libAACenc/src/aacenc_pns.h
libAACenc/src/aacEnc_ram.h
libAACenc/src/aacEnc_rom.h
libAACenc/src/aacenc_tns.h
libAACenc/src/adj_thr.h
libAACenc/src/adj_thr_data.h
libAACenc/src/band_nrg.h
libAACenc/src/bandwidth.h
libAACenc/src/bit_cnt.h
libAACenc/src/bitenc.h
libAACenc/src/block_switch.h
libAACenc/src/channel_map.h
libAACenc/src/chaosmeasure.h
libAACenc/src/dyn_bits.h
libAACenc/src/grp_data.h
libAACenc/src/intensity.h
libAACenc/src/interface.h
libAACenc/src/line_pe.h
libAACenc/src/metadata_compressor.h
libAACenc/src/metadata_main.h
libAACenc/src/mps_main.h
libAACenc/src/ms_stereo.h
libAACenc/src/noisedet.h
libAACenc/src/pns_func.h
libAACenc/src/pnsparam.h
libAACenc/src/pre_echo_control.h
libAACenc/src/psy_configuration.h
libAACenc/src/psy_const.h
libAACenc/src/psy_data.h
libAACenc/src/psy_main.h
libAACenc/src/qc_data.h
libAACenc/src/qc_main.h
libAACenc/src/quantize.h
libAACenc/src/sf_estim.h
libAACenc/src/spreading.h
libAACenc/src/tns_func.h
libAACenc/src/tonality.h
libAACenc/src/transform.h)
set(ARITHCODING_SRC
libArithCoding/src/ac_arith_coder.cpp)
set(DRCDEC_SRC
libDRCdec/src/FDK_drcDecLib.cpp
libDRCdec/src/drcDec_gainDecoder.cpp
libDRCdec/src/drcDec_reader.cpp
libDRCdec/src/drcDec_rom.cpp
libDRCdec/src/drcDec_selectionProcess.cpp
libDRCdec/src/drcDec_tools.cpp
libDRCdec/src/drcGainDec_init.cpp
libDRCdec/src/drcGainDec_preprocess.cpp
libDRCdec/src/drcGainDec_process.cpp
libDRCdec/src/drcDec_gainDecoder.h
libDRCdec/src/drcDec_reader.h
libDRCdec/src/drcDec_rom.h
libDRCdec/src/drcDec_selectionProcess.h
libDRCdec/src/drcDec_tools.h
libDRCdec/src/drcDec_types.h
libDRCdec/src/drcDecoder.h
libDRCdec/src/drcGainDec_init.h
libDRCdec/src/drcGainDec_preprocess.h
libDRCdec/src/drcGainDec_process.h)
set(FDK_SRC
libFDK/src/FDK_bitbuffer.cpp
libFDK/src/FDK_core.cpp
libFDK/src/FDK_crc.cpp
libFDK/src/FDK_decorrelate.cpp
libFDK/src/FDK_hybrid.cpp
libFDK/src/FDK_lpc.cpp
libFDK/src/FDK_matrixCalloc.cpp
libFDK/src/FDK_qmf_domain.cpp
libFDK/src/FDK_tools_rom.cpp
libFDK/src/FDK_trigFcts.cpp
libFDK/src/autocorr2nd.cpp
libFDK/src/dct.cpp
libFDK/src/fft.cpp
libFDK/src/fft_rad2.cpp
libFDK/src/fixpoint_math.cpp
libFDK/src/huff_nodes.cpp
libFDK/src/mdct.cpp
libFDK/src/nlc_dec.cpp
libFDK/src/qmf.cpp
libFDK/src/scale.cpp)
set(MPEGTPDEC_SRC
libMpegTPDec/src/tpdec_adif.cpp
libMpegTPDec/src/tpdec_adts.cpp
libMpegTPDec/src/tpdec_asc.cpp
libMpegTPDec/src/tpdec_drm.cpp
libMpegTPDec/src/tpdec_latm.cpp
libMpegTPDec/src/tpdec_lib.cpp
libMpegTPDec/src/tp_version.h
libMpegTPDec/src/tpdec_adif.h
libMpegTPDec/src/tpdec_adts.h
libMpegTPDec/src/tpdec_drm.h
libMpegTPDec/src/tpdec_latm.h)
set(MPEGTPENC_SRC
libMpegTPEnc/src/tpenc_adif.cpp
libMpegTPEnc/src/tpenc_adts.cpp
libMpegTPEnc/src/tpenc_asc.cpp
libMpegTPEnc/src/tpenc_latm.cpp
libMpegTPEnc/src/tpenc_lib.cpp
libMpegTPEnc/src/tp_version.h
libMpegTPEnc/src/tpenc_adif.h
libMpegTPEnc/src/tpenc_adts.h
libMpegTPEnc/src/tpenc_asc.h
libMpegTPEnc/src/tpenc_latm.h)
set(PCMUTILS_SRC
libPCMutils/src/limiter.cpp
libPCMutils/src/pcm_utils.cpp
libPCMutils/src/pcmdmx_lib.cpp
libPCMutils/src/version.h)
set(SACDEC_SRC
libSACdec/src/sac_bitdec.cpp
libSACdec/src/sac_calcM1andM2.cpp
libSACdec/src/sac_dec.cpp
libSACdec/src/sac_dec_conceal.cpp
libSACdec/src/sac_dec_lib.cpp
libSACdec/src/sac_process.cpp
libSACdec/src/sac_qmf.cpp
libSACdec/src/sac_reshapeBBEnv.cpp
libSACdec/src/sac_rom.cpp
libSACdec/src/sac_smoothing.cpp
libSACdec/src/sac_stp.cpp
libSACdec/src/sac_tsd.cpp
libSACdec/src/sac_bitdec.h
libSACdec/src/sac_calcM1andM2.h
libSACdec/src/sac_dec.h
libSACdec/src/sac_dec_conceal.h
libSACdec/src/sac_dec_interface.h
libSACdec/src/sac_dec_ssc_struct.h
libSACdec/src/sac_process.h
libSACdec/src/sac_qmf.h
libSACdec/src/sac_reshapeBBEnv.h
libSACdec/src/sac_rom.h
libSACdec/src/sac_smoothing.h
libSACdec/src/sac_stp.h
libSACdec/src/sac_tsd.h)
set(SACENC_SRC
libSACenc/src/sacenc_bitstream.cpp
libSACenc/src/sacenc_delay.cpp
libSACenc/src/sacenc_dmx_tdom_enh.cpp
libSACenc/src/sacenc_filter.cpp
libSACenc/src/sacenc_framewindowing.cpp
libSACenc/src/sacenc_huff_tab.cpp
libSACenc/src/sacenc_lib.cpp
libSACenc/src/sacenc_nlc_enc.cpp
libSACenc/src/sacenc_onsetdetect.cpp
libSACenc/src/sacenc_paramextract.cpp
libSACenc/src/sacenc_staticgain.cpp
libSACenc/src/sacenc_tree.cpp
libSACenc/src/sacenc_vectorfunctions.cpp
libSACenc/src/sacenc_bitstream.h
libSACenc/src/sacenc_const.h
libSACenc/src/sacenc_delay.h
libSACenc/src/sacenc_dmx_tdom_enh.h
libSACenc/src/sacenc_filter.h
libSACenc/src/sacenc_framewindowing.h
libSACenc/src/sacenc_huff_tab.h
libSACenc/src/sacenc_nlc_enc.h
libSACenc/src/sacenc_onsetdetect.h
libSACenc/src/sacenc_paramextract.h
libSACenc/src/sacenc_staticgain.h
libSACenc/src/sacenc_tree.h
libSACenc/src/sacenc_vectorfunctions.h)
set(SBRDEC_SRC
libSBRdec/src/HFgen_preFlat.cpp
libSBRdec/src/env_calc.cpp
libSBRdec/src/env_dec.cpp
libSBRdec/src/env_extr.cpp
libSBRdec/src/hbe.cpp
libSBRdec/src/huff_dec.cpp
libSBRdec/src/lpp_tran.cpp
libSBRdec/src/psbitdec.cpp
libSBRdec/src/psdec.cpp
libSBRdec/src/psdec_drm.cpp
libSBRdec/src/psdecrom_drm.cpp
libSBRdec/src/pvc_dec.cpp
libSBRdec/src/sbr_deb.cpp
libSBRdec/src/sbr_dec.cpp
libSBRdec/src/sbr_ram.cpp
libSBRdec/src/sbr_rom.cpp
libSBRdec/src/sbrdec_drc.cpp
libSBRdec/src/sbrdec_freq_sca.cpp
libSBRdec/src/sbrdecoder.cpp
libSBRdec/src/env_calc.h
libSBRdec/src/env_dec.h
libSBRdec/src/env_extr.h
libSBRdec/src/hbe.h
libSBRdec/src/HFgen_preFlat.h
libSBRdec/src/huff_dec.h
libSBRdec/src/lpp_tran.h
libSBRdec/src/psbitdec.h
libSBRdec/src/psdec.h
libSBRdec/src/psdec_drm.h
libSBRdec/src/pvc_dec.h
libSBRdec/src/sbr_deb.h
libSBRdec/src/sbr_dec.h
libSBRdec/src/sbr_ram.h
libSBRdec/src/sbr_rom.h
libSBRdec/src/sbrdec_drc.h
libSBRdec/src/sbrdec_freq_sca.h
libSBRdec/src/transcendent.h)
set(SBRENC_SRC
libSBRenc/src/bit_sbr.cpp
libSBRenc/src/code_env.cpp
libSBRenc/src/env_bit.cpp
libSBRenc/src/env_est.cpp
libSBRenc/src/fram_gen.cpp
libSBRenc/src/invf_est.cpp
libSBRenc/src/mh_det.cpp
libSBRenc/src/nf_est.cpp
libSBRenc/src/ps_bitenc.cpp
libSBRenc/src/ps_encode.cpp
libSBRenc/src/ps_main.cpp
libSBRenc/src/resampler.cpp
libSBRenc/src/sbr_encoder.cpp
libSBRenc/src/sbr_misc.cpp
libSBRenc/src/sbrenc_freq_sca.cpp
libSBRenc/src/sbrenc_ram.cpp
libSBRenc/src/sbrenc_rom.cpp
libSBRenc/src/ton_corr.cpp
libSBRenc/src/tran_det.cpp
libSBRenc/src/bit_sbr.h
libSBRenc/src/cmondata.h
libSBRenc/src/code_env.h
libSBRenc/src/env_bit.h
libSBRenc/src/env_est.h
libSBRenc/src/fram_gen.h
libSBRenc/src/invf_est.h
libSBRenc/src/mh_det.h
libSBRenc/src/nf_est.h
libSBRenc/src/ps_bitenc.h
libSBRenc/src/ps_const.h
libSBRenc/src/ps_encode.h
libSBRenc/src/ps_main.h
libSBRenc/src/resampler.h
libSBRenc/src/sbr.h
libSBRenc/src/sbr_def.h
libSBRenc/src/sbr_misc.h
libSBRenc/src/sbrenc_freq_sca.h
libSBRenc/src/sbrenc_ram.h
libSBRenc/src/sbrenc_rom.h
libSBRenc/src/ton_corr.h
libSBRenc/src/tran_det.h)
set(SYS_SRC
libSYS/src/genericStds.cpp
libSYS/src/syslib_channelMapDescr.cpp)
set(fdk_aacinclude_HEADERS
libSYS/include/machine_type.h
libSYS/include/genericStds.h
libSYS/include/FDK_audio.h
libSYS/include/syslib_channelMapDescr.h
libAACenc/include/aacenc_lib.h
libAACdec/include/aacdecoder_lib.h)
set(libfdk_aac_SOURCES
${AACDEC_SRC} ${AACENC_SRC}
${ARITHCODING_SRC}
${DRCDEC_SRC}
${MPEGTPDEC_SRC} ${MPEGTPENC_SRC}
${SACDEC_SRC} ${SACENC_SRC}
${SBRDEC_SRC} ${SBRENC_SRC}
${PCMUTILS_SRC} ${FDK_SRC} ${SYS_SRC})
if(WIN32 AND BUILD_SHARED_LIBS)
set(libfdk_aac_SOURCES ${libfdk_aac_SOURCES} fdk-aac.def)
endif()
## Create Library target. Actually fdk-aac is enough, but we also create
## FDK-AAC::fdk-aac for consistence with config-file package.
add_library(fdk-aac ${libfdk_aac_SOURCES})
add_library(FDK-AAC::fdk-aac ALIAS fdk-aac)
## Library target configuration
### Library target includes
target_include_directories(fdk-aac
PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libAACdec/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libAACenc/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libSYS/include>
PRIVATE
libArithCoding/include
libDRCdec/include
libSACdec/include
libSACenc/include
libSBRdec/include
libSBRenc/include
libMpegTPDec/include
libMpegTPEnc/include
libFDK/include
libPCMutils/include)
### Link math library if required
target_link_libraries(fdk-aac PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>)
### Set public headers and shared library version. Version info is critical for Unix-like OSes.
set_target_properties(fdk-aac PROPERTIES
PUBLIC_HEADER "${fdk_aacinclude_HEADERS}"
VERSION 2.0.2
SOVERSION 2
MACHO_COMPATIBILITY_VERSION 3.0.0
MACHO_CURRENT_VERSION 3.2.0
LINKER_LANGUAGE C)
### Some compiler options from Makefile.am
if(MSVC)
target_compile_options(fdk-aac PRIVATE /EHsc)
else()
target_compile_options(fdk-aac PRIVATE -fno-exceptions -fno-rtti)
endif()
### Set proper name for MinGW or Cygwin DLL
if((MINGW OR CYGWIN) AND BUILD_SHARED_LIBS)
set_property(TARGET fdk-aac PROPERTY RUNTIME_OUTPUT_NAME fdk-aac-2)
endif()
## Library installation
### Note we export `fdk-aac-targets` to use with config-file package.
install(TARGETS fdk-aac EXPORT fdk-aac-targets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT BIN
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT DEV
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT DEV
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/fdk-aac COMPONENT DEV)
### Configure and install pkg-config module.
if(FDK_AAC_INSTALL_PKGCONFIG_MODULE)
set(prefix ${CMAKE_INSTALL_PREFIX})
set(exec_prefix "\$\{prefix\}")
set(libdir "\$\{exec_prefix\}/${CMAKE_INSTALL_LIBDIR}")
set(includedir "\$\{prefix\}/${CMAKE_INSTALL_INCLUDEDIR}")
set(PACKAGE_VERSION ${PROJECT_VERSION})
if(HAVE_LIBM)
if(BUILD_SHARED_LIBS)
set(LIBS_PRIVATE "-lm")
else()
set(LIBS_PUBLIC "-lm")
endif()
endif()
configure_file(fdk-aac.pc.in fdk-aac.pc @ONLY)
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/fdk-aac.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
endif()
### Configure and install config-file package. Something like pkg-config module, but for Windows.
if(FDK_AAC_INSTALL_CMAKE_CONFIG_MODULE)
set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/fdk-aac)
configure_package_config_file(fdk-aac-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/fdk-aac-config.cmake
INSTALL_DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
if(CMAKE_VERSION VERSION_LESS 3.11)
write_basic_package_version_file(fdk-aac-config-version.cmake COMPATIBILITY SameMajorVersion)
else()
write_basic_package_version_file(fdk-aac-config-version.cmake COMPATIBILITY SameMinorVersion)
endif()
install(EXPORT fdk-aac-targets
NAMESPACE FDK-AAC::
DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/fdk-aac-config.cmake
${CMAKE_CURRENT_BINARY_DIR}/fdk-aac-config-version.cmake
DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
endif()
# Programs
if(BUILD_PROGRAMS)
## Program sources
set(aac_enc_SOURCES
aac-enc.c
wavreader.c
wavreader.h)
## Program target
add_executable(aac-enc ${aac_enc_SOURCES})
## Program target configuration
target_link_libraries(aac-enc PRIVATE fdk-aac)
target_compile_definitions(aac-enc PRIVATE $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS>)
if(WIN32)
target_sources(aac-enc PRIVATE win32/getopt.h)
target_include_directories(aac-enc PRIVATE win32)
endif()
## Program target installation
install(TARGETS aac-enc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
## Tool for testing the library
set(test_encode_decode_SOURCES
test-encode-decode.c
wavreader.c
wavreader.h
sha1.c
sha1.h)
add_executable(test-encode-decode ${test_encode_decode_SOURCES})
target_link_libraries(test-encode-decode PRIVATE fdk-aac)
endif()

57
ChangeLog Normal file
View File

@ -0,0 +1,57 @@
2.0.2
- Minor upstream updates
- Lots of upstream and local fuzzing fixes
- Added CMake project files
- Removed the MSVC specific makefile
2.0.1
- Minor release with a number of crash/fuzz fixes, primarily for the decoder
2.0.0
- Major update in the upstream source base, with support for new
profiles and features, and numerous crash/fuzz fixes. The new
upstream version is referred to as FDKv2, thus skipping the
major version 1 and syncing the fdk-aac major version number to 2.
0.1.6
- Lots of minor assorted crash/fuzz fixes, mostly for the decoder but
also some for the encoder
0.1.5
- Updated upstream sources
- Fixed building with GCC 3.3 and 3.4
- Fixed building with GCC 6
- AArch64 optimizations
- Makefiles for building with MSVC
- Support building the code in C++11 mode
0.1.4
- Updated upstream sources, with minor changes to the decoder API
breaking the ABI. (Calling code using AUDIO_CHANNEL_TYPE may need to
be updated. A new option AAC_PCM_LIMITER_ENABLE has been added, enabled
by default, which incurs extra decoding delay.)
- PowerPC optimizations, fixes for building on AIX
- Support for reading streamed wav files in the encoder example
- Fix VBR encoding of sample rates over 64 kHz
0.1.3
- Updated upstream sources, with a number of crash fixes and new features
(including support for encoding 7.1)
0.1.2
- Fix a few more crashes
- Include dependency libs (such as -lm) in the pkg-config file
0.1.1
- Updated to a new upstream version from Android 4.2, fixing a lot of crashes
- Cleanup of autotools usage
- Make sure the shared library links to libm if necessary
- Performance improvements on x86
- Added support for WG4/DVD audio channel mappings
- Minimized the differences to upstream
- Added an example encoder tool
0.1.0
- Initial release of fdk-aac
- autotools based build system
- Enable setting VBR bitrate modes

View File

@ -1,3 +1,7 @@
# *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
# CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
# DEPENDING ON IT IN YOUR PROJECT. ***
third_party {
license_note: "Software License for The Fraunhofer FDK AAC Codec Library for Android"
license_type: BY_EXCEPTION_ONLY
}

304
Makefile.am Normal file
View File

@ -0,0 +1,304 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = \
-I$(top_srcdir)/libAACdec/include \
-I$(top_srcdir)/libAACenc/include \
-I$(top_srcdir)/libArithCoding/include \
-I$(top_srcdir)/libDRCdec/include \
-I$(top_srcdir)/libSACdec/include \
-I$(top_srcdir)/libSACenc/include \
-I$(top_srcdir)/libSBRdec/include \
-I$(top_srcdir)/libSBRenc/include \
-I$(top_srcdir)/libMpegTPDec/include \
-I$(top_srcdir)/libMpegTPEnc/include \
-I$(top_srcdir)/libSYS/include \
-I$(top_srcdir)/libFDK/include \
-I$(top_srcdir)/libPCMutils/include
AM_CXXFLAGS = -fno-exceptions -fno-rtti
libfdk_aac_la_LINK = $(LINK) $(libfdk_aac_la_LDFLAGS)
# Mention a dummy pure C file to trigger generation of the $(LINK) variable
nodist_EXTRA_libfdk_aac_la_SOURCES = dummy.c
fdk_aacincludedir = $(includedir)/fdk-aac
fdk_aacinclude_HEADERS = \
$(top_srcdir)/libSYS/include/machine_type.h \
$(top_srcdir)/libSYS/include/genericStds.h \
$(top_srcdir)/libSYS/include/FDK_audio.h \
$(top_srcdir)/libSYS/include/syslib_channelMapDescr.h \
$(top_srcdir)/libAACenc/include/aacenc_lib.h \
$(top_srcdir)/libAACdec/include/aacdecoder_lib.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fdk-aac.pc
lib_LTLIBRARIES = libfdk-aac.la
libfdk_aac_la_LDFLAGS = -version-info @FDK_AAC_VERSION@ -no-undefined \
-export-symbols $(top_srcdir)/fdk-aac.sym
if EXAMPLE
bin_PROGRAMS = aac-enc$(EXEEXT)
noinst_PROGRAMS = test-encode-decode$(EXEEXT)
aac_enc_LDADD = libfdk-aac.la
aac_enc_SOURCES = aac-enc.c wavreader.c
test_encode_decode_LDADD = libfdk-aac.la
test_encode_decode_SOURCES = test-encode-decode.c wavreader.c sha1.c
noinst_HEADERS = wavreader.h
endif
AACDEC_SRC = \
libAACdec/src/FDK_delay.cpp \
libAACdec/src/aac_ram.cpp \
libAACdec/src/aac_rom.cpp \
libAACdec/src/aacdec_drc.cpp \
libAACdec/src/aacdec_hcr.cpp \
libAACdec/src/aacdec_hcr_bit.cpp \
libAACdec/src/aacdec_hcrs.cpp \
libAACdec/src/aacdec_pns.cpp \
libAACdec/src/aacdec_tns.cpp \
libAACdec/src/aacdecoder.cpp \
libAACdec/src/aacdecoder_lib.cpp \
libAACdec/src/block.cpp \
libAACdec/src/channel.cpp \
libAACdec/src/channelinfo.cpp \
libAACdec/src/conceal.cpp \
libAACdec/src/ldfiltbank.cpp \
libAACdec/src/pulsedata.cpp \
libAACdec/src/rvlc.cpp \
libAACdec/src/rvlcbit.cpp \
libAACdec/src/rvlcconceal.cpp \
libAACdec/src/stereo.cpp \
libAACdec/src/usacdec_ace_d4t64.cpp \
libAACdec/src/usacdec_ace_ltp.cpp \
libAACdec/src/usacdec_acelp.cpp \
libAACdec/src/usacdec_fac.cpp \
libAACdec/src/usacdec_lpc.cpp \
libAACdec/src/usacdec_lpd.cpp \
libAACdec/src/usacdec_rom.cpp
AACENC_SRC = \
libAACenc/src/aacEnc_ram.cpp \
libAACenc/src/aacEnc_rom.cpp \
libAACenc/src/aacenc.cpp \
libAACenc/src/aacenc_lib.cpp \
libAACenc/src/aacenc_pns.cpp \
libAACenc/src/aacenc_tns.cpp \
libAACenc/src/adj_thr.cpp \
libAACenc/src/band_nrg.cpp \
libAACenc/src/bandwidth.cpp \
libAACenc/src/bit_cnt.cpp \
libAACenc/src/bitenc.cpp \
libAACenc/src/block_switch.cpp \
libAACenc/src/channel_map.cpp \
libAACenc/src/chaosmeasure.cpp \
libAACenc/src/dyn_bits.cpp \
libAACenc/src/grp_data.cpp \
libAACenc/src/intensity.cpp \
libAACenc/src/line_pe.cpp \
libAACenc/src/metadata_compressor.cpp \
libAACenc/src/metadata_main.cpp \
libAACenc/src/mps_main.cpp \
libAACenc/src/ms_stereo.cpp \
libAACenc/src/noisedet.cpp \
libAACenc/src/pnsparam.cpp \
libAACenc/src/pre_echo_control.cpp \
libAACenc/src/psy_configuration.cpp \
libAACenc/src/psy_main.cpp \
libAACenc/src/qc_main.cpp \
libAACenc/src/quantize.cpp \
libAACenc/src/sf_estim.cpp \
libAACenc/src/spreading.cpp \
libAACenc/src/tonality.cpp \
libAACenc/src/transform.cpp
ARITHCODING_SRC = \
libArithCoding/src/ac_arith_coder.cpp
DRCDEC_SRC = \
libDRCdec/src/FDK_drcDecLib.cpp \
libDRCdec/src/drcDec_gainDecoder.cpp \
libDRCdec/src/drcDec_reader.cpp \
libDRCdec/src/drcDec_rom.cpp \
libDRCdec/src/drcDec_selectionProcess.cpp \
libDRCdec/src/drcDec_tools.cpp \
libDRCdec/src/drcGainDec_init.cpp \
libDRCdec/src/drcGainDec_preprocess.cpp \
libDRCdec/src/drcGainDec_process.cpp
FDK_SRC = \
libFDK/src/FDK_bitbuffer.cpp \
libFDK/src/FDK_core.cpp \
libFDK/src/FDK_crc.cpp \
libFDK/src/FDK_decorrelate.cpp \
libFDK/src/FDK_hybrid.cpp \
libFDK/src/FDK_lpc.cpp \
libFDK/src/FDK_matrixCalloc.cpp \
libFDK/src/FDK_qmf_domain.cpp \
libFDK/src/FDK_tools_rom.cpp \
libFDK/src/FDK_trigFcts.cpp \
libFDK/src/autocorr2nd.cpp \
libFDK/src/dct.cpp \
libFDK/src/fft.cpp \
libFDK/src/fft_rad2.cpp \
libFDK/src/fixpoint_math.cpp \
libFDK/src/huff_nodes.cpp \
libFDK/src/mdct.cpp \
libFDK/src/nlc_dec.cpp \
libFDK/src/qmf.cpp \
libFDK/src/scale.cpp
MPEGTPDEC_SRC = \
libMpegTPDec/src/tpdec_adif.cpp \
libMpegTPDec/src/tpdec_adts.cpp \
libMpegTPDec/src/tpdec_asc.cpp \
libMpegTPDec/src/tpdec_drm.cpp \
libMpegTPDec/src/tpdec_latm.cpp \
libMpegTPDec/src/tpdec_lib.cpp
MPEGTPENC_SRC = \
libMpegTPEnc/src/tpenc_adif.cpp \
libMpegTPEnc/src/tpenc_adts.cpp \
libMpegTPEnc/src/tpenc_asc.cpp \
libMpegTPEnc/src/tpenc_latm.cpp \
libMpegTPEnc/src/tpenc_lib.cpp
PCMUTILS_SRC = \
libPCMutils/src/limiter.cpp \
libPCMutils/src/pcm_utils.cpp \
libPCMutils/src/pcmdmx_lib.cpp
SACDEC_SRC = \
libSACdec/src/sac_bitdec.cpp \
libSACdec/src/sac_calcM1andM2.cpp \
libSACdec/src/sac_dec.cpp \
libSACdec/src/sac_dec_conceal.cpp \
libSACdec/src/sac_dec_lib.cpp \
libSACdec/src/sac_process.cpp \
libSACdec/src/sac_qmf.cpp \
libSACdec/src/sac_reshapeBBEnv.cpp \
libSACdec/src/sac_rom.cpp \
libSACdec/src/sac_smoothing.cpp \
libSACdec/src/sac_stp.cpp \
libSACdec/src/sac_tsd.cpp
SACENC_SRC = \
libSACenc/src/sacenc_bitstream.cpp \
libSACenc/src/sacenc_delay.cpp \
libSACenc/src/sacenc_dmx_tdom_enh.cpp \
libSACenc/src/sacenc_filter.cpp \
libSACenc/src/sacenc_framewindowing.cpp \
libSACenc/src/sacenc_huff_tab.cpp \
libSACenc/src/sacenc_lib.cpp \
libSACenc/src/sacenc_nlc_enc.cpp \
libSACenc/src/sacenc_onsetdetect.cpp \
libSACenc/src/sacenc_paramextract.cpp \
libSACenc/src/sacenc_staticgain.cpp \
libSACenc/src/sacenc_tree.cpp \
libSACenc/src/sacenc_vectorfunctions.cpp
SBRDEC_SRC = \
libSBRdec/src/HFgen_preFlat.cpp \
libSBRdec/src/env_calc.cpp \
libSBRdec/src/env_dec.cpp \
libSBRdec/src/env_extr.cpp \
libSBRdec/src/hbe.cpp \
libSBRdec/src/huff_dec.cpp \
libSBRdec/src/lpp_tran.cpp \
libSBRdec/src/psbitdec.cpp \
libSBRdec/src/psdec.cpp \
libSBRdec/src/psdec_drm.cpp \
libSBRdec/src/psdecrom_drm.cpp \
libSBRdec/src/pvc_dec.cpp \
libSBRdec/src/sbr_deb.cpp \
libSBRdec/src/sbr_dec.cpp \
libSBRdec/src/sbr_ram.cpp \
libSBRdec/src/sbr_rom.cpp \
libSBRdec/src/sbrdec_drc.cpp \
libSBRdec/src/sbrdec_freq_sca.cpp \
libSBRdec/src/sbrdecoder.cpp
SBRENC_SRC = \
libSBRenc/src/bit_sbr.cpp \
libSBRenc/src/code_env.cpp \
libSBRenc/src/env_bit.cpp \
libSBRenc/src/env_est.cpp \
libSBRenc/src/fram_gen.cpp \
libSBRenc/src/invf_est.cpp \
libSBRenc/src/mh_det.cpp \
libSBRenc/src/nf_est.cpp \
libSBRenc/src/ps_bitenc.cpp \
libSBRenc/src/ps_encode.cpp \
libSBRenc/src/ps_main.cpp \
libSBRenc/src/resampler.cpp \
libSBRenc/src/sbr_encoder.cpp \
libSBRenc/src/sbr_misc.cpp \
libSBRenc/src/sbrenc_freq_sca.cpp \
libSBRenc/src/sbrenc_ram.cpp \
libSBRenc/src/sbrenc_rom.cpp \
libSBRenc/src/ton_corr.cpp \
libSBRenc/src/tran_det.cpp
SYS_SRC = \
libSYS/src/genericStds.cpp \
libSYS/src/syslib_channelMapDescr.cpp
libfdk_aac_la_SOURCES = \
$(AACDEC_SRC) $(AACENC_SRC) \
$(ARITHCODING_SRC) \
$(DRCDEC_SRC) \
$(MPEGTPDEC_SRC) $(MPEGTPENC_SRC) \
$(SACDEC_SRC) $(SACENC_SRC) \
$(SBRDEC_SRC) $(SBRENC_SRC) \
$(PCMUTILS_SRC) $(FDK_SRC) $(SYS_SRC)
EXTRA_DIST = \
$(top_srcdir)/CMakeLists.txt \
$(top_srcdir)/.clang-format \
$(top_srcdir)/autogen.sh \
$(top_srcdir)/MODULE_LICENSE_FRAUNHOFER \
$(top_srcdir)/NOTICE \
$(top_srcdir)/OWNERS \
$(top_srcdir)/Android.bp \
$(top_srcdir)/fdk-aac.def \
$(top_srcdir)/fdk-aac.sym \
$(top_srcdir)/fdk-aac-config.cmake.in \
$(top_srcdir)/documentation/*.pdf \
$(top_srcdir)/fuzzer/* \
$(top_srcdir)/libAACdec/src/*.h \
$(top_srcdir)/libAACdec/src/arm/*.cpp \
$(top_srcdir)/libAACenc/src/*.h \
$(top_srcdir)/libArithCoding/include/*.h \
$(top_srcdir)/libDRCdec/include/*.h \
$(top_srcdir)/libDRCdec/src/*.h \
$(top_srcdir)/libSACdec/include/*.h \
$(top_srcdir)/libSACdec/src/*.h \
$(top_srcdir)/libSACenc/include/*.h \
$(top_srcdir)/libSACenc/src/*.h \
$(top_srcdir)/libSBRenc/src/*.h \
$(top_srcdir)/libSBRenc/include/*.h \
$(top_srcdir)/libSBRdec/src/*.h \
$(top_srcdir)/libSBRdec/src/arm/*.cpp \
$(top_srcdir)/libSBRdec/include/*.h \
$(top_srcdir)/libSYS/include/*.h \
$(top_srcdir)/libPCMutils/include/*.h \
$(top_srcdir)/libPCMutils/src/*.h \
$(top_srcdir)/libMpegTPEnc/include/*.h \
$(top_srcdir)/libMpegTPEnc/src/*.h \
$(top_srcdir)/libMpegTPDec/include/*.h \
$(top_srcdir)/libMpegTPDec/src/*.h \
$(top_srcdir)/libFDK/include/*.h \
$(top_srcdir)/libFDK/include/arm/*.h \
$(top_srcdir)/libFDK/include/mips/*.h \
$(top_srcdir)/libFDK/include/ppc/*.h \
$(top_srcdir)/libFDK/include/x86/*.h \
$(top_srcdir)/libFDK/src/arm/*.cpp \
$(top_srcdir)/libFDK/src/mips/*.cpp \
$(top_srcdir)/METADATA \
$(top_srcdir)/PREUPLOAD.cfg \
$(top_srcdir)/win32/*.h

237
aac-enc.c Normal file
View File

@ -0,0 +1,237 @@
/* ------------------------------------------------------------------
* Copyright (C) 2011 Martin Storsjo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#include <stdio.h>
#include <stdint.h>
#if defined(_MSC_VER)
#include <getopt.h>
#else
#include <unistd.h>
#endif
#include <stdlib.h>
#include "libAACenc/include/aacenc_lib.h"
#include "wavreader.h"
void usage(const char* name) {
fprintf(stderr, "%s [-r bitrate] [-t aot] [-a afterburner] [-s sbr] [-v vbr] in.wav out.aac\n", name);
fprintf(stderr, "Supported AOTs:\n");
fprintf(stderr, "\t2\tAAC-LC\n");
fprintf(stderr, "\t5\tHE-AAC\n");
fprintf(stderr, "\t29\tHE-AAC v2\n");
fprintf(stderr, "\t23\tAAC-LD\n");
fprintf(stderr, "\t39\tAAC-ELD\n");
}
int main(int argc, char *argv[]) {
int bitrate = 64000;
int ch;
const char *infile, *outfile;
FILE *out;
void *wav;
int format, sample_rate, channels, bits_per_sample;
int input_size;
uint8_t* input_buf;
int16_t* convert_buf;
int aot = 2;
int afterburner = 1;
int eld_sbr = 0;
int vbr = 0;
HANDLE_AACENCODER handle;
CHANNEL_MODE mode;
AACENC_InfoStruct info = { 0 };
while ((ch = getopt(argc, argv, "r:t:a:s:v:")) != -1) {
switch (ch) {
case 'r':
bitrate = atoi(optarg);
break;
case 't':
aot = atoi(optarg);
break;
case 'a':
afterburner = atoi(optarg);
break;
case 's':
eld_sbr = atoi(optarg);
break;
case 'v':
vbr = atoi(optarg);
break;
case '?':
default:
usage(argv[0]);
return 1;
}
}
if (argc - optind < 2) {
usage(argv[0]);
return 1;
}
infile = argv[optind];
outfile = argv[optind + 1];
wav = wav_read_open(infile);
if (!wav) {
fprintf(stderr, "Unable to open wav file %s\n", infile);
return 1;
}
if (!wav_get_header(wav, &format, &channels, &sample_rate, &bits_per_sample, NULL)) {
fprintf(stderr, "Bad wav file %s\n", infile);
return 1;
}
if (format != 1) {
fprintf(stderr, "Unsupported WAV format %d\n", format);
return 1;
}
if (bits_per_sample != 16) {
fprintf(stderr, "Unsupported WAV sample depth %d\n", bits_per_sample);
return 1;
}
switch (channels) {
case 1: mode = MODE_1; break;
case 2: mode = MODE_2; break;
case 3: mode = MODE_1_2; break;
case 4: mode = MODE_1_2_1; break;
case 5: mode = MODE_1_2_2; break;
case 6: mode = MODE_1_2_2_1; break;
default:
fprintf(stderr, "Unsupported WAV channels %d\n", channels);
return 1;
}
if (aacEncOpen(&handle, 0, channels) != AACENC_OK) {
fprintf(stderr, "Unable to open encoder\n");
return 1;
}
if (aacEncoder_SetParam(handle, AACENC_AOT, aot) != AACENC_OK) {
fprintf(stderr, "Unable to set the AOT\n");
return 1;
}
if (aot == 39 && eld_sbr) {
if (aacEncoder_SetParam(handle, AACENC_SBR_MODE, 1) != AACENC_OK) {
fprintf(stderr, "Unable to set SBR mode for ELD\n");
return 1;
}
}
if (aacEncoder_SetParam(handle, AACENC_SAMPLERATE, sample_rate) != AACENC_OK) {
fprintf(stderr, "Unable to set the sample rate\n");
return 1;
}
if (aacEncoder_SetParam(handle, AACENC_CHANNELMODE, mode) != AACENC_OK) {
fprintf(stderr, "Unable to set the channel mode\n");
return 1;
}
if (aacEncoder_SetParam(handle, AACENC_CHANNELORDER, 1) != AACENC_OK) {
fprintf(stderr, "Unable to set the wav channel order\n");
return 1;
}
if (vbr) {
if (aacEncoder_SetParam(handle, AACENC_BITRATEMODE, vbr) != AACENC_OK) {
fprintf(stderr, "Unable to set the VBR bitrate mode\n");
return 1;
}
} else {
if (aacEncoder_SetParam(handle, AACENC_BITRATE, bitrate) != AACENC_OK) {
fprintf(stderr, "Unable to set the bitrate\n");
return 1;
}
}
if (aacEncoder_SetParam(handle, AACENC_TRANSMUX, TT_MP4_ADTS) != AACENC_OK) {
fprintf(stderr, "Unable to set the ADTS transmux\n");
return 1;
}
if (aacEncoder_SetParam(handle, AACENC_AFTERBURNER, afterburner) != AACENC_OK) {
fprintf(stderr, "Unable to set the afterburner mode\n");
return 1;
}
if (aacEncEncode(handle, NULL, NULL, NULL, NULL) != AACENC_OK) {
fprintf(stderr, "Unable to initialize the encoder\n");
return 1;
}
if (aacEncInfo(handle, &info) != AACENC_OK) {
fprintf(stderr, "Unable to get the encoder info\n");
return 1;
}
out = fopen(outfile, "wb");
if (!out) {
perror(outfile);
return 1;
}
input_size = channels*2*info.frameLength;
input_buf = (uint8_t*) malloc(input_size);
convert_buf = (int16_t*) malloc(input_size);
while (1) {
AACENC_BufDesc in_buf = { 0 }, out_buf = { 0 };
AACENC_InArgs in_args = { 0 };
AACENC_OutArgs out_args = { 0 };
int in_identifier = IN_AUDIO_DATA;
int in_size, in_elem_size;
int out_identifier = OUT_BITSTREAM_DATA;
int out_size, out_elem_size;
int read, i;
void *in_ptr, *out_ptr;
uint8_t outbuf[20480];
AACENC_ERROR err;
read = wav_read_data(wav, input_buf, input_size);
for (i = 0; i < read/2; i++) {
const uint8_t* in = &input_buf[2*i];
convert_buf[i] = in[0] | (in[1] << 8);
}
in_ptr = convert_buf;
in_size = read;
in_elem_size = 2;
in_args.numInSamples = read <= 0 ? -1 : read/2;
in_buf.numBufs = 1;
in_buf.bufs = &in_ptr;
in_buf.bufferIdentifiers = &in_identifier;
in_buf.bufSizes = &in_size;
in_buf.bufElSizes = &in_elem_size;
out_ptr = outbuf;
out_size = sizeof(outbuf);
out_elem_size = 1;
out_buf.numBufs = 1;
out_buf.bufs = &out_ptr;
out_buf.bufferIdentifiers = &out_identifier;
out_buf.bufSizes = &out_size;
out_buf.bufElSizes = &out_elem_size;
if ((err = aacEncEncode(handle, &in_buf, &out_buf, &in_args, &out_args)) != AACENC_OK) {
if (err == AACENC_ENCODE_EOF)
break;
fprintf(stderr, "Encoding failed\n");
return 1;
}
if (out_args.numOutBytes == 0)
continue;
fwrite(outbuf, 1, out_args.numOutBytes, out);
}
free(input_buf);
free(convert_buf);
fclose(out);
wav_read_close(wav);
aacEncClose(&handle);
return 0;
}

2
autogen.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
autoreconf -fiv

38
configure.ac Normal file
View File

@ -0,0 +1,38 @@
dnl -*- Autoconf -*-
dnl Process this file with autoconf to produce a configure script.
AC_INIT([fdk-aac], [2.0.2], [http://sourceforge.net/projects/opencore-amr/])
AC_CONFIG_AUX_DIR(.)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([tar-ustar foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
dnl Various options for configure
AC_ARG_ENABLE([example],
[AS_HELP_STRING([--enable-example],
[enable example encoding program (default is no)])],
[example=$enableval], [example=no])
dnl Automake conditionals to set
AM_CONDITIONAL(EXAMPLE, test x$example = xyes)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_CXX
LT_INIT
AC_SEARCH_LIBS([sin], [m])
dnl soname version to use
dnl goes by current[:revision[:age]] with the soname ending up as
dnl current.age.revision
FDK_AAC_VERSION=2:2:0
AS_IF([test x$enable_shared = xyes], [LIBS_PRIVATE=$LIBS], [LIBS_PUBLIC=$LIBS])
AC_SUBST(FDK_AAC_VERSION)
AC_SUBST(LIBS_PUBLIC)
AC_SUBST(LIBS_PRIVATE)
AC_CONFIG_FILES([Makefile
fdk-aac.pc])
AC_OUTPUT

5
fdk-aac-config.cmake.in Normal file
View File

@ -0,0 +1,5 @@
@PACKAGE_INIT@
include(${CMAKE_CURRENT_LIST_DIR}/fdk-aac-targets.cmake)
check_required_components(FDK-AAC)

19
fdk-aac.def Normal file
View File

@ -0,0 +1,19 @@
EXPORTS
aacDecoder_AncDataGet
aacDecoder_AncDataInit
aacDecoder_Close
aacDecoder_ConfigRaw
aacDecoder_DecodeFrame
aacDecoder_Fill
aacDecoder_GetFreeBytes
aacDecoder_GetLibInfo
aacDecoder_GetStreamInfo
aacDecoder_Open
aacDecoder_SetParam
aacEncClose
aacEncEncode
aacEncGetLibInfo
aacEncInfo
aacEncOpen
aacEncoder_GetParam
aacEncoder_SetParam

11
fdk-aac.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Fraunhofer FDK AAC Codec Library
Description: AAC codec library
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lfdk-aac @LIBS_PUBLIC@
Libs.private: @LIBS_PRIVATE@
Cflags: -I${includedir}

18
fdk-aac.sym Normal file
View File

@ -0,0 +1,18 @@
aacDecoder_AncDataGet
aacDecoder_AncDataInit
aacDecoder_Close
aacDecoder_ConfigRaw
aacDecoder_DecodeFrame
aacDecoder_Fill
aacDecoder_GetFreeBytes
aacDecoder_GetLibInfo
aacDecoder_GetStreamInfo
aacDecoder_Open
aacDecoder_SetParam
aacEncClose
aacEncEncode
aacEncGetLibInfo
aacEncInfo
aacEncOpen
aacEncoder_GetParam
aacEncoder_SetParam

View File

@ -46,6 +46,14 @@ cc_defaults {
"android-media-fuzzing-reports@google.com",
],
componentid: 155276,
hotlists: [
"4593311",
],
description: "The fuzzer targets the APIs of libFraunhoferAAC",
vector: "remote",
service_privilege: "privileged",
users: "multi_user",
fuzzed_code_usage: "shipped",
},
}

View File

@ -431,6 +431,10 @@ Where N equals to CStreamInfo::frameSize .
#include "machine_type.h"
#include "FDK_audio.h"
#define AACDECODER_LIB_VL0 3
#define AACDECODER_LIB_VL1 2
#define AACDECODER_LIB_VL2 0
#include "genericStds.h"
/**
* \brief AAC decoder error codes.

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -217,7 +217,6 @@ void aacDecoder_drcInit(HANDLE_AAC_DRC self) {
self->progRefLevel = pParams->targetRefLevel;
self->progRefLevelPresent = 0;
self->presMode = -1;
self->uniDrcPrecedence = 0;
aacDecoder_drcReset(self);
}
@ -353,12 +352,6 @@ AAC_DECODER_ERROR aacDecoder_drcSetParam(HANDLE_AAC_DRC self,
self->numOutChannels = (INT)value;
self->update = 1;
break;
case UNIDRC_PRECEDENCE:
if (self == NULL) {
return AAC_DEC_INVALID_HANDLE;
}
self->uniDrcPrecedence = (UCHAR)value;
break;
default:
return AAC_DEC_SET_PARAM_FAIL;
} /* switch(param) */
@ -1258,7 +1251,6 @@ static void aacDecoder_drcParameterHandling(HANDLE_AAC_DRC self,
/* switch on/off processing */
self->enable = ((p->boost > (FIXP_DBL)0) || (p->cut > (FIXP_DBL)0) ||
(p->applyHeavyCompression == ON) || (p->targetRefLevel >= 0));
self->enable = (self->enable && !self->uniDrcPrecedence);
self->prevAacNumChannels = aacNumChannels;
self->update = 0;

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2020 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -133,8 +133,7 @@ typedef enum {
APPLY_HEAVY_COMPRESSION,
DEFAULT_PRESENTATION_MODE,
ENCODER_TARGET_LEVEL,
MAX_OUTPUT_CHANNELS,
UNIDRC_PRECEDENCE
MAX_OUTPUT_CHANNELS
} AACDEC_DRC_PARAM;
/**

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -207,11 +207,6 @@ typedef struct {
position in the bitstream (only one per frame) */
UINT drcPayloadPosition[MAX_DRC_THREADS]; /* Used to store the DRC payload
positions in the bitstream */
UCHAR
uniDrcPrecedence; /* Flag for signalling that uniDrc is active and takes
precedence over legacy DRC */
UCHAR applyExtGain; /* Flag is 1 if extGain has to be applied, otherwise 0. */
FIXP_DBL additionalGainPrev; /* Gain of previous frame to be applied to the

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -912,43 +912,6 @@ static AAC_DECODER_ERROR CAacDecoder_ExtPayloadParse(
}
*count -= readBits;
} break;
case EXT_UNI_DRC: {
DRC_DEC_ERROR drcErr = DRC_DEC_OK;
DRC_DEC_CODEC_MODE drcDecCodecMode = DRC_DEC_CODEC_MODE_UNDEFINED;
INT nBitsRemaining = FDKgetValidBits(hBs);
INT readBits;
switch (self->streamInfo.aot) {
case AOT_AAC_LC:
case AOT_SBR:
case AOT_PS:
drcDecCodecMode = DRC_DEC_MPEG_4_AAC;
break;
default:
error = AAC_DEC_PARSE_ERROR;
goto bail;
}
drcErr = FDK_drcDec_SetCodecMode(self->hUniDrcDecoder, drcDecCodecMode);
if (drcErr) {
error = AAC_DEC_PARSE_ERROR;
goto bail;
}
drcErr = FDK_drcDec_ReadUniDrc(self->hUniDrcDecoder, hBs);
if (drcErr) {
error = AAC_DEC_PARSE_ERROR;
goto bail;
}
readBits = (INT)nBitsRemaining - (INT)FDKgetValidBits(hBs);
if (readBits > *count) { /* Read too much. Something went wrong! */
error = AAC_DEC_PARSE_ERROR;
}
*count -= readBits;
/* Skip any trailing bits */
FDKpushFor(hBs, *count);
*count = 0;
} break;
case EXT_LDSAC_DATA:
case EXT_SAC_DATA:
/* Read MPEG Surround Extension payload */
@ -3310,12 +3273,6 @@ LINKSPEC_CPP AAC_DECODER_ERROR CAacDecoder_DecodeFrame(
FDKmemcpy(drcChMap, self->chMapping, (8) * sizeof(UCHAR));
}
/* deactivate legacy DRC in case uniDrc is active, i.e. uniDrc payload is
* present and one of DRC or Loudness Normalization is switched on */
aacDecoder_drcSetParam(
self->hDrcInfo, UNIDRC_PRECEDENCE,
FDK_drcDec_GetParam(self->hUniDrcDecoder, DRC_DEC_IS_ACTIVE));
/* Extract DRC control data and map it to channels (without bitstream delay)
*/
mapped = aacDecoder_drcProlog(

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -968,6 +968,8 @@ LINKSPEC_CPP HANDLE_AACDECODER aacDecoder_Open(TRANSPORT_TYPE transportFmt,
return NULL;
}
transportDec_SetParam(pIn, TPDEC_PARAM_IGNORE_BUFFERFULLNESS, 1);
/* Allocate AAC decoder core struct. */
aacDec = CAacDecoder_Open(transportFmt);
@ -1681,7 +1683,7 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER self,
{
if ((FDK_drcDec_GetParam(self->hUniDrcDecoder, DRC_DEC_IS_ACTIVE)) &&
!(self->flags[0] & AC_RSV603DA)) {
(self->flags[0] & AC_USAC)) {
/* Apply DRC gains*/
int ch, drcDelay = 0;
int needsDeinterleaving = 0;
@ -1689,8 +1691,6 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER self,
FIXP_DBL channelGain[(8)];
int reverseInChannelMap[(8)];
int reverseOutChannelMap[(8)];
int numDrcOutChannels = FDK_drcDec_GetParam(
self->hUniDrcDecoder, DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED);
FDKmemclear(channelGain, sizeof(channelGain));
for (ch = 0; ch < (8); ch++) {
reverseInChannelMap[ch] = ch;
@ -1713,17 +1713,6 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER self,
drcDelay += CConcealment_GetDelay(&self->concealCommonData) *
self->streamInfo.frameSize;
for (ch = 0; ch < self->streamInfo.numChannels; ch++) {
UCHAR mapValue = FDK_chMapDescr_getMapValue(
&self->mapDescr, (UCHAR)ch, self->chMapIndex);
if (mapValue < (8)) reverseInChannelMap[mapValue] = ch;
}
for (ch = 0; ch < (int)numDrcOutChannels; ch++) {
UCHAR mapValue = FDK_chMapDescr_getMapValue(
&self->mapDescr, (UCHAR)ch, numDrcOutChannels);
if (mapValue < (8)) reverseOutChannelMap[mapValue] = ch;
}
/* The output of SBR and MPS is interleaved. Deinterleaving may be
* necessary for FDK_drcDec_ProcessTime, which accepts deinterleaved
* audio only. */
@ -1758,11 +1747,9 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER self,
FDK_drcDec_Preprocess(self->hUniDrcDecoder);
/* apply DRC1 gain sequence */
for (ch = 0; ch < self->streamInfo.numChannels; ch++) {
FDK_drcDec_ProcessTime(self->hUniDrcDecoder, drcDelay, DRC_DEC_DRC1,
ch, reverseInChannelMap[ch] - ch, 1,
drcWorkBuffer, self->streamInfo.frameSize);
}
FDK_drcDec_ProcessTime(self->hUniDrcDecoder, drcDelay, DRC_DEC_DRC1,
0, 0, self->streamInfo.numChannels,
drcWorkBuffer, self->streamInfo.frameSize);
/* apply downmix */
FDK_drcDec_ApplyDownmix(
self->hUniDrcDecoder, reverseInChannelMap, reverseOutChannelMap,
@ -1770,12 +1757,10 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER self,
&self->streamInfo.numChannels); /* self->streamInfo.numChannels
may change here */
/* apply DRC2/3 gain sequence */
for (ch = 0; ch < self->streamInfo.numChannels; ch++) {
FDK_drcDec_ProcessTime(self->hUniDrcDecoder, drcDelay,
DRC_DEC_DRC2_DRC3, ch,
reverseOutChannelMap[ch] - ch, 1,
drcWorkBuffer, self->streamInfo.frameSize);
}
FDK_drcDec_ProcessTime(self->hUniDrcDecoder, drcDelay,
DRC_DEC_DRC2_DRC3, 0, 0,
self->streamInfo.numChannels, drcWorkBuffer,
self->streamInfo.frameSize);
if (needsDeinterleaving) {
FDK_interleave(

View File

@ -267,9 +267,9 @@ static void D_gain2_plus(int index, FIXP_COD code[], FIXP_SGL *gain_pit,
gcode0_e = gcode0_e + SF_MEAN_ENER_LG10 - (ener_code_e >> 1) + 1;
i = index << 1;
*gain_pit = t_qua_gain7b[i]; /* adaptive codebook gain */
*gain_pit = fdk_t_qua_gain7b[i]; /* adaptive codebook gain */
/* t_qua_gain[ind2p1] : fixed codebook gain correction factor */
Ltmp = fMult(t_qua_gain7b[i + 1], gcode0);
Ltmp = fMult(fdk_t_qua_gain7b[i + 1], gcode0);
*gain_code = scaleValue(Ltmp, gcode0_e - SF_GAIN_C + SF_QUA_GAIN7B);
/* update bad frame handler */

View File

@ -1249,7 +1249,7 @@ const FIXP_LPC fdk_dec_dico_lsf_abs_8b[] = {
adaptive codebook gain g_p (left column). Scaled by 2.0f.
innovative codebook gain g_c (right column). Scaled by 16.0f.
*/
const FIXP_SGL t_qua_gain7b[128 * 2] = {
const FIXP_SGL fdk_t_qua_gain7b[128 * 2] = {
204, 441, 464, 1977, 869, 1077, 1072, 3062, 1281, 4759, 1647,
1539, 1845, 7020, 1853, 634, 1995, 2336, 2351, 15400, 2661, 1165,
2702, 3900, 2710, 10133, 3195, 1752, 3498, 2624, 3663, 849, 3984,

View File

@ -132,7 +132,7 @@ extern const FIXP_LPC fdk_dec_dico_lsf_abs_8b[16 * 256];
/* ACELP tables */
#define SF_QUA_GAIN7B 4
extern const FIXP_SGL t_qua_gain7b[128 * 2];
extern const FIXP_SGL fdk_t_qua_gain7b[128 * 2];
extern const FIXP_SGL lsp_interpol_factor[2][NB_SUBFR];
/* For bass post filter */

View File

@ -332,7 +332,7 @@ If the present library is configured with Metadata support, it is possible to
insert meta data side info into the generated audio bitstream while encoding.
To work with meta data the encoder instance has to be \ref encOpen "allocated"
with meta data support. The meta data mode must be be configured with the
with meta data support. The meta data mode must be configured with the
::AACENC_METADATA_MODE parameter and aacEncoder_SetParam() function. \code
aacEncoder_SetParam(hAacEncoder, AACENC_METADATA_MODE, 0-3); \endcode
@ -1005,6 +1005,10 @@ internally.
#include "machine_type.h"
#include "FDK_audio.h"
#define AACENCODER_LIB_VL0 4
#define AACENCODER_LIB_VL1 0
#define AACENCODER_LIB_VL2 1
/**
* AAC encoder error codes.
*/
@ -1086,7 +1090,7 @@ typedef struct {
write edit lists for gapless playback. The decoder may not
know how much delay is introdcued by SBR, since it may not
know if SBR is active at all (implicit signaling),
therefore the deocder must take into account any delay
therefore the decoder must take into account any delay
caused by the SBR module. */
UCHAR confBuf[64]; /*!< Configuration buffer in binary format as an

View File

@ -206,8 +206,9 @@ typedef enum {
CH_ORDER_MPEG =
0, /*!< MPEG channel ordering (e. g. 5.1: C, L, R, SL, SR, LFE) */
CH_ORDER_WAV /*!< WAV fileformat channel ordering (e. g. 5.1: L, R, C, LFE,
SL, SR) */
CH_ORDER_WAV, /*!< WAV fileformat channel ordering (e. g. 5.1: L, R, C, LFE,
SL, SR) */
CH_ORDER_WG4 /*!< WG4 fileformat channel ordering (e. g. 5.1: L, R, SL, SR, C, LFE) */
} CHANNEL_ORDER;

View File

@ -2234,7 +2234,7 @@ AACENC_ERROR aacEncoder_SetParam(const HANDLE_AACENCODER hAacEncoder,
break;
case AACENC_CHANNELORDER:
if (hAacEncoder->aacConfig.channelOrder != (CHANNEL_ORDER)value) {
if (!((value == 0) || (value == 1))) {
if (!((value == 0) || (value == 1) || (value == 2))) {
err = AACENC_INVALID_CONFIG;
break;
}

View File

@ -491,10 +491,17 @@ FDK_METADATA_ERROR FDK_MetadataEnc_Init(
FDK_channelMapDescr mapDescrPrev, mapDescr;
int c, src[2] = {-1, -1}, dst[2] = {-1, -1};
FDK_chMapDescr_init(&mapDescrPrev, NULL, 0,
(channelOrder == CH_ORDER_MPEG) ? 1 : 0);
FDK_chMapDescr_init(&mapDescr, NULL, 0,
(channelOrder == CH_ORDER_MPEG) ? 1 : 0);
if (channelOrder == CH_ORDER_WG4) {
FDK_chMapDescr_init(&mapDescrPrev, FDK_mapInfoTabWg4,
FDK_mapInfoTabLenWg4, 0);
FDK_chMapDescr_init(&mapDescr, FDK_mapInfoTabWg4,
FDK_mapInfoTabLenWg4, 0);
} else {
FDK_chMapDescr_init(&mapDescrPrev, NULL, 0,
(channelOrder == CH_ORDER_MPEG) ? 1 : 0);
FDK_chMapDescr_init(&mapDescr, NULL, 0,
(channelOrder == CH_ORDER_MPEG) ? 1 : 0);
}
switch (channelMode) {
case MODE_1:

View File

@ -114,10 +114,14 @@ amm-info@iis.fraunhofer.de
#define __x86__
#endif
#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__)
#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__) || defined(_M_ARM64)
#define __arm__
#endif
#if defined(_ARCH_PPC) && !defined(__powerpc__)
#define __powerpc__ 1
#endif
#if (__TARGET_ARCH_ARM == 5) || defined(__TARGET_FEATURE_DSPMUL) || \
(_M_ARM == 5) || defined(__ARM_ARCH_5TEJ__) || defined(__ARM_ARCH_7EM__)
/* Define __ARM_ARCH_5TE__ if armv5te features are supported */
@ -158,12 +162,11 @@ amm-info@iis.fraunhofer.de
#define __ARM_ARCH_7EM__
#endif
#if defined(__aarch64__)
#if defined(__aarch64__) || defined(_M_ARM64)
#define __ARM_ARCH_8__
#endif
#ifdef _M_ARM
#include "cmnintrin.h"
#include "armintr.h"
#endif
@ -219,6 +222,16 @@ amm-info@iis.fraunhofer.de
#define POW2COEFF_16BIT
#define LDCOEFF_16BIT
#elif defined(__riscv)
#define ARCH_PREFER_MULT_32x16
#define SINETABLE_16BIT
#define POW2COEFF_16BIT
#define LDCOEFF_16BIT
#define WINDOWTABLE_16BIT
#elif defined(__powerpc__)
#define ARCH_PREFER_MULT_32x32
#else
#warning >>>> Please set architecture characterization defines for your platform (FDK_HIGH_PERFORMANCE)! <<<<

View File

@ -115,6 +115,9 @@ amm-info@iis.fraunhofer.de
#elif defined(__x86__)
#include "x86/clz_x86.h"
#elif defined(__powerpc__)
#include "ppc/clz_ppc.h"
#endif /* all cores */
/*************************************************************************

View File

@ -406,10 +406,6 @@ FDK_INLINE FIXP_SGL fMax(FIXP_SGL a, FIXP_SGL b) { return fixmax_S(a, b); }
#if !defined(__LP64__)
FDK_INLINE INT fMax(INT a, INT b) { return fixmax_I(a, b); }
FDK_INLINE INT fMin(INT a, INT b) { return fixmin_I(a, b); }
#if !defined(_MSC_VER) && defined(__x86_64__)
FDK_INLINE SHORT fMax(SHORT a, SHORT b) { return fixmax_S(a, b); }
FDK_INLINE SHORT fMin(SHORT a, SHORT b) { return fixmin_S(a, b); }
#endif
#endif
inline UINT fMax(UINT a, UINT b) { return fixmax_UI(a, b); }

View File

@ -139,7 +139,7 @@ void ifft(int length, FIXP_DBL *pInput, INT *scalefactor);
* bit scale headroom. The values are interleaved, real/imag pairs.
*/
LNK_SECTION_CODE_L1
static void FDK_FORCEINLINE fft_4(FIXP_DBL *x) {
static inline void fft_4(FIXP_DBL *x) {
FIXP_DBL a00, a10, a20, a30, tmp0, tmp1;
a00 = (x[0] + x[4]) >> 1; /* Re A + Re B */
@ -168,7 +168,7 @@ static void FDK_FORCEINLINE fft_4(FIXP_DBL *x) {
#ifndef FUNCTION_fft_8
LNK_SECTION_CODE_L1
static void FDK_FORCEINLINE fft_8(FIXP_DBL *x) {
static inline void fft_8(FIXP_DBL *x) {
FIXP_SPK w_PiFOURTH = {{FIXP_SGL(0x5A82), FIXP_SGL(0x5A82)}};
FIXP_DBL a00, a10, a20, a30;

View File

@ -115,6 +115,9 @@ amm-info@iis.fraunhofer.de
#elif defined(__x86__)
#include "x86/fixmul_x86.h"
#elif defined(__powerpc__)
#include "ppc/fixmul_ppc.h"
#endif /* all cores */
/*************************************************************************

View File

@ -107,7 +107,7 @@ amm-info@iis.fraunhofer.de
#if defined(__GNUC__) && defined(__mips__)
#if defined(__mips_dsp)
#if defined(__mips_dsp) && !defined(__mips16)
#define FUNCTION_fixabs_D
#define FUNCTION_fixabs_I
#define FUNCTION_fixabs_S

View File

@ -103,7 +103,7 @@ amm-info@iis.fraunhofer.de
#if !defined(CPLX_MUL_MIPS_H)
#define CPLX_MUL_MIPS_H
#if defined(__GNUC__) && defined(__mips__) && __mips_isa_rev < 6
#if defined(__GNUC__) && defined(__mips__)
//#define FUNCTION_cplxMultDiv2_32x16
//#define FUNCTION_cplxMultDiv2_32x16X2
@ -115,53 +115,16 @@ amm-info@iis.fraunhofer.de
#if defined(FUNCTION_cplxMultDiv2_32x32X2)
inline void cplxMultDiv2(FIXP_DBL *c_Re, FIXP_DBL *c_Im, FIXP_DBL a_Re,
FIXP_DBL a_Im, FIXP_DBL b_Re, FIXP_DBL b_Im) {
INT result;
__asm__(
"mult %[a_Re], %[b_Re];\n"
"msub %[a_Im], %[b_Im];\n"
"mfhi %[result];\n"
: [result] "=r"(result)
: [a_Re] "d"(a_Re), [b_Re] "d"(b_Re), [a_Im] "d"(a_Im), [b_Im] "d"(b_Im)
: "lo");
*c_Re = result;
__asm__(
"mult %[a_Re], %[b_Im];\n"
"madd %[a_Im], %[b_Re];\n"
"mfhi %[result];\n"
: [result] "=r"(result)
: [a_Re] "r"(a_Re), [b_Im] "r"(b_Im), [a_Im] "r"(a_Im), [b_Re] "r"(b_Re)
: "lo");
*c_Im = result;
*c_Re = (((long long)a_Re * (long long)b_Re) - ((long long)a_Im * (long long)b_Im))>>32;
*c_Im = (((long long)a_Re * (long long)b_Im) + ((long long)a_Im * (long long)b_Re))>>32;
}
#endif
#if defined(FUNCTION_cplxMult_32x32X2)
inline void cplxMult(FIXP_DBL *c_Re, FIXP_DBL *c_Im, FIXP_DBL a_Re,
FIXP_DBL a_Im, FIXP_DBL b_Re, FIXP_DBL b_Im) {
INT result;
__asm__(
"mult %[a_Re], %[b_Re];\n"
"msub %[a_Im], %[b_Im];\n"
"mfhi %[result];\n"
//"extr_w %[result], 31;\n"
: [result] "=r"(result)
: [a_Re] "r"(a_Re), [b_Re] "r"(b_Re), [a_Im] "r"(a_Im), [b_Im] "r"(b_Im)
: "lo");
*c_Re = result << 1;
__asm__(
"mult %[a_Re], %[b_Im];\n"
"madd %[a_Im], %[b_Re];\n"
"mfhi %[result];\n"
//"extr_w %[result], 31;\n"
: [result] "=r"(result)
: [a_Re] "r"(a_Re), [b_Im] "r"(b_Im), [a_Im] "r"(a_Im), [b_Re] "r"(b_Re)
: "lo");
*c_Im = result << 1;
*c_Re = ((((long long)a_Re * (long long)b_Re) - ((long long)a_Im * (long long)b_Im))>>32)<<1;
*c_Im = ((((long long)a_Re * (long long)b_Im) + ((long long)a_Im * (long long)b_Re))>>32)<<1;
}
#endif

View File

@ -103,7 +103,7 @@ amm-info@iis.fraunhofer.de
#ifndef SCALE_MIPS_H
#define SCALE_MIPS_H
#if defined(__mips_dsp)
#if defined(__mips_dsp) && !defined(__mips16)
/*!
*

View File

@ -0,0 +1,102 @@
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION
The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec") is software that implements
the MPEG Advanced Audio Coding ("AAC") encoding and decoding scheme for digital audio.
This FDK AAC Codec software is intended to be used on a wide variety of Android devices.
AAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient general perceptual
audio codecs. AAC-ELD is considered the best-performing full-bandwidth communications codec by
independent studies and is widely deployed. AAC has been standardized by ISO and IEC as part
of the MPEG specifications.
Patent licenses for necessary patent claims for the FDK AAC Codec (including those of Fraunhofer)
may be obtained through Via Licensing (www.vialicensing.com) or through the respective patent owners
individually for the purpose of encoding or decoding bit streams in products that are compliant with
the ISO/IEC MPEG audio standards. Please note that most manufacturers of Android devices already license
these patent claims through Via Licensing or directly from the patent owners, and therefore FDK AAC Codec
software may already be covered under those patent licenses when it is used for those licensed purposes only.
Commercially-licensed AAC software libraries, including floating-point versions with enhanced sound quality,
are also available from Fraunhofer. Users are encouraged to check the Fraunhofer website for additional
applications information and documentation.
2. COPYRIGHT LICENSE
Redistribution and use in source and binary forms, with or without modification, are permitted without
payment of copyright license fees provided that you satisfy the following conditions:
You must retain the complete text of this software license in redistributions of the FDK AAC Codec or
your modifications thereto in source code form.
You must retain the complete text of this software license in the documentation and/or other materials
provided with redistributions of the FDK AAC Codec or your modifications thereto in binary form.
You must make available free of charge copies of the complete source code of the FDK AAC Codec and your
modifications thereto to recipients of copies in binary form.
The name of Fraunhofer may not be used to endorse or promote products derived from this library without
prior written permission.
You may not charge copyright license fees for anyone to use, copy or distribute the FDK AAC Codec
software or your modifications thereto.
Your modified versions of the FDK AAC Codec must carry prominent notices stating that you changed the software
and the date of any change. For modified versions of the FDK AAC Codec, the term
"Fraunhofer FDK AAC Codec Library for Android" must be replaced by the term
"Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android."
3. NO PATENT LICENSE
NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without limitation the patents of Fraunhofer,
ARE GRANTED BY THIS SOFTWARE LICENSE. Fraunhofer provides no warranty of patent non-infringement with
respect to this software.
You may use this FDK AAC Codec software or modifications thereto only for purposes that are authorized
by appropriate patent licenses.
4. DISCLAIMER
This FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright holders and contributors
"AS IS" and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, including but not limited to the implied warranties
of merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary, or consequential damages,
including but not limited to procurement of substitute goods or services; loss of use, data, or profits,
or business interruption, however caused and on any theory of liability, whether in contract, strict
liability, or tort (including negligence), arising in any way out of the use of this software, even if
advised of the possibility of such damage.
5. CONTACT INFORMATION
Fraunhofer Institute for Integrated Circuits IIS
Attention: Audio and Multimedia Departments - FDK AAC LL
Am Wolfsmantel 33
91058 Erlangen, Germany
www.iis.fraunhofer.de/amm
amm-info@iis.fraunhofer.de
----------------------------------------------------------------------------------------------------------- */
/*************************** Fraunhofer IIS FDK Tools **********************
Author(s):
Description: fixed point intrinsics
******************************************************************************/
#if defined(__powerpc__) && (defined(__GNUC__) || defined(__xlC__))
#define FUNCTION_fixnormz_D
inline INT fixnormz_D(LONG value)
{
INT result;
__asm__ ("cntlzw %0, %1" : "=r" (result) : "r" (value));
return result;
}
#endif /* __powerpc__ && (__GNUC__ || __xlC__) */

View File

@ -0,0 +1,115 @@
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION
The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec") is software that implements
the MPEG Advanced Audio Coding ("AAC") encoding and decoding scheme for digital audio.
This FDK AAC Codec software is intended to be used on a wide variety of Android devices.
AAC's HE-AAC and HE-AAC v2 versions are regarded as today's most efficient general perceptual
audio codecs. AAC-ELD is considered the best-performing full-bandwidth communications codec by
independent studies and is widely deployed. AAC has been standardized by ISO and IEC as part
of the MPEG specifications.
Patent licenses for necessary patent claims for the FDK AAC Codec (including those of Fraunhofer)
may be obtained through Via Licensing (www.vialicensing.com) or through the respective patent owners
individually for the purpose of encoding or decoding bit streams in products that are compliant with
the ISO/IEC MPEG audio standards. Please note that most manufacturers of Android devices already license
these patent claims through Via Licensing or directly from the patent owners, and therefore FDK AAC Codec
software may already be covered under those patent licenses when it is used for those licensed purposes only.
Commercially-licensed AAC software libraries, including floating-point versions with enhanced sound quality,
are also available from Fraunhofer. Users are encouraged to check the Fraunhofer website for additional
applications information and documentation.
2. COPYRIGHT LICENSE
Redistribution and use in source and binary forms, with or without modification, are permitted without
payment of copyright license fees provided that you satisfy the following conditions:
You must retain the complete text of this software license in redistributions of the FDK AAC Codec or
your modifications thereto in source code form.
You must retain the complete text of this software license in the documentation and/or other materials
provided with redistributions of the FDK AAC Codec or your modifications thereto in binary form.
You must make available free of charge copies of the complete source code of the FDK AAC Codec and your
modifications thereto to recipients of copies in binary form.
The name of Fraunhofer may not be used to endorse or promote products derived from this library without
prior written permission.
You may not charge copyright license fees for anyone to use, copy or distribute the FDK AAC Codec
software or your modifications thereto.
Your modified versions of the FDK AAC Codec must carry prominent notices stating that you changed the software
and the date of any change. For modified versions of the FDK AAC Codec, the term
"Fraunhofer FDK AAC Codec Library for Android" must be replaced by the term
"Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android."
3. NO PATENT LICENSE
NO EXPRESS OR IMPLIED LICENSES TO ANY PATENT CLAIMS, including without limitation the patents of Fraunhofer,
ARE GRANTED BY THIS SOFTWARE LICENSE. Fraunhofer provides no warranty of patent non-infringement with
respect to this software.
You may use this FDK AAC Codec software or modifications thereto only for purposes that are authorized
by appropriate patent licenses.
4. DISCLAIMER
This FDK AAC Codec software is provided by Fraunhofer on behalf of the copyright holders and contributors
"AS IS" and WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, including but not limited to the implied warranties
of merchantability and fitness for a particular purpose. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE for any direct, indirect, incidental, special, exemplary, or consequential damages,
including but not limited to procurement of substitute goods or services; loss of use, data, or profits,
or business interruption, however caused and on any theory of liability, whether in contract, strict
liability, or tort (including negligence), arising in any way out of the use of this software, even if
advised of the possibility of such damage.
5. CONTACT INFORMATION
Fraunhofer Institute for Integrated Circuits IIS
Attention: Audio and Multimedia Departments - FDK AAC LL
Am Wolfsmantel 33
91058 Erlangen, Germany
www.iis.fraunhofer.de/amm
amm-info@iis.fraunhofer.de
----------------------------------------------------------------------------------------------------------- */
/*************************** Fraunhofer IIS FDK Tools **********************
Author(s):
Description: fixed point intrinsics
******************************************************************************/
#if defined(__powerpc__) && (defined(__GNUC__) || defined(__xlC__))
#define FUNCTION_fixmuldiv2_DD
#define FUNCTION_fixmuldiv2BitExact_DD
#define fixmuldiv2BitExact_DD(a,b) fixmuldiv2_DD(a,b)
#define FUNCTION_fixmulBitExact_DD
#define fixmulBitExact_DD(a,b) fixmul_DD(a,b)
#define FUNCTION_fixmuldiv2BitExact_DS
#define fixmuldiv2BitExact_DS(a,b) fixmuldiv2_DS(a,b)
#define FUNCTION_fixmulBitExact_DS
#define fixmulBitExact_DS(a,b) fixmul_DS(a,b)
inline INT fixmuldiv2_DD (const INT a, const INT b)
{
INT result;
__asm__ ("mulhw %0, %1, %2" : "=r" (result) : "r" (a), "r" (b));
return result;
}
#endif /* __powerpc__ && (__GNUC__ || __xlC__) */

View File

@ -108,7 +108,7 @@ amm-info@iis.fraunhofer.de
#if defined(__arm__)
#include "arm/scramble_arm.h"
#elif defined(__mips__) && defined(__mips_dsp)
#elif defined(__mips__) && defined(__mips_dsp) && !defined(__mips16)
#include "mips/scramble_mips.h"
#endif

View File

@ -170,7 +170,7 @@ amm-info@iis.fraunhofer.de
/* Performs the FFT of length 2. Input vector unscaled, output vector scaled
* with factor 0.5 */
static FDK_FORCEINLINE void fft2(FIXP_DBL *RESTRICT pDat) {
static inline void fft2(FIXP_DBL *RESTRICT pDat) {
FIXP_DBL r1, i1;
FIXP_DBL r2, i2;
@ -196,7 +196,7 @@ static FDK_FORCEINLINE void fft2(FIXP_DBL *RESTRICT pDat) {
#ifndef FUNCTION_fft3
/* Performs the FFT of length 3 according to the algorithm after winograd. */
static FDK_FORCEINLINE void fft3(FIXP_DBL *RESTRICT pDat) {
static inline void fft3(FIXP_DBL *RESTRICT pDat) {
FIXP_DBL r1, r2;
FIXP_DBL s1, s2;
FIXP_DBL pD;
@ -233,7 +233,7 @@ static FDK_FORCEINLINE void fft3(FIXP_DBL *RESTRICT pDat) {
/* performs the FFT of length 5 according to the algorithm after winograd */
/* This version works with a prescale of 2 instead of 3 */
static FDK_FORCEINLINE void fft5(FIXP_DBL *RESTRICT pDat) {
static inline void fft5(FIXP_DBL *RESTRICT pDat) {
FIXP_DBL r1, r2, r3, r4;
FIXP_DBL s1, s2, s3, s4;
FIXP_DBL t;

View File

@ -109,7 +109,7 @@ amm-info@iis.fraunhofer.de
#if defined(__arm__)
#include "arm/fft_rad2_arm.cpp"
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp)
#elif defined(__GNUC__) && defined(__mips__) && defined(__mips_dsp) && !defined(__mips16)
#include "mips/fft_rad2_mips.cpp"
#endif

View File

@ -100,7 +100,7 @@ amm-info@iis.fraunhofer.de
*******************************************************************************/
#if defined(__mips_dsp)
#if defined(__mips_dsp) && !defined(__mips16)
#ifndef FUNCTION_getScalefactor_DBL
#define FUNCTION_getScalefactor_DBL

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -351,6 +351,12 @@ TRANSPORTDEC_ERROR transportDec_OutOfBandConfig(HANDLE_TRANSPORTDEC hTp,
}
}
}
/* if an error is detected terminate config parsing to avoid that an invalid
* config is accepted in the second pass */
if (err != TRANSPORTDEC_OK) {
break;
}
}
if (err == TRANSPORTDEC_OK && fConfigFound) {

View File

@ -641,7 +641,7 @@ static const FIXP_DBL invCubeRootCorrection[3] = {0x40000000, 0x50A28BE6,
*/
static
#ifdef __arm__
FIXP_DBL __attribute__((always_inline))
FIXP_DBL FDK_FORCEINLINE
invCubeRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL
@ -763,7 +763,7 @@ static const FIXP_DBL invFourthRootCorrection[4] = {0x40000000, 0x4C1BF829,
static
#ifdef __arm__
FIXP_DBL __attribute__((always_inline))
FIXP_DBL FDK_FORCEINLINE
invFourthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL
@ -879,7 +879,7 @@ static const FIXP_DBL inv3EigthRootCorrection[8] = {
static
#ifdef __arm__
FIXP_DBL __attribute__((always_inline))
FIXP_DBL FDK_FORCEINLINE
inv3EigthRootNorm2(FIXP_DBL op_m, INT* op_e)
#else
FIXP_DBL

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -207,7 +207,7 @@ typedef struct {
inverse filtering levels */
PATCH_PARAM
patchParam[MAX_NUM_PATCHES]; /*!< new parameter set for patching */
patchParam[MAX_NUM_PATCHES + 1]; /*!< new parameter set for patching */
WHITENING_FACTORS
whFactors; /*!< the pole moving factors for certain
whitening levels as indicated in the bitstream

View File

@ -382,13 +382,22 @@ it. Hence, a fully platform-independant way to use alignment is not supported.
/**************************************************
* Macros regarding static code analysis
**************************************************/
#if defined(__clang__)
#ifdef __cplusplus
#if !defined(__has_cpp_attribute)
#define __has_cpp_attribute(x) 0
#endif
#if defined(__clang__) && __has_cpp_attribute(clang::fallthrough)
#define FDK_FALLTHROUGH [[clang::fallthrough]]
#elif defined(__GNUC__) && (__GNUC__ >= 7)
#endif
#endif
#ifndef FDK_FALLTHROUGH
#if defined(__GNUC__) && (__GNUC__ >= 7)
#define FDK_FALLTHROUGH __attribute__((fallthrough))
#else
#define FDK_FALLTHROUGH
#endif
#endif
#ifdef _MSC_VER
/*

View File

@ -189,6 +189,12 @@ UCHAR FDK_chMapDescr_getMapValue(const FDK_channelMapDescr* const pMapDescr,
*/
int FDK_chMapDescr_isValid(const FDK_channelMapDescr* const pMapDescr);
/**
* Extra variables for setting up Wg4 channel mapping.
*/
extern const CHANNEL_MAP_INFO FDK_mapInfoTabWg4[];
extern const UINT FDK_mapInfoTabLenWg4;
#ifdef __cplusplus
}
#endif

View File

@ -155,6 +155,37 @@ static const CHANNEL_MAP_INFO mapInfoTabDflt[DFLT_CH_MAP_TAB_LEN] =
/* 13 */ {mapCfg13, 24},
/* 14 */ {mapCfg14, 8}};
static const UCHAR mapWg4Cfg1[] = {0, 1};
static const UCHAR mapWg4Cfg2[] = {0, 1};
static const UCHAR mapWg4Cfg3[] = {2, 0, 1};
static const UCHAR mapWg4Cfg4[] = {3, 0, 1, 2};
static const UCHAR mapWg4Cfg5[] = {4, 0, 1, 2, 3};
static const UCHAR mapWg4Cfg6[] = {4, 0, 1, 2, 3, 5};
static const UCHAR mapWg4Cfg7[] = {6, 0, 1, 2, 3, 4, 5, 7};
static const UCHAR mapWg4Cfg14[] = {6, 0, 1, 2, 3, 4, 5, 7};
const CHANNEL_MAP_INFO FDK_mapInfoTabWg4[] =
{/* chCfg, map, numCh */
/* 0 */ {mapFallback, 24},
/* 1 */ {mapWg4Cfg1, 2},
/* 2 */ {mapWg4Cfg2, 2},
/* 3 */ {mapWg4Cfg3, 3},
/* 4 */ {mapWg4Cfg4, 4},
/* 5 */ {mapWg4Cfg5, 5},
/* 6 */ {mapWg4Cfg6, 6},
/* 7 */ {mapWg4Cfg7, 8},
/* 8 */ {mapFallback, 24},
/* 9 */ {mapFallback, 24},
/* 10 */ {mapFallback, 24},
/* 11 */ {mapFallback, 24}, // Unhandled for Wg4 yet
/* 12 */ {mapFallback, 24}, // Unhandled for Wg4 yet
/* 13 */ {mapFallback, 24}, // Unhandled for Wg4 yet
/* 14 */ {mapFallback, 24}}; // Unhandled for Wg4 yet
const UINT FDK_mapInfoTabLenWg4 = sizeof(FDK_mapInfoTabWg4)/sizeof(FDK_mapInfoTabWg4[0]);
/**
* Get the mapping value for a specific channel and map index.
*/

0
m4/.gitkeep Normal file
View File

399
sha1.c Normal file
View File

@ -0,0 +1,399 @@
/*!
* \copy
* Copyright (c) 1998, 2009 Paul E. Jones <paulej@packetizer.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
* Description:
* This file implements the Secure Hashing Standard as defined
* in FIPS PUB 180-1 published April 17, 1995.
*
* The Secure Hashing Standard, which uses the Secure Hashing
* Algorithm (SHA), produces a 160-bit message digest for a
* given data stream. In theory, it is highly improbable that
* two messages will produce the same message digest. Therefore,
* this algorithm can serve as a means of providing a "fingerprint"
* for a message.
*
* Portability Issues:
* SHA-1 is defined in terms of 32-bit "words". This code was
* written with the expectation that the processor has at least
* a 32-bit machine word size. If the machine word size is larger,
* the code should still function properly. One caveat to that
* is that the input functions taking characters and character
* arrays assume that only 8 bits of information are stored in each
* character.
*
* Caveats:
* SHA-1 is designed to work with messages less than 2^64 bits
* long. Although SHA-1 allows a message digest to be generated for
* messages of any number of bits less than 2^64, this
* implementation only works with messages with a length that is a
* multiple of the size of an 8-bit character.
*
*/
#include "sha1.h"
/*
* Define the circular shift macro
*/
#define SHA1CircularShift(bits,word) \
((((word) << (bits)) & 0xFFFFFFFF) | \
((word) >> (32-(bits))))
/* Function prototypes */
void SHA1ProcessMessageBlock(SHA1Context *);
void SHA1PadMessage(SHA1Context *);
/*
* SHA1Reset
*
* Description:
* This function will initialize the SHA1Context in preparation
* for computing a new message digest.
*
* Parameters:
* context: [in/out]
* The context to reset.
*
* Returns:
* Nothing.
*
* Comments:
*
*/
void SHA1Reset(SHA1Context *context)
{
context->Length_Low = 0;
context->Length_High = 0;
context->Message_Block_Index = 0;
context->Message_Digest[0] = 0x67452301;
context->Message_Digest[1] = 0xEFCDAB89;
context->Message_Digest[2] = 0x98BADCFE;
context->Message_Digest[3] = 0x10325476;
context->Message_Digest[4] = 0xC3D2E1F0;
context->Computed = 0;
context->Corrupted = 0;
}
/*
* SHA1Result
*
* Description:
* This function will return the 160-bit message digest into the
* digest array provided as a parameter.
*
* Parameters:
* context: [in/out]
* The context to use to calculate the SHA-1 hash.
* digest: [out]
* An array of characters where the digest is written.
*
* Returns:
* 1 if successful, 0 if it failed.
*
* Comments:
*
*/
int SHA1Result(SHA1Context *context, unsigned char *digest)
{
int i;
if (context->Corrupted)
{
return 0;
}
if (!context->Computed)
{
SHA1PadMessage(context);
context->Computed = 1;
}
for (i = 0; i < SHA_DIGEST_LENGTH; i++)
digest[i] = context->Message_Digest[i / 4] >> (8 * (3 - (i % 4)));
return 1;
}
/*
* SHA1Input
*
* Description:
* This function accepts an array of octets as the next portion of
* the message.
*
* Parameters:
* context: [in/out]
* The SHA-1 context to update
* message_array: [in]
* An array of characters representing the next portion of the
* message.
* length: [in]
* The length of the message in message_array
*
* Returns:
* Nothing.
*
* Comments:
*
*/
void SHA1Input( SHA1Context *context,
const unsigned char *message_array,
unsigned length)
{
if (!length)
{
return;
}
if (context->Computed || context->Corrupted)
{
context->Corrupted = 1;
return;
}
while(length-- && !context->Corrupted)
{
context->Message_Block[context->Message_Block_Index++] =
(*message_array & 0xFF);
context->Length_Low += 8;
/* Force it to 32 bits */
context->Length_Low &= 0xFFFFFFFF;
if (context->Length_Low == 0)
{
context->Length_High++;
/* Force it to 32 bits */
context->Length_High &= 0xFFFFFFFF;
if (context->Length_High == 0)
{
/* Message is too long */
context->Corrupted = 1;
}
}
if (context->Message_Block_Index == 64)
{
SHA1ProcessMessageBlock(context);
}
message_array++;
}
}
/*
* SHA1ProcessMessageBlock
*
* Description:
* This function will process the next 512 bits of the message
* stored in the Message_Block array.
*
* Parameters:
* None.
*
* Returns:
* Nothing.
*
* Comments:
* Many of the variable names in the SHAContext, especially the
* single character names, were used because those were the names
* used in the publication.
*
*
*/
void SHA1ProcessMessageBlock(SHA1Context *context)
{
const unsigned K[] = /* Constants defined in SHA-1 */
{
0x5A827999,
0x6ED9EBA1,
0x8F1BBCDC,
0xCA62C1D6
};
int t; /* Loop counter */
unsigned temp; /* Temporary word value */
unsigned W[80]; /* Word sequence */
unsigned A, B, C, D, E; /* Word buffers */
/*
* Initialize the first 16 words in the array W
*/
for(t = 0; t < 16; t++)
{
W[t] = ((unsigned) context->Message_Block[t * 4]) << 24;
W[t] |= ((unsigned) context->Message_Block[t * 4 + 1]) << 16;
W[t] |= ((unsigned) context->Message_Block[t * 4 + 2]) << 8;
W[t] |= ((unsigned) context->Message_Block[t * 4 + 3]);
}
for(t = 16; t < 80; t++)
{
W[t] = SHA1CircularShift(1,W[t-3] ^ W[t-8] ^ W[t-14] ^ W[t-16]);
}
A = context->Message_Digest[0];
B = context->Message_Digest[1];
C = context->Message_Digest[2];
D = context->Message_Digest[3];
E = context->Message_Digest[4];
for(t = 0; t < 20; t++)
{
temp = SHA1CircularShift(5,A) +
((B & C) | ((~B) & D)) + E + W[t] + K[0];
temp &= 0xFFFFFFFF;
E = D;
D = C;
C = SHA1CircularShift(30,B);
B = A;
A = temp;
}
for(t = 20; t < 40; t++)
{
temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[1];
temp &= 0xFFFFFFFF;
E = D;
D = C;
C = SHA1CircularShift(30,B);
B = A;
A = temp;
}
for(t = 40; t < 60; t++)
{
temp = SHA1CircularShift(5,A) +
((B & C) | (B & D) | (C & D)) + E + W[t] + K[2];
temp &= 0xFFFFFFFF;
E = D;
D = C;
C = SHA1CircularShift(30,B);
B = A;
A = temp;
}
for(t = 60; t < 80; t++)
{
temp = SHA1CircularShift(5,A) + (B ^ C ^ D) + E + W[t] + K[3];
temp &= 0xFFFFFFFF;
E = D;
D = C;
C = SHA1CircularShift(30,B);
B = A;
A = temp;
}
context->Message_Digest[0] =
(context->Message_Digest[0] + A) & 0xFFFFFFFF;
context->Message_Digest[1] =
(context->Message_Digest[1] + B) & 0xFFFFFFFF;
context->Message_Digest[2] =
(context->Message_Digest[2] + C) & 0xFFFFFFFF;
context->Message_Digest[3] =
(context->Message_Digest[3] + D) & 0xFFFFFFFF;
context->Message_Digest[4] =
(context->Message_Digest[4] + E) & 0xFFFFFFFF;
context->Message_Block_Index = 0;
}
/*
* SHA1PadMessage
*
* Description:
* According to the standard, the message must be padded to an even
* 512 bits. The first padding bit must be a '1'. The last 64
* bits represent the length of the original message. All bits in
* between should be 0. This function will pad the message
* according to those rules by filling the Message_Block array
* accordingly. It will also call SHA1ProcessMessageBlock()
* appropriately. When it returns, it can be assumed that the
* message digest has been computed.
*
* Parameters:
* context: [in/out]
* The context to pad
*
* Returns:
* Nothing.
*
* Comments:
*
*/
void SHA1PadMessage(SHA1Context *context)
{
/*
* Check to see if the current message block is too small to hold
* the initial padding bits and length. If so, we will pad the
* block, process it, and then continue padding into a second
* block.
*/
if (context->Message_Block_Index > 55)
{
context->Message_Block[context->Message_Block_Index++] = 0x80;
while(context->Message_Block_Index < 64)
{
context->Message_Block[context->Message_Block_Index++] = 0;
}
SHA1ProcessMessageBlock(context);
while(context->Message_Block_Index < 56)
{
context->Message_Block[context->Message_Block_Index++] = 0;
}
}
else
{
context->Message_Block[context->Message_Block_Index++] = 0x80;
while(context->Message_Block_Index < 56)
{
context->Message_Block[context->Message_Block_Index++] = 0;
}
}
/*
* Store the message length as the last 8 octets
*/
context->Message_Block[56] = (context->Length_High >> 24) & 0xFF;
context->Message_Block[57] = (context->Length_High >> 16) & 0xFF;
context->Message_Block[58] = (context->Length_High >> 8) & 0xFF;
context->Message_Block[59] = (context->Length_High) & 0xFF;
context->Message_Block[60] = (context->Length_Low >> 24) & 0xFF;
context->Message_Block[61] = (context->Length_Low >> 16) & 0xFF;
context->Message_Block[62] = (context->Length_Low >> 8) & 0xFF;
context->Message_Block[63] = (context->Length_Low) & 0xFF;
SHA1ProcessMessageBlock(context);
}

85
sha1.h Normal file
View File

@ -0,0 +1,85 @@
/*!
* \copy
* Copyright (c) 1998, 2009 Paul E. Jones <paulej@packetizer.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
* Description:
* This class implements the Secure Hashing Standard as defined
* in FIPS PUB 180-1 published April 17, 1995.
*
* Many of the variable names in the SHA1Context, especially the
* single character names, were used because those were the names
* used in the publication.
*
* Please read the file sha1.c for more information.
*
*/
#ifndef _SHA1_H_
#define _SHA1_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* This structure will hold context information for the hashing
* operation
*/
typedef struct SHA1Context {
unsigned Message_Digest[5]; /* Message Digest (output) */
unsigned Length_Low; /* Message length in bits */
unsigned Length_High; /* Message length in bits */
unsigned char Message_Block[64]; /* 512-bit message blocks */
int Message_Block_Index; /* Index into message block array */
int Computed; /* Is the digest computed? */
int Corrupted; /* Is the message digest corruped? */
} SHA1Context;
/*
* Function Prototypes
*/
void SHA1Reset (SHA1Context*);
int SHA1Result (SHA1Context*, unsigned char*);
void SHA1Input (SHA1Context*,
const unsigned char*,
unsigned);
#define SHA_DIGEST_LENGTH 20
#ifdef __cplusplus
}
#endif
#endif

383
test-encode-decode.c Normal file
View File

@ -0,0 +1,383 @@
/* ------------------------------------------------------------------
* Copyright (C) 2017 Martin Storsjo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "aacenc_lib.h"
#include "aacdecoder_lib.h"
#include "wavreader.h"
#include "sha1.h"
static int encoder_input_samples, encoder_input_size;
static int decoder_output_skip;
static int16_t *encoder_input;
static int max_diff;
static uint64_t diff_sum, diff_samples;
static SHA1Context encode_hash, decode_hash;
static void init_encoder_input(void) {
encoder_input_samples = 0;
max_diff = 0;
diff_sum = diff_samples = 0;
}
static void free_encoder_input(void) {
free(encoder_input);
encoder_input = NULL;
encoder_input_size = 0;
}
static void append_encoder_input(const int16_t *input, int samples) {
if (encoder_input_samples + samples > encoder_input_size) {
int size = 2*(encoder_input_samples + samples);
int16_t *ptr = realloc(encoder_input, size * sizeof(*encoder_input));
if (!ptr)
abort();
encoder_input = ptr;
encoder_input_size = size;
}
memcpy(encoder_input + encoder_input_samples, input, samples * sizeof(*input));
encoder_input_samples += samples;
}
static void compare_decoder_output(const int16_t *output, int samples) {
int i;
// TODO: Stereo upconvert?
SHA1Input(&decode_hash, (const unsigned char*) output, samples * sizeof(*output));
if (decoder_output_skip > 0) {
int n = samples;
if (n > decoder_output_skip)
n = decoder_output_skip;
output += n;
samples -= n;
decoder_output_skip -= n;
if (samples <= 0)
return;
}
if (samples > encoder_input_samples)
samples = encoder_input_samples;
for (i = 0; i < samples; i++) {
int diff = abs(encoder_input[i] - output[i]);
if (diff > max_diff)
max_diff = diff;
diff_sum += diff;
diff_samples++;
}
memmove(encoder_input, encoder_input + samples, (encoder_input_samples - samples) * sizeof(*encoder_input));
encoder_input_samples -= samples;
}
static int decode(HANDLE_AACDECODER decoder, const uint8_t *ptr, int size, uint8_t *decoder_buffer, int decoder_buffer_size, int channels) {
AAC_DECODER_ERROR err;
CStreamInfo *info;
UINT valid, buffer_size;
SHA1Input(&encode_hash, ptr, size);
do {
valid = buffer_size = size;
err = aacDecoder_Fill(decoder, (UCHAR**) &ptr, &buffer_size, &valid);
ptr += buffer_size - valid;
size -= buffer_size - valid;
if (err == AAC_DEC_NOT_ENOUGH_BITS)
continue;
if (err != AAC_DEC_OK)
break;
err = aacDecoder_DecodeFrame(decoder, (INT_PCM *) decoder_buffer, decoder_buffer_size / sizeof(INT_PCM), 0);
if (!ptr && err != AAC_DEC_OK)
break;
if (err == AAC_DEC_NOT_ENOUGH_BITS)
continue;
if (err != AAC_DEC_OK) {
fprintf(stderr, "Decoding failed\n");
return 1;
}
info = aacDecoder_GetStreamInfo(decoder);
if (info->numChannels != channels) {
fprintf(stderr, "Mismatched number of channels, input %d, output %d\n", channels, info->numChannels);
return 1;
}
compare_decoder_output((int16_t*) decoder_buffer, info->numChannels * info->frameSize);
} while (size > 0);
return 0;
}
static int test_encode_decode(const char *infile, int aot, int afterburner, int eld_sbr, int vbr, int bitrate, int adts) {
void *wav;
int format, sample_rate, channels, bits_per_sample;
int input_size;
uint8_t* input_buf;
int16_t* convert_buf;
HANDLE_AACENCODER encoder;
CHANNEL_MODE mode;
AACENC_InfoStruct info = { 0 };
HANDLE_AACDECODER decoder;
int ret = 0;
int decoder_buffer_size = 2048 * 2 * 8;
uint8_t* decoder_buffer = malloc(decoder_buffer_size);
int avg_diff;
fprintf(stderr, "Testing encoding with aot %d afterburner %d eld_sbr %d vbr %d bitrate %d adts %d\n", aot, afterburner, eld_sbr, vbr, bitrate, adts);
init_encoder_input();
wav = wav_read_open(infile);
if (!wav) {
fprintf(stderr, "Unable to open wav file %s\n", infile);
return 1;
}
if (!wav_get_header(wav, &format, &channels, &sample_rate, &bits_per_sample, NULL)) {
fprintf(stderr, "Bad wav file %s\n", infile);
return 1;
}
if (format != 1) {
fprintf(stderr, "Unsupported WAV format %d\n", format);
return 1;
}
if (bits_per_sample != 16) {
fprintf(stderr, "Unsupported WAV sample depth %d\n", bits_per_sample);
return 1;
}
switch (channels) {
case 1: mode = MODE_1; break;
case 2: mode = MODE_2; break;
case 3: mode = MODE_1_2; break;
case 4: mode = MODE_1_2_1; break;
case 5: mode = MODE_1_2_2; break;
case 6: mode = MODE_1_2_2_1; break;
default:
fprintf(stderr, "Unsupported WAV channels %d\n", channels);
return 1;
}
if (aacEncOpen(&encoder, 0, channels) != AACENC_OK) {
fprintf(stderr, "Unable to open encoder\n");
return 1;
}
if (aacEncoder_SetParam(encoder, AACENC_AOT, aot) != AACENC_OK) {
fprintf(stderr, "Unable to set the AOT\n");
return 1;
}
if (aot == 39 && eld_sbr) {
if (aacEncoder_SetParam(encoder, AACENC_SBR_MODE, 1) != AACENC_OK) {
fprintf(stderr, "Unable to set SBR mode for ELD\n");
return 1;
}
}
if (aacEncoder_SetParam(encoder, AACENC_SAMPLERATE, sample_rate) != AACENC_OK) {
fprintf(stderr, "Unable to set the AOT\n");
return 1;
}
if (aacEncoder_SetParam(encoder, AACENC_CHANNELMODE, mode) != AACENC_OK) {
fprintf(stderr, "Unable to set the channel mode\n");
return 1;
}
if (aacEncoder_SetParam(encoder, AACENC_CHANNELORDER, 1) != AACENC_OK) {
fprintf(stderr, "Unable to set the wav channel order\n");
return 1;
}
if (vbr) {
if (aacEncoder_SetParam(encoder, AACENC_BITRATEMODE, vbr) != AACENC_OK) {
fprintf(stderr, "Unable to set the VBR bitrate mode\n");
return 1;
}
} else {
if (aacEncoder_SetParam(encoder, AACENC_BITRATE, bitrate) != AACENC_OK) {
fprintf(stderr, "Unable to set the bitrate\n");
return 1;
}
}
if (aacEncoder_SetParam(encoder, AACENC_TRANSMUX, adts ? 2 : 0) != AACENC_OK) {
fprintf(stderr, "Unable to set the ADTS transmux\n");
return 1;
}
if (aacEncoder_SetParam(encoder, AACENC_AFTERBURNER, afterburner) != AACENC_OK) {
fprintf(stderr, "Unable to set the afterburner mode\n");
return 1;
}
if (aacEncEncode(encoder, NULL, NULL, NULL, NULL) != AACENC_OK) {
fprintf(stderr, "Unable to initialize the encoder\n");
return 1;
}
if (aacEncInfo(encoder, &info) != AACENC_OK) {
fprintf(stderr, "Unable to get the encoder info\n");
return 1;
}
input_size = channels*2*info.frameLength;
input_buf = (uint8_t*) malloc(input_size);
convert_buf = (int16_t*) malloc(input_size);
decoder_output_skip = channels * info.nDelay;
decoder = aacDecoder_Open(adts ? TT_MP4_ADTS : TT_MP4_RAW, 1);
if (!adts) {
UCHAR *bufArray[] = { info.confBuf };
if (aacDecoder_ConfigRaw(decoder, (UCHAR**) bufArray, &info.confSize) != AAC_DEC_OK) {
fprintf(stderr, "Unable to set ASC\n");
ret = 1;
goto end;
}
}
aacDecoder_SetParam(decoder, AAC_CONCEAL_METHOD, 1);
aacDecoder_SetParam(decoder, AAC_PCM_LIMITER_ENABLE, 0);
while (1) {
AACENC_BufDesc in_buf = { 0 }, out_buf = { 0 };
AACENC_InArgs in_args = { 0 };
AACENC_OutArgs out_args = { 0 };
int in_identifier = IN_AUDIO_DATA;
int in_size, in_elem_size;
int out_identifier = OUT_BITSTREAM_DATA;
int out_size, out_elem_size;
int read, i;
void *in_ptr, *out_ptr;
uint8_t outbuf[20480];
AACENC_ERROR err;
read = wav_read_data(wav, input_buf, input_size);
for (i = 0; i < read/2; i++) {
const uint8_t* in = &input_buf[2*i];
convert_buf[i] = in[0] | (in[1] << 8);
}
in_ptr = convert_buf;
in_size = read;
in_elem_size = 2;
in_buf.numBufs = 1;
in_buf.bufs = &in_ptr;
in_buf.bufferIdentifiers = &in_identifier;
in_buf.bufSizes = &in_size;
in_buf.bufElSizes = &in_elem_size;
if (read <= 0) {
in_args.numInSamples = -1;
} else {
in_args.numInSamples = read/2;
append_encoder_input(convert_buf, in_args.numInSamples);
}
out_ptr = outbuf;
out_size = sizeof(outbuf);
out_elem_size = 1;
out_buf.numBufs = 1;
out_buf.bufs = &out_ptr;
out_buf.bufferIdentifiers = &out_identifier;
out_buf.bufSizes = &out_size;
out_buf.bufElSizes = &out_elem_size;
if ((err = aacEncEncode(encoder, &in_buf, &out_buf, &in_args, &out_args)) != AACENC_OK) {
if (err == AACENC_ENCODE_EOF)
break;
fprintf(stderr, "Encoding failed\n");
ret = 1;
goto end;
}
if (out_args.numOutBytes == 0)
continue;
if (decode(decoder, outbuf, out_args.numOutBytes, decoder_buffer, decoder_buffer_size, channels)) {
ret = 1;
goto end;
}
}
if (encoder_input_samples > 0) {
fprintf(stderr, "%d unmatched samples left at the end\n", encoder_input_samples);
ret = 1;
goto end;
}
avg_diff = 0;
if (diff_samples > 0)
avg_diff = diff_sum / diff_samples;
if (/*max_diff > 10000 ||*/ avg_diff > ((aot == 23) ? 2500 : (aot == 29) ? 1500 : 300)) {
fprintf(stderr, "max_diff %d, avg_diff %d\n", max_diff, avg_diff);
ret = 1;
goto end;
}
end:
free(input_buf);
free(convert_buf);
wav_read_close(wav);
aacEncClose(&encoder);
free(decoder_buffer);
aacDecoder_Close(decoder);
return ret;
}
int main(int argc, char *argv[]) {
const char* infile;
void *wav;
int sample_rate, channels;
int failures = 0;
int i;
unsigned char encode_digest[SHA_DIGEST_LENGTH], decode_digest[SHA_DIGEST_LENGTH];
if (argc < 2) {
printf("%s input.wav\n", argv[0]);
return 1;
}
infile = argv[1];
wav = wav_read_open(infile);
if (!wav) {
fprintf(stderr, "Unable to open wav file %s\n", infile);
return 1;
}
if (!wav_get_header(wav, NULL, &channels, &sample_rate, NULL, NULL)) {
fprintf(stderr, "Bad wav file %s\n", infile);
return 1;
}
wav_read_close(wav);
SHA1Reset(&encode_hash);
SHA1Reset(&decode_hash);
failures += test_encode_decode(infile, 2, 0, 0, 0, 64000, 0); // AAC-LC, without afterburner
for (i = 0; i < 2; i++)
failures += test_encode_decode(infile, 2, 1, 0, 0, 64000, i); // AAC-LC
for (i = 1; i <= 5; i++)
failures += test_encode_decode(infile, 2, 1, 0, i, 0, 0); // AAC-LC VBR
if (channels == 2) {
// HE-AACv2 only works for stereo; HE-AACv1 gets upconverted to stereo (which we don't match properly)
for (i = 0; i < 2; i++)
failures += test_encode_decode(infile, 5, 1, 0, 0, 64000, i); // HE-AAC
for (i = 1; i <= 5; i++)
failures += test_encode_decode(infile, 5, 1, 0, i, 0, 0); // HE-AAC VBR
for (i = 0; i < 2; i++)
failures += test_encode_decode(infile, 29, 1, 0, 0, 64000, i); // HE-AACv2
for (i = 1; i <= 5; i++)
failures += test_encode_decode(infile, 29, 1, 0, i, 0, 0); // HE-AACv2 VBR
}
if (channels == 1)
failures += test_encode_decode(infile, 23, 1, 0, 0, 64000, 0); // AAC-LD
failures += test_encode_decode(infile, 39, 1, 0, 0, 64000, 0); // AAC-ELD
failures += test_encode_decode(infile, 39, 1, 1, 0, 64000, 0); // AAC-ELD with SBR
free_encoder_input();
fprintf(stderr, "%d failures\n", failures);
SHA1Result(&encode_hash, encode_digest);
SHA1Result(&decode_hash, decode_digest);
printf("encode hash: ");
for (i = 0; i < SHA_DIGEST_LENGTH; i++)
printf("%02x", encode_digest[i]);
printf("\n");
printf("decode hash: ");
for (i = 0; i < SHA_DIGEST_LENGTH; i++)
printf("%02x", decode_digest[i]);
printf("\n");
return failures;
}

2
test/ref-mono.txt Normal file
View File

@ -0,0 +1,2 @@
encode hash: 516e51016cbba6068f1aa285a8fdd55b00ada6b0
decode hash: 3b3b3a17cc5ba50ade75b3ef1a37f96017935fe5

2
test/ref-stereo.txt Normal file
View File

@ -0,0 +1,2 @@
encode hash: 1179940ca3a5c62de45b6823efbdbe42fce11de2
decode hash: 85f2a154b46cc6cfa2792ff95c67b4200ce4463b

28
test/run-test.sh Executable file
View File

@ -0,0 +1,28 @@
#!/bin/bash
set -e
set -o pipefail
if [ ! -f Sample01_4.wav ]; then
curl -LO https://media.xiph.org/audio/HA_2011/Sample01_4.wav
fi
if [ "$(md5sum Sample01_4.wav | awk '{print $1}')" != "a5c105544c64ce92c6c5c06d280e6b9c" ]; then
echo Incorrect checksum for Sample01_4.wav
exit 1
fi
if [ ! -f Sample01_4-mono.wav ]; then
ffmpeg -i Sample01_4.wav -ac 1 -fflags +bitexact -y Sample01_4-mono.wav
fi
if [ "$(md5sum Sample01_4-mono.wav | awk '{print $1}')" != "3bfccac9f2e527ba3ef888874f09a409" ]; then
echo Incorrect checksum for Sample01_4-mono.wav
exit 1
fi
./test-encode-decode Sample01_4.wav | tee log-stereo.txt
./test-encode-decode Sample01_4-mono.wav | tee log-mono.txt
diff -u log-stereo.txt $(dirname $0)/ref-stereo.txt
diff -u log-mono.txt $(dirname $0)/ref-mono.txt

193
wavreader.c Normal file
View File

@ -0,0 +1,193 @@
/* ------------------------------------------------------------------
* Copyright (C) 2009 Martin Storsjo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#include "wavreader.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#define TAG(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
struct wav_reader {
FILE *wav;
uint32_t data_length;
int format;
int sample_rate;
int bits_per_sample;
int channels;
int byte_rate;
int block_align;
int streamed;
};
static uint32_t read_tag(struct wav_reader* wr) {
uint32_t tag = 0;
tag = (tag << 8) | fgetc(wr->wav);
tag = (tag << 8) | fgetc(wr->wav);
tag = (tag << 8) | fgetc(wr->wav);
tag = (tag << 8) | fgetc(wr->wav);
return tag;
}
static uint32_t read_int32(struct wav_reader* wr) {
uint32_t value = 0;
value |= fgetc(wr->wav) << 0;
value |= fgetc(wr->wav) << 8;
value |= fgetc(wr->wav) << 16;
value |= fgetc(wr->wav) << 24;
return value;
}
static uint16_t read_int16(struct wav_reader* wr) {
uint16_t value = 0;
value |= fgetc(wr->wav) << 0;
value |= fgetc(wr->wav) << 8;
return value;
}
static void skip(FILE *f, int n) {
int i;
for (i = 0; i < n; i++)
fgetc(f);
}
void* wav_read_open(const char *filename) {
struct wav_reader* wr = (struct wav_reader*) malloc(sizeof(*wr));
long data_pos = 0;
memset(wr, 0, sizeof(*wr));
if (!strcmp(filename, "-"))
wr->wav = stdin;
else
wr->wav = fopen(filename, "rb");
if (wr->wav == NULL) {
free(wr);
return NULL;
}
while (1) {
uint32_t tag, tag2, length;
tag = read_tag(wr);
if (feof(wr->wav))
break;
length = read_int32(wr);
if (!length || length >= 0x7fff0000) {
wr->streamed = 1;
length = ~0;
}
if (tag != TAG('R', 'I', 'F', 'F') || length < 4) {
fseek(wr->wav, length, SEEK_CUR);
continue;
}
tag2 = read_tag(wr);
length -= 4;
if (tag2 != TAG('W', 'A', 'V', 'E')) {
fseek(wr->wav, length, SEEK_CUR);
continue;
}
// RIFF chunk found, iterate through it
while (length >= 8) {
uint32_t subtag, sublength;
subtag = read_tag(wr);
if (feof(wr->wav))
break;
sublength = read_int32(wr);
length -= 8;
if (length < sublength)
break;
if (subtag == TAG('f', 'm', 't', ' ')) {
if (sublength < 16) {
// Insufficient data for 'fmt '
break;
}
wr->format = read_int16(wr);
wr->channels = read_int16(wr);
wr->sample_rate = read_int32(wr);
wr->byte_rate = read_int32(wr);
wr->block_align = read_int16(wr);
wr->bits_per_sample = read_int16(wr);
if (wr->format == 0xfffe) {
if (sublength < 28) {
// Insufficient data for waveformatex
break;
}
skip(wr->wav, 8);
wr->format = read_int32(wr);
skip(wr->wav, sublength - 28);
} else {
skip(wr->wav, sublength - 16);
}
} else if (subtag == TAG('d', 'a', 't', 'a')) {
data_pos = ftell(wr->wav);
wr->data_length = sublength;
if (!wr->data_length || wr->streamed) {
wr->streamed = 1;
return wr;
}
fseek(wr->wav, sublength, SEEK_CUR);
} else {
skip(wr->wav, sublength);
}
length -= sublength;
}
if (length > 0) {
// Bad chunk?
fseek(wr->wav, length, SEEK_CUR);
}
}
fseek(wr->wav, data_pos, SEEK_SET);
return wr;
}
void wav_read_close(void* obj) {
struct wav_reader* wr = (struct wav_reader*) obj;
if (wr->wav != stdin)
fclose(wr->wav);
free(wr);
}
int wav_get_header(void* obj, int* format, int* channels, int* sample_rate, int* bits_per_sample, unsigned int* data_length) {
struct wav_reader* wr = (struct wav_reader*) obj;
if (format)
*format = wr->format;
if (channels)
*channels = wr->channels;
if (sample_rate)
*sample_rate = wr->sample_rate;
if (bits_per_sample)
*bits_per_sample = wr->bits_per_sample;
if (data_length)
*data_length = wr->data_length;
return wr->format && wr->sample_rate;
}
int wav_read_data(void* obj, unsigned char* data, unsigned int length) {
struct wav_reader* wr = (struct wav_reader*) obj;
int n;
if (wr->wav == NULL)
return -1;
if (length > wr->data_length && !wr->streamed)
length = wr->data_length;
n = fread(data, 1, length, wr->wav);
wr->data_length -= length;
return n;
}

37
wavreader.h Normal file
View File

@ -0,0 +1,37 @@
/* ------------------------------------------------------------------
* Copyright (C) 2009 Martin Storsjo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the License for the specific language governing permissions
* and limitations under the License.
* -------------------------------------------------------------------
*/
#ifndef WAVREADER_H
#define WAVREADER_H
#ifdef __cplusplus
extern "C" {
#endif
void* wav_read_open(const char *filename);
void wav_read_close(void* obj);
int wav_get_header(void* obj, int* format, int* channels, int* sample_rate, int* bits_per_sample, unsigned int* data_length);
int wav_read_data(void* obj, unsigned char* data, unsigned int length);
#ifdef __cplusplus
}
#endif
#endif

904
win32/getopt.h Normal file
View File

@ -0,0 +1,904 @@
#ifndef __GETOPT_H__
/**
* DISCLAIMER
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
*
* The mingw-w64 runtime package and its code is distributed in the hope that it
* will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESSED OR
* IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to
* warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/*
* Implementation of the `getopt', `getopt_long' and `getopt_long_only'
* APIs, for inclusion in the MinGW runtime library.
*
* This file is part of the MinGW32 package set.
*
* Written by Keith Marshall <keithmarshall@users.sourceforge.net>
* Copyright (C) 2008, 2009, 2011, 2012, MinGW.org Project.
*
* ---------------------------------------------------------------------------
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice, this permission notice, and the following
* disclaimer shall be included in all copies or substantial portions of
* the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
* ---------------------------------------------------------------------------
*
*/
#define __GETOPT_H__
/* All the headers include this file. */
#include <crtdefs.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#ifdef __cplusplus
extern "C" {
#endif
extern int optind; /* index of first non-option in argv */
extern int optopt; /* single option character, as parsed */
extern int opterr; /* flag to enable built-in diagnostics... */
/* (user may set to zero, to suppress) */
extern char *optarg; /* pointer to argument of current option */
/* Identify how to get the calling program name, for use in messages...
*/
#ifdef __CYGWIN__
/*
* CYGWIN uses this DLL reference...
*/
# define PROGNAME __progname
extern char __declspec(dllimport) *__progname;
#else
/*
* ...while elsewhere, we simply use the first argument passed.
*/
# define PROGNAME *argv
#endif
extern int getopt(int nargc, char * const *nargv, const char *options);
#ifdef _BSD_SOURCE
/*
* BSD adds the non-standard `optreset' feature, for reinitialisation
* of `getopt' parsing. We support this feature, for applications which
* proclaim their BSD heritage, before including this header; however,
* to maintain portability, developers are advised to avoid it.
*/
# define optreset __mingw_optreset
extern int optreset;
#endif
#ifdef __cplusplus
}
#endif
/*
* POSIX requires the `getopt' API to be specified in `unistd.h';
* thus, `unistd.h' includes this header. However, we do not want
* to expose the `getopt_long' or `getopt_long_only' APIs, when
* included in this manner. Thus, close the standard __GETOPT_H__
* declarations block, and open an additional __GETOPT_LONG_H__
* specific block, only when *not* __UNISTD_H_SOURCED__, in which
* to declare the extended API.
*/
#endif /* !defined(__GETOPT_H__) */
#if !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__)
#define __GETOPT_LONG_H__
#ifdef __cplusplus
extern "C" {
#endif
struct option /* specification for a long form option... */
{
const char *name; /* option name, without leading hyphens */
int has_arg; /* does it take an argument? */
int *flag; /* where to save its status, or NULL */
int val; /* its associated status value */
};
enum /* permitted values for its `has_arg' field... */
{
no_argument = 0, /* option never takes an argument */
required_argument, /* option always requires an argument */
optional_argument /* option may take an argument */
};
extern int getopt_long(int nargc, char * const *nargv, const char *options,
const struct option *long_options, int *idx);
extern int getopt_long_only(int nargc, char * const *nargv, const char *options,
const struct option *long_options, int *idx);
/*
* Previous MinGW implementation had...
*/
#ifndef HAVE_DECL_GETOPT
/*
* ...for the long form API only; keep this for compatibility.
*/
# define HAVE_DECL_GETOPT 1
#endif
/* Identify how to get the calling program name, for use in messages...
*/
#ifdef __CYGWIN__
/*
* CYGWIN uses this DLL reference...
*/
# define PROGNAME __progname
extern char __declspec(dllimport) *__progname;
#else
/*
* ...while elsewhere, we simply use the first argument passed.
*/
# define PROGNAME *argv
#endif
/* Initialise the public variables. */
int optind = 1; /* index for first non-option arg */
int opterr = 1; /* enable built-in error messages */
char *optarg = NULL; /* pointer to current option argument */
#define CHAR char /* argument type selector */
#define getopt_switchar '-' /* option prefix character in argv */
#define getopt_pluschar '+' /* prefix for POSIX mode in optstring */
#define getopt_takes_argument ':' /* marker for optarg in optstring */
#define getopt_arg_assign '=' /* longopt argument field separator */
#define getopt_unknown '?' /* return code for unmatched option */
#define getopt_ordered 1 /* return code for ordered non-option */
#define getopt_all_done -1 /* return code to indicate completion */
enum
{ /* All `getopt' API functions are implemented via calls to the
* common static function `getopt_parse()'; these `mode' selectors
* determine the behaviour of `getopt_parse()', to deliver the
* appropriate result in each case.
*/
getopt_mode_standard = 0, /* getopt() */
getopt_mode_long, /* getopt_long() */
getopt_mode_long_only /* getopt_long_only() */
};
enum
{ /* When attempting to match a command line argument to a long form option,
* these indicate the status of the match.
*/
getopt_no_match = 0, /* no successful match */
getopt_abbreviated_match, /* argument is an abbreviation for an option */
getopt_exact_match /* argument matches the full option name */
};
int optopt = getopt_unknown; /* return value for option being evaluated */
/* Some BSD applications expect to be able to reinitialise `getopt' parsing
* by setting a global variable called `optreset'. We provide an obfuscated
* API, which allows applications to emulate this brain damage; however, any
* use of this is non-portable, and is strongly discouraged.
*/
#define optreset __mingw_optreset
int optreset = 0;
static
int getopt_missing_arg( const CHAR *optstring )
{
/* Helper function to determine the appropriate return value,
* for the case where a required option argument is missing.
*/
if( (*optstring == getopt_pluschar) || (*optstring == getopt_switchar) )
++optstring;
return (*optstring == getopt_takes_argument)
? getopt_takes_argument
: getopt_unknown;
}
/* `complain' macro facilitates the generation of simple built-in
* error messages, displayed on various fault conditions, provided
* `opterr' is non-zero.
*/
#define complain( MSG, ARG ) if( opterr ) \
fprintf( stderr, "%s: "MSG"\n", PROGNAME, ARG )
static
int getopt_argerror( int mode, char *fmt, CHAR *prog, struct option *opt, int retval )
{
/* Helper function, to generate more complex built-in error
* messages, for invalid arguments to long form options ...
*/
if( opterr )
{
/* ... but, displayed only if `opterr' is non-zero.
*/
char flag[] = "--";
if( mode != getopt_mode_long )
/*
* only display one hyphen, for implicit long form options,
* improperly resolved by `getopt_long_only()'.
*/
flag[1] = 0;
/*
* always preface the program name ...
*/
fprintf( stderr, "%s: ", prog );
/*
* to the appropriate, option specific message.
*/
fprintf( stderr, fmt, flag, opt->name );
}
/* Whether displaying the message, or not, always set `optopt'
* to identify the faulty option ...
*/
optopt = opt->val;
/*
* and return the `invalid option' indicator.
*/
return retval;
}
/* `getopt_conventions' establish behavioural options, to control
* the operation of `getopt_parse()', e.g. to select between POSIX
* and GNU style argument parsing behaviour.
*/
#define getopt_set_conventions 0x1000
#define getopt_posixly_correct 0x0010
static
int getopt_conventions( int flags )
{
static int conventions = 0;
if( (conventions == 0) && ((flags & getopt_set_conventions) == 0) )
{
/* default conventions have not yet been established;
* initialise them now!
*/
conventions = getopt_set_conventions;
if( flags == getopt_pluschar )
conventions |= getopt_posixly_correct;
}
else if( flags & getopt_set_conventions )
/*
* default conventions may have already been established,
* but this is a specific request to augment them.
*/
conventions |= flags;
/* in any event, return the currently established conventions.
*/
return conventions;
}
static
int is_switchar( CHAR flag )
{
/* A simple helper function, used to identify the switch character
* introducing an optional command line argument.
*/
return flag == getopt_switchar;
}
static
const CHAR *getopt_match( CHAR lookup, const CHAR *opt_string )
{
/* Helper function, used to identify short form options.
*/
if( (*opt_string == getopt_pluschar) || (*opt_string == getopt_switchar) )
++opt_string;
if( *opt_string == getopt_takes_argument )
++opt_string;
do if( lookup == *opt_string ) return opt_string;
while( *++opt_string );
return NULL;
}
static
int getopt_match_long( const CHAR *nextchar, const CHAR *optname )
{
/* Helper function, used to identify potential matches for
* long form options.
*/
CHAR matchchar;
while( (matchchar = *nextchar++) && (matchchar == *optname) )
/*
* skip over initial substring which DOES match.
*/
++optname;
if( matchchar )
{
/* did NOT match the entire argument to an initial substring
* of a defined option name ...
*/
if( matchchar != getopt_arg_assign )
/*
* ... and didn't stop at an `=' internal field separator,
* so this is NOT a possible match.
*/
return getopt_no_match;
/* DID stop at an `=' internal field separator,
* so this IS a possible match, and what follows is an
* argument to the possibly matched option.
*/
optarg = (char *)(nextchar);
}
return *optname
/*
* if we DIDN'T match the ENTIRE text of the option name,
* then it's a possible abbreviated match ...
*/
? getopt_abbreviated_match
/*
* but if we DID match the entire option name,
* then it's a DEFINITE EXACT match.
*/
: getopt_exact_match;
}
static
int getopt_resolved( int mode, int argc, CHAR *const *argv, int *argind,
struct option *opt, int index, int *retindex, const CHAR *optstring )
{
/* Helper function to establish appropriate return conditions,
* on resolution of a long form option.
*/
if( retindex != NULL )
*retindex = index;
/* On return, `optind' should normally refer to the argument, if any,
* which follows the current one; it is convenient to set this, before
* checking for the presence of any `optarg'.
*/
optind = *argind + 1;
if( optarg && (opt[index].has_arg == no_argument) )
/*
* it is an error for the user to specify an option specific argument
* with an option which doesn't expect one!
*/
return getopt_argerror( mode, "option `%s%s' doesn't accept an argument\n",
PROGNAME, opt + index, getopt_unknown );
else if( (optarg == NULL) && (opt[index].has_arg == required_argument) )
{
/* similarly, it is an error if no argument is specified
* with an option which requires one ...
*/
if( optind < argc )
/*
* ... except that the requirement may be satisfied from
* the following command line argument, if any ...
*/
optarg = argv[*argind = optind++];
else
/* so fail this case, only if no such argument exists!
*/
return getopt_argerror( mode, "option `%s%s' requires an argument\n",
PROGNAME, opt + index, getopt_missing_arg( optstring ) );
}
/* when the caller has provided a return buffer ...
*/
if( opt[index].flag != NULL )
{
/* ... then we place the proper return value there,
* and return a status code of zero ...
*/
*(opt[index].flag) = opt[index].val;
return 0;
}
/* ... otherwise, the return value becomes the status code.
*/
return opt[index].val;
}
static
int getopt_verify( const CHAR *nextchar, const CHAR *optstring )
{
/* Helper function, called by getopt_parse() when invoked
* by getopt_long_only(), to verify when an unmatched or an
* ambiguously matched long form option string is valid as
* a short form option specification.
*/
if( ! (nextchar && *nextchar && optstring && *optstring) )
/*
* There are no characters to be matched, or there are no
* valid short form option characters to which they can be
* matched, so this can never be valid.
*/
return 0;
while( *nextchar )
{
/* For each command line character in turn ...
*/
const CHAR *test;
if( (test = getopt_match( *nextchar++, optstring )) == NULL )
/*
* ... there is no short form option to match the current
* candidate, so the entire argument fails.
*/
return 0;
if( test[1] == getopt_takes_argument )
/*
* The current candidate is valid, and it matches an option
* which takes an argument, so this command line argument is
* a valid short form option specification; accept it.
*/
return 1;
}
/* If we get to here, then every character in the command line
* argument was valid as a short form option; accept it.
*/
return 1;
}
static
#define getopt_std_args int argc, CHAR *const argv[], const CHAR *optstring
int getopt_parse( int mode, getopt_std_args, ... )
{
/* Common core implementation for ALL `getopt' functions.
*/
static int argind = 0;
static int optbase = 0;
static const CHAR *nextchar = NULL;
static int optmark = 0;
if( (optreset |= (optind < 1)) || (optind < optbase) )
{
/* POSIX does not prescribe any definitive mechanism for restarting
* a `getopt' scan, but some applications may require such capability.
* We will support it, by allowing the caller to adjust the value of
* `optind' downwards, (nominally setting it to zero). Since POSIX
* wants `optind' to have an initial value of one, but we want all
* of our internal place holders to be initialised to zero, when we
* are called for the first time, we will handle such a reset by
* adjusting all of the internal place holders to one less than
* the adjusted `optind' value, (but never to less than zero).
*/
if( optreset )
{
/* User has explicitly requested reinitialisation...
* We need to reset `optind' to it's normal initial value of 1,
* to avoid a potential infinitely recursive loop; by doing this
* up front, we also ensure that the remaining place holders
* will be correctly reinitialised to no less than zero.
*/
optind = 1;
/* We also need to clear the `optreset' request...
*/
optreset = 0;
}
/* Now, we may safely reinitialise the internal place holders, to
* one less than `optind', without fear of making them negative.
*/
optmark = optbase = argind = optind - 1;
nextchar = NULL;
}
/* From a POSIX perspective, the following is `undefined behaviour';
* we implement it thus, for compatibility with GNU and BSD getopt.
*/
else if( optind > (argind + 1) )
{
/* Some applications expect to be able to manipulate `optind',
* causing `getopt' to skip over one or more elements of `argv';
* POSIX doesn't require us to support this brain-damaged concept;
* (indeed, POSIX defines no particular behaviour, in the event of
* such usage, so it must be considered a bug for an application
* to rely on any particular outcome); nonetheless, Mac-OS-X and
* BSD actually provide *documented* support for this capability,
* so we ensure that our internal place holders keep track of
* external `optind' increments; (`argind' must lag by one).
*/
argind = optind - 1;
/* When `optind' is misused, in this fashion, we also abandon any
* residual text in the argument we had been parsing; this is done
* without any further processing of such abandoned text, assuming
* that the caller is equipped to handle it appropriately.
*/
nextchar = NULL;
}
if( nextchar && *nextchar )
{
/* we are parsing a standard, or short format, option argument ...
*/
const CHAR *optchar;
if( (optchar = getopt_match( optopt = *nextchar++, optstring )) != NULL )
{
/* we have identified it as valid ...
*/
if( optchar[1] == getopt_takes_argument )
{
/* and determined that it requires an associated argument ...
*/
if( ! *(optarg = (char *)(nextchar)) )
{
/* the argument is NOT attached ...
*/
if( optchar[2] == getopt_takes_argument )
/*
* but this GNU extension marks it as optional,
* so we don't provide one on this occasion.
*/
optarg = NULL;
/* otherwise this option takes a mandatory argument,
* so, provided there is one available ...
*/
else if( (argc - argind) > 1 )
/*
* we take the following command line argument,
* as the appropriate option argument.
*/
optarg = argv[++argind];
/* but if no further argument is available,
* then there is nothing we can do, except for
* issuing the requisite diagnostic message.
*/
else
{
complain( "option requires an argument -- %c", optopt );
return getopt_missing_arg( optstring );
}
}
optind = argind + 1;
nextchar = NULL;
}
else
optarg = NULL;
optind = (nextchar && *nextchar) ? argind : argind + 1;
return optopt;
}
/* if we didn't find a valid match for the specified option character,
* then we fall through to here, so take appropriate diagnostic action.
*/
if( mode == getopt_mode_long_only )
{
complain( "unrecognised option `-%s'", --nextchar );
nextchar = NULL;
optopt = 0;
}
else
complain( "invalid option -- %c", optopt );
optind = (nextchar && *nextchar) ? argind : argind + 1;
return getopt_unknown;
}
if( optmark > optbase )
{
/* This can happen, in GNU parsing mode ONLY, when we have
* skipped over non-option arguments, and found a subsequent
* option argument; in this case we permute the arguments.
*/
int index;
/*
* `optspan' specifies the number of contiguous arguments
* which are spanned by the current option, and so must be
* moved together during permutation.
*/
const int optspan = argind - optmark + 1;
/*
* we use `this_arg' to store these temporarily.
*/
CHAR **this_arg = malloc(sizeof(CHAR*) * optspan);
/*
* we cannot manipulate `argv' directly, since the `getopt'
* API prototypes it as `read-only'; this cast to `arglist'
* allows us to work around that restriction.
*/
CHAR **arglist = (char **)(argv);
/* save temporary copies of the arguments which are associated
* with the current option ...
*/
for( index = 0; index < optspan; ++index )
this_arg[index] = arglist[optmark + index];
/* move all preceding non-option arguments to the right,
* overwriting these saved arguments, while making space
* to replace them in their permuted location.
*/
for( --optmark; optmark >= optbase; --optmark )
arglist[optmark + optspan] = arglist[optmark];
/* restore the temporarily saved option arguments to
* their permuted location.
*/
for( index = 0; index < optspan; ++index )
arglist[optbase + index] = this_arg[index];
/* adjust `optbase', to account for the relocated option.
*/
optbase += optspan;
free(this_arg);
}
else
/* no permutation occurred ...
* simply adjust `optbase' for all options parsed so far.
*/
optbase = argind + 1;
/* enter main parsing loop ...
*/
while( argc > ++argind )
{
/* inspect each argument in turn, identifying possible options ...
*/
if( is_switchar( *(nextchar = argv[optmark = argind]) ) && *++nextchar )
{
/* we've found a candidate option argument ... */
if( is_switchar( *nextchar ) )
{
/* it's a double hyphen argument ... */
const CHAR *refchar = nextchar;
if( *++refchar )
{
/* and it looks like a long format option ...
* `getopt_long' mode must be active to accept it as such,
* `getopt_long_only' also qualifies, but we must downgrade
* it to force explicit handling as a long format option.
*/
if( mode >= getopt_mode_long )
{
nextchar = refchar;
mode = getopt_mode_long;
}
}
else
{
/* this is an explicit `--' end of options marker, so wrap up now!
*/
if( optmark > optbase )
{
/* permuting the argument list as necessary ...
* (note use of `this_arg' and `arglist', as above).
*/
CHAR *this_arg = argv[optmark];
CHAR **arglist = (CHAR **)(argv);
/* move all preceding non-option arguments to the right ...
*/
do arglist[optmark] = arglist[optmark - 1];
while( optmark-- > optbase );
/* reinstate the `--' marker, in its permuted location.
*/
arglist[optbase] = this_arg;
}
/* ... before finally bumping `optbase' past the `--' marker,
* and returning the `all done' completion indicator.
*/
optind = ++optbase;
return getopt_all_done;
}
}
else if( mode < getopt_mode_long_only )
{
/* it's not an explicit long option, and `getopt_long_only' isn't active,
* so we must explicitly try to match it as a short option.
*/
mode = getopt_mode_standard;
}
if( mode >= getopt_mode_long )
{
/* the current argument is a long form option, (either explicitly,
* introduced by a double hyphen, or implicitly because we were called
* by `getopt_long_only'); this is where we parse it.
*/
int lookup;
int matched = -1;
/* we need to fetch the `extra' function arguments, which are
* specified for the `getopt_long' APIs.
*/
va_list refptr;
struct option *longopts;
int *optindex;
va_start( refptr, optstring );
longopts = va_arg( refptr, struct option * );
optindex = va_arg( refptr, int * );
va_end( refptr );
/* ensuring that `optarg' does not inherit any junk, from parsing
* preceding arguments ...
*/
optarg = NULL;
for( lookup = 0; longopts && longopts[lookup].name; ++lookup )
{
/* scan the list of defined long form options ...
*/
switch( getopt_match_long( nextchar, longopts[lookup].name ) )
{
/* looking for possible matches for the current argument.
*/
case getopt_exact_match:
/*
* when an exact match is found,
* return it immediately, setting `nextchar' to NULL,
* to ensure we don't mistakenly try to match any
* subsequent characters as short form options.
*/
nextchar = NULL;
return getopt_resolved( mode, argc, argv, &argind,
longopts, lookup, optindex, optstring );
case getopt_abbreviated_match:
/*
* but, for a partial (initial substring) match ...
*/
if( matched >= 0 )
{
/* if this is not the first, then we have an ambiguity ...
*/
if( (mode == getopt_mode_long_only)
/*
* However, in the case of getopt_long_only(), if
* the entire ambiguously matched string represents
* a valid short option specification, then we may
* proceed to interpret it as such.
*/
&& getopt_verify( nextchar, optstring ) )
return getopt_parse( mode, argc, argv, optstring );
/* If we get to here, then the ambiguously matched
* partial long option isn't valid for short option
* evaluation; reset parser context to resume with
* the following command line argument, diagnose
* ambiguity, and bail out.
*/
optopt = 0;
nextchar = NULL;
optind = argind + 1;
complain( "option `%s' is ambiguous", argv[argind] );
return getopt_unknown;
}
/* otherwise just note that we've found a possible match ...
*/
matched = lookup;
}
}
if( matched >= 0 )
{
/* if we get to here, then we found exactly one partial match,
* so return it, as for an exact match.
*/
nextchar = NULL;
return getopt_resolved( mode, argc, argv, &argind,
longopts, matched, optindex, optstring );
}
/* if here, then we had what SHOULD have been a long form option,
* but it is unmatched ...
*/
if( (mode < getopt_mode_long_only)
/*
* ... although paradoxically, `mode == getopt_mode_long_only'
* allows us to still try to match it as a short form option.
*/
|| (getopt_verify( nextchar, optstring ) == 0) )
{
/* When it cannot be matched, reset the parsing context to
* resume from the next argument, diagnose the failed match,
* and bail out.
*/
optopt = 0;
nextchar = NULL;
optind = argind + 1;
complain( "unrecognised option `%s'", argv[argind] );
return getopt_unknown;
}
}
/* fall through to handle standard short form options...
* when the option argument format is neither explictly identified
* as long, nor implicitly matched as such, and the argument isn't
* just a bare hyphen, (which isn't an option), then we make one
* recursive call to explicitly interpret it as short format.
*/
if( *nextchar )
return getopt_parse( mode, argc, argv, optstring );
}
/* if we get to here, then we've parsed a non-option argument ...
* in GNU compatibility mode, we step over it, so we can permute
* any subsequent option arguments, but ...
*/
if( *optstring == getopt_switchar )
{
/* if `optstring' begins with a `-' character, this special
* GNU specific behaviour requires us to return the non-option
* arguments in strict order, as pseudo-arguments to a special
* option, with return value defined as `getopt_ordered'.
*/
nextchar = NULL;
optind = argind + 1;
optarg = argv[argind];
return getopt_ordered;
}
if( getopt_conventions( *optstring ) & getopt_posixly_correct )
/*
* otherwise ...
* for POSIXLY_CORRECT behaviour, or if `optstring' begins with
* a `+' character, then we break out of the parsing loop, so that
* the scan ends at the current argument, with no permutation.
*/
break;
}
/* fall through when all arguments have been evaluated,
*/
optind = optbase;
return getopt_all_done;
}
/* All three public API entry points are trivially defined,
* in terms of the internal `getopt_parse' function.
*/
int getopt( getopt_std_args )
{
return getopt_parse( getopt_mode_standard, argc, argv, optstring );
}
int getopt_long( getopt_std_args, const struct option *opts, int *index )
{
return getopt_parse( getopt_mode_long, argc, argv, optstring, opts, index );
}
int getopt_long_only( getopt_std_args, const struct option *opts, int *index )
{
return getopt_parse( getopt_mode_long_only, argc, argv, optstring, opts, index );
}
#ifdef __weak_alias
/*
* These Microsnot style uglified aliases are provided for compatibility
* with the previous MinGW implementation of the getopt API.
*/
__weak_alias( getopt, _getopt )
__weak_alias( getopt_long, _getopt_long )
__weak_alias( getopt_long_only, _getopt_long_only )
#endif
#ifdef __cplusplus
}
#endif
#endif /* !defined(__UNISTD_H_SOURCED__) && !defined(__GETOPT_LONG_H__) */