pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/libavif
Module Name: pkgsrc
Committed By: adam
Date: Mon Jul 22 15:01:59 UTC 2024
Modified Files:
pkgsrc/graphics/libavif: Makefile PLIST distinfo
Log Message:
libavif: updated to 1.1.0
v1.1.0
Added
Add experimental API for reading and writing gain maps in AVIF files.
If enabled at compile time, add gainMap field to avifImage,
add qualityGainMap field to avifEncoder, add gainMapPresent,
enableDecodingGainMap, enableParsingGainMapMetadata and
ignoreColorAndAlpha to avifDecoder.
Utility functions for working with gain maps are also added.
Gain maps allow readers that support them to display HDR images that look
good on both HDR and SDR displays.
This feature is highly experimental. The API might change or be removed
in the future. Files created now might not decode in a future version.
This feature is off by default and must be enabled with the
AVIF_ENABLE_EXPERIMENTAL_GAIN_MAP compilation flag.
Add experimental support for converting jpeg files with gain maps to AVIF
files with gain maps. Requires libxml2, and the AVIF_ENABLE_EXPERIMENTAL_GAIN_MAP
compilation flag.
Add a --qgain-map flag to control the gain map quality in avifenc.
Add the headerFormat member of new type avifHeaderFormat to avifEncoder.
Add experimental API for reading and writing "mif3"-branded AVIF files
behind the compilation flag AVIF_ENABLE_EXPERIMENTAL_METAV1.
Implement avifImageScale() fallback when libyuv is not available.
Partial import of libyuv to third_party/libyuv (new LICENSE).
Add avifenc flag suffixes ":update" and ":u". Quality-relative,
tiling-relative and codec-specific flags can now be positional, relative to
input files.
Add experimental support for layered AVIF encoding in avifenc.
Use the --layered flag to enable layered AVIF encoding.
Layered AVIF has multiple layers, which works like frame of animated AVIF,
and layers can be rendered in progressive manner on supported viewers
(e.g. Chrome 94 or newer).
Only aom supports layered AVIF encoding at the time of writing.
Add --scaling-mode flag to set scaling mode of each layer.
This part of AV1 encoder is not as thoroughly tested, so there are higher
possibility encoder may crash when given certain configuration or input.
Add imageSequenceTrackPresent flag to the avifDecoder struct.
avifImageScale() function was made part of the public ABI.
Add avif_cxx.h as a C++ header with basic functionality.
Add enum aliases AVIF_COLOR_PRIMARIES_SRGB, AVIF_COLOR_PRIMARIES_BT2100,
AVIF_COLOR_PRIMARIES_DCI_P3, AVIF_TRANSFER_CHARACTERISTICS_PQ.
Add avifResult enum entry AVIF_RESULT_INTERNAL_ERROR.
Require libyuv by default (but it can still be disabled with
-DAVIF_LIBYUV=OFF).
Add avifdec --icc flag to override the output color profile.
Add experimental API for reading and writing 16-bit AVIF files behind the
compilation flag AVIF_ENABLE_EXPERIMENTAL_SAMPLE_TRANSFORM.
Add AVIF_CHROMA_SAMPLE_POSITION_RESERVED to avifChromaSamplePosition enum.
Changed
Update aom.cmd: v3.9.1
Update avm.cmd: research-v7.0.1
Update dav1d.cmd: 1.4.3
Update libgav1.cmd: v0.19.0
Update libjpeg.cmd: v3.0.3
Update libxml2.cmd: v2.12.7
Update libyuv.cmd: a6a2ec65
Update mp4box.sh: v2.4.0
Update rav1e.cmd: v0.7.1
Update svt.cmd/svt.sh: v2.1.1
Update zlibpng.cmd: zlib 1.3.1 and libpng 1.6.40
AVIF sequences encoded by libavif will now also have the "avio" brand when
there is at least one track made only of AV1 keyframes.
Fix SVT-AV1 codec interface which was not setting video range at encoding.
Any item ID being 0 in an "iref" box with version 0 or 1 is now treated as an
error instead of being ignored.
API calls now return AVIF_RESULT_OUT_OF_MEMORY instead of aborting on memory
allocation failure.
avifdec and avifenc: Change the default value of the --jobs option from 1 to
"all".
Update avifCropRectConvertCleanApertureBox() to the revised requirements in
ISO/IEC 23000-22:2019/Amd. 2:2021 Section 7.3.6.7.
AVIF files with an exif_tiff_header_offset pointing at another byte than the
first II or MM tag in the Exif metadata payload will now fail to be decoded.
Set decoder->ignoreExif to true to skip the issue and decode the image.
Fix memory errors reported in crbug.com/1501766, crbug.com/1501770, and
crbug.com/1504792 by Fudan University.
For codecs, AVIF_CODEC_* and AVIF_LOCAL_* are now merged into AVIF_CODEC_*
that can only take the values: OFF, LOCAL or SYSTEM.
For the gtest, jpeg, libsharpyuv, libxml2, libyuv and zlibpng dependencies,
AVIF_LOCAL_* is now replaced by flags AVIF_* that can take the values:
OFF, LOCAL or SYSTEM.
src/reformat.c: Allocate the threadData array directly.
AVIF_ENABLE_WERROR is set to OFF by default.
Fix wrong alpha plane deallocation when decoded tile pixel format does not
match reconstructed output image pixel format (b/320234262).
Fix identical chunk skipping optimization when writing animation data
(b/321189607).
Fix ID selection for artificial grid alpha item when decoding a grid of tiles
which each have an associated auxiliary alpha image item
(https://crbug.com/oss-fuzz/65657).
ext/libjpeg.cmd now pulls libjpeg-turbo instead of libjpeg and AVIF_JPEG=LOCAL
now expects the library dependency in ext/libjpeg-turbo/build.libavif.
Fix 'iloc' box parsing bugs that may have wrongly accepted, rejected or parsed
some files with rare values of offset_size, length_size, base_offset_size and
index_size.
'infe' boxes with an item_type different from 'mime' and without a
null-terminated item_name are now considered invalid as per ISO/IEC 14496-12.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/libavif/Makefile \
pkgsrc/graphics/libavif/PLIST pkgsrc/graphics/libavif/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/libavif/Makefile
diff -u pkgsrc/graphics/libavif/Makefile:1.1 pkgsrc/graphics/libavif/Makefile:1.2
--- pkgsrc/graphics/libavif/Makefile:1.1 Fri Jan 5 11:14:02 2024
+++ pkgsrc/graphics/libavif/Makefile Mon Jul 22 15:01:59 2024
@@ -1,26 +1,25 @@
-# $NetBSD: Makefile,v 1.1 2024/01/05 11:14:02 nros Exp $
+# $NetBSD: Makefile,v 1.2 2024/07/22 15:01:59 adam Exp $
-DISTNAME= libavif-1.0.3
+DISTNAME= libavif-1.1.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=AOMediaCodec/}
-GITHUB_TAG= refs/tags/v${PKGVERSION_NOREV}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/AOMediaCodec/libavif/
+HOMEPAGE= https://github.com/AOMediaCodec/libavif
COMMENT= AV1 image file format library
LICENSE= 2-clause-bsd
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
+USE_CC_FEATURES= c99
USE_LANGUAGES= c c++
-USE_CC_FEATURES+= c99
+USE_TOOLS+= pkg-config
CMAKE_CONFIGURE_ARGS+= -DAVIF_CODEC_AOM=SYSTEM
CMAKE_CONFIGURE_ARGS+= -DAVIF_ENABLE_WERROR=OFF
+CMAKE_CONFIGURE_ARGS+= -DAVIF_LIBYUV=OFF
PKGCONFIG_OVERRIDE= libavif.pc.cmake
.include "../../devel/cmake/build.mk"
-
.include "../../multimedia/libaom/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/libavif/PLIST
diff -u pkgsrc/graphics/libavif/PLIST:1.1 pkgsrc/graphics/libavif/PLIST:1.2
--- pkgsrc/graphics/libavif/PLIST:1.1 Fri Jan 5 11:14:02 2024
+++ pkgsrc/graphics/libavif/PLIST Mon Jul 22 15:01:59 2024
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2024/01/05 11:14:02 nros Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/07/22 15:01:59 adam Exp $
include/avif/avif.h
+include/avif/avif_cxx.h
lib/cmake/libavif/libavif-config-noconfig.cmake
lib/cmake/libavif/libavif-config-version.cmake
lib/cmake/libavif/libavif-config.cmake
lib/libavif.so
lib/libavif.so.16
-lib/libavif.so.16.0.3
+lib/libavif.so.16.1.0
lib/pkgconfig/libavif.pc
Index: pkgsrc/graphics/libavif/distinfo
diff -u pkgsrc/graphics/libavif/distinfo:1.1 pkgsrc/graphics/libavif/distinfo:1.2
--- pkgsrc/graphics/libavif/distinfo:1.1 Fri Jan 5 11:14:02 2024
+++ pkgsrc/graphics/libavif/distinfo Mon Jul 22 15:01:59 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2024/01/05 11:14:02 nros Exp $
+$NetBSD: distinfo,v 1.2 2024/07/22 15:01:59 adam Exp $
-BLAKE2s (libavif-1.0.3.tar.gz) = eca511c2f41c0eb3282f3b5dadc8d0eda77df6d5c9a5cd9c6a442626b26fd2b2
-SHA512 (libavif-1.0.3.tar.gz) = b713f35fd3e54e105e16f46012becdada86f522b4ed8ab7097a93fd437524b4f2c997c42d6f06828f93b53253b1d90302417afdb0bd8e09d176f64f19c7a0faa
-Size (libavif-1.0.3.tar.gz) = 10573846 bytes
+BLAKE2s (libavif-1.1.0.tar.gz) = 501f9995496365ca9b82e0abef3dad73f3c473d900b2fdd7b88ff85a3b1c1861
+SHA512 (libavif-1.1.0.tar.gz) = b1a7d69ef4019ff99a04396f4b0912c359e4dc50b292607ad88c7bf3035750b9b6fb52463fe210e9a476bd88de8920a2b16d405c08ce2c489fbbf6a79bc3b7f6
+Size (libavif-1.1.0.tar.gz) = 13642536 bytes
Home |
Main Index |
Thread Index |
Old Index