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

feature: add WebAssembly basic support #130

Merged
merged 13 commits into from
Oct 30, 2024
Merged

Commits on Oct 27, 2024

  1. Enable wasm support using emscripten.

    * Use conditional compile in cpp and cmake to allow other cross-compiling
    * Some tests and executables are disabled, and no demo are added in this commit.
    * Rename `s_bmf_last_error` in `bmf_capi_cpp` due to duplicate symbols.
    * Provide with a `build_wasm.sh` script to build the whole bmf with emscripten. However, user still need to build ffmpeg in wasm manually.
    
    Signed-off-by: ruiqurm <[email protected]>
    ruiqurm committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    a9a90f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02533aa View commit details
    Browse the repository at this point in the history
  3. Using share memory to register modules.

    Signed-off-by: ruiqurm <[email protected]>
    ruiqurm committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    c0551e9 View commit details
    Browse the repository at this point in the history
  4. Find x264 library in advance.

    Signed-off-by: ruiqurm <[email protected]>
    ruiqurm committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    69ba2e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. update building scripte

    ruiqurm committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f44419a View commit details
    Browse the repository at this point in the history
  2. add two demos.

    ruiqurm committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    761fb3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0bbce71 View commit details
    Browse the repository at this point in the history
  4. add wasm ffmpeg build script

    ruiqurm committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    52f836b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f24bf4 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    3de5f34 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2261b07 View commit details
    Browse the repository at this point in the history
  3. declare the s_bmf_last_error as extern so that it can be link tog…

    …ether when static linking
    ruiqurm committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    63bc983 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0b500e6 View commit details
    Browse the repository at this point in the history