Skip to content

Commit 19ba2dd

Browse files
authored
Use rgb.rowBytes in overflow check (#18)
* Removed skip_unless_feature on methods when class is already skipped * Test speed less than slowest and greater than fastest * Updated type hints * Only access angle when AVIF_TRANSFORM_IROT flag is present * Added AVIF_ROOT * Only define normalize_quantize_value if it will be used * Build libavif after libjpeg * Use rgb.rowBytes in overflow check * Group EXIF info * Removed __loaded * If brew is not installed, use /usr prefix * Sort AVIF codecs alphabetically * Updated rav1e license * Fixed catching warning, as per python-pillow#8505 * Simplified code * Fixed typos * Test further scenarios * Use y* to parse bytes --------- Co-authored-by: Andrew Murray <[email protected]>
1 parent 6cbad27 commit 19ba2dd

File tree

11 files changed

+135
-174
lines changed

11 files changed

+135
-174
lines changed

.github/workflows/macos-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ brew install \
1515
little-cms2 \
1616
openjpeg \
1717
webp \
18-
dav1d \
1918
aom \
19+
dav1d \
2020
rav1e \
2121
svt-av1
2222
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"

.github/workflows/wheels-dependencies.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ function build_libavif {
125125
-DBUILD_SHARED_LIBS=OFF \
126126
-DAVIF_LIBSHARPYUV=LOCAL \
127127
-DAVIF_LIBYUV=LOCAL \
128-
-DAVIF_CODEC_RAV1E=LOCAL \
129128
-DAVIF_CODEC_AOM=LOCAL \
130129
-DAVIF_CODEC_DAV1D=LOCAL \
130+
-DAVIF_CODEC_RAV1E=LOCAL \
131131
-DAVIF_CODEC_SVT=LOCAL \
132132
-DENABLE_NASM=ON \
133133
-DCMAKE_MODULE_PATH=/tmp/cmake/Modules \
@@ -143,8 +143,6 @@ function build {
143143
fi
144144
build_zlib_ng
145145

146-
build_libavif
147-
148146
build_simple xcb-proto 1.17.0 https://xorg.freedesktop.org/archive/individual/proto
149147
if [ -n "$IS_MACOS" ]; then
150148
build_simple xorgproto 2024.1 https://www.x.org/pub/individual/proto
@@ -168,6 +166,7 @@ function build {
168166
build_tiff
169167
fi
170168

169+
build_libavif
171170
build_libpng
172171
build_lcms2
173172
build_openjpeg

0 commit comments

Comments
 (0)