Accepting request 1011123 from home:iznogood:branches:multimedia:libs
New upstream release OBS-URL: https://build.opensuse.org/request/show/1011123 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libavif?expand=0&rev=44
This commit is contained in:
parent
2642ee5289
commit
4a0164224c
@ -1 +1 @@
|
||||
libavif14
|
||||
libavif15
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66e82854ceb84a3e542bc140a343bc90e56c68f3ecb4fff63e636c136ed9a05e
|
||||
size 2085698
|
3
libavif-0.11.0.tar.gz
Normal file
3
libavif-0.11.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c34937f5a1f2e105734dba2fc6dc4d9b12636e17964df705d3d96c5aa52667c
|
||||
size 5824852
|
@ -1,3 +1,101 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 12:28:59 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.11.0:
|
||||
* There are incompatible ABI changes in this release. The
|
||||
alphaRange member was removed from the avifImage struct. The
|
||||
chromaDownsampling and avoidLibYUV members were added to the
|
||||
avifRGBImage struct. The imageDimensionLimit member was added
|
||||
to the avifDecoder struct. avifImageCopy() and
|
||||
avifImageAllocatePlanes() signatures changed. It is necessary
|
||||
to recompile your code. Also check the return values of
|
||||
avifImageCopy() and avifImageAllocatePlanes().
|
||||
* Added:
|
||||
- Add man pages for avifenc and avifdec
|
||||
- Add the avifChannelIndex type alias for enum avifChannelIndex
|
||||
- Add avifChromaDownsampling enum
|
||||
- Add chromaDownsampling field to avifRGBImage struct
|
||||
- Add support for AVIF_RGB_FORMAT_RGB_565
|
||||
- Add imageDimensionLimit field to avifDecoder struct
|
||||
- Add autoTiling field to avifEncoder struct
|
||||
- Add new avifResult codes AVIF_RESULT_CANNOT_CHANGE_SETTING
|
||||
and AVIF_RESULT_INCOMPATIBLE_IMAGE
|
||||
- Add new enum constants AVIF_PIXEL_FORMAT_COUNT and
|
||||
AVIF_RGB_FORMAT_COUNT
|
||||
- avifdec: Add --dimension-limit, which specifies the image
|
||||
dimension limit (width or height) that should be tolerated
|
||||
- avifenc: Add --sharpyuv, which enables "sharp" RGB to YUV420
|
||||
conversion, which reduces artifacts caused by 420 chroma
|
||||
downsampling. Needs libsharpyuv (part of the libwebp
|
||||
repository) at compile time.
|
||||
- avifenc: Add --ignore-exif and --ignore-xmp flags.
|
||||
- avifenc: Add --autotiling, which sets --tilerowslog2 and
|
||||
--tilecolslog2 automatically.
|
||||
- avifenc: Input Exif orientation is converted to irot/imir by
|
||||
default.
|
||||
* Changed:
|
||||
- Fix memory leaks of metadata on avifenc exit
|
||||
- Update the handling of 'lsel' and progressive decoding to
|
||||
AVIF spec v1.1.0
|
||||
- Treat an absent lsel and layer_id == 0xFFFF equivalently for
|
||||
backward compatibility with earlier drafts of AVIF spec
|
||||
v1.1.0
|
||||
- Set libavif's own default value of cfg.rc_end_usage for
|
||||
libaom
|
||||
- Set the libaom-specific option -a tune=ssim by default
|
||||
- Bump cmake_minimum_required from 3.5 to 3.13
|
||||
- Fix https://crbug.com/oss-fuzz/48135
|
||||
- Use several new libyuv functions in reformat_libyuv.c
|
||||
- Fix SVT-AV1's issue 1957 related to uninitialized variables
|
||||
crashing the encoder
|
||||
- Update aom.cmd: v3.5.0
|
||||
- Update rav1e.cmd: v0.5.1
|
||||
- Update svt.cmd/svt.sh: v1.2.1
|
||||
- Update libgav1.cmd: v0.18.0
|
||||
- Update libyuv.cmd: f9fda6e7 (version 1844)
|
||||
- avifImageCopy() and avifImageAllocatePlanes() now return
|
||||
avifResult instead of void to report invalid parameters or
|
||||
memory allocation failures.
|
||||
- avifImageRGBToYUV() now uses libyuv fast paths by default. It
|
||||
may slightly change conversion results. The old behavior can
|
||||
be restored by setting avifRGBImage::chromaDownsampling to
|
||||
AVIF_CHROMA_DOWNSAMPLING_BEST_QUALITY and
|
||||
avifRGBImage::avoidLibYUV to AVIF_TRUE.
|
||||
- avifRGBImage::chromaUpsampling now only applies to
|
||||
conversions that need upsampling chroma from 4:2:0 or 4:2:2
|
||||
and has no impact on the use of libyuv.
|
||||
- Set avifRGBImage::avoidLibYUV accordingly to control the use
|
||||
of libyuv.
|
||||
- avifenc: Set the YUV format to 4:0:0 for grayscale PNGs
|
||||
- Support updating encoder settings and codec-specific options
|
||||
during encoding
|
||||
- Disable AVIF_STRICT_CLAP_VALID and AVIF_STRICT_PIXI_REQUIRED
|
||||
in the JNI wrapper
|
||||
- avifdec: Return proper exit code in "info" mode
|
||||
- In avifenc and avifdec, treat all arguments that start with
|
||||
'-' as options
|
||||
- Exif and XMP metadata is imported from PNG and JPEG files.
|
||||
- avifImageSetMetadataExif() parses the Exif metadata and
|
||||
converts any Exif orientation found into transformFlags, irot
|
||||
and imir values.
|
||||
- Write 'auxi' box for animated images with alpha channel
|
||||
- Write 'auxv' as handler_type for alpha channel track
|
||||
- Use PNG_COLOR_TYPE_GRAY for 8-bit grayscale output
|
||||
- Replace repeated subtraction by modulo in calcGCD
|
||||
- Change avifImageCreate to take uint32_t instead of int
|
||||
parameters
|
||||
- When writing an image sequence, check if it's safe to cast
|
||||
width and height to uint16_t
|
||||
- Allow clamped grid cells in avifEncoderAddImageGrid()
|
||||
* Removed:
|
||||
- alphaRange field was removed from the avifImage struct. It it
|
||||
presumed that alpha plane is always full range.
|
||||
- The avifCodecConfigurationBox struct becomes a private type
|
||||
for libavif internal use
|
||||
- Bump lib_soversion global (also in baselibs.conf) to 15 following
|
||||
upstream change.
|
||||
- Use ldconfig_scriptlets for post(un) handling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 30 13:32:08 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
12
libavif.spec
12
libavif.spec
@ -25,11 +25,11 @@
|
||||
%endif
|
||||
|
||||
# Also update baselibs.conf if you bump the version
|
||||
%global lib_soversion 14
|
||||
%global lib_soversion 15
|
||||
%global lib_name libavif%{lib_soversion}
|
||||
|
||||
Name: libavif
|
||||
Version: 0.10.1
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
Summary: Library for encoding and decoding .avif files
|
||||
License: BSD-2-Clause
|
||||
@ -128,13 +128,11 @@ This package holds the development files for libavif.
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%post -n %{lib_name} -p /sbin/ldconfig
|
||||
%postun -n %{lib_name} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{lib_name}
|
||||
|
||||
%files -n %{lib_name}
|
||||
%license LICENSE
|
||||
%{_libdir}/libavif.so.%{lib_soversion}
|
||||
%{_libdir}/libavif.so.%{lib_soversion}.0.1
|
||||
%{_libdir}/libavif.so.%{lib_soversion}*
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
@ -151,5 +149,7 @@ This package holds the development files for libavif.
|
||||
|
||||
%files -n gdk-pixbuf-loader-libavif
|
||||
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
||||
%dir %{_datadir}/thumbnailers
|
||||
%{_datadir}/thumbnailers/avif.thumbnailer
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user