summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.h
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2015-04-17 10:27:56 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2015-04-17 10:29:27 -0700
commit9757c1adedde4e4eb933499d79bff49512dc8ad4 (patch)
tree4dcc3ade4523da89d414fbb01e81ac605c07f76a /vp9/encoder/vp9_encoder.h
parent3f7f194304bed850ebba15eb6b5c983eeb8a6438 (diff)
downloadlibvpx-9757c1adedde4e4eb933499d79bff49512dc8ad4.tar
libvpx-9757c1adedde4e4eb933499d79bff49512dc8ad4.tar.gz
libvpx-9757c1adedde4e4eb933499d79bff49512dc8ad4.tar.bz2
libvpx-9757c1adedde4e4eb933499d79bff49512dc8ad4.zip
adds psnrhvs to internal stats.
PSNR HVS is a human visual system weighted version of SNR that's gained some popularity from academia and apparently better matches MOS testing. This code is borrowed from the Daala Project but uses our FDCT code. Change-Id: Idd10fbc93129f7f4734946f6009f87d0f44cd2d7
Diffstat (limited to 'vp9/encoder/vp9_encoder.h')
-rw-r--r--vp9/encoder/vp9_encoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index 635ef6dd6..6b1efafad 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -420,6 +420,11 @@ typedef struct VP9_COMP {
double total_fastssim_v;
double total_fastssim_all;
+ double total_psnrhvs_y;
+ double total_psnrhvs_u;
+ double total_psnrhvs_v;
+ double total_psnrhvs_all;
+
int b_calculate_ssimg;
#endif
int b_calculate_psnr;