| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride); | 261 typedef void (*FdctFunc)(const int16_t *in, int16_t *out, int stride); |
| 262 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride); | 262 typedef void (*IdctFunc)(const int16_t *in, uint8_t *out, int stride); |
| 263 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride, | 263 typedef void (*FhtFunc)(const int16_t *in, int16_t *out, int stride, |
| 264 int tx_type); | 264 int tx_type); |
| 265 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride, | 265 typedef void (*IhtFunc)(const int16_t *in, uint8_t *out, int stride, |
| 266 int tx_type); | 266 int tx_type); |
| 267 | 267 |
| 268 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct16x16Param; | 268 typedef std::tr1::tuple<FdctFunc, IdctFunc, int> Dct16x16Param; |
| 269 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht16x16Param; | 269 typedef std::tr1::tuple<FhtFunc, IhtFunc, int> Ht16x16Param; |
| 270 | 270 |
| 271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { | 271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride, |
| 272 int /*tx_type*/) { |
| 272 vp9_fdct16x16_c(in, out, stride); | 273 vp9_fdct16x16_c(in, out, stride); |
| 273 } | 274 } |
| 274 | 275 |
| 275 void idct16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) { | 276 void idct16x16_ref(const int16_t *in, uint8_t *dest, int stride, |
| 277 int /*tx_type*/) { |
| 276 vp9_idct16x16_256_add_c(in, dest, stride); | 278 vp9_idct16x16_256_add_c(in, dest, stride); |
| 277 } | 279 } |
| 278 | 280 |
| 279 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { | 281 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { |
| 280 vp9_fht16x16_c(in, out, stride, tx_type); | 282 vp9_fht16x16_c(in, out, stride, tx_type); |
| 281 } | 283 } |
| 282 | 284 |
| 283 void iht16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) { | 285 void iht16x16_ref(const int16_t *in, uint8_t *dest, int stride, int tx_type) { |
| 284 vp9_iht16x16_256_add_c(in, dest, stride, tx_type); | 286 vp9_iht16x16_256_add_c(in, dest, stride, tx_type); |
| 285 } | 287 } |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3))); | 602 make_tuple(&vp9_fht16x16_sse2, &vp9_iht16x16_256_add_sse2, 3))); |
| 601 #endif | 603 #endif |
| 602 | 604 |
| 603 #if HAVE_SSSE3 | 605 #if HAVE_SSSE3 |
| 604 INSTANTIATE_TEST_CASE_P( | 606 INSTANTIATE_TEST_CASE_P( |
| 605 SSSE3, Trans16x16DCT, | 607 SSSE3, Trans16x16DCT, |
| 606 ::testing::Values( | 608 ::testing::Values( |
| 607 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0))); | 609 make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_ssse3, 0))); |
| 608 #endif | 610 #endif |
| 609 } // namespace | 611 } // namespace |
| OLD | NEW |