openh264/codec/common
Brion Vibber 522639f768 Allow compilation to JavaScript via emscripten
Currently the emscripten JavaScript environment for C/C++ programs
cannot do multithreading, and doesn't have a sysctl implementation
to get hardware CPU count. Hardcode to 1.

Using the Linux OS settings works, so not adding a platform file.

To build with emscripten (tested 1.30.0):

  emmake make OS=emscripten ARCH=asmjs

The resulting libopenh264.so is LLVM bitcode which can be further
linked into an emscripten project for final JavaScript output.
2015-07-03 03:15:40 -07:00
..
arm Remove unnecessary double spaces and tabs in ifdef directives 2015-04-29 15:34:38 +03:00
arm64 Fix the NEON register restoring in McHorVer30WidthEq8_AArch64_neon 2015-06-11 21:30:40 +03:00
inc Convert tabs to spaces before comments 2015-06-10 10:22:29 +03:00
src Allow compilation to JavaScript via emscripten 2015-07-03 03:15:40 -07:00
x86 Move DEFAULT REL into the x86_64 cases 2015-02-02 00:49:37 +02:00
generate_version.sh More fixes for out-of-tree build: 2015-05-29 14:57:07 +02:00
targets.mk Move the memory allocation/deallocation routines to the common library 2015-01-30 11:30:59 +02:00