summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2014-01-13 10:59:26 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-01-13 10:59:26 -0800
commit4ae8ac7be8a7da7490c17ea38d793ced2566dde6 (patch)
tree21563e63dc1044c4c78c99ea000c665e4986a411 /vp9/encoder/vp9_onyx_int.h
parent6fcabdd20c2b6a309e613f1457ef5f02e5498ebf (diff)
parent4def0a8125c84a20724e481c4753724413d710c1 (diff)
downloadlibvpx-4ae8ac7be8a7da7490c17ea38d793ced2566dde6.tar
libvpx-4ae8ac7be8a7da7490c17ea38d793ced2566dde6.tar.gz
libvpx-4ae8ac7be8a7da7490c17ea38d793ced2566dde6.tar.bz2
libvpx-4ae8ac7be8a7da7490c17ea38d793ced2566dde6.zip
Merge "Cleaning up and fixing psnr calculation code."
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h
index 4bcf10933..a5be0f424 100644
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -700,12 +700,16 @@ typedef struct VP9_COMP {
double total_u;
double total_v;
double total;
- double total_sq_error;
+ uint64_t total_sq_error;
+ uint64_t total_samples;
+
double totalp_y;
double totalp_u;
double totalp_v;
double totalp;
- double total_sq_error2;
+ uint64_t totalp_sq_error;
+ uint64_t totalp_samples;
+
int bytes;
double summed_quality;
double summed_weights;