1
0
Fork 0

Add libyuv (#5623)

* Add libyuv

* Only use libyuv on Android

Co-authored-by: Marshall Mohror <mohror64@gmail.com>
This commit is contained in:
xperia64 2021-12-12 09:52:30 -05:00 committed by GitHub
parent 64b502aad3
commit 1911c9791e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

3
.gitmodules vendored
View File

@ -52,3 +52,6 @@
[submodule "zstd"]
path = externals/zstd
url = https://github.com/facebook/zstd.git
[submodule "libyuv"]
path = externals/libyuv
url = https://github.com/lemenkov/libyuv.git

View File

@ -129,3 +129,10 @@ endif()
# lodepng
add_subdirectory(lodepng)
# (xperia64): Only use libyuv on Android b/c of build issues on Windows and mandatory JPEG
if(ANDROID)
# libyuv
add_subdirectory(libyuv)
target_include_directories(yuv INTERFACE ./libyuv/include)
endif()

1
externals/libyuv vendored Submodule

@ -0,0 +1 @@
Subproject commit 19d71f6b351fe992ae34b114eebd872c383a6bdb