Skip to content

Commit

Permalink
enable 10bit support in x265, fixes #187
Browse files Browse the repository at this point in the history
  • Loading branch information
tanersener committed Nov 7, 2021
1 parent 24ec14a commit d73c43c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/android/x265.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions scripts/apple/x265.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d73c43c

Please sign in to comment.