2015-11-12 11:37:51 +03:00
|
|
|
This directory contains files used in gecko builds from FFmpeg
|
2015-12-03 16:43:47 +03:00
|
|
|
(http://ffmpeg.org). The current files are from FFmpeg as of
|
2016-11-22 05:40:10 +03:00
|
|
|
revision n3.2-65-gee56777
|
2015-11-12 11:37:51 +03:00
|
|
|
All source files match their path from the library's source archive.
|
|
|
|
|
|
|
|
Currently, we only use the vp8 and vp9 portion of the library, and only on x86
|
|
|
|
based platforms. If this changes, configuration files will most likely
|
|
|
|
need to be updated.
|
2015-11-17 09:47:36 +03:00
|
|
|
|
2016-02-16 04:05:12 +03:00
|
|
|
AVX2 must be disabled on Linux due to the use of yasm 1.1 on the build bots.
|
2015-11-17 09:47:36 +03:00
|
|
|
Once yasm is upgraded to 1.2 or later, AVX2 code could be re-enabled.
|
2016-02-16 04:05:12 +03:00
|
|
|
Add --disable-avx2 to configure on those platforms.
|
2015-12-03 16:44:57 +03:00
|
|
|
|
|
|
|
configuration files were generated as follow using the configure script:
|
2016-02-16 04:05:12 +03:00
|
|
|
./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --enable-parser=vp8 --enable-parser=vp9 --enable-decoder=vp8 --enable-decoder=vp9 --disable-static --enable-shared --disable-debug --disable-sdl --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-videotoolbox --enable-asm --enable-yasm
|
2015-12-03 16:44:57 +03:00
|
|
|
|
2016-04-09 13:48:50 +03:00
|
|
|
config*:
|
|
|
|
replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d
|
|
|
|
|
2015-12-03 16:44:57 +03:00
|
|
|
config_darwin32.h:
|
|
|
|
add to configure command: --disable-asm --disable-yasm --cc='clang -m32'
|
|
|
|
|
|
|
|
config_unix32.h:
|
|
|
|
add to configure command: --disable-asm --disable-yasm --cc='clang -m32'
|
|
|
|
replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0/ and s/HAVE_MEMALIGN 1/HAVE_MEMALIGN 0/ and s/HAVE_POSIX_MEMALIGN 1/HAVE_POSIX_MEMALIGN 0/
|
|
|
|
|
|
|
|
|
|
|
|
config_unix64.h/config_unix64.asm:
|
|
|
|
replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0
|
|
|
|
|
|
|
|
config_win32/64.h/asm:
|
|
|
|
add to configure command: --toolchain=msvc
|
2016-10-06 18:41:27 +03:00
|
|
|
|
|
|
|
23 Sept 2016: libavcodec/pthread_frame.c has been patched so as to avoid
|
|
|
|
generating large numbers of warnings from TSan (Thread Sanitizer) when
|
|
|
|
decoding vp9 streams. This will likely be fixed upstream sometime soon.
|
|
|
|
When resyncing with upstream, first un-apply the patch shown at
|
|
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1274256#c60, then resync,
|
|
|
|
then assess whether the patch is still necessary.
|