summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-04-01 09:10:27 -0700
committerRonald S. Bultje <rbultje@google.com>2013-04-01 09:10:27 -0700
commit6dd6ffb0bbb450069553f4484871b1e378b18c04 (patch)
treeb0cec312d00e41ed6d83dd283a412e906b77c137 /vp9/encoder/vp9_onyx_int.h
parent9eea9fa20637df99da6d7a70fb89a6dfb415c33d (diff)
downloadlibvpx-6dd6ffb0bbb450069553f4484871b1e378b18c04.tar
libvpx-6dd6ffb0bbb450069553f4484871b1e378b18c04.tar.gz
libvpx-6dd6ffb0bbb450069553f4484871b1e378b18c04.tar.bz2
libvpx-6dd6ffb0bbb450069553f4484871b1e378b18c04.zip
Calculate SSIM over both reconstruction as well as postproc buffer.
We used to calculate SSIM only over the postproc buffer, whereas we calculate PSNR for both. Compared to postproc-SSIM, this is about 0.3% higher for derf, 1.4% lower for hd and 0.5% lower for stdhd, although it is highly variable on a per-clip basis. Change-Id: I8dd491f0f5b4201dedfb15d288c854d5d4caa10f
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h
index 891cc3f52..9f9cb0e1c 100644
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -640,6 +640,8 @@ typedef struct VP9_COMP {
int bytes;
double summed_quality;
double summed_weights;
+ double summedp_quality;
+ double summedp_weights;
unsigned int tot_recode_hits;