Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit d73c43c

Browse files
committed
enable 10bit support in x265, fixes #187
1 parent 24ec14a commit d73c43c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

scripts/android/x265.sh

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ cmake -Wno-dev \
4242
-DSTATIC_LINK_CRT=1 \
4343
-DENABLE_PIC=1 \
4444
-DENABLE_CLI=0 \
45+
-DHIGH_BIT_DEPTH=1 \
4546
${ASM_OPTIONS} \
4647
-DCMAKE_SYSTEM_PROCESSOR="${ARCH}" \
4748
-DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1

scripts/apple/x265.sh

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ arm64*)
1111
x86-64-mac-catalyst)
1212
ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0"
1313
;;
14+
i386)
15+
ASM_OPTIONS="-DENABLE_ASSEMBLY=0 -DCROSS_COMPILE_ARM=0"
16+
;;
1417
*)
1518
ASM_OPTIONS="-DENABLE_ASSEMBLY=1 -DCROSS_COMPILE_ARM=0"
1619
;;
@@ -65,6 +68,7 @@ cmake -Wno-dev \
6568
-DSTATIC_LINK_CRT=1 \
6669
-DENABLE_PIC=1 \
6770
-DENABLE_CLI=0 \
71+
-DHIGH_BIT_DEPTH=1 \
6872
${ASM_OPTIONS} \
6973
-DCMAKE_SYSTEM_PROCESSOR="$(get_target_cpu)" \
7074
-DENABLE_SHARED=0 "${BASEDIR}"/src/"${LIB_NAME}"/source || return 1

0 commit comments

Comments
 (0)