Skip to content
Mirror only. Please do not send pull requests.
C C++ Assembly Objective-C Makefile Shell Other
Branch: master
Clone or download

Latest commit

Angie Chiang Gerrit Code Review
Angie Chiang and Gerrit Code Review Merge "Refactor decode_api_test and realtime_test"
Latest commit 9c7e04a May 28, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build/make auto-detect darwin19 Mar 31, 2020
build_debug/non_greedy_mv_test_files Upload Motion Field Estimation Unit Test Files Aug 30, 2019
examples Merge changes Ib55d46e9,I4a4feeab May 11, 2020
test Merge "Refactor decode_api_test and realtime_test" May 28, 2020
third_party x86inc.asm: update to 3e5aed95c Apr 2, 2020
tools Add missing Copyright to python files Mar 16, 2020
vp8 Merge "Don't collect stats if they won't be used" May 12, 2020
vp9 Add functions to compute/observe key frame map May 27, 2020
vpx Remove unneeded null check for entry in for loop May 4, 2020
vpx_dsp simplify x86_abi_support.asm symbol declaration Apr 12, 2020
vpx_mem Merge "cosmetics: normalize include guards" Sep 18, 2018
vpx_ports simplify x86_abi_support.asm symbol declaration Apr 12, 2020
vpx_scale Reset buffer_alloc_sz after freeing buffer_alloc. Jan 14, 2019
vpx_util vpx_timestamp,gcd: assert params are positive Jan 22, 2020
.clang-format update .clang-format for version clang-7.0.1 update. Mar 29, 2019
.gitattributes always use lf for shell scripts Oct 29, 2019
.gitignore Work around ARM64 Windows SDK arm_neon.h quirk Nov 16, 2018
.mailmap Release v1.8.2 Pekin Duck Dec 9, 2019
AUTHORS Release v1.8.2 Pekin Duck Dec 9, 2019
CHANGELOG fix minor spelling errors Mar 12, 2020
LICENSE Update LICENSE to reflect WebM authors Nov 11, 2011
PATENTS PATENTS: fix a typo: constitutes -> constitute Apr 25, 2015
README auto-detect darwin19 Mar 31, 2020
args.c Cast strto[u]l down Sep 27, 2016
args.h cosmetics: normalize include guards Sep 15, 2018
codereview.settings update codereview.settings Apr 5, 2018
configure Fix mac build with vp9 ratectrl interface May 8, 2020
docs.mk configure: remove php test May 13, 2014
examples.mk move common attribute defs to compiler_attributes.h Feb 15, 2020
ivfdec.c Remove extra line in warnings in ivfdec.c May 10, 2018
ivfdec.h cosmetics: normalize include guards Sep 15, 2018
ivfenc.c Let SimpleEncode be able to output bitstream Feb 6, 2020
ivfenc.h Let SimpleEncode be able to output bitstream Feb 6, 2020
keywords.dox Initial WebM release May 18, 2010
libs.doxy_template remove obsolete doxygen tags Jan 24, 2018
libs.mk libs.mk,msvc: add missing vp9rc project May 7, 2020
mainpage.dox doxygen: fix --disable-examples Dec 13, 2018
md5_utils.c move common attribute defs to compiler_attributes.h Feb 15, 2020
md5_utils.h cosmetics: normalize include guards Sep 15, 2018
rate_hist.c rate_hist: add parameter validation Mar 23, 2017
rate_hist.h cosmetics: normalize include guards Sep 15, 2018
solution.mk Remove asm offset dependencies Nov 7, 2014
tools.mk add 10 and 12 bit to tiny_ssim Nov 13, 2017
tools_common.c Test decode and find mismatch in vp9 svc example encoder. Feb 12, 2019
tools_common.h Test decode and find mismatch in vp9 svc example encoder. Feb 12, 2019
usage.dox usage.dox: fix encoder/decoder subpage list indent Mar 14, 2015
usage_cx.dox doxygen: fix --disable-examples Dec 13, 2018
usage_dx.dox doxygen: fix --disable-examples Dec 13, 2018
video_common.h cosmetics: normalize include guards Sep 15, 2018
video_reader.c added error messages in vpx_video_reader_open(). Feb 14, 2019
video_reader.h cosmetics: normalize include guards Sep 15, 2018
video_writer.c added error logging to video_writer.c similar to video_reader.c May 29, 2019
video_writer.h cosmetics: normalize include guards Sep 15, 2018
vpxdec.c Fix argv leak on Unrecognized input file type err Dec 6, 2019
vpxenc.c vp8cx.h,vpxenc: add note about alt ref ranges Apr 29, 2019
vpxenc.h cosmetics: normalize include guards Sep 15, 2018
vpxstats.c top-level: apply clang-format Jul 19, 2016
vpxstats.h cosmetics: normalize include guards Sep 15, 2018
warnings.c top-level: apply clang-format Jul 19, 2016
warnings.h cosmetics: normalize include guards Sep 15, 2018
webmdec.cc webm_read_frame: avoid NULL dereference Apr 25, 2017
webmdec.h cosmetics: normalize include guards Sep 15, 2018
webmenc.cc webmenc: remove unused 'fps' parameter Sep 13, 2016
webmenc.h cosmetics: normalize include guards Sep 15, 2018
y4menc.c vpx_image: remove unused image formats Apr 9, 2018
y4menc.h cosmetics: normalize include guards Sep 15, 2018
y4minput.c vpx_image: remove unused image formats Apr 9, 2018
y4minput.h cosmetics: normalize include guards Sep 15, 2018

README

README - 9 December 2019

Welcome to the WebM VP8/VP9 Codec SDK!

COMPILING THE APPLICATIONS/LIBRARIES:
  The build system used is similar to autotools. Building generally consists of
  "configuring" with your desired build options, then using GNU make to build
  the application.

  1. Prerequisites

    * All x86 targets require the Yasm[1] assembler be installed[2].
    * All Windows builds require that Cygwin[3] be installed.
    * Building the documentation requires Doxygen[4]. If you do not
      have this package, the install-docs option will be disabled.
    * Downloading the data for the unit tests requires curl[5] and sha1sum.
      sha1sum is provided via the GNU coreutils, installed by default on
      many *nix platforms, as well as MinGW and Cygwin. If coreutils is not
      available, a compatible version of sha1sum can be built from
      source[6]. These requirements are optional if not running the unit
      tests.

    [1]: http://www.tortall.net/projects/yasm
    [2]: For Visual Studio the base yasm binary (not vsyasm) should be in the
         PATH for Visual Studio. For VS2017 it is sufficient to rename
         yasm-<version>-<arch>.exe to yasm.exe and place it in:
         Program Files (x86)/Microsoft Visual Studio/2017/<level>/Common7/Tools/
    [3]: http://www.cygwin.com
    [4]: http://www.doxygen.org
    [5]: http://curl.haxx.se
    [6]: http://www.microbrew.org/tools/md5sha1sum/

  2. Out-of-tree builds
  Out of tree builds are a supported method of building the application. For
  an out of tree build, the source tree is kept separate from the object
  files produced during compilation. For instance:

    $ mkdir build
    $ cd build
    $ ../libvpx/configure <options>
    $ make

  3. Configuration options
  The 'configure' script supports a number of options. The --help option can be
  used to get a list of supported options:
    $ ../libvpx/configure --help

  4. Compiler analyzers
  Compilers have added sanitizers which instrument binaries with information
  about address calculation, memory usage, threading, undefined behavior, and
  other common errors. To simplify building libvpx with some of these features
  use tools/set_analyzer_env.sh before running configure. It will set the
  compiler and necessary flags for building as well as environment variables
  read by the analyzer when testing the binaries.
    $ source ../libvpx/tools/set_analyzer_env.sh address

  5. Cross development
  For cross development, the most notable option is the --target option. The
  most up-to-date list of supported targets can be found at the bottom of the
  --help output of the configure script. As of this writing, the list of
  available targets is:

    arm64-android-gcc
    arm64-darwin-gcc
    arm64-linux-gcc
    arm64-win64-gcc
    arm64-win64-vs15
    armv7-android-gcc
    armv7-darwin-gcc
    armv7-linux-rvct
    armv7-linux-gcc
    armv7-none-rvct
    armv7-win32-gcc
    armv7-win32-vs14
    armv7-win32-vs15
    armv7s-darwin-gcc
    armv8-linux-gcc
    mips32-linux-gcc
    mips64-linux-gcc
    ppc64le-linux-gcc
    sparc-solaris-gcc
    x86-android-gcc
    x86-darwin8-gcc
    x86-darwin8-icc
    x86-darwin9-gcc
    x86-darwin9-icc
    x86-darwin10-gcc
    x86-darwin11-gcc
    x86-darwin12-gcc
    x86-darwin13-gcc
    x86-darwin14-gcc
    x86-darwin15-gcc
    x86-darwin16-gcc
    x86-darwin17-gcc
    x86-iphonesimulator-gcc
    x86-linux-gcc
    x86-linux-icc
    x86-os2-gcc
    x86-solaris-gcc
    x86-win32-gcc
    x86-win32-vs14
    x86-win32-vs15
    x86-win32-vs16
    x86_64-android-gcc
    x86_64-darwin9-gcc
    x86_64-darwin10-gcc
    x86_64-darwin11-gcc
    x86_64-darwin12-gcc
    x86_64-darwin13-gcc
    x86_64-darwin14-gcc
    x86_64-darwin15-gcc
    x86_64-darwin16-gcc
    x86_64-darwin17-gcc
    x86_64-darwin18-gcc
    x86_64-darwin19-gcc
    x86_64-iphonesimulator-gcc
    x86_64-linux-gcc
    x86_64-linux-icc
    x86_64-solaris-gcc
    x86_64-win64-gcc
    x86_64-win64-vs14
    x86_64-win64-vs15
    x86_64-win64-vs16
    generic-gnu

  The generic-gnu target, in conjunction with the CROSS environment variable,
  can be used to cross compile architectures that aren't explicitly listed, if
  the toolchain is a cross GNU (gcc/binutils) toolchain. Other POSIX toolchains
  will likely work as well. For instance, to build using the mipsel-linux-uclibc
  toolchain, the following command could be used (note, POSIX SH syntax, adapt
  to your shell as necessary):

    $ CROSS=mipsel-linux-uclibc- ../libvpx/configure

  In addition, the executables to be invoked can be overridden by specifying the
  environment variables: CC, AR, LD, AS, STRIP, NM. Additional flags can be
  passed to these executables with CFLAGS, LDFLAGS, and ASFLAGS.

  6. Configuration errors
  If the configuration step fails, the first step is to look in the error log.
  This defaults to config.log. This should give a good indication of what went
  wrong. If not, contact us for support.

VP8/VP9 TEST VECTORS:
  The test vectors can be downloaded and verified using the build system after
  running configure. To specify an alternate directory the
  LIBVPX_TEST_DATA_PATH environment variable can be used.

  $ ./configure --enable-unit-tests
  $ LIBVPX_TEST_DATA_PATH=../libvpx-test-data make testdata

CODE STYLE:
  The coding style used by this project is enforced with clang-format using the
  configuration contained in the .clang-format file in the root of the
  repository.

  Before pushing changes for review you can format your code with:
  # Apply clang-format to modified .c, .h and .cc files
  $ clang-format -i --style=file \
    $(git diff --name-only --diff-filter=ACMR '*.[hc]' '*.cc')

  Check the .clang-format file for the version used to generate it if there is
  any difference between your local formatting and the review system.

  See also: http://clang.llvm.org/docs/ClangFormat.html

SUPPORT
  This library is an open source project supported by its community. Please
  email webm-discuss@webmproject.org for help.

You can’t perform that action at this time.