Skip to content
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

libde265 version 1.0.8 #26

Open
wants to merge 7 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
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
libde265-*.tar.gz
libde265-*
.idea
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ https://strukturag.github.io/libde265.js/.
[1]: http://emscripten.org

Copyright (c) 2014 struktur AG

fixes gewisser 2021
22 changes: 2 additions & 20 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
export LIBDE265_VERSION=1.0.2
export LIBDE265_VERSION=1.0.8

if [ ! -e "libde265-${LIBDE265_VERSION}.tar.gz" ]; then
wget https://github.com/strukturag/libde265/releases/download/v${LIBDE265_VERSION}/libde265-${LIBDE265_VERSION}.tar.gz
Expand Down Expand Up @@ -68,29 +68,11 @@ emcc libde265-${LIBDE265_VERSION}/libde265/.libs/libde265.so \
-s ALLOW_MEMORY_GROWTH=1 \
-s ASSERTIONS=0 \
-s INVOKE_RUN=0 \
-s PRECISE_I32_MUL=0 \
-s ERROR_ON_UNDEFINED_SYMBOLS=0 \
-s DISABLE_EXCEPTION_CATCHING=1 \
-s EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS}" \
-s DEFAULT_LIBRARY_FUNCS_TO_INCLUDE="${LIBRARY_FUNCTIONS}" \
-O2 \
--pre-js pre.js \
--post-js post.js \
-o lib/libde265.js

echo "Running Emscripten (minimized)..."
emcc libde265-${LIBDE265_VERSION}/libde265/.libs/libde265.so \
-s NO_EXIT_RUNTIME=1 \
-s TOTAL_MEMORY=${TOTAL_MEMORY} \
-s ALLOW_MEMORY_GROWTH=1 \
-s ASSERTIONS=0 \
-s INVOKE_RUN=0 \
-s PRECISE_I32_MUL=0 \
-s DISABLE_EXCEPTION_CATCHING=1 \
-s EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS}" \
-s DEFAULT_LIBRARY_FUNCS_TO_INCLUDE="${LIBRARY_FUNCTIONS}" \
-O3 \
--pre-js pre.js \
--post-js post.js \
-o lib/libde265.min.js \
-s CLOSURE_ANNOTATIONS=1 \
--closure 1
2 changes: 1 addition & 1 deletion demo/libde265.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
color: #00a;
}
</style>
<script type="text/javascript" src="../lib/libde265.min.js"></script>
<script type="text/javascript" src="../lib/libde265.js"></script>
<script>
<!--
var VIDEO_URL = "spreedmovie.hevc";
Expand Down
Binary file added demo/libde265.webm
Binary file not shown.
Loading