| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 make_tuple(&vp9_idct32x32_1024_add_c, | 125 make_tuple(&vp9_idct32x32_1024_add_c, |
| 126 &vp9_idct32x32_1_add_c, | 126 &vp9_idct32x32_1_add_c, |
| 127 TX_32X32, 1), | 127 TX_32X32, 1), |
| 128 make_tuple(&vp9_idct16x16_256_add_c, | 128 make_tuple(&vp9_idct16x16_256_add_c, |
| 129 &vp9_idct16x16_10_add_c, | 129 &vp9_idct16x16_10_add_c, |
| 130 TX_16X16, 10), | 130 TX_16X16, 10), |
| 131 make_tuple(&vp9_idct16x16_256_add_c, | 131 make_tuple(&vp9_idct16x16_256_add_c, |
| 132 &vp9_idct16x16_1_add_c, | 132 &vp9_idct16x16_1_add_c, |
| 133 TX_16X16, 1), | 133 TX_16X16, 1), |
| 134 make_tuple(&vp9_idct8x8_64_add_c, | 134 make_tuple(&vp9_idct8x8_64_add_c, |
| 135 &vp9_idct8x8_10_add_c, | 135 &vp9_idct8x8_12_add_c, |
| 136 TX_8X8, 10), | 136 TX_8X8, 12), |
| 137 make_tuple(&vp9_idct8x8_64_add_c, | 137 make_tuple(&vp9_idct8x8_64_add_c, |
| 138 &vp9_idct8x8_1_add_c, | 138 &vp9_idct8x8_1_add_c, |
| 139 TX_8X8, 1), | 139 TX_8X8, 1), |
| 140 make_tuple(&vp9_idct4x4_16_add_c, | 140 make_tuple(&vp9_idct4x4_16_add_c, |
| 141 &vp9_idct4x4_1_add_c, | 141 &vp9_idct4x4_1_add_c, |
| 142 TX_4X4, 1))); | 142 TX_4X4, 1))); |
| 143 #if HAVE_NEON | 143 #if HAVE_NEON_ASM |
| 144 INSTANTIATE_TEST_CASE_P( | 144 INSTANTIATE_TEST_CASE_P( |
| 145 NEON, PartialIDctTest, | 145 NEON, PartialIDctTest, |
| 146 ::testing::Values( | 146 ::testing::Values( |
| 147 make_tuple(&vp9_idct32x32_1024_add_c, | 147 make_tuple(&vp9_idct32x32_1024_add_c, |
| 148 &vp9_idct32x32_1_add_neon, | 148 &vp9_idct32x32_1_add_neon, |
| 149 TX_32X32, 1), | 149 TX_32X32, 1), |
| 150 make_tuple(&vp9_idct16x16_256_add_c, | 150 make_tuple(&vp9_idct16x16_256_add_c, |
| 151 &vp9_idct16x16_10_add_neon, | 151 &vp9_idct16x16_10_add_neon, |
| 152 TX_16X16, 10), | 152 TX_16X16, 10), |
| 153 make_tuple(&vp9_idct16x16_256_add_c, | 153 make_tuple(&vp9_idct16x16_256_add_c, |
| 154 &vp9_idct16x16_1_add_neon, | 154 &vp9_idct16x16_1_add_neon, |
| 155 TX_16X16, 1), | 155 TX_16X16, 1), |
| 156 make_tuple(&vp9_idct8x8_64_add_c, | 156 make_tuple(&vp9_idct8x8_64_add_c, |
| 157 &vp9_idct8x8_10_add_neon, | 157 &vp9_idct8x8_12_add_neon, |
| 158 TX_8X8, 10), | 158 TX_8X8, 12), |
| 159 make_tuple(&vp9_idct8x8_64_add_c, | 159 make_tuple(&vp9_idct8x8_64_add_c, |
| 160 &vp9_idct8x8_1_add_neon, | 160 &vp9_idct8x8_1_add_neon, |
| 161 TX_8X8, 1), | 161 TX_8X8, 1), |
| 162 make_tuple(&vp9_idct4x4_16_add_c, | 162 make_tuple(&vp9_idct4x4_16_add_c, |
| 163 &vp9_idct4x4_1_add_neon, | 163 &vp9_idct4x4_1_add_neon, |
| 164 TX_4X4, 1))); | 164 TX_4X4, 1))); |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 #if HAVE_SSE2 | 167 #if HAVE_SSE2 |
| 168 INSTANTIATE_TEST_CASE_P( | 168 INSTANTIATE_TEST_CASE_P( |
| 169 SSE2, PartialIDctTest, | 169 SSE2, PartialIDctTest, |
| 170 ::testing::Values( | 170 ::testing::Values( |
| 171 make_tuple(&vp9_idct32x32_1024_add_c, | 171 make_tuple(&vp9_idct32x32_1024_add_c, |
| 172 &vp9_idct32x32_34_add_sse2, | 172 &vp9_idct32x32_34_add_sse2, |
| 173 TX_32X32, 34), | 173 TX_32X32, 34), |
| 174 make_tuple(&vp9_idct32x32_1024_add_c, | 174 make_tuple(&vp9_idct32x32_1024_add_c, |
| 175 &vp9_idct32x32_1_add_sse2, | 175 &vp9_idct32x32_1_add_sse2, |
| 176 TX_32X32, 1), | 176 TX_32X32, 1), |
| 177 make_tuple(&vp9_idct16x16_256_add_c, | 177 make_tuple(&vp9_idct16x16_256_add_c, |
| 178 &vp9_idct16x16_10_add_sse2, | 178 &vp9_idct16x16_10_add_sse2, |
| 179 TX_16X16, 10), | 179 TX_16X16, 10), |
| 180 make_tuple(&vp9_idct16x16_256_add_c, | 180 make_tuple(&vp9_idct16x16_256_add_c, |
| 181 &vp9_idct16x16_1_add_sse2, | 181 &vp9_idct16x16_1_add_sse2, |
| 182 TX_16X16, 1), | 182 TX_16X16, 1), |
| 183 make_tuple(&vp9_idct8x8_64_add_c, | 183 make_tuple(&vp9_idct8x8_64_add_c, |
| 184 &vp9_idct8x8_10_add_sse2, | 184 &vp9_idct8x8_12_add_sse2, |
| 185 TX_8X8, 10), | 185 TX_8X8, 12), |
| 186 make_tuple(&vp9_idct8x8_64_add_c, | 186 make_tuple(&vp9_idct8x8_64_add_c, |
| 187 &vp9_idct8x8_1_add_sse2, | 187 &vp9_idct8x8_1_add_sse2, |
| 188 TX_8X8, 1), | 188 TX_8X8, 1), |
| 189 make_tuple(&vp9_idct4x4_16_add_c, | 189 make_tuple(&vp9_idct4x4_16_add_c, |
| 190 &vp9_idct4x4_1_add_sse2, | 190 &vp9_idct4x4_1_add_sse2, |
| 191 TX_4X4, 1))); | 191 TX_4X4, 1))); |
| 192 #endif | 192 #endif |
| 193 |
| 194 #if HAVE_SSSE3 && ARCH_X86_64 |
| 195 INSTANTIATE_TEST_CASE_P( |
| 196 SSSE3, PartialIDctTest, |
| 197 ::testing::Values( |
| 198 make_tuple(&vp9_idct8x8_64_add_c, |
| 199 &vp9_idct8x8_12_add_ssse3, |
| 200 TX_8X8, 12))); |
| 201 #endif |
| 193 } // namespace | 202 } // namespace |
| OLD | NEW |