Skip to content

Commit

Permalink
svt-av1: update to 2.3.0.
Browse files Browse the repository at this point in the history
## [2.3.0] - 2024-10-28

API updates
- Preset shift: M12/M13 mapped to M11, M7-M11 shifted one position down. API does not change, all presets from MR-M13 will still be accepted
- svt_av1_enc_get_packet API is now a blocking call for low-delay enforcing a picture in, picture out model
- --fast-decode range changed from 0-1 to 0-2 available on all presets
- Introducing a new definition of --lp being levels of parallelism with a new field in the config structure level_of_parallelism
- logical_processors will be deprecated in the 3.0 release

Encoder
- NEW FAST DECODE MODE - (!2280)
-  New fast-decode (2) to allow for an average AV1 software cycle reduction of 25-50% vs fast-decode 0 with a 1-3% BD-Rate loss across the presets
-  Improved fast-decode (1) option to increase its AV1 software cycle reduction by ~10% while maintaining the same quality levels
- Improved --lp settings for high resolutions, with CRF gaining a ~4% improvement in speed and VBR gaining ~15% (!2323)
- Further Arm-based optimizations improving the efficiency of previously written Arm-neon implementations by an average of 30%. See below for more information on specific presets
- Address speed regressions for high resolutions first pass encode by tuning the threading parameters, with 1080p showing the biggest gains
- Enabled AVX512 by default in cmake allowing for ~2-4% speedup
- Enabled LTO by default if using a new enough compiler (!2288, !2305)
  - If LTO is a problem or causes one, it can be disabled by adding -DSVT_AV1_LTO=OFF to cmake to force it off.
  - Please report any issues that occur when using it.

Cleanup Build and bug fixes and documentation
- third_party: update safestringlib with applicable upstream changes
- Improved the unit test coverage for Arm-neon code
- Updated documentation

Arm Improvements

- Speed comparison was done against v2.2 on AWS Graviton4 instances with Clang 19.1.1
- `--lp 1` was used for all tests

Standard bitdepth (Bosphorus 1080p):

| Preset                        | Uplift |
|-------------------------------|--------|
| 0                             | 1.15x  |
| 1                             | 1.24x  |
| 2                             | 1.29x  |
| 3                             | 1.17x  |
| 4                             | 1.22x  |
| 5                             | 1.31x  |
| 6                             | 1.40x  |
| 7 (against 2.2 preset 8)      | 1.50x  |
| 8 (against 2.2 preset 9)      | 1.61x  |
| 9 (against 2.2 preset 10      | 1.31x  |
| 10 (against 2.2 preset 11 )   | 1.29x  |
| 11 (against 2.2 preset 12/13) | 1.24x  |

High bitdepth (Bosphorus 2160p):

| Preset                        | Uplift |
|-------------------------------|--------|
| 0                             | 1.18x  |
| 1                             | 1.19x  |
| 2                             | 1.16x  |
| 3                             | 1.27x  |
| 4                             | 1.33x  |
| 5                             | 1.27x  |
| 6                             | 1.33x  |
| 7 (against 2.2 preset 8)      | 1.35x  |
| 8 (against 2.2 preset 9)      | 1.82x  |
| 9 (against 2.2 preset 10)     | 1.95x  |
| 10 (against 2.2 preset 11)    | 1.40x  |
| 11 (against 2.2 preset 12/13) | 1.35x  |
  • Loading branch information
0-wiz-0 committed Nov 1, 2024
1 parent dd0175f commit 0df285a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions multimedia/svt-av1/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2024/08/21 17:21:44 wiz Exp $
# $NetBSD: Makefile,v 1.9 2024/11/01 08:05:44 wiz Exp $

DISTNAME= svt-av1-2.2.0
DISTNAME= svt-av1-2.3.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITLAB:=AOMediaCodec/}
EXTRACT_SUFX= .tar.bz2
Expand Down
8 changes: 4 additions & 4 deletions multimedia/svt-av1/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.9 2024/09/04 11:59:05 jperkin Exp $
$NetBSD: distinfo,v 1.10 2024/11/01 08:05:44 wiz Exp $

BLAKE2s (svt-av1-2.2.0.tar.bz2) = 117be7c2c78e43a7f1f17566aa375205d788d56384e035b42c490c19b096f511
SHA512 (svt-av1-2.2.0.tar.bz2) = 19756950f0bf4c16d4bafbcb3c96918e036c65649cf6d62bf823e62cf62dcffdca30a9944cc121a6645dbffa0b1498c7b052f17f0552d3e3db976ecf1ec88cd0
Size (svt-av1-2.2.0.tar.bz2) = 11793980 bytes
BLAKE2s (svt-av1-2.3.0.tar.bz2) = a2c7cfe255975a916f358e21d335d54a9c7b8a6b76bd3349566ed02a76291b89
SHA512 (svt-av1-2.3.0.tar.bz2) = 943fb21ef1d9fb3bc3b6ce2c0180c4ce109be76c1a6d703b39eba8b94322fdc99b2f0c101cc6cd839e0c9bfea57dd161c1f10958c84fff10392767b6e1118b85
Size (svt-av1-2.3.0.tar.bz2) = 10168419 bytes
SHA1 (patch-CMakeLists.txt) = c9bf8c9628c51b63f9455706400e348faebd6ba0
SHA1 (patch-Source_App_app__config.c) = e12eb168735cc99d7c72d5d9ae29650d3f9fc9e7
SHA1 (patch-Source_App_app__config.h) = e27dcd0af9494be4a400b025780b4058c2deb9a9
Expand Down

0 comments on commit 0df285a

Please sign in to comment.