Commit 4b390bd6 authored by Jan Beich's avatar Jan Beich
Browse files

multimedia/svt-av1: update to 4.0.0

parent 480ede01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
PORTNAME=	libavif
PORTVERSION=	1.3.0
DISTVERSIONPREFIX=	v
PORTREVISION=	2
PORTREVISION=	3
CATEGORIES=	graphics

MAINTAINER=	sunpoet@FreeBSD.org
+16 −0
Original line number Diff line number Diff line
https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/v4.0.0/.gitlab/workflows/linux/0002-svt-av1-fix-aq_mode.patch

--- src/codec_svt.c.orig	2025-05-09 16:21:14 UTC
+++ src/codec_svt.c
@@ -162,7 +162,11 @@ static avifResult svtCodecEncodeImage(avifCodec * code
 #else
         svt_config->logical_processors = encoder->maxThreads;
 #endif
+#if SVT_AV1_CHECK_VERSION(4, 0, 0)
+        svt_config->aq_mode = 2;
+#else
         svt_config->enable_adaptive_quantization = 2;
+#endif
         // disable 2-pass
 #if SVT_AV1_CHECK_VERSION(0, 9, 0)
         svt_config->rc_stats_buffer = (SvtAv1FixedBuf) { NULL, 0 };
+5 −0
Original line number Diff line number Diff line
PORTNAME=	libheif
DISTVERSION=	1.21.2
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/

PATCH_SITES=	https://github.com/strukturag/${PORTNAME}/commit/
PATCHFILES+=	61923302d12f.patch:-p1 # https://github.com/strukturag/libheif/pull/1680
PATCHFILES+=	f9919e348689.patch:-p1 # https://github.com/strukturag/libheif/pull/1680

MAINTAINER=	makc@FreeBSD.org
COMMENT=	ISO/IEC 23008-12:2017 HEIF file format de- and encoder
WWW=		https://github.com/strukturag/libheif
+5 −1
Original line number Diff line number Diff line
TIMESTAMP = 1768676876
TIMESTAMP = 1769288759
SHA256 (libheif-1.21.2.tar.gz) = 75f530b7154bc93e7ecf846edfc0416bf5f490612de8c45983c36385aa742b42
SIZE (libheif-1.21.2.tar.gz) = 1859435
SHA256 (61923302d12f.patch) = 1a45ec9118a0132650324f79f2163281da9072fad28d506a5771938300aa261d
SIZE (61923302d12f.patch) = 991
SHA256 (f9919e348689.patch) = ea5c62cf3cbd75faab729458d26899f7ed1b5dc8f48b71093c69c0c9a97c71eb
SIZE (f9919e348689.patch) = 2340
+1 −1
Original line number Diff line number Diff line
PORTNAME=	ffmpeg
DISTVERSION=	8.0.1
PORTREVISION=	1
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	multimedia audio net
MASTER_SITES=	https://ffmpeg.org/releases/
Loading