Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: source/libvpx/test/util.h

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/test_libvpx.cc ('k') | source/libvpx/test/video_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/util.h
diff --git a/source/libvpx/test/util.h b/source/libvpx/test/util.h
index 3c45721fa69d48ec7d3e325bb67896764d1a2152..b27bffa94be61b5b3f8c2ae43508ee314121d796 100644
--- a/source/libvpx/test/util.h
+++ b/source/libvpx/test/util.h
@@ -19,8 +19,7 @@
// Macros
#define GET_PARAM(k) std::tr1::get< k >(GetParam())
-static double compute_psnr(const vpx_image_t *img1,
- const vpx_image_t *img2) {
+inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) {
assert((img1->fmt == img2->fmt) &&
(img1->d_w == img2->d_w) &&
(img1->d_h == img2->d_h));
« no previous file with comments | « source/libvpx/test/test_libvpx.cc ('k') | source/libvpx/test/video_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698