Commit graph

16 commits

Author SHA1 Message Date
Xin Li
0312fc42cb Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I67a2f4be536fd22a9cc615088ce6368223311cf2
Change-Id: Iea753fbdfd54db2a0c5499ca481767192ccc55ca
2020-08-27 10:16:29 -07:00
Pirama Arumuga Nainar
6122d8fdb2 Use blocklist sub-property in sanitize
Update language to comply with Android’s inclusive language guidance

See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Bug: 162245450

Test: build topic
Change-Id: I3bd7ee99914a13961e2afa7062a7019c24d01a46
2020-07-28 14:37:34 -07:00
Automerger Merge Worker
c7ab425cb7 Remove mips workarounds. am: a4398eccb8 am: 1e1ae5bdbf
Change-Id: I6a3885975c9d16551afe9a9bc4bf8c384e0fc741
2020-03-10 00:34:47 +00:00
Elliott Hughes
a4398eccb8 Remove mips workarounds.
Test: treehugger
Change-Id: I87fd4cb3f3eacfc028a5e878d6ddb9b92b86b676
2020-03-06 21:36:57 -08:00
Harish Mahendrakar
a191a89003 Add host support for libxaacdec am: 0f1f783387 am: 1f6b5fcb36 am: e058e150d3 am: c4ec773277
am: 8de14dd439

Change-Id: I3ccf27b52edf628ad681dc90ad5fbbdd243e0a65
2019-08-20 17:52:41 -07:00
Harish Mahendrakar
1f6b5fcb36 Add host support for libxaacdec
am: 0f1f783387

Change-Id: If3de9ecaa7c063644ef91096d123b2a99c491612
2019-08-20 16:54:05 -07:00
Harish Mahendrakar
0f1f783387 Add host support for libxaacdec
Test: Build libxaacdec on host
Bug: 139379050
Change-Id: I7b71c4c00839597c66d97077870d55beb55f34a1
2019-08-16 14:32:55 -07:00
Inseob Kim
56fcc2411e Remove vndk enabled: true am: b3e1c0361a am: 57b59b8ffc am: f664231af3 am: 6242959733
am: abfcf913f3

Change-Id: Icc0a985418c5b11776a875063eee45354f2c8ffd
2019-07-27 21:50:38 -07:00
Inseob Kim
57b59b8ffc Remove vndk enabled: true
am: b3e1c0361a

Change-Id: I8e44bd2dfcd9f21f6d6a5bf88bbb3849acd11f0e
2019-07-27 21:11:32 -07:00
Inseob Kim
b3e1c0361a Remove vndk enabled: true
vndk: {enabled: true} has no effect for static libraries.

Bug: 137178339
Test: m
Change-Id: Ia160eeb29c75a006eb8270c234b0517ce98c50f8
2019-07-11 13:05:47 +09:00
Rajat Kumar
7bee3616b8 Fix to remove unused codes from MPEG-D DRC.
MPEG-D DRC integrated with USAC does work only in
time domain.
Hence removed the above related code in this patch.

Bug:130262151
Test: atest android.media.cts.DecoderTestXheAac
Test: atest android.media.cts.DecoderTestAacDrc

Change-Id: Ib51ef29fb7a1fe7a09718d48e2c9e7cda268ae7b
2019-05-15 15:18:34 -07:00
Harish Mahendrakar
7cb3113e63 Added CFI blacklist to handle indirect calls to assembly functions
Since libxaac is a static library, both CFI and non-CFI variants will
be built and linked accordingly.
Hence it is not enabled explicitly now.
If it is used as a shared library in the future, we'll need to
explicitly re-enable CFI in the build file.

Bug: 117994055
Change-Id: If70531b14d418e458b8061889b337d4a4c99bda2
2019-01-18 16:35:54 -08:00
Ivan Lozano
1e4bbe9922 Enable bounds sanitization in libxaac.
Enables bounds sanitization in libxaac.

Bug: 117221610
Test: Device boots
Change-Id: I8fa29ef113907937751e21c46dfc9a7790d9205f
2018-12-05 18:37:51 -08:00
Harish Mahendrakar
8eb646f89b Collected Cleanups from Ittiam
Test: CTS android.media.cts.DecoderTest{AacDrc,XheAac}

Added __ARM_NEON__ check to generic function selector

Bug: 80432407
Change-Id: I66c7879fda1369da88ccaea5f8792ea54657cdaf

Added support to build for mips

Bug: 80432286
Change-Id: I908029bbaddd3c1fbc39be1192926b56d981576e

Add optimized versions for qmf_dec for armv7 and armv8

Separating common functions and platform specific functions
in ixheaacd_qmf_dec.c. Platform specific functions are moved
to qmf_dec in armv7, armv8 and generic folder.

Bug: 80431870
Change-Id: I860cb79a1870e228d2108b7915418e1c003cefc5

Fixes for crashes reported by Fuzzer tool

Bug: 109697676
Change-Id: I862fc054b99ee9d427d20596bc8d2e85522a7188
2018-06-05 13:04:22 -07:00
Ray Essick
4908247643 Sanitization fixes from new CTS tests
Updates from vendor to remedy issues exposed by new CTS tests

Bug: 77287124
Test: CTS DecoderTest, DecoderTest{AacDrc,XheAac}

@ Sanitizer fixes in libxaac

Fixes few integer overflow sanitizer errors
Progagate few errors
ENABLE_DRC macro is removed
AMMENDMENT1 macro is removed

Change-Id: Ic61163dfd6318bd4a00ed45e1295c819cb0f637b

@ Add support for audio pre-roll and DRC effect type

Also includes the following
MPEG-D DRC parameters related changes
USAC config switch changes
SBR config switch changes

Bug: 80133175
Change-Id: I0ab25641768cf523b66f7b0fcb4137429c1c4a77

@ Fixed trailing spaces

Change-Id: I32de0c9d3f7237e1fbf8dfef1cac485ef8458173

@ Replaced tabs

Change-Id: Ic741ee13d7b978b37edc27d087903caaa40b8d90
2018-05-25 11:35:52 -07:00
Ray Essick
51aa06e124 Bring xHE-AAC into pi-dev branch
bring the multi-commit integration from master to pi-dev

libxaac multi-arch cleanup

Change-Id: Ibcefa14f439e75f48a54955c9abf1a06c418e41e
Change-Id: Ia7a9b1e4de0add847c136f6f545b81dc8087521d
Change-Id: I12c3f8414dc9971017de223e88f292f8982a5c9b

Fix dependency error in Android.bp
Change-Id: Ic54f688736b3f2a70172676e4cee22aea4cbd705

Localized Android.bp
Change-Id: I68c4fc24fca279104c8ce2129fd4a3ed8d116b9b

Import xHE-AAC decoder from Ittiam
Change-Id: I3c8d124033f967b29d6e384cce5c843ee17a7bb1

Bug: 77287124
Test: build, cts DecoderTest
2018-05-17 14:36:48 -07:00