]> granicus.if.org Git - libvpx/commit
Enable computing of FastSSIM for HBD build
authorYaowu Xu <yaowu@google.com>
Fri, 5 Feb 2016 19:30:12 +0000 (11:30 -0800)
committerYaowu Xu <yaowu@google.com>
Thu, 11 Feb 2016 01:11:58 +0000 (17:11 -0800)
commitc0874f2441aa23245d227e820e5e0b09550ca578
tree9ca6395f5fd02de59c2a56717defe28af5ef046e
parent988f27bfcf4247d3b26b3b3d5c40b0cb5e53912f
Enable computing of FastSSIM for HBD build

This commit adds the computation of fastSSIM for highbitdepth build,
it also modifies the hbdmetric test to be more generic and applicable
for fastSSIM.

The 255 used for calculating ssim constants c1 and c2 is not exactly
scaled by 4x and 16x to 1023 and 4095, therefore requries the metric
test to have a thresold more tolerant than 0, currently at 0.03dB.

Change-Id: I631829da7773de400e77fc36004156e5e126c7e0
test/hbd_metrics_test.cc
vp10/encoder/encoder.c
vp9/encoder/vp9_encoder.c
vpx_dsp/fastssim.c
vpx_dsp/ssim.h