Skip to content

Commit

Permalink
Bug 1759324 - update libvpx to v1.11.0 r=bryce
Browse files Browse the repository at this point in the history
  • Loading branch information
johannkoenig committed Apr 11, 2022
1 parent 548e9a8 commit 1a131ba
Show file tree
Hide file tree
Showing 331 changed files with 21,165 additions and 20,142 deletions.
2 changes: 1 addition & 1 deletion CLOBBER
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.

Bug 1763783 - Update to ICU 71 requires clobber
Bug 1759324 - update libvpx to v1.11.0
2 changes: 1 addition & 1 deletion media/libvpx/README_MOZILLA
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ The libvpx git repository is:

https://chromium.googlesource.com/webm/libvpx

The git commit ID used was 7ec7a33a081aeeb53fed1a8d87e4cbd189152527
The git commit ID used was v1.11.0
8 changes: 4 additions & 4 deletions media/libvpx/config/vpx_version.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// This file is generated. Do not edit.
#define VERSION_MAJOR 1
#define VERSION_MINOR 8
#define VERSION_PATCH 2
#define VERSION_MINOR 11
#define VERSION_PATCH 0
#define VERSION_EXTRA ""
#define VERSION_PACKED ((VERSION_MAJOR<<16)|(VERSION_MINOR<<8)|(VERSION_PATCH))
#define VERSION_STRING_NOSP "v1.8.2"
#define VERSION_STRING " v1.8.2"
#define VERSION_STRING_NOSP "v1.11.0"
#define VERSION_STRING " v1.11.0"
2 changes: 2 additions & 0 deletions media/libvpx/libvpx/.mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Deb Mukherjee <[email protected]>
Elliott Karpilovsky <[email protected]>
Erik Niemeyer <[email protected]> <[email protected]>
Fyodor Kyslov <[email protected]>
Gregor Jasny <[email protected]>
Gregor Jasny <[email protected]> <[email protected]>
Guillaume Martres <[email protected]> <[email protected]>
Hangyu Kuang <[email protected]>
Hui Su <[email protected]>
Expand Down
17 changes: 17 additions & 0 deletions media/libvpx/libvpx/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Aaron Watry <[email protected]>
Abo Talib Mahfoodh <[email protected]>
Adam B. Goode <[email protected]>
Adrian Grange <[email protected]>
Ahmad Sharif <[email protected]>
Aidan Welch <[email protected]>
Expand All @@ -25,6 +26,8 @@ Angie Chiang <[email protected]>
Aron Rosenberg <[email protected]>
Attila Nagy <[email protected]>
Birk Magnussen <[email protected]>
Bohan Li <[email protected]>
Brian Foley <[email protected]>
Brion Vibber <[email protected]>
changjun.yang <[email protected]>
Charles 'Buck' Krasic <[email protected]>
Expand All @@ -33,8 +36,11 @@ Chi Yo Tsai <[email protected]>
chm <[email protected]>
Chris Cunningham <[email protected]>
Christian Duvivier <[email protected]>
Chunbo Hua <[email protected]>
Clement Courbet <[email protected]>
Daniele Castagna <[email protected]>
Daniel Kang <[email protected]>
Daniel Sommermann <[email protected]>
Dan Zhu <[email protected]>
Deb Mukherjee <[email protected]>
Deepa K G <[email protected]>
Expand Down Expand Up @@ -65,12 +71,14 @@ Han Shen <[email protected]>
Harish Mahendrakar <[email protected]>
Henrik Lundin <[email protected]>
Hien Ho <[email protected]>
Hirokazu Honda <[email protected]>
Hui Su <[email protected]>
Ivan Krasin <[email protected]>
Ivan Maltz <[email protected]>
Jacek Caban <[email protected]>
Jacky Chen <[email protected]>
James Berry <[email protected]>
James Touton <[email protected]>
James Yu <[email protected]>
James Zern <[email protected]>
Jan Gerber <[email protected]>
Expand All @@ -80,17 +88,22 @@ Jean-Yves Avenard <[email protected]>
Jeff Faust <[email protected]>
Jeff Muizelaar <[email protected]>
Jeff Petkau <[email protected]>
Jeremy Leconte <[email protected]>
Jerome Jiang <[email protected]>
Jia Jia <[email protected]>
Jian Zhou <[email protected]>
Jim Bankoski <[email protected]>
jinbo <[email protected]>
Jingning Han <[email protected]>
Joel Fernandes <[email protected]>
Joey Parrish <[email protected]>
Johann Koenig <[email protected]>
John Koleszar <[email protected]>
Johnny Klonaris <[email protected]>
John Stark <[email protected]>
Jonathan Wright <[email protected]>
Jon Kunkee <[email protected]>
Jorge E. Moreira <[email protected]>
Joshua Bleecher Snyder <[email protected]>
Joshua Litt <[email protected]>
Julia Robson <[email protected]>
Expand Down Expand Up @@ -125,6 +138,7 @@ Mirko Bonadei <[email protected]>
Moriyoshi Koizumi <[email protected]>
Morton Jonuschat <[email protected]>
Nathan E. Egge <[email protected]>
Neil Birkbeck <[email protected]>
Nico Weber <[email protected]>
Niveditha Rau <[email protected]>
Parag Salasakar <[email protected]>
Expand All @@ -137,6 +151,7 @@ Pengchong Jin <[email protected]>
Peter Boström <[email protected]>
Peter Collingbourne <[email protected]>
Peter de Rivaz <[email protected]>
Peter Kasting <[email protected]>
Philip Jägenstedt <[email protected]>
Priit Laes <[email protected]>
Rafael Ávila de Espíndola <[email protected]>
Expand Down Expand Up @@ -165,6 +180,7 @@ Shimon Doodkin <[email protected]>
Shiyou Yin <[email protected]>
Shubham Tandle <[email protected]>
Shunyao Li <[email protected]>
Sreerenj Balachandran <[email protected]>
Stefan Holmer <[email protected]>
Suman Sunkara <[email protected]>
Supradeep T R <[email protected]>
Expand All @@ -185,6 +201,7 @@ Vignesh Venkatasubramanian <[email protected]>
Vitaly Buka <[email protected]>
Vlad Tsyrklevich <[email protected]>
Wan-Teh Chang <[email protected]>
Wonkap Jang <[email protected]>
xiwei gu <[email protected]>
Yaowu Xu <[email protected]>
Yi Luo <[email protected]>
Expand Down
82 changes: 81 additions & 1 deletion media/libvpx/libvpx/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,83 @@
2021-09-27 v1.11.0 "Smew Duck"
This maintenance release adds support for VBR mode in VP9 rate control
interface, new codec controls to get quantization parameters and loop filter
levels, and includes several improvements to NEON and numerous bug fixes.

- Upgrading:
New codec control is added to get quantization parameters and loop filter
levels.

VBR mode is supported in VP9 rate control library.

- Enhancement:
Numerous improvements for Neon optimizations.
Code clean-up and refactoring.
Calculation of rd multiplier is changed with BDRATE gains.

- Bug fixes:
Fix to overflow on duration.
Fix to several instances of -Wunused-but-set-variable.
Fix to avoid chroma resampling for 420mpeg2 input.
Fix to overflow in calc_iframe_target_size.
Fix to disallow skipping transform and quantization.
Fix some -Wsign-compare warnings in simple_encode.
Fix input file path in simple_encode_test.
Fix valid range for under/over_shoot pct.

2021-03-09 v1.10.0 "Ruddy Duck"
This maintenance release adds support for darwin20 and new codec controls, as
well as numerous bug fixes.

- Upgrading:
New codec control is added to disable loopfilter for VP9.

New encoder control is added to disable feature to increase Q on overshoot
detection for CBR.

Configure support for darwin20 is added.

New codec control is added for VP9 rate control. The control ID of this
interface is VP9E_SET_EXTERNAL_RATE_CONTROL. To make VP9 use a customized
external rate control model, users will have to implement each callback
function in vpx_rc_funcs_t and register them using libvpx API
vpx_codec_control_() with the control ID.

- Enhancement:
Use -std=gnu++11 instead of -std=c++11 for c++ files.

- Bug fixes:
Override assembler with --as option of configure for MSVS.
Fix several compilation issues with gcc 4.8.5.
Fix to resetting rate control for temporal layers.
Fix to the rate control stats of SVC example encoder when number of spatial
layers is 1.
Fix to reusing motion vectors from the base spatial layer in SVC.
2 pass related flags removed from SVC example encoder.

2020-07-29 v1.9.0 "Quacking Duck"
This release adds support for NV12, a separate library for rate control, as
well as incremental improvements.

- Upgrading:
NV12 support is added to this release.
A new interface is added for VP9 rate control. The new library libvp9rc.a
must be linked by applications.
Googletest is updated to v1.10.0.
simple_encode.cc is compiled into a new library libsimple_encode.a with
CONFIG_RATE_CTRL.

- Enhancement:
Various changes to improve VP9 SVC, rate control, quality and speed to real
time encoding.

- Bug fixes:
Fix key frame update refresh simulcast flexible svc.
Fix to disable_16x16part speed feature for real time encoding.
Fix some signed integer overflows for VP9 rate control.
Fix initialization of delta_q_uv.
Fix condition in regulate_q for cyclic refresh.
Various fixes to dynamic resizing for VP9 SVC.

2019-12-09 v1.8.2 "Pekin Duck"
This release collects incremental improvements to many aspects of the library.

Expand Down Expand Up @@ -362,7 +442,7 @@
of particular interest to real time streaming applications.

Temporal scalability allows the encoder to produce a stream that can
be decimated to different frame rates, with independent rate targetting
be decimated to different frame rates, with independent rate targeting
for each substream.

Multiframe quality enhancement postprocessing can make visual quality
Expand Down
29 changes: 29 additions & 0 deletions media/libvpx/libvpx/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# How to Contribute

We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution;
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.

## Code reviews

All submissions, including submissions by project members, require review. We
use a [Gerrit](https://www.gerritcodereview.com) instance hosted at
https://chromium-review.googlesource.com for this purpose. See the
[WebM Project page](https://www.webmproject.org/code/contribute/submitting-patches/)
for additional details.

## Community Guidelines

This project follows
[Google's Open Source Community Guidelines](https://opensource.google.com/conduct/).
20 changes: 12 additions & 8 deletions media/libvpx/libvpx/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
README - 9 December 2019
README - 08 March 2021

Welcome to the WebM VP8/VP9 Codec SDK!

Expand All @@ -10,14 +10,14 @@ COMPILING THE APPLICATIONS/LIBRARIES:
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
* All Windows builds require that Cygwin[3] or MSYS2[4] be installed.
* Building the documentation requires Doxygen[5]. 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.
* Downloading the data for the unit tests requires curl[6] 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
source[7]. These requirements are optional if not running the unit
tests.

[1]: http://www.tortall.net/projects/yasm
Expand All @@ -26,9 +26,10 @@ COMPILING THE APPLICATIONS/LIBRARIES:
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/
[4]: http://www.msys2.org/
[5]: http://www.doxygen.org
[6]: http://curl.haxx.se
[7]: http://www.microbrew.org/tools/md5sha1sum/

2. Out-of-tree builds
Out of tree builds are a supported method of building the application. For
Expand Down Expand Up @@ -62,6 +63,7 @@ COMPILING THE APPLICATIONS/LIBRARIES:

arm64-android-gcc
arm64-darwin-gcc
arm64-darwin20-gcc
arm64-linux-gcc
arm64-win64-gcc
arm64-win64-vs15
Expand Down Expand Up @@ -112,6 +114,8 @@ COMPILING THE APPLICATIONS/LIBRARIES:
x86_64-darwin16-gcc
x86_64-darwin17-gcc
x86_64-darwin18-gcc
x86_64-darwin19-gcc
x86_64-darwin20-gcc
x86_64-iphonesimulator-gcc
x86_64-linux-gcc
x86_64-linux-icc
Expand Down
6 changes: 4 additions & 2 deletions media/libvpx/libvpx/args.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
#include "vpx/vpx_integer.h"
#include "vpx_ports/msvc.h"

#if defined(__GNUC__) && __GNUC__
extern void die(const char *fmt, ...) __attribute__((noreturn));
#if defined(__GNUC__)
__attribute__((noreturn)) extern void die(const char *fmt, ...);
#elif defined(_MSC_VER)
__declspec(noreturn) extern void die(const char *fmt, ...);
#else
extern void die(const char *fmt, ...);
#endif
Expand Down
4 changes: 4 additions & 0 deletions media/libvpx/libvpx/build/make/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ $(BUILD_PFX)%_avx512.c.o: CFLAGS += -mavx512f -mavx512cd -mavx512bw -mavx512dq -
$(BUILD_PFX)%_vsx.c.d: CFLAGS += -maltivec -mvsx
$(BUILD_PFX)%_vsx.c.o: CFLAGS += -maltivec -mvsx

# MIPS
$(BUILD_PFX)%_msa.c.d: CFLAGS += -mmsa
$(BUILD_PFX)%_msa.c.o: CFLAGS += -mmsa

$(BUILD_PFX)%.c.d: %.c
$(if $(quiet),@echo " [DEP] $@")
$(qexec)mkdir -p $(dir $@)
Expand Down
Loading

0 comments on commit 1a131ba

Please sign in to comment.