From fd38e70d430909cc1f5d5d2c450dbd9649eee950 Mon Sep 17 00:00:00 2001 From: James Zern <jzern@google.com> Date: Wed, 16 Jul 2014 18:54:31 -0700 Subject: [PATCH] dct32x32_test: drop '_t' from local typenames _t is reserved by posix + switch to camelcase http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Type_Names Change-Id: Ie1918d93c0a0d7a854e88b5a77b8c21b4cdc28b7 --- test/dct32x32_test.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/dct32x32_test.cc b/test/dct32x32_test.cc index 02250a97ba..4f34a44f74 100644 --- a/test/dct32x32_test.cc +++ b/test/dct32x32_test.cc @@ -71,12 +71,12 @@ void reference_32x32_dct_2d(const int16_t input[kNumCoeffs], } } -typedef void (*fwd_txfm_t)(const int16_t *in, int16_t *out, int stride); -typedef void (*inv_txfm_t)(const int16_t *in, uint8_t *out, int stride); +typedef void (*FwdTxfmFunc)(const int16_t *in, int16_t *out, int stride); +typedef void (*InvTxfmFunc)(const int16_t *in, uint8_t *out, int stride); -typedef std::tr1::tuple<fwd_txfm_t, inv_txfm_t, int> trans_32x32_param_t; +typedef std::tr1::tuple<FwdTxfmFunc, InvTxfmFunc, int> Trans32x32Param; -class Trans32x32Test : public ::testing::TestWithParam<trans_32x32_param_t> { +class Trans32x32Test : public ::testing::TestWithParam<Trans32x32Param> { public: virtual ~Trans32x32Test() {} virtual void SetUp() { @@ -90,8 +90,8 @@ class Trans32x32Test : public ::testing::TestWithParam<trans_32x32_param_t> { protected: int version_; - fwd_txfm_t fwd_txfm_; - inv_txfm_t inv_txfm_; + FwdTxfmFunc fwd_txfm_; + InvTxfmFunc inv_txfm_; }; TEST_P(Trans32x32Test, AccuracyCheck) { -- GitLab