Saturday, April 23, 2022

UPDATE: libavif 0.10.1

Here is an update to libavif 0.10.1.


## [0.10.1] - 2022-04-11

### Changed
* tests/docker/build.sh: Build SVT-AV1 using cmake and ninja directly
* Fix a Visual Studio 2017 compiler warning in src\reformat.c: warning C4204:
nonstandard extension used: non-constant aggregate initializer
* Fix the help message of avifdec: --index takes a value

## [0.10.0] - 2022-04-06

There is an incompatible ABI change in this release. New members were added to
the avifDecoder and avifRGBImage structs. It is necessary to recompile your
code.

### Added
* Support F16 Half Float conversion in avifRGBImage: new isFloat member
* Incremental decoding of AVIF grid tiles: new allowIncremental member in
avifDecoder and new avifDecoderDecodedRowCount() function
* Support parsing of version 3 of ItemInfoEntry
* Add new avifResult code AVIF_RESULT_OUT_OF_MEMORY
* Document the "[Strict]" prefix in error strings
* Document that SVT-AV1 doesn't support lossless yet
* CI: Add CIFuzz integration
* Add Docker build CI pipeline
* Add SVT-AV1 to CI and build scripts
* ci.yml: Build examples and apps

### Changed
* Print the item type in the diagnostic messages for missing mandatory av1C or
pixi property
* Update aom.cmd: v3.3.0
* Update dav1d.cmd: 1.0.0
* Update libgav1.cmd: 0.17.0
* Update rav1e.cmd: 0.5.0
* Update svt.cmd/svt.sh: v0.9.1
* Update zlibpng.cmd: zlib v1.2.12
* findrav1e: add LDFLAGS to LIBRARIES
* rav1e: add bcrypt.lib to list of extra libs
* Fix y4m read/write for images of non-standard dimensions
* Fix y4mRead() and y4mWrite() for 4:0:0
* Fix compilation with Clang 13 and 14
* Remove the obsolete script fuzz.sh
* Support local android builds for libgav1
* Add Android JNI bindings
* Delay failures of AV1 codecs not existing to frame decoding, to allow libavif
to perform AVIF parsing without any AV1 codecs
* Change encoder speed in gdk-pixbuf plug-in
* Fix compilation with 1755 <= LIBYUV_VERSION < 1774
* Remove JSON-based tests (as they are unreliable), along with associated
helper code (cJSON, compare)
* CMakeLists.txt: Move codec enabled message after check passed
* Fix alpha copy in aomCodecEncodeImage()
* Support SVT-AV1 v0.9.0 or later
* Call svt_av1_get_version() for SVT-AV1 v0.9.0 or later
* Handle avifArrayCreate() failures
* Only consider a frame index to be a keyframe if all tiles/planes are sync
frames
* Move checks to avifAreGridDimensionsValid()
* avifArrayPop() should zero the popped element
* avifDecoderReset() should not return AVIF_FALSE
* Handle avifDecoderDataCreateTile() failures
* Fix endian dependent parameters to avifRWStreamWrite
* Mark the input images of an image grid as hidden
* Write ccst box in Sample Entry for animated images
* Add iso8 to compatible_brands for animated images
* Compare with snapshot of AOM_EXT_PART_ABI_VERSION
* Handle the new AOM_IMG_FMT_NV12 enum conditionally in a switch statement in
aomCodecGetNextImage()
* Fix avifpng.c for libpng 1.4
* Fix -Wformat / -Wformat-non-iso on MinGW UCRT
* Replace some memcpy calls with struct assignments
* Remove unnecessary memcpy() calls in src/utils.c
* Split CMakeLists.txt into tests/CMakeLists.txt
* Use bilinear chroma upsampling in libyuv when possible
* Call libyuv functions to convert 10bpc YUV to 8bpc RGB
* Prepare avif example for non-aborting avifAlloc()
* Handle the tileRowsLog2 and tileColsLog2 members of avifEncoder correctly for
SVT-AV1.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/libavif/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile 11 Mar 2022 19:22:40 -0000 1.18
+++ Makefile 23 Apr 2022 06:06:37 -0000
@@ -2,10 +2,10 @@ COMMENT= library for encoding and decodi

GH_ACCOUNT= AOMediaCodec
GH_PROJECT= libavif
-GH_TAGNAME= v0.9.3
+GH_TAGNAME= v0.10.1
CATEGORIES= graphics

-SHARED_LIBS= avif 4.2
+SHARED_LIBS= avif 5.0

HOMEPAGE= https://github.com/AOMediaCodec/libavif

@@ -22,7 +22,7 @@ MODULES= devel/cmake

LIB_DEPENDS= graphics/jpeg \
graphics/png \
- multimedia/aom>=2.0.0rc1 \
+ multimedia/aom \
multimedia/dav1d

CONFIGURE_ARGS+=-DAVIF_BUILD_APPS=ON \
@@ -31,8 +31,7 @@ CONFIGURE_ARGS+=-DAVIF_BUILD_APPS=ON \
-DAVIF_CODEC_AOM_DECODE=OFF \
-DAVIF_CODEC_DAV1D=ON

-# https://github.com/AOMediaCodec/libavif/commit/11d6725af628b116066f4bd2e5b810498c584438
do-test:
- ${WRKBUILD}/aviftest ${WRKSRC}/tests/data --io-only
+ ${WRKBUILD}/tests/aviftest ${WRKSRC}/tests/data

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/libavif/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo 2 Feb 2022 07:33:18 -0000 1.13
+++ distinfo 23 Apr 2022 05:54:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (libavif-0.9.3.tar.gz) = vNmh9X+YKpYV634vr4cjbciOsdDIhvNHHHRA6tYFBg0=
-SIZE (libavif-0.9.3.tar.gz) = 2000521
+SHA256 (libavif-0.10.1.tar.gz) = ZugoVM64Sj5UK8FAo0O8kOVsaPPstP/2PmNsE27ZoF4=
+SIZE (libavif-0.10.1.tar.gz) = 2085698

No comments:

Post a Comment