/* * Copyright (c) 2012 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef VPX_TEST_UTIL_H_ #define VPX_TEST_UTIL_H_ #include <stdio.h> #include <math.h> #include <tuple> #include "gtest/gtest.h" #include "vpx/vpx_image.h" // Macros #define GET_PARAM(k) … inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { … } #endif // VPX_TEST_UTIL_H_