mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 12:45:35 +08:00
1.Use libyuv instead of ffmpeg to do nv12<->yuv420p convertion;2.Use local package to build libyuv(branch stable 2021.4.28 commit eb6e7bb63738e29efd82ea3cf2a115238a89fa51)
This commit is contained in:
9
thirdparty/libyuv/util/Makefile
vendored
Normal file
9
thirdparty/libyuv/util/Makefile
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
psnr: psnr.cc ssim.cc psnr_main.cc
|
||||
ifeq ($(CXX),icl)
|
||||
$(CXX) /arch:SSE2 /Ox /openmp psnr.cc ssim.cc psnr_main.cc
|
||||
else
|
||||
$(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all
|
||||
endif
|
||||
|
||||
# for MacOS
|
||||
# /usr/local/bin/g++-7 -msse2 -O3 -fopenmp -Bstatic -o psnr psnr.cc ssim.cc psnr_main.cc
|
||||
Reference in New Issue
Block a user