Skip to content

Commit bc41fc5

Browse files
authored
v1.0.0
1 parent 5aa44c8 commit bc41fc5

File tree

3 files changed

+32
-9
lines changed

3 files changed

+32
-9
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.0.0] - 2023-08-24
10+
11+
With the 1.0.0 release, the ABI will be more stable from now on. Please note
12+
the allocation and initialization requirements for avifImage, avifDecoder,
13+
avifEncoder, and avifRGBImage in the "avif/avif.h" header.
14+
915
List of incompatible ABI changes in this release:
1016

1117
* The clli member was added to the avifImage struct.
@@ -36,23 +42,33 @@ List of incompatible ABI changes in this release:
3642
should be updated to set quality (and qualityAlpha if applicable) and leave
3743
minQuantizer, maxQuantizer, minQuantizerAlpha, and maxQuantizerAlpha
3844
initialized to the default values.
39-
* The --targetSize flag in avifenc was added to adapt the quality so that the
45+
* The --target-size flag in avifenc was added to adapt the quality so that the
4046
output file size is as close to the given number of bytes as possible.
4147
* Add the public API function avifImageIsOpaque() in avif.h.
48+
* Add the public API functions avifImagePlane(), avifImagePlaneRowBytes(),
49+
avifImagePlaneWidth(), and avifImagePlaneHeight() in avif.h.
4250
* Add experimental API for progressive AVIF encoding.
4351
* Add API for multi-threaded YUV to RGB color conversion.
4452
* Add experimental support for AV2 behind the compilation flag AVIF_CODEC_AVM.
4553
AVIF_CODEC_CHOICE_AVM is now part of avifCodecChoice.
54+
* Add experimental YCgCo-R support behind the compilation flag
55+
AVIF_ENABLE_EXPERIMENTAL_YCGCO_R.
4656
* Allow lossless 4:0:0 on grayscale input.
4757
* Add avifenc --no-overwrite flag to avoid overwriting output file.
58+
* Add avifenc --clli flag to set clli.
4859
* Add support for all transfer functions when using libsharpyuv.
4960

5061
### Changed
62+
* Enable the libaom AV1E_SET_SKIP_POSTPROC_FILTERING codec control by default.
63+
* Use the constant rate factor (CRF) instead of the constant quantization
64+
parameter (CQP) rate control mode with the SVT-AV1 encoder.
5165
* Exif and XMP metadata is exported to PNG and JPEG files by default,
5266
except XMP payloads larger than 65502 bytes in JPEG.
5367
* The --grid flag in avifenc can be used for images that are not evenly divided
5468
into cells.
5569
* Apps must be built with libpng version 1.6.32 or above.
70+
* Change the encoder to write the boxes within the "stbl" box in the order of
71+
stsd, stts, stsc, stsz, stco, stss.
5672
* avifImageCopy() no longer accepts source U and V channels to be NULL for
5773
non-4:0:0 input if Y is not NULL and if AVIF_PLANES_YUV is specified.
5874
* The default values of the maxQuantizer and maxQuantizerAlpha members of
@@ -81,7 +97,13 @@ List of incompatible ABI changes in this release:
8197
memory allocation failures.
8298
* avifReadImage(), avifJPEGRead() and avifPNGRead() now remove the trailing zero
8399
byte from read XMP chunks, if any. See avifImageFixXMP().
100+
* Force keyframe for alpha if color is a keyframe.
101+
* Write primaries and transfer characteritics info in decoded PNG.
102+
* Add support for reading PNG gAMA, cHRM and sRGB chunks.
84103
* The 'mode' member of the avifImageMirror struct was renamed 'axis'.
104+
* Change the type of the 'depth' parameter from int to uint32_t in
105+
avifFullToLimitedY(), avifFullToLimitedUV(), avifLimitedToFullY(), and
106+
avifLimitedToFullUV().
85107

86108
## [0.11.1] - 2022-10-19
87109

@@ -951,7 +973,8 @@ code.
951973
- Constants `AVIF_VERSION`, `AVIF_VERSION_MAJOR`, `AVIF_VERSION_MINOR`, `AVIF_VERSION_PATCH`
952974
- `avifVersion()` function
953975

954-
[Unreleased]: https://github.com/AOMediaCodec/libavif/compare/v0.11.1...HEAD
976+
[Unreleased]: https://github.com/AOMediaCodec/libavif/compare/v1.0.0...HEAD
977+
[1.0.0]: https://github.com/AOMediaCodec/libavif/compare/v0.11.1...v1.0.0
955978
[0.11.1]: https://github.com/AOMediaCodec/libavif/compare/v0.11.0...v0.11.1
956979
[0.11.0]: https://github.com/AOMediaCodec/libavif/compare/v0.10.1...v0.11.0
957980
[0.10.1]: https://github.com/AOMediaCodec/libavif/compare/v0.10.0...v0.10.1

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif()
1111
# Specify search path for CMake modules to be loaded by include() and find_package()
1212
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
1313

14-
project(libavif LANGUAGES C VERSION 0.11.1)
14+
project(libavif LANGUAGES C VERSION 1.0.0)
1515

1616
# Set C99 as the default
1717
set(CMAKE_C_STANDARD 99)
@@ -23,9 +23,9 @@ set(CMAKE_C_STANDARD 99)
2323
# Increment MINOR. Set PATCH to 0
2424
# If the source code was changed, but there were no interface changes:
2525
# Increment PATCH.
26-
set(LIBRARY_VERSION_MAJOR 15)
26+
set(LIBRARY_VERSION_MAJOR 16)
2727
set(LIBRARY_VERSION_MINOR 0)
28-
set(LIBRARY_VERSION_PATCH 1)
28+
set(LIBRARY_VERSION_PATCH 0)
2929
set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
3030
set(LIBRARY_SOVERSION ${LIBRARY_VERSION_MAJOR})
3131

include/avif/avif.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ extern "C" {
5555
// and non-zero during development of the next release. This should allow for
5656
// downstream projects to do greater-than preprocessor checks on AVIF_VERSION
5757
// to leverage in-development code without breaking their stable builds.
58-
#define AVIF_VERSION_MAJOR 0
59-
#define AVIF_VERSION_MINOR 11
60-
#define AVIF_VERSION_PATCH 1
61-
#define AVIF_VERSION_DEVEL 1
58+
#define AVIF_VERSION_MAJOR 1
59+
#define AVIF_VERSION_MINOR 0
60+
#define AVIF_VERSION_PATCH 0
61+
#define AVIF_VERSION_DEVEL 0
6262
#define AVIF_VERSION \
6363
((AVIF_VERSION_MAJOR * 1000000) + (AVIF_VERSION_MINOR * 10000) + (AVIF_VERSION_PATCH * 100) + AVIF_VERSION_DEVEL)
6464

0 commit comments

Comments
 (0)