-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: add code to demostrate how to use Fraunhofer H266/VVC encod…
…er & Intel AV1 encoder
- Loading branch information
Showing
13 changed files
with
141 additions
and
11,989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Copyright (c) 2024- KanTV Authors | ||
|
||
# Description: download Android NDK for build project | ||
|
||
set -e | ||
|
||
if [ "x${PROJECT_ROOT_PATH}" == "x" ]; then | ||
echo "pwd is `pwd`" | ||
echo "pls run . build/envsetup in project's toplevel directory firstly" | ||
exit 1 | ||
fi | ||
|
||
. ${PROJECT_ROOT_PATH}/build/public.sh || (echo "can't find public.sh"; exit 1) | ||
|
||
show_pwd | ||
|
||
echo "ANDROID_NDK: ${ANDROID_NDK}" | ||
|
||
is_android_ndk_exist=1 | ||
|
||
if [ ! -d ${ANDROID_NDK} ]; then | ||
echo -e "${TEXT_RED}NDK ${ANDROID_NDK} not exist, pls check...${TEXT_RESET}\n" | ||
is_android_ndk_exist=0 | ||
fi | ||
|
||
if [ ! -f ${ANDROID_NDK}/build/cmake/android.toolchain.cmake ]; then | ||
echo -e "${TEXT_RED}NDK ${ANDROID_NDK} not exist, pls check...${TEXT_RESET}\n" | ||
is_android_ndk_exist=0 | ||
fi | ||
|
||
if [ ${is_android_ndk_exist} -eq 0 ]; then | ||
echo -e "begin downloading android ndk \n" | ||
wget --no-config --quiet --show-progress -O ${ANDROID_NDK}-linux.zip https://dl.google.com/android/repository/android-ndk-r26c-linux.zip | ||
cd ${PROJECT_ROOT_PATH}/prebuilts/toolchain | ||
unzip android-ndk-r26c-linux.zip | ||
cd ${PROJECT_ROOT_PATH} | ||
|
||
if [ $? -ne 0 ]; then | ||
printf "failed to download android ndk to %s \n" "${ANDROID_NDK}" | ||
exit 1 | ||
fi | ||
|
||
printf "android ndk saved to ${ANDROID_NDK} \n\n" | ||
else | ||
printf "android ndk already exist:${ANDROID_NDK} \n\n" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FFmpeg/ | ||
DeepSpeech/ | ||
gstreamer/ | ||
ncnn/ | ||
CLBlast/ | ||
llamacpp/ | ||
|
||
uavs3e/version.h | ||
uavs3d/version.h | ||
|
||
fribidi-1.0.13/libtool | ||
|
||
config.log | ||
config.status | ||
configure~ | ||
Makefile | ||
libpng-config | ||
libpng12-config | ||
|
||
*.o | ||
*.a | ||
*.so |
Oops, something went wrong.