From 2504f6043487ec9c4664efea0229c07c867a53f4 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Wed, 6 Apr 2016 08:53:36 -0700 Subject: Remove redundant parentheses around == comparison operator Bug: 28026175 Change-Id: I61be1ab98d7279d09250ea4b810c5f31886da048 --- libSBRenc/src/sbr_encoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libSBRenc/src/sbr_encoder.cpp b/libSBRenc/src/sbr_encoder.cpp index 86a3f91..71aab78 100644 --- a/libSBRenc/src/sbr_encoder.cpp +++ b/libSBRenc/src/sbr_encoder.cpp @@ -1939,7 +1939,7 @@ INT sbrEncoder_Init( - if ( (aot==AOT_PS) ) { + if ( aot==AOT_PS ) { usePs = 1; } if ( aot==AOT_ER_AAC_ELD ) { -- cgit v1.2.3 From 2fc642731f78c042c4b67f4cd877619994fe3c65 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Tue, 23 Aug 2016 10:25:28 -0700 Subject: Fix build warning Bug: 28026175 Change-Id: Ie8d84f694fcb788e5fb8780b11fa07bb98097ce0 --- libAACenc/src/adj_thr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libAACenc/src/adj_thr.cpp b/libAACenc/src/adj_thr.cpp index a79a9ae..09584f4 100644 --- a/libAACenc/src/adj_thr.cpp +++ b/libAACenc/src/adj_thr.cpp @@ -958,7 +958,7 @@ static FIXP_DBL FDKaacEnc_calcChaosMeasure(PSY_OUT_CHANNEL *psyOutChannel, CalcInvLdData( (((CalcLdData(frameFormFactor)>>1) - (CalcLdData(frameEnergy)>>(2+1))) - (fMultDiv2(FL2FXCONST_DBL(0.75f),CalcLdData((FIXP_DBL)frameNLines<<(DFRACT_BITS-1-SCALE_NLINES))) - - (((FIXP_DBL)(SCALE_FORM_FAC-SCALE_NRGS_SQRT4+FORM_FAC_SHIFT-(SCALE_NLINES_P34))<<(DFRACT_BITS-1-LD_DATA_SHIFT))>>1)) + (((FIXP_DBL)(-((-SCALE_FORM_FAC+SCALE_NRGS_SQRT4-FORM_FAC_SHIFT+SCALE_NLINES_P34) << (DFRACT_BITS-1-LD_DATA_SHIFT))))>>1)) )<<1 ); } else { -- cgit v1.2.3 From 86e949c0768dc49b7215d41062be8274f7c9dca6 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Mon, 5 Jun 2017 10:09:41 -0700 Subject: Add OWNERS in external/aac Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: Iacb2e068189b39030a218b6496ca41a0bd4ce7d2 --- OWNERS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 OWNERS diff --git a/OWNERS b/OWNERS new file mode 100644 index 0000000..ffd753e --- /dev/null +++ b/OWNERS @@ -0,0 +1,2 @@ +jmtrivi@google.com +gkasten@android.com -- cgit v1.2.3 From a4aa860efb3b3ff2d535a4af45457e888aefa85e Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 7 Aug 2017 13:12:02 +0900 Subject: Make software codecs as VNDK Software codecs and their dependencies are marked as VNDK (or just vendor_available:true for static/header libs). Bug: 37343418 Test: build the software codecs with BOARD_VNDK_VERSION=current Change-Id: I9ecedb5a95abc9978ff7ed3538bd2dedec750c7d --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index 75fe8af..daad82c 100644 --- a/Android.bp +++ b/Android.bp @@ -1,5 +1,6 @@ cc_library_static { name: "libFraunhoferAAC", + vendor_available: true, srcs: [ "libAACdec/src/*.cpp", "libAACenc/src/*.cpp", -- cgit v1.2.3 From 3e8a17c1c1a7bed415b033734e9ac4a5dd7673d1 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 27 Sep 2017 10:17:29 -0700 Subject: Use -Werror in external/aac Bug: 66996870 Test: build with WITH_TIDY=1 Exempt-From-Owner-Approval: Colin +2 should be the owner approval Change-Id: I167f73ee9dc5e977fd6976f48732ae1e1fe13c8b --- Android.bp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.bp b/Android.bp index 75fe8af..0ae0b84 100644 --- a/Android.bp +++ b/Android.bp @@ -12,6 +12,8 @@ cc_library_static { "libSBRenc/src/*.cpp", ], cflags: [ + "-Werror", + "-Wno-constant-conversion", "-Wno-sequence-point", "-Wno-extra", "-Wno-#warnings", -- cgit v1.2.3