Add tests for Highbitdepth PSNR metric computations
Change-Id: I07324155f73bbdbe25bb7a7ccd587ebf9010ac7a
diff --git a/vpx_dsp/psnr.c b/vpx_dsp/psnr.c
index ee803f6..1b92e2a 100644
--- a/vpx_dsp/psnr.c
+++ b/vpx_dsp/psnr.c
@@ -258,7 +258,7 @@
(double)total_sse);
}
-#else // !CONFIG_VP9_HIGHBITDEPTH
+#endif // !CONFIG_VP9_HIGHBITDEPTH
void calc_psnr(const YV12_BUFFER_CONFIG *a, const YV12_BUFFER_CONFIG *b,
PSNR_STATS *psnr) {
@@ -295,4 +295,3 @@
psnr->psnr[0] = vpx_sse_to_psnr((double)total_samples, peak,
(double)total_sse);
}
-#endif // CONFIG_VP9_HIGHBITDEPTH