From e4f38c88da624a1634472e761dcb381ce3b95826 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 26 Jun 2013 11:09:08 -0700 Subject: [PATCH] test/fdct*: fix some warnings comment out some unused parameters and adjust the format to avoid: ./test/fdct4x4_test.cc|27| warning C4138: '*/' found outside of comment Change-Id: I60f93b4c3cd7e8d61f0de80019f3404b40161f03 --- test/fdct4x4_test.cc | 8 ++++---- test/fdct8x8_test.cc | 12 +++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/fdct4x4_test.cc b/test/fdct4x4_test.cc index 4a788ed..eabdee1 100644 --- a/test/fdct4x4_test.cc +++ b/test/fdct4x4_test.cc @@ -24,19 +24,19 @@ extern "C" { using libvpx_test::ACMRandom; namespace { -void fdct4x4(int16_t *in, int16_t *out, uint8_t */*dst*/, +void fdct4x4(int16_t *in, int16_t *out, uint8_t* /*dst*/, int stride, int /*tx_type*/) { vp9_short_fdct4x4_c(in, out, stride); } -void idct4x4_add(int16_t */*in*/, int16_t *out, uint8_t *dst, +void idct4x4_add(int16_t* /*in*/, int16_t *out, uint8_t *dst, int stride, int /*tx_type*/) { vp9_short_idct4x4_add_c(out, dst, stride >> 1); } -void fht4x4(int16_t *in, int16_t *out, uint8_t */*dst*/, +void fht4x4(int16_t *in, int16_t *out, uint8_t* /*dst*/, int stride, int tx_type) { vp9_short_fht4x4_c(in, out, stride >> 1, tx_type); } -void iht4x4_add(int16_t */*in*/, int16_t *out, uint8_t *dst, +void iht4x4_add(int16_t* /*in*/, int16_t *out, uint8_t *dst, int stride, int tx_type) { vp9_short_iht4x4_add_c(out, dst, stride >> 1, tx_type); } diff --git a/test/fdct8x8_test.cc b/test/fdct8x8_test.cc index 03301a3..6d85118 100644 --- a/test/fdct8x8_test.cc +++ b/test/fdct8x8_test.cc @@ -25,14 +25,16 @@ void vp9_short_idct8x8_add_c(short *input, uint8_t *output, int pitch); using libvpx_test::ACMRandom; namespace { -void fdct8x8(int16_t *in, int16_t *out, uint8_t *dst, int stride, int tx_type) { +void fdct8x8(int16_t *in, int16_t *out, uint8_t* /*dst*/, + int stride, int /*tx_type*/) { vp9_short_fdct8x8_c(in, out, stride); } -void idct8x8_add(int16_t *in, int16_t *out, uint8_t *dst, - int stride, int tx_type) { +void idct8x8_add(int16_t* /*in*/, int16_t *out, uint8_t *dst, + int stride, int /*tx_type*/) { vp9_short_idct8x8_add_c(out, dst, stride >> 1); } -void fht8x8(int16_t *in, int16_t *out, uint8_t *dst, int stride, int tx_type) { +void fht8x8(int16_t *in, int16_t *out, uint8_t* /*dst*/, + int stride, int tx_type) { // TODO(jingning): need to refactor this to test both _c and _sse2 functions, // when we have all inverse dct functions done sse2. #if HAVE_SSE2 @@ -41,7 +43,7 @@ void fht8x8(int16_t *in, int16_t *out, uint8_t *dst, int stride, int tx_type) { vp9_short_fht8x8_c(in, out, stride >> 1, tx_type); #endif } -void iht8x8_add(int16_t *in, int16_t *out, uint8_t *dst, +void iht8x8_add(int16_t* /*in*/, int16_t *out, uint8_t *dst, int stride, int tx_type) { vp9_short_iht8x8_add_c(out, dst, stride >> 1, tx_type); } -- 2.7.4