Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
Add Android build support for 2020 20.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZheZhu authored and Oleg Nabiullin committed Aug 3, 2020
1 parent 494d130 commit f7ae849
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _studio/mfx_lib/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ MFX_LOCAL_SRC_FILES_HW += \
mfx_lib/encode_hw/hevc/agnostic/base/hevcehw_base_weighted_prediction.cpp \
mfx_lib/encode_hw/hevc/agnostic/g12/hevcehw_g12_caps.cpp \
mfx_lib/encode_hw/hevc/agnostic/g12/hevcehw_g12_rext.cpp \
mfx_lib/encode_hw/hevc/agnostic/g12/hevcehw_g12_scc.cpp \
mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_interlace_lin.cpp \
mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_fei_lin.cpp \
mfx_lib/encode_hw/hevc/linux/base/hevcehw_base_lin.cpp \
Expand Down Expand Up @@ -245,7 +246,7 @@ LOCAL_C_INCLUDES := \

LOCAL_CFLAGS := \
$(MFX_CFLAGS_INTERNAL_HW) \
-Wall -Werror
-Wall -Werror -Wno-unused-parameter
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

Expand All @@ -270,7 +271,7 @@ LOCAL_C_INCLUDES := \

LOCAL_CFLAGS := \
$(MFX_CFLAGS_INTERNAL_HW) \
-Wall -Werror
-Wall -Werror -Wno-unused-parameter
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)

LOCAL_LDFLAGS := $(MFX_LOCAL_LDFLAGS_HW)
Expand Down Expand Up @@ -304,7 +305,7 @@ LOCAL_C_INCLUDES := \

LOCAL_CFLAGS := \
$(MFX_CFLAGS_INTERNAL_HW) \
-Wall -Werror
-Wall -Werror -Wno-unused-parameter
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_LDFLAGS := $(MFX_LOCAL_LDFLAGS_HW)
Expand Down
1 change: 1 addition & 0 deletions _studio/shared/umc/io/umc_va/src/umc_va_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ VAProfile get_next_va_profile(uint32_t umc_codec, uint32_t profile)
break;
case UMC::VA_H265 | UMC::VA_PROFILE_SCC | UMC::VA_PROFILE_444:
if (profile < 1) va_profile = VAProfileHEVCSccMain444;
MFX_FALLTHROUGH;
case UMC::VA_H265 | UMC::VA_PROFILE_SCC | UMC::VA_PROFILE_444 | UMC::VA_PROFILE_10:
if (profile < 1) va_profile = VAProfileHEVCSccMain444_10;
break;
Expand Down

0 comments on commit f7ae849

Please sign in to comment.