From d73c43cd2c90198a5de63a13ad5116f23efbf285 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 7 Nov 2021 00:53:03 +0000 Subject: [PATCH] enable 10bit support in x265, fixes #187 --- scripts/android/x265.sh | 1 + scripts/apple/x265.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/scripts/android/x265.sh b/scripts/android/x265.sh index 9c31ac82..937fa5a0 100755 --- a/scripts/android/x265.sh +++ b/scripts/android/x265.sh @@ -42,6 +42,7 @@ cmake -Wno-dev \ -DSTATIC_LINK_CRT=1 \ -DENABLE_PIC=1 \ -DENABLE_CLI=0 \ + -DHIGH_BIT_DEPTH=1 \ ${ASM_OPTIONS} \ -DCMAKE_SYSTEM_PROCESSOR="${ARCH}" \ -DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1 diff --git a/scripts/apple/x265.sh b/scripts/apple/x265.sh index 4cf5159c..1f241218 100755 --- a/scripts/apple/x265.sh +++ b/scripts/apple/x265.sh @@ -11,6 +11,9 @@ arm64*) x86-64-mac-catalyst) ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0" ;; +i386) + ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0" + ;; *) ASM_OPTIONS="-DENABLE_ASSEMBLY=1 -DCROSS_COMPILE_ARM=0" ;; @@ -65,6 +68,7 @@ cmake -Wno-dev \ -DSTATIC_LINK_CRT=1 \ -DENABLE_PIC=1 \ -DENABLE_CLI=0 \ + -DHIGH_BIT_DEPTH=1 \ ${ASM_OPTIONS} \ -DCMAKE_SYSTEM_PROCESSOR="$(get_target_cpu)" \ -DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1