summaryrefslogtreecommitdiff
path: root/tools/tiny_ssim.c
AgeCommit message (Collapse)Author
2019-04-11Fix static analysis warningskyslov
With switching to clang-7.0.1 we got new warnings. With this change the warnings are back to 0 for all configurations (excluding warnings in third_party) BUG=webm:1616 Change-Id: I25ceb592c425394e8f14d333fb5680144f892213
2019-04-06tiny_ssim: Fix an 'Uninitialized argument value' bugsdeng
found by clang-7.0.1 static analysis. BUG=webm:1616 Change-Id: I2f7d1376e82e35227ad96d34417014ce5680ad96
2019-04-05tiny_ssim: Fix an 'Uninitialized argument value' bugsdeng
found by clang-7.0.1 static analysis. BUG=webm:1616 Change-Id: I7fb318aa7d4c8dd0a96bb20c6f8706ca1a632696
2018-12-20tiny_ssim.c: resolve missing declarationsJohann
-Wmissing-declarations exposed several unused functions. BUG=webm:1584 Change-Id: I88dfeb8ffa31253a0fb7674f6fe5fcd496179f96
2018-12-18No need to shift in SSIM calculationssdeng
We only need to shift in the encoder when the input bit depth does not equal to the encoder internal bit depth. Change-Id: If9af62382ac6824f33dc7dcdd3d3ff7802b92e9a
2018-12-17Disallow the comparison between videos with different bit depthsdeng
Change-Id: I1fd8e991f2440925e989d8e7ab33fdf5f6b1d36b
2018-12-14Remove unused code in tiny_ssimsdeng
Change-Id: Ife6eb3f8651daa209eeeb8eff85158f00d418647
2018-12-05Fix overflow in calculating highbd SSIMsdeng
Example internal stats Before the fix: Bitrate AVGPsnr GLBPsnr AVPsnrP GLPsnrP VPXSSIM VPSSIMP FASTSIM PSNRHVS WstPsnr WstSsim WstFast WstHVS AVPsnrY APsnrCb APsnrCr Block WstBlck Consist WstCons Time RcErr AbsErr 153.39 37.131 36.420 37.151 36.437 716.077 817.445 10.422 34.347 32.980 0.916 9.281 30.208 36.024 41.830 40.581 0.000 0.000 100.000 100.000 55006 2.26 2.26 No mismatch detected in recon buffers After the fix: Bitrate AVGPsnr GLBPsnr AVPsnrP GLPsnrP VPXSSIM VPSSIMP FASTSIM PSNRHVS WstPsnr WstSsim WstFast WstHVS AVPsnrY APsnrCb APsnrCr Block WstBlck Consist WstCons Time RcErr AbsErr 153.39 37.131 36.420 37.151 36.437 69.808 70.023 10.422 34.347 32.980 0.910 9.281 30.208 36.024 41.830 40.581 0.000 0.000 100.000 100.000 55067 2.26 2.26 No mismatch detected in recon buffers Change-Id: I820abc498c1543548f193874046582b50afd0238
2018-11-21Fix scan_build warnings in tiny_ssim.cAngie Chiang
BUG=webm:1575 Change-Id: I022794054b494512903d912bdbf3e85461f31665
2018-11-19Fix scan_build warnings in tiny_ssim.cAngie Chiang
BUG=webm:1575 Change-Id: I3ad3af49d778f102e9152dcb1eb9d5c048756cdf
2018-10-02Minor clean-up in tiny_ssim.cJingning Han
Report the correct filename in error message. Explicitly assign floating point value to double type. Change-Id: I42fd2da6e16b1e3e7ec221d5d562a728a93c0196
2018-09-14fix a bug of tiny_ssim to handle odd frame sizesLiu Peng
Change-Id: Id8ef0eb211517a8f8ec764ec398d16efb9320540
2018-09-14fix a bug of tiny_ssim when the bit depth is 8Liu Peng
Change-Id: I2563e661c71b474fe04b70cd9b713d478a27ac5f
2018-05-30tiny_ssim: fix for odd image sizes.Jim Bankoski
Change-Id: I7dd1e37c5de3efccc07fcdc877653d4873a88266
2017-11-14tiny_ssim.c : clang compile error fixScott LaVarnway
Change-Id: Ic10ba580fd5da7d6ff7fa0f33db72fb0c1a97801
2017-11-13add 10 and 12 bit to tiny_ssimJim Bankoski
Change-Id: I92e4dba2d1682a0d77ad9a214ec4312b1cf4d42e
2017-06-16tiny_ssim: make some functions staticJames Zern
quiets -Wmissing-prototypes Change-Id: If2e77c921b2fba456ed8d94119773e360d90b878
2017-03-07tiny_ssim.c : adds y4m support to tiny_ssim.Jim Bankoski
Change-Id: I7a13b7e3a1e11ddbe4be3009edf03528e1bc7647
2017-02-17tiny_ssim: clean up on failureJohann
Clears up clang static analysis warnings about memory leaks. Change-Id: I60d4d0f3794735a8b81d9da4a30d19e7a9cba9cf
2017-01-17Add per-frame SSIM/PSNR stats to tools/tiny_ssim.Peter Boström
Adds an optional output framestats.csv file that prints comparions per-frame instead of averaged over the entire clip. It prints per-channel and combined metrics for SSIM and PSNR. Change-Id: Id28dfade27bc5775b59a9d83cfe8b37d1d52b686
2017-01-11Add Y,U,V channel metrics and unweighted metrics.Peter Boström
Renames SSIM to VpxSSIM as an upscaled weighted SSIM metric, then prints Y, U and V channels unweighted as well as a weighted but not scaled SSIM score that's 8/1/1 parts Y/U/V (same as VpxSSIM). Change-Id: Iff800cc8f145314eeb1a9b4af1e11a25bec095ca
2016-10-29tiny_ssim: fix visual studio buildJames Zern
s/inttypes.h/vpx_integer.h/ clear a uint64_t -> double conversion warning Change-Id: I58d108b083787a754152eb79ef6df61c2c5f95b1
2016-10-28Add temporal-layer support to tiny_ssim.Peter Boström
Permits skipping 0, 1/2 or 3/4 of the frames, corresponding to temporal layers 2, 1 and 0 of a 3-temporal-layer encoding. 1/2 corresponds to TL0 in a 2-layer encoding. Change-Id: I7f6d131f63707e5262fc67d111bfb3a751ede90d
2016-10-28Add tools/tiny_ssim for generating SSIM/PSNR.Peter Boström
Change-Id: Icc3e5aaa6636ffe17dc9da5f7a80afaccbde509a