"Fossies" - the Fresh Open Source Software Archive

Member "firefox-69.0.1/media/ffvpx/README_MOZILLA" (17 Sep 2019, 3695 Bytes) of package /linux/www/firefox-69.0.1.source.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "README_MOZILLA": 60.7.2_vs_68.0.

    1 This directory contains files used in gecko builds from FFmpeg
    2 (http://ffmpeg.org). The current files are from FFmpeg as of
    3 revision n4.0.2-6-g2be51cbeea
    4 All source files match their path from the library's source archive.
    5 
    6 Currently, we only use the vp8 and vp9 portion of the library, and only on x86
    7 based platforms. If this changes, configuration files will most likely
    8 need to be updated.
    9 
   10 AVX2 must be disabled on Linux 32 bits due to the use of yasm 1.1 on the build bots.
   11 Once yasm is upgraded to 1.2 or later, AVX2 code could be re-enabled.
   12 Add --disable-avx2 to configure on those platforms.
   13 
   14 configuration files were generated as follow using the configure script:
   15 ./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-sdl2 --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vdpau --disable-videotoolbox --enable-decoder=flac --enable-asm --enable-x86asm --disable-cuvid --disable-cuda
   16 
   17 config*:
   18 replace: /HAVE_(MALLOC_H|ARC4RANDOM|LOCALTIME_R|MEMALIGN|POSIX_MEMALIGN)/d
   19 
   20 config_unix32.h:
   21 add to configure command: --disable-asm --disable-x86asm --cc='clang -m32'
   22 
   23 config_android.h:
   24 ./configure --disable-everything --disable-protocols --disable-demuxers --disable-muxers --disable-filters --disable-programs --disable-doc --disable-parsers --disable-static --enable-shared --disable-debug --disable-sdl2 --disable-libxcb --disable-securetransport --disable-iconv --disable-swresample --disable-swscale --disable-avdevice --disable-avfilter --disable-avformat --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vdpau --disable-videotoolbox --enable-decoder=flac --disable-asm --disable-cuvid --disable-cuda --cross-prefix=~/.mozbuild/android-ndk-r15c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --target-os=linux --arch=arm --enable-cross-compile --sysroot=~/.mozbuild/android-ndk-r15c/platforms/android-24/arch-arm
   25 
   26 config_unix32.h/config_unix64.h/config_unix64.asm:
   27 replace: s/HAVE_SYSCTL 1/HAVE_SYSCTL 0
   28 
   29 config_win32/64.h/asm:
   30 add to configure command: --toolchain=msvc
   31 
   32 Regenerate defaults_disabled.{h,asm} with:
   33 $ grep -E ".*_(INDEV|OUTDEV|DECODER|ENCODER|DEMUXER|MUXER|PARSER|FILTER|HWACCEL|PROTOCOL|ENCODERS|DECODERS|HWACCELS|INDEVS|OUTDEVS|FILTERS|DEMUXERS|MUXERS|PROTOCOLS|BSF) 0" config.h | sort -u > ~/Work/Mozilla/mozilla-central/media/ffvpx/defaults_disabled.h
   34 $ grep -E ".*_(INDEV|OUTDEV|DECODER|ENCODER|DEMUXER|MUXER|PARSER|FILTER|HWACCEL|PROTOCOL|ENCODERS|DECODERS|HWACCELS|INDEVS|OUTDEVS|FILTERS|DEMUXERS|MUXERS|PROTOCOLS|BSF) 0" config.asm | sort -u > ~/Work/Mozilla/mozilla-central/media/ffvpx/defaults_disabled.asm
   35 
   36 All new decoders/muxers/encoders/... should be added in the list of dummy functions found in libavcodec/dummy_funcs.c
   37 otherwise linkage will fail on Windows. On other platforms they are optimised out and aren't necessary.
   38 The GNU comm utility is a useful tool to compare and extract only the changes.
   39 
   40 To update the source tree, perform a diff on the files listed in FILES.
   41 The diffs should typically apply to the ffvpx tree.
   42 e.g. something like this would do:
   43 Run in the ffmpeg original tree:
   44 $ for i in `cat $PATH_CENTRAL/media/ffvpx/FILES`; do git diff $REV_LASTSYNC HEAD >> patch.diff; done
   45 Then apply patch.diff on the ffvpx tree.
   46 
   47 Compilation will reveal if any files are missing.