Giter VIP home page Giter VIP logo

dav1d.js's People

Contributors

kagami avatar ledyba-z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dav1d.js's Issues

Build fail undefined references

Hi @Kagami .. there is a build failure out of the box. Either make test or make all.
Seems src/lib.c is not being linked in?

With make test:

~/dav1d.js_again$ make test
cc dav1d.c -O2 -Wall -o test
-I../tmp/dav1d/dist/include -L../tmp/dav1d/dist/lib64
-ldav1d -lpthread
/tmp/ccn8CmFj.o: In function djs_init': dav1d.c:(.text+0x3f): undefined reference to dav1d_default_settings'
dav1d.c:(.text+0x4a): undefined reference to dav1d_open' /tmp/ccn8CmFj.o: In function djs_free':
dav1d.c:(.text+0x95): undefined reference to dav1d_close' /tmp/ccn8CmFj.o: In function djs_decode_obu':
dav1d.c:(.text+0x13a): undefined reference to dav1d_data_wrap' dav1d.c:(.text+0x146): undefined reference to dav1d_send_data'
dav1d.c:(.text+0x15c): undefined reference to dav1d_get_picture' dav1d.c:(.text+0x2e6): undefined reference to dav1d_picture_unref'
dav1d.c:(.text+0x662): undefined reference to dav1d_picture_unref' /tmp/ccn8CmFj.o: In function main':
dav1d.c:(.text.startup+0x11a): undefined reference to `dav1d_close'
collect2: error: ld returned 1 exit status
Makefile:25: recipe for target 'test' failed
make: *** [test] Error 1

With make all, the initial error is not finding libdav1d.a under build/dist/lib64 ... instead it is under build/dist/lib/ but once this is corrected in the makefile, the same linking error above shows.

To be honest I really don't know what this code is supposed to do but I am looking for a way to compare the performance of dav1d built to and run as wasm compared to being run natively and to do this outside of the browser. That is I'd like to run the wasm in node and collect some sort of performance number and compared that to the same code compiled and run natively on the same platform.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.