| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride); | 32 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride); |
| 33 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride); | 33 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride); |
| 34 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride, | 34 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride, |
| 35 int tx_type); | 35 int tx_type); |
| 36 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride, | 36 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride, |
| 37 int tx_type); | 37 int tx_type); |
| 38 | 38 |
| 39 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct8x8Param; | 39 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct8x8Param; |
| 40 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht8x8Param; | 40 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht8x8Param; |
| 41 | 41 |
| 42 void fdct8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { | 42 void fdct8x8_ref(const int16_t *in, int16_t *out, int stride, int /*tx_type*/) { |
| 43 vp9_fdct8x8_c(in, out, stride); | 43 vp9_fdct8x8_c(in, out, stride); |
| 44 } | 44 } |
| 45 | 45 |
| 46 void fht8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { | 46 void fht8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { |
| 47 vp9_fht8x8_c(in, out, stride, tx_type); | 47 vp9_fht8x8_c(in, out, stride, tx_type); |
| 48 } | 48 } |
| 49 | 49 |
| 50 class FwdTrans8x8TestBase { | 50 class FwdTrans8x8TestBase { |
| 51 public: | 51 public: |
| 52 virtual ~FwdTrans8x8TestBase() {} | 52 virtual ~FwdTrans8x8TestBase() {} |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3))); | 361 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3))); |
| 362 #endif | 362 #endif |
| 363 | 363 |
| 364 #if HAVE_SSSE3 && ARCH_X86_64 | 364 #if HAVE_SSSE3 && ARCH_X86_64 |
| 365 INSTANTIATE_TEST_CASE_P( | 365 INSTANTIATE_TEST_CASE_P( |
| 366 SSSE3, FwdTrans8x8DCT, | 366 SSSE3, FwdTrans8x8DCT, |
| 367 ::testing::Values( | 367 ::testing::Values( |
| 368 make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0))); | 368 make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0))); |
| 369 #endif | 369 #endif |
| 370 } // namespace | 370 } // namespace |
| OLD | NEW |