summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-06-29 20:55:26 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-06-29 20:55:26 +0300
commit445ebe5a302895418ba993943de136449c743403 (patch)
tree5762ffa507e219cc5472b963875caa42e1bdbb2d
parent51792b31a36b9539fdd1b4b85abe486c1652b6c4 (diff)
downloaduxp-445ebe5a302895418ba993943de136449c743403.tar.gz
Update libwebp/update.sh script for libwebp-1.0.0
-rw-r--r--media/libwebp/update.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libwebp/update.sh b/media/libwebp/update.sh
index 57cd45996b..652993004b 100644
--- a/media/libwebp/update.sh
+++ b/media/libwebp/update.sh
@@ -56,8 +56,10 @@ cp $1/src/dsp/rescaler_sse2.c dsp
cp $1/src/dsp/upsampling.c dsp
cp $1/src/dsp/upsampling_neon.c dsp
cp $1/src/dsp/upsampling_sse2.c dsp
+cp $1/src/dsp/upsampling_sse41.c dsp
cp $1/src/dsp/yuv.c dsp
cp $1/src/dsp/yuv_sse2.c dsp
+cp $1/src/dsp/yuv_sse41.c dsp
mkdir -p enc
cp $1/src/enc/*.h enc
@@ -74,3 +76,5 @@ cp $1/src/utils/random_utils.c utils
cp $1/src/utils/rescaler_utils.c utils
cp $1/src/utils/thread_utils.c utils
cp $1/src/utils/utils.c utils
+
+find . \( -name "*.c" -o -name "*.h" \) -exec sed -i 's/#include "src\//#include "..\//g' {} \;