Index: source/libvpx/test/convolve_test.cc |
=================================================================== |
--- source/libvpx/test/convolve_test.cc (revision 240950) |
+++ source/libvpx/test/convolve_test.cc (working copy) |
@@ -44,6 +44,8 @@ |
convolve_fn_t hv8_avg_; |
}; |
+typedef std::tr1::tuple<int, int, const ConvolveFunctions*> convolve_param_t; |
+ |
// Reference 8-tap subpixel filter, slightly modified to fit into this test. |
#define VP9_FILTER_WEIGHT 128 |
#define VP9_FILTER_SHIFT 7 |
@@ -169,7 +171,7 @@ |
output_width, output_height); |
} |
-class ConvolveTest : public PARAMS(int, int, const ConvolveFunctions*) { |
+class ConvolveTest : public ::testing::TestWithParam<convolve_param_t> { |
public: |
static void SetUpTestCase() { |
// Force input_ to be unaligned, output to be 16 byte aligned. |