test/fdct*: fix some warnings
authorJames Zern <jzern@google.com>
Wed, 26 Jun 2013 18:09:08 +0000 (11:09 -0700)
committerJames Zern <jzern@google.com>
Wed, 26 Jun 2013 18:09:08 +0000 (11:09 -0700)
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
test/fdct8x8_test.cc

index 4a788ed..eabdee1 100644 (file)
@@ -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);
 }
index 03301a3..6d85118 100644 (file)
@@ -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);
 }