1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

graphics/dssim: update to 3.0.0

Changes:	https://github.com/kornelski/dssim/compare/e6fb8a3...3.0.0
Reported by:	Repology
This commit is contained in:
Jan Beich 2021-02-08 20:25:16 +00:00
parent f0bc0ef491
commit 67a7679d79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564739
3 changed files with 34 additions and 16 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= dssim
DISTVERSION= 2.11.5
DISTVERSION= 3.0.0
CATEGORIES= graphics
MASTER_SITES= CRATESIO
# XXX Teach USES=cargo to have proper default
@ -17,6 +17,7 @@ USES= cargo
PLIST_FILES= bin/${PORTNAME}
CARGO_CRATES= adler-0.2.3 \
ahash-0.4.7 \
arrayvec-0.5.2 \
autocfg-1.0.1 \
bytemuck-1.4.1 \
@ -28,14 +29,16 @@ CARGO_CRATES= adler-0.2.3 \
crossbeam-deque-0.8.0 \
crossbeam-epoch-0.9.1 \
crossbeam-utils-0.8.1 \
dssim-core-2.11.5 \
dssim-core-3.0.0 \
dunce-1.0.1 \
either-1.6.1 \
fallible_collections-0.4.0 \
flate2-1.0.19 \
foreign-types-0.5.0 \
foreign-types-macros-0.2.1 \
foreign-types-shared-0.3.0 \
getopts-0.2.21 \
hashbrown-0.9.1 \
hermit-abi-0.1.17 \
imgref-1.7.1 \
itertools-0.10.0 \
@ -43,9 +46,9 @@ CARGO_CRATES= adler-0.2.3 \
lazy_static-1.4.0 \
lcms2-5.4.0 \
lcms2-sys-3.1.5 \
libc-0.2.82 \
libc-0.2.84 \
load_image-2.12.1 \
lodepng-3.2.2 \
lodepng-3.4.3 \
memoffset-0.6.1 \
miniz_oxide-0.4.3 \
mozjpeg-0.8.21 \

View File

@ -1,8 +1,10 @@
TIMESTAMP = 1610479703
SHA256 (rust/crates/dssim-2.11.5.tar.gz) = f1dda112e33d6a395df84d07a52d9835a2fe077076cfe694b5abbf764f57bba3
SIZE (rust/crates/dssim-2.11.5.tar.gz) = 20727
TIMESTAMP = 1612730839
SHA256 (rust/crates/dssim-3.0.0.tar.gz) = 72b01e2bbd4c06aadd7a03743d0ba4db4ef20ab9f1637fe8336b3e41ec935ada
SIZE (rust/crates/dssim-3.0.0.tar.gz) = 21042
SHA256 (rust/crates/adler-0.2.3.tar.gz) = ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e
SIZE (rust/crates/adler-0.2.3.tar.gz) = 12168
SHA256 (rust/crates/ahash-0.4.7.tar.gz) = 739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e
SIZE (rust/crates/ahash-0.4.7.tar.gz) = 51474
SHA256 (rust/crates/arrayvec-0.5.2.tar.gz) = 23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b
SIZE (rust/crates/arrayvec-0.5.2.tar.gz) = 27838
SHA256 (rust/crates/autocfg-1.0.1.tar.gz) = cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a
@ -25,12 +27,14 @@ SHA256 (rust/crates/crossbeam-epoch-0.9.1.tar.gz) = a1aaa739f95311c2c7887a76863f
SIZE (rust/crates/crossbeam-epoch-0.9.1.tar.gz) = 39561
SHA256 (rust/crates/crossbeam-utils-0.8.1.tar.gz) = 02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d
SIZE (rust/crates/crossbeam-utils-0.8.1.tar.gz) = 35914
SHA256 (rust/crates/dssim-core-2.11.5.tar.gz) = ba2443cbe633d33d180719a96dd6d75f32b933fb032149a98b6ea3bb8bf1c3bf
SIZE (rust/crates/dssim-core-2.11.5.tar.gz) = 26980
SHA256 (rust/crates/dssim-core-3.0.0.tar.gz) = 8c69c1fd13d97d2641aa315d23737cb8f3ef977300e1b5328b97c9edef541487
SIZE (rust/crates/dssim-core-3.0.0.tar.gz) = 26942
SHA256 (rust/crates/dunce-1.0.1.tar.gz) = b2641c4a7c0c4101df53ea572bffdc561c146f6c2eb09e4df02bc4811e3feeb4
SIZE (rust/crates/dunce-1.0.1.tar.gz) = 7988
SHA256 (rust/crates/either-1.6.1.tar.gz) = e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457
SIZE (rust/crates/either-1.6.1.tar.gz) = 13641
SHA256 (rust/crates/fallible_collections-0.4.0.tar.gz) = 74bebf0efe2e883c1619c455e3f1764333064694ebd5125d2faddabfb5963186
SIZE (rust/crates/fallible_collections-0.4.0.tar.gz) = 48200
SHA256 (rust/crates/flate2-1.0.19.tar.gz) = 7411863d55df97a419aa64cb4d2f167103ea9d767e2c54a1868b7ac3f6b47129
SIZE (rust/crates/flate2-1.0.19.tar.gz) = 73768
SHA256 (rust/crates/foreign-types-0.5.0.tar.gz) = d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965
@ -41,6 +45,8 @@ SHA256 (rust/crates/foreign-types-shared-0.3.0.tar.gz) = 7684cf33bb7f28497939e8c
SIZE (rust/crates/foreign-types-shared-0.3.0.tar.gz) = 5894
SHA256 (rust/crates/getopts-0.2.21.tar.gz) = 14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5
SIZE (rust/crates/getopts-0.2.21.tar.gz) = 18457
SHA256 (rust/crates/hashbrown-0.9.1.tar.gz) = d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04
SIZE (rust/crates/hashbrown-0.9.1.tar.gz) = 77734
SHA256 (rust/crates/hermit-abi-0.1.17.tar.gz) = 5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8
SIZE (rust/crates/hermit-abi-0.1.17.tar.gz) = 10065
SHA256 (rust/crates/imgref-1.7.1.tar.gz) = 07c89d38187142134cb61fc7a9040ba7f7cbe29fe22bb4b702a4d9a1752fada5
@ -55,12 +61,12 @@ SHA256 (rust/crates/lcms2-5.4.0.tar.gz) = 1061201a12cfaee632aa3def9cd6ae4b627554
SIZE (rust/crates/lcms2-5.4.0.tar.gz) = 27483
SHA256 (rust/crates/lcms2-sys-3.1.5.tar.gz) = 8437eb413e1bf7fa279ea5eebef5c12abf46242ff2701d3738d850cab6f7dc47
SIZE (rust/crates/lcms2-sys-3.1.5.tar.gz) = 268975
SHA256 (rust/crates/libc-0.2.82.tar.gz) = 89203f3fba0a3795506acaad8ebce3c80c0af93f994d5a1d7a0b1eeb23271929
SIZE (rust/crates/libc-0.2.82.tar.gz) = 515967
SHA256 (rust/crates/libc-0.2.84.tar.gz) = 1cca32fa0182e8c0989459524dc356b8f2b5c10f1b9eb521b7d182c03cf8c5ff
SIZE (rust/crates/libc-0.2.84.tar.gz) = 517732
SHA256 (rust/crates/load_image-2.12.1.tar.gz) = d326645af741a5a6f07d792c8acde0352106ce995c4215ad321e5181ad1e1250
SIZE (rust/crates/load_image-2.12.1.tar.gz) = 418366
SHA256 (rust/crates/lodepng-3.2.2.tar.gz) = b6eb909184223b89c76d66b80199b7ad4163aebb2519244e6ebac8ba74e67eab
SIZE (rust/crates/lodepng-3.2.2.tar.gz) = 45008
SHA256 (rust/crates/lodepng-3.4.3.tar.gz) = 11443d177d97dc468ee5cc956769bbdeb4c20707d443c62dfd8b473505365613
SIZE (rust/crates/lodepng-3.4.3.tar.gz) = 45427
SHA256 (rust/crates/memoffset-0.6.1.tar.gz) = 157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87
SIZE (rust/crates/memoffset-0.6.1.tar.gz) = 7706
SHA256 (rust/crates/miniz_oxide-0.4.3.tar.gz) = 0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d

View File

@ -5,8 +5,17 @@ Comparison is done in L*a*b* color space (D65 white point, sRGB gamma)
using a multi-scale variant of the SSIM algorithm.
Features:
- Supports alpha channel
- Supports gamma correction
- No OpenCV or MATLAB needed: uses safe Rust without external dependencies
- Improved algorithm
- Compares at multiple weighed resolutions, and scaling is done in
linear-light RGB. It's sensitive to distortions of various sizes
and blends colors correctly to detect e.g. chroma subsampling errors.
- Uses L*a*b* color space for the SSIM algorithm. It measures
brightness and color much better than metrics from average of
RGB channels.
- Supports alpha channel.
- Supports images with color profiles.
- Takes advantage of multi-core CPUs.
- Can be used as a library in C, Rust, and WASM.
- No OpenCV or MATLAB needed.
WWW: https://kornel.ski/dssim