summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-07-16 18:58:16 -0700
committerJames Zern <jzern@google.com>2014-07-18 20:39:06 -0700
commit49135d374863b088d8457b3973c868ce67c6cfae (patch)
tree9e52020d5c61e50245ef366f1c11afb8b670cdba /test
parent9c05172d0a530af2caf923206e2352f5ef22105a (diff)
downloadlibvpx-49135d374863b088d8457b3973c868ce67c6cfae.tar
libvpx-49135d374863b088d8457b3973c868ce67c6cfae.tar.gz
libvpx-49135d374863b088d8457b3973c868ce67c6cfae.tar.bz2
libvpx-49135d374863b088d8457b3973c868ce67c6cfae.zip
partial_idct_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: Ied220e09fceef53039f234ebbb7e51c8e081c84e
Diffstat (limited to 'test')
-rw-r--r--test/partial_idct_test.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/partial_idct_test.cc b/test/partial_idct_test.cc
index fd24c7560..15f4e6cba 100644
--- a/test/partial_idct_test.cc
+++ b/test/partial_idct_test.cc
@@ -26,14 +26,14 @@
using libvpx_test::ACMRandom;
namespace {
-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 std::tr1::tuple<fwd_txfm_t,
- inv_txfm_t,
- inv_txfm_t,
- TX_SIZE, int> partial_itxfm_param_t;
+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<FwdTxfmFunc,
+ InvTxfmFunc,
+ InvTxfmFunc,
+ TX_SIZE, int> PartialInvTxfmParam;
const int kMaxNumCoeffs = 1024;
-class PartialIDctTest : public ::testing::TestWithParam<partial_itxfm_param_t> {
+class PartialIDctTest : public ::testing::TestWithParam<PartialInvTxfmParam> {
public:
virtual ~PartialIDctTest() {}
virtual void SetUp() {
@@ -49,9 +49,9 @@ class PartialIDctTest : public ::testing::TestWithParam<partial_itxfm_param_t> {
protected:
int last_nonzero_;
TX_SIZE tx_size_;
- fwd_txfm_t ftxfm_;
- inv_txfm_t full_itxfm_;
- inv_txfm_t partial_itxfm_;
+ FwdTxfmFunc ftxfm_;
+ InvTxfmFunc full_itxfm_;
+ InvTxfmFunc partial_itxfm_;
};
TEST_P(PartialIDctTest, RunQuantCheck) {