Skip to content

Adding WebP image decoder support #2279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 16 additions & 56 deletions examples/pxScene2d/external/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,18 @@ then
cd ..

fi
#---------

#--------- WebP
#
if [ ! -d ./wepP/build ]; then

banner "WebP"

cd webP
./build.sh
cd ..

fi

#--------- JPG

Expand All @@ -119,10 +130,9 @@ then
cd ..

fi
#---------

#-------- GRAPHITE2

#
if [[ $# -eq 1 ]] && [[ $1 == "SPARK_ENABLE_VIDEO" ]]
then

Expand All @@ -132,22 +142,17 @@ then

./graphite2/build.sh
fi

fi

#--------

#-------- PCRE

#
if [ ! -e $EXT_INSTALL_PATH/lib/libpcre.la ]
then
banner "PCRE"

./pcre/build.sh
fi

#--------

#-------- ICU

if [ ! -e $EXT_INSTALL_PATH/lib/libicudata.$LIBEXTN ]
Expand All @@ -157,8 +162,6 @@ then
./icu/build.sh
fi

#--------

#-------- LIBFFI

if [ ! -e $EXT_INSTALL_PATH/lib/libffi.la ]
Expand All @@ -168,8 +171,6 @@ then
./libffi/build.sh
fi

#--------

#-------- GETTEXT

if [ ! -e $EXT_INSTALL_PATH/lib/libintl.la ]
Expand All @@ -179,8 +180,6 @@ then
./gettext/build.sh
fi

#--------

#-------- GLIB

if [ ! -e $EXT_INSTALL_PATH/lib/libglib-2.0.la ]
Expand All @@ -190,8 +189,6 @@ then
./glib/build.sh
fi

#--------

#--------- GIF

if [ ! -e ./gif/.libs/libgif.7.dylib ] ||
Expand Down Expand Up @@ -270,7 +267,6 @@ then
cd ..

fi
#---------

if [[ $# -eq 1 ]] && [[ $1 == "SPARK_ENABLE_VIDEO" ]]; then

Expand All @@ -283,8 +279,6 @@ if [[ $# -eq 1 ]] && [[ $1 == "SPARK_ENABLE_VIDEO" ]]; then
./fontconfig/build.sh
fi

#--------

#-------- HARFBUZZ

if [ ! -e $EXT_INSTALL_PATH/lib/libharfbuzz.la ]
Expand All @@ -293,7 +287,7 @@ then

./harfbuzz/build.sh
fi
#---------

fi # SPARK_ENABLE_VIDEO

#-------- openssl
Expand All @@ -305,8 +299,6 @@ then
cp -r ${OPENSSL_DIR}/* $EXT_INSTALL_PATH
fi

#--------

#--------- CURL

if [ ! -e $EXT_INSTALL_PATH/lib/libcurl.la ]; then
Expand All @@ -327,7 +319,6 @@ if [ ! -e $EXT_INSTALL_PATH/lib/libcurl.la ]; then
cd ..

fi
#---------

#--------- ZLIB

Expand All @@ -348,7 +339,6 @@ then
cd ..

fi
#---------

#--------- LIBJPEG TURBO (Non -macOS)

Expand Down Expand Up @@ -382,7 +372,6 @@ then
cd ..

fi
#---------

#--------- LIBNODE

Expand Down Expand Up @@ -484,7 +473,6 @@ if [ "$(uname)" != "Darwin" ]; then

cd ..
fi
#---------

#-------- NANOSVG

Expand All @@ -497,7 +485,6 @@ banner "NANOSVG"
git update-index --assume-unchanged ./nanosvg/src/nanosvgrast.h # ... help GIT out
fi

#---------

#-------- DUKTAPE

Expand Down Expand Up @@ -532,9 +519,8 @@ if [ ! -d "spark-webgl/build" ]; then
cd ..

fi
#--------

#-------- SQLITE
#-------- SQL LITE

if [ ! -e sqlite/.libs/libsqlite3.a ]
then
Expand Down Expand Up @@ -577,8 +563,6 @@ then
./cJSON/build.sh
fi

#--------

#-------- ORC

if [ ! -e $EXT_INSTALL_PATH/lib/liborc-0.4.la ]
Expand All @@ -589,8 +573,6 @@ then
./orc/build.sh
fi

#--------

#-------- OSSP-UUID

if [ ! -e $EXT_INSTALL_PATH/lib/libuuid.la ]
Expand All @@ -600,8 +582,6 @@ then
./ossp-uuid/build.sh
fi

#--------

#--------libxml2

if [ ! -e $EXT_INSTALL_PATH/lib/libxml2.la ]
Expand All @@ -611,8 +591,6 @@ then
./libxml2/build.sh
fi

#--------

#-------- LIBDASH

if [ ! -e $EXT_INSTALL_PATH/lib/libdash.$LIBEXTN ]
Expand All @@ -622,8 +600,6 @@ then
./libdash/libdash/build.sh
fi

#--------

#-------- xz-5.2.2

if [ ! -e $EXT_INSTALL_PATH/lib/liblzma.la ]
Expand All @@ -633,8 +609,6 @@ then
./xz/build.sh
fi

#--------

#-------- GSTREAMER-1.16

if [ ! -e $EXT_INSTALL_PATH/lib/libgstreamer-1.0.la ]
Expand All @@ -645,8 +619,6 @@ then
./gstreamer/build.sh
fi

#--------

#-------- GST-PLUGIN-BASE

if [ ! -e $EXT_INSTALL_PATH/lib/libgstapp-1.0.la ]
Expand All @@ -656,8 +628,6 @@ then
./gst-plugins-base/build.sh
fi

#--------

#-------- GST-PLUGIN-BAD

if [ ! -e $EXT_INSTALL_PATH/lib/libgstbadaudio-1.0.la ]
Expand All @@ -667,8 +637,6 @@ then
./gst-plugins-bad/build.sh
fi

#--------

#-------- GST-PLUGIN-UGLY

if [ ! -e $EXT_INSTALL_PATH/lib/gstreamer-1.0/libgstx264.la ]
Expand All @@ -678,8 +646,6 @@ then
./gst-plugins-ugly/build.sh
fi

#--------

#-------- GST-PLUGIN-GOOD

if [ ! -e $EXT_INSTALL_PATH/lib/gstreamer-1.0/libgstavi.la ]
Expand All @@ -689,8 +655,6 @@ then
./gst-plugins-good/build.sh
fi

#--------

#-------- GST-LIBAV

if [ ! -e $EXT_INSTALL_PATH/lib/gstreamer-1.0/libgstlibav.la ]
Expand All @@ -700,8 +664,6 @@ then
./gst-libav/build.sh
fi

#--------

#-------- AAMPABR

if [ ! -e $EXT_INSTALL_PATH/lib/libabr.$LIBEXTN ]
Expand All @@ -711,8 +673,6 @@ then
./aampabr/build.sh
fi

#--------

#-------- AAMP

if [ ! -e $EXT_INSTALL_PATH/lib/libaamp.$LIBEXTN ]
Expand Down
1 change: 1 addition & 0 deletions examples/pxScene2d/external/webP
45 changes: 45 additions & 0 deletions examples/pxScene2d/external/webP_v1.1.0/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Contributors:
- Aidan O'Loan (aidanol at gmail dot com)
- Alan Browning (browning at google dot com)
- Charles Munger (clm at google dot com)
- Cheng Yi (cyi at google dot com)
- Christian Duvivier (cduvivier at google dot com)
- Djordje Pesut (djordje dot pesut at imgtec dot com)
- Hui Su (huisu at google dot com)
- James Zern (jzern at google dot com)
- Jan Engelhardt (jengelh at medozas dot de)
- Jehan (jehan at girinstud dot io)
- Johann Koenig (johann dot koenig at duck dot com)
- Jovan Zelincevic (jovan dot zelincevic at imgtec dot com)
- Jyrki Alakuijala (jyrki at google dot com)
- Konstantin Ivlev (tomskside at gmail dot com)
- Lode Vandevenne (lode at google dot com)
- Lou Quillio (louquillio at google dot com)
- Mans Rullgard (mans at mansr dot com)
- Marcin Kowalczyk (qrczak at google dot com)
- Martin Olsson (mnemo at minimum dot se)
- Mikołaj Zalewski (mikolajz at google dot com)
- Mislav Bradac (mislavm at google dot com)
- Nico Weber (thakis at chromium dot org)
- Noel Chromium (noel at chromium dot org)
- Oliver Wolff (oliver dot wolff at qt dot io)
- Owen Rodley (orodley at google dot com)
- Parag Salasakar (img dot mips1 at gmail dot com)
- Pascal Massimino (pascal dot massimino at gmail dot com)
- Paweł Hajdan, Jr (phajdan dot jr at chromium dot org)
- Pierre Joye (pierre dot php at gmail dot com)
- Sam Clegg (sbc at chromium dot org)
- Scott Hancher (seh at google dot com)
- Scott LaVarnway (slavarnway at google dot com)
- Scott Talbot (s at chikachow dot org)
- Slobodan Prijic (slobodan dot prijic at imgtec dot com)
- Somnath Banerjee (somnath dot banerjee at gmail dot com)
- Sriraman Tallam (tmsriram at google dot com)
- Tamar Levy (tamar dot levy at intel dot com)
- Timothy Gu (timothygu99 at gmail dot com)
- Urvang Joshi (urvang at google dot com)
- Vikas Arora (vikasa at google dot com)
- Vincent Rabaud (vrabaud at google dot com)
- Vlad Tsyrklevich (vtsyrklevich at chromium dot org)
- Yang Zhang (yang dot zhang at arm dot com)
- Yannis Guyon (yguyon at google dot com)
Loading