mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-02-22 15:53:15 -05:00
Add YCgCo-Re AVIF test
Disable AVIF read tests for libavif below 1.2.0, where YCgCo-Re decoding is expected to fail.
This commit is contained in:
@ -102,9 +102,15 @@ if (KF6Archive_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TARGET avif)
|
if (TARGET avif)
|
||||||
kimageformats_read_tests(
|
if(${libavif_VERSION} VERSION_GREATER_EQUAL "1.2.0")
|
||||||
avif
|
kimageformats_read_tests(
|
||||||
)
|
avif
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
message(WARNING "libavif ${libavif_VERSION} doesn't support decoding new AVIF files!\n"
|
||||||
|
"AVIF read tests are disabled, consider updating libavif.")
|
||||||
|
endif()
|
||||||
|
|
||||||
kimageformats_write_tests(
|
kimageformats_write_tests(
|
||||||
avif-nodatacheck-lossless
|
avif-nodatacheck-lossless
|
||||||
)
|
)
|
||||||
|
|||||||
BIN
autotests/read/avif/ycgco-re.avif
Normal file
BIN
autotests/read/avif/ycgco-re.avif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
BIN
autotests/read/avif/ycgco-re.png
Normal file
BIN
autotests/read/avif/ycgco-re.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
Reference in New Issue
Block a user