diff options
author | James Zern <jzern@google.com> | 2013-06-26 11:09:08 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2013-06-26 11:09:08 -0700 |
commit | e4f38c88da624a1634472e761dcb381ce3b95826 (patch) | |
tree | 1eb6e80ad021f1897b95c9cf100f4e754181d7ba /test | |
parent | 49dee1687934fd218aedd4db261337cdb7940691 (diff) | |
download | libvpx-e4f38c88da624a1634472e761dcb381ce3b95826.tar libvpx-e4f38c88da624a1634472e761dcb381ce3b95826.tar.gz libvpx-e4f38c88da624a1634472e761dcb381ce3b95826.tar.bz2 libvpx-e4f38c88da624a1634472e761dcb381ce3b95826.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/fdct4x4_test.cc | 8 | ||||
-rw-r--r-- | 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 4a788edc0..eabdee12f 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 03301a31b..6d8511878 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); } |