Opened 8 months ago

Closed 8 months ago

#18469 closed enhancement (fixed)

libavif-1.0.1

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New major version.

Change History (7)

in reply to:  1 comment:2 by Xi Ruoyao, 8 months ago

Replying to Xi Ruoyao:

FTBFS: https://github.com/AOMediaCodec/libavif/issues/1526

sed 's/mode/axis/' -i contrib/gdk-pixbuf/loader.c

comment:3 by Xi Ruoyao, 8 months ago

Summary: libavif-1.0.0libavif-1.0.0 (wait for 1.0.1)

Upstream will release 1.0.1 for the fix.

comment:4 by pierre, 8 months ago

Summary: libavif-1.0.0 (wait for 1.0.1)libavif-1.0.1

Now 1.0.1

1.0.1 - 2023-08-29

Changed

  • gdk-pixbuf: Explicitly pass link directories
  • gdk-pixbuf: Fix build failure after imir.mode -> imir.axis rename
Last edited 8 months ago by pierre (previous) (diff)

comment:5 by Douglas R. Reno, 8 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:6 by Douglas R. Reno, 8 months ago

1.0.0 - 2023-08-24

With the 1.0.0 release, the ABI will be more stable from now on. Please note
the allocation and initialization requirements for avifImage, avifDecoder,
avifEncoder, and avifRGBImage in the "avif/avif.h" header.

List of incompatible ABI changes in this release:

    The clli member was added to the avifImage struct.
    The repetitionCount member was added to the avifEncoder and avifDecoder
    structs.
    The quality and qualityAlpha members were added to the avifEncoder struct.
    Check that functions returning pointers do not return NULL before accessing
    those pointers.
    Check the return value of avifEncoderSetCodecSpecificOption().
    The maxThreads member was added to the avifRGBImage struct.
    Check the return value of avifRGBImageAllocatePixels(), avifRWDataRealloc(),
    avifRWDataSet(), avifImageSetProfileICC(), avifImageSetMetadataExif() and
    avifImageSetMetadataXMP().
    The meaning of the keyframeInterval member of avifEncoder struct has changed
    slightly. When set to a value of "n",
        Before: It forces a keyframe on every nth frame.
        After: Any set of "n" consecutive frame will have at least one keyframe
        (every nth frame may or may not be a keyframe).

Added

    Add STATIC library target avif_internal to allow tests to access functions
    from internal.h when BUILD_SHARED_LIBS is ON.
    Add clli metadata read and write support
    Add repetitionCount member to avifEncoder and avifDecoder structs to specify
    the number of repetitions for animated image sequences.
    Add quality and qualityAlpha to avifEncoder. Note: minQuantizer,
    maxQuantizer, minQuantizerAlpha, and maxQuantizerAlpha are deprecated. Code
    should be updated to set quality (and qualityAlpha if applicable) and leave
    minQuantizer, maxQuantizer, minQuantizerAlpha, and maxQuantizerAlpha
    initialized to the default values.
    The --target-size flag in avifenc was added to adapt the quality so that the
    output file size is as close to the given number of bytes as possible.
    Add the public API function avifImageIsOpaque() in avif.h.
    Add the public API functions avifImagePlane(), avifImagePlaneRowBytes(),
    avifImagePlaneWidth(), and avifImagePlaneHeight() in avif.h.
    Add experimental API for progressive AVIF encoding.
    Add API for multi-threaded YUV to RGB color conversion.
    Add experimental support for AV2 behind the compilation flag AVIF_CODEC_AVM.
    AVIF_CODEC_CHOICE_AVM is now part of avifCodecChoice.
    Add experimental YCgCo-R support behind the compilation flag
    AVIF_ENABLE_EXPERIMENTAL_YCGCO_R.
    Allow lossless 4:0:0 on grayscale input.
    Add avifenc --no-overwrite flag to avoid overwriting output file.
    Add avifenc --clli flag to set clli.
    Add support for all transfer functions when using libsharpyuv.

Changed

    Enable the libaom AV1E_SET_SKIP_POSTPROC_FILTERING codec control by default.
    Use the constant rate factor (CRF) instead of the constant quantization
    parameter (CQP) rate control mode with the SVT-AV1 encoder.
    Exif and XMP metadata is exported to PNG and JPEG files by default,
    except XMP payloads larger than 65502 bytes in JPEG.
    The --grid flag in avifenc can be used for images that are not evenly divided
    into cells.
    Apps must be built with libpng version 1.6.32 or above.
    Change the encoder to write the boxes within the "stbl" box in the order of
    stsd, stts, stsc, stsz, stco, stss.
    avifImageCopy() no longer accepts source U and V channels to be NULL for
    non-4:0:0 input if Y is not NULL and if AVIF_PLANES_YUV is specified.
    The default values of the maxQuantizer and maxQuantizerAlpha members of
    avifEncoder changed from AVIF_QUANTIZER_LOSSLESS (0) to
    AVIF_QUANTIZER_WORST_QUALITY (63). The behavior changed if minQuantizer and
    maxQuantizer are left initialized to the default values. Code should be
    updated to set the quality member. Similarly for the alpha quantizers and
    qualityAlpha.
    avifImageRGBToYUV() and avifImageYUVToRGB() handle avifImage bit depths 8, 10,
    12 and now also 16. Files read by apps/shared/ can output 16-bit avifImage
    instances.
    Update aom.cmd: v3.6.1
    Update dav1d.cmd: 1.2.1
    Update libsharpyuv: 0.4.0
    Update rav1e.cmd: v0.6.6
    Update svt.cmd/svt.sh: v1.6.0
    Update zlibpng.cmd: zlib 1.2.13 and libpng 1.6.39
    avifImageCreate(), avifImageCreateEmpty(), avifEncoderCreate() and other
    internal functions now return NULL if a memory allocation failed.
    avifEncoderSetCodecSpecificOption() now returns avifResult instead of void to
    report memory allocation failures.
    At decoding, avifIOStats now returns the same values as at encoding.
    avifRGBImageAllocatePixels(), avifRWDataRealloc(), avifRWDataSet(),
    avifImageSetProfileICC(), avifImageSetMetadataExif() and
    avifImageSetMetadataXMP() now return avifResult instead of void to report
    memory allocation failures.
    avifReadImage(), avifJPEGRead() and avifPNGRead() now remove the trailing zero
    byte from read XMP chunks, if any. See avifImageFixXMP().
    Force keyframe for alpha if color is a keyframe.
    Write primaries and transfer characteritics info in decoded PNG.
    Add support for reading PNG gAMA, cHRM and sRGB chunks.
    The 'mode' member of the avifImageMirror struct was renamed 'axis'.
    Change the type of the 'depth' parameter from int to uint32_t in
    avifFullToLimitedY(), avifFullToLimitedUV(), avifLimitedToFullY(), and
    avifLimitedToFullUV().

comment:7 by Douglas R. Reno, 8 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.