samsung_slsi: openmax: hide/ignore all warnings
authorStricted <info@stricted.net>
Tue, 9 Oct 2018 09:09:29 +0000 (11:09 +0200)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:04:56 +0000 (03:04 +0200)
Change-Id: Id96114d2d4991b3360cde34c187c8556d81edb77

23 files changed:
component/audio/dec/mp3/Android.mk
component/audio/dec/wma/Android.mk
component/audio/seiren_dec/aac/Android.mk
component/audio/seiren_dec/flac/Android.mk
component/audio/seiren_dec/mp3/Android.mk
component/common/Android.mk
component/video/dec/Android.mk
component/video/dec/h264/Android.mk
component/video/dec/hevc/Android.mk
component/video/dec/mpeg2/Android.mk
component/video/dec/mpeg4/Android.mk
component/video/dec/vc1/Android.mk
component/video/dec/vp8/Android.mk
component/video/dec/vp9/Android.mk
component/video/enc/Android.mk
component/video/enc/h264/Android.mk
component/video/enc/hevc/Android.mk
component/video/enc/mpeg4/Android.mk
component/video/enc/vp8/Android.mk
component/video/enc/vp8/Exynos_OMX_Vp8enc.c
component/video/enc/vp9/Android.mk
core/Android.mk
osal/Android.mk

index 71cc70e50c8ec2a2b2a93bc4694e5348b9dc4dd1..a638afab340bb5355adba246038b4db1b98aa8aa 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.MP3.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index dc0be752750b9d51f1ee71cc03ab6faf09f174ec..e29b9f9cd8d077a5accde6df04324ae022203de5 100644 (file)
@@ -12,7 +12,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.WMA.Decoder
 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index 60bd522c8521f160cabe29837e2d9227d9a4ff94..2ed599d9241728dfb61a67f2533e0741d8286b24 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.AAC.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index 236d89397107a4369f6b18e06d5911c93a2d5d4c..f4e273d26b6a2b8714a7290aff24a9d5747b26a3 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.FLAC.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index 23a3b183c2d17f17d958e0421eb914bf139501e0..e5a8860a59ed7f4ba16b44be3ec9fc77c7118b7b 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.MP3.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index ddcf53ee2ec9a9f8194174d2c42eb41d117efca4..c6e447a58a42e0ae9baf08a1d263d8c615ee7de5 100644 (file)
@@ -9,7 +9,13 @@ LOCAL_SRC_FILES := \
 
 LOCAL_MODULE := libExynosOMX_Basecomponent
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
 LOCAL_SHARED_LIBRARIES := libcutils libutils liblog
@@ -47,7 +53,13 @@ LOCAL_SRC_FILES := \
 LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libExynosOMX_Resourcemanager
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_STATIC_LIBRARIES := libExynosOMX_OSAL
 LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
index 97d0310dd747c0c7c19e9a1418a5aa891ab40a18..c6faf18c84eeaffce3f35a649294b1ab3f0724b5 100644 (file)
@@ -25,6 +25,14 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \
 
 LOCAL_STATIC_LIBRARIES := libExynosVideoApi
 
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
+
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
 LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos
index 9dd91182995e00bb460114d7af1737c27c597fda..aee86917650e33da56733ac62554af185ae966a0 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.AVC.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_ANB), true)
 LOCAL_CFLAGS += -DUSE_ANB
index 6dda85ad50cf9fc5d9f536c20b7ab503c2bb9250..a37953fc0fee206e2c445103ace0256d08ce3635 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.HEVC.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 LOCAL_CFLAGS += -DUSE_HEVC_SUPPORT
 
 ifeq ($(BOARD_USE_ANB), true)
index 3bf590cccb4074f5cbc2dc127bc4dd9b85051a23..4ea6d1499513ad9184a6984c278bfb1d802bc418 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.MPEG2.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_ANB), true)
 LOCAL_CFLAGS += -DUSE_ANB
index bda30f55241fbbbcb7d9c1e139095e1620f9be76..45c181dfbc50822bd56aa2bdf5a574ff7981ccf5 100644 (file)
@@ -11,7 +11,15 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.MPEG4.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline \
+    -Wno-sign-compare \
+    -Wno-pointer-arith
 
 ifeq ($(BOARD_USE_ANB), true)
 LOCAL_CFLAGS += -DUSE_ANB
index 8d8465aa946fb9e4deaacb8ab5f9b1d192671977..fad5b932be19aba523da8499fb96a318410f9e02 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.WMV.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_ANB), true)
 LOCAL_CFLAGS += -DUSE_ANB
index 79f6f9aae5b4582112e4547b23f1e52195af72f8..834a9c2ab75761aaff252c97d6db36fe921bdd4d 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.VP8.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 LOCAL_CFLAGS += -DUSE_VP8_SUPPORT
 
 ifeq ($(BOARD_USE_ANB), true)
index 5b78f13544170de624a70adb0875cc2070504dd9..f3eb5d0183d2d1608ca9828cdebed458a3534c40 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.VP9.Decoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 LOCAL_CFLAGS += -DUSE_VP9_SUPPORT
 
 ifeq ($(BOARD_USE_ANB), true)
index 55ae45b290ffdd82aa470e13de357f6f3d1ea1c0..06aa755120c411335c5f433758e1c13ded172efc 100644 (file)
@@ -23,6 +23,14 @@ LOCAL_C_INCLUDES := \
 LOCAL_ADDITIONAL_DEPENDENCIES += \
        $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
 
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
+
 ifeq ($(BOARD_USE_KHRONOS_OMX_HEADER), true)
 LOCAL_CFLAGS += -DUSE_KHRONOS_OMX_HEADER
 LOCAL_C_INCLUDES += $(EXYNOS_OMX_INC)/khronos
index fe9f0dff1c4fd4041606ae28b96c5d13801ac77a..e105764c6ab1c424b66633e99242850b8ca0cb89 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.AVC.Encoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_ANDROID), true)
 LOCAL_CFLAGS += -DUSE_ANDROID
index 547dbb7061d404415ea0080e33856641045846a5..3037cac6d5fa0fc10bf0afc6c6e1ffca6ad6857c 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.HEVC.Encoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 LOCAL_CFLAGS += -DUSE_HEVC_SUPPORT
 
 ifeq ($(BOARD_USE_ANDROID), true)
index f69355e2ca1e13038a2b6066ae94df7bb1c5e4cd..616b366450255a3a653fbb309caeea6ec6b8ecaf 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.MPEG4.Encoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
 LOCAL_CFLAGS += -DUSE_METADATABUFFERTYPE
index ad641dae92c0e68a62aba61b22fa797d99e485a5..75966bef49b3827383a23fd39642ffcba01a2952 100644 (file)
@@ -11,7 +11,13 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.VP8.Encoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 LOCAL_CFLAGS += -DUSE_VP8_SUPPORT
 
 ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
index 0f41215d70a9ebe3df02e922ce6967949fd14396..845ede61c05b7d4991e84f8274eb606dcb30d392 100644 (file)
@@ -210,7 +210,7 @@ EXIT:
     return (bProfileSupport && bLevelSupport);
 }
 
-static OMX_U32 OMXVP8ProfileToProfileIDC(OMX_VIDEO_VP8PROFILETYPE eProfile)
+static __unused OMX_U32 OMXVP8ProfileToProfileIDC(OMX_VIDEO_VP8PROFILETYPE eProfile)
 {
     OMX_U32 ret;
 
index 035d1d42d1257ad504154f0bf56373508a9a93b0..188b793f711c821f8256d69a96d7fe0a357fa3c0 100644 (file)
@@ -11,7 +11,14 @@ LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libOMX.Exynos.VP9.Encoder
 LOCAL_MODULE_RELATIVE_PATH := omx
 
-LOCAL_CFLAGS := -DUSE_VP9_SUPPORT
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
+LOCAL_CFLAGS += -DUSE_VP9_SUPPORT
 
 ifeq ($(BOARD_USE_METADATABUFFERTYPE), true)
 LOCAL_CFLAGS += -DUSE_METADATABUFFERTYPE
index a75eb9e7100aa809efbbdb040d2232478ac8758b..ffd2e83eaea4010c819b9585d88a8bf7cbdacf4d 100644 (file)
@@ -10,7 +10,13 @@ LOCAL_SRC_FILES := \
 LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libExynosOMX_Core
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 LOCAL_ARM_MODE := arm
 
index 18e364fa5f26a8b6f71c7a1743d985ef2cd4bb2d..d93f3f8b8e47f3e5042e0d0846b99549a89049ac 100644 (file)
@@ -12,7 +12,14 @@ LOCAL_MODULE_TAGS := optional
 LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libExynosOMX_SkypeHD_Enc
 
-LOCAL_CFLAGS := -DUSE_SKYPE_HD
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
+LOCAL_CFLAGS += -DUSE_SKYPE_HD
 LOCAL_CFLAGS += -DBUILD_ENC
 
 LOCAL_SRC_FILES := Exynos_OSAL_SkypeHD.c
@@ -103,7 +110,13 @@ LOCAL_SRC_FILES := \
 LOCAL_PRELINK_MODULE := false
 LOCAL_MODULE := libExynosOMX_OSAL
 
-LOCAL_CFLAGS :=
+LOCAL_CFLAGS := \
+    -Wno-enum-conversion \
+    -Wno-unused-label \
+    -Wno-unused-parameter \
+    -Wno-unused-variable \
+    -Wno-parentheses-equality \
+    -Wno-undefined-inline
 
 ifeq ($(BOARD_USE_ANDROID), true)
 LOCAL_SRC_FILES += \