ref: 29d0cc2431427f29ddaa6b226910dcdb4f87924e
parent: 20d902a3762cafc666c3e122995289c8818cc7c7
parent: 4ea7f2be43de8c832f01c5741be8df6125f65dc2
author: Aℓex Converse <[email protected]>
date: Mon Aug 10 13:49:39 EDT 2015
Merge "fastssim: Add some missing consts"
--- a/vpx_dsp/fastssim.c
+++ b/vpx_dsp/fastssim.c
@@ -444,7 +444,8 @@
return 10 * (log10(_weight) - log10(_weight - _ssim));
}
-double vpx_calc_fastssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest,
+double vpx_calc_fastssim(const YV12_BUFFER_CONFIG *source,
+ const YV12_BUFFER_CONFIG *dest,
double *ssim_y, double *ssim_u, double *ssim_v) {
double ssimv;
vpx_clear_system_state();
--- a/vpx_dsp/ssim.h
+++ b/vpx_dsp/ssim.h
@@ -80,7 +80,8 @@
const YV12_BUFFER_CONFIG *dest,
double *ssim_y, double *ssim_u, double *ssim_v);
-double vpx_calc_fastssim(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest,
+double vpx_calc_fastssim(const YV12_BUFFER_CONFIG *source,
+ const YV12_BUFFER_CONFIG *dest,
double *ssim_y, double *ssim_u, double *ssim_v);
double vpx_psnrhvs(const YV12_BUFFER_CONFIG *source,