Pascal Massimino
36aa087b6d
get_disto: new option to compute SSIM map and convert to gray
...
using -ssim -o will trigger SSIM map calculation instead of add-diff map.
-gray converts the error map to intensity instead of having each channels' error separated.
Change-Id: I4bdb88880a252e5562aa4e0e3c2353ad93aef20e
2016-09-28 00:23:43 -07:00
Pascal Massimino
0de48e187d
get_disto: add a '-o file' option to save a diff map
...
also: -scale option is useful for using the maximum range.
Change-Id: I8ede7132b08ece7d3b6f699b710ab2ef3fb0b734
2016-08-31 05:31:30 +00:00
Pascal Massimino
57a5e3b6a5
webp_quality should return '0' in case of success.
...
-> clarify the return value in case of error
Change-Id: I6f1e675c80d237b302fada28e7612a684b931c7a
2016-08-20 21:07:31 +02:00
James Zern
aaf2530cc3
{extras,mux}/Makefile.am: add missing -lm
...
+ libwebpmux.pc
quality_estimate.c, anim_encode.c rely on functions from math.h
BUG=webp:306
Change-Id: I3a8eb48febfd52bfbeb04f4dc615ccbed72926f7
2016-08-15 22:32:46 -07:00
James Zern
6fa9fe2482
extras/Makefile.am: don't install libwebpextras
...
the version info was stripped earlier in:
ad497fb
move src/extras to the top-level
Change-Id: I15134d95f49fbd3830df82667af12b8f3a5a7673
2016-07-26 19:19:56 -07:00
Pascal Massimino
eb98d8d87c
webp_quality: detect lossless format and features
...
lossless bitstream are returned as quality 101
Change-Id: I8b28287169b710ecf8d4d694abbf0cedc6447908
2016-07-22 00:16:56 -07:00
James Zern
da573cf490
imageio_util: s/ExUtil/ImgIoUtil/
...
ExUtil(SetBinaryMode|ReadFile|ReadFromStdin|WriteFile|CopyPlane) ->
ImgIoUtil(SetBinaryMode|ReadFile|ReadFromStdin|WriteFile|CopyPlane)
Change-Id: I5497f8fe514347efeb83b8b8866ef334390fc18e
2016-07-21 20:40:11 -07:00
James Zern
bdda5bd4bf
split example_util.h
...
move ExUtil*File to imageio_util.h
ExUtil*WebP* to webpdec.h
string parsing routines remain
Change-Id: I0560c4a74e86710d83bc4b5b234f1b5ef9a86f9d
2016-07-21 19:14:58 -07:00
skal
e8ab6a825a
VP8EstimateQuality(): roughty estimate webp bitstream quality factor
...
This function returns a rough estimation of the quality factor used
for compressing the WebP bitstream.
Simple command line: 'webp_quality [-quiet] in.webp'
should print the estimated quality factor.
Change-Id: Ifba3e489461f5a587003ac9f08cc7556e9b24ac2
2016-07-20 21:50:25 -07:00
skal
1e7d4401dc
'extras/get_disto' example: compute PSNR between two files
...
Change-Id: I40e693e52d8eb4e32b86273952dac2e5eefe6e7c
2016-07-20 16:54:28 -07:00
James Zern
5108d9aa00
extras.h: correct include guard
...
replace WEBP with EXTRAS after moving this file to the top-level folder
of the same name
Change-Id: Ide4dab027bd09f5df701f1adf2bf896c130a5441
2016-07-19 19:04:36 -07:00
James Zern
ad497fbce3
move src/extras to the top-level
...
reserve src/ for the code of the main libraries: libwebp, libwebpdemux
and libwebpmux
+ demote this library to internal only; i.e., don't install the header +
lib with make install
Change-Id: I8c9844db8f494be0fa0a2549a5b75b5cebcf666d
2016-07-19 17:23:17 -07:00