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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 } | 98 } |
99 } | 99 } |
100 vpx_free(be.src_diff); | 100 vpx_free(be.src_diff); |
101 vpx_free(source); | 101 vpx_free(source); |
102 vpx_free(bd.predictor); | 102 vpx_free(bd.predictor); |
103 } | 103 } |
104 | 104 |
105 INSTANTIATE_TEST_CASE_P(C, SubtractBlockTest, | 105 INSTANTIATE_TEST_CASE_P(C, SubtractBlockTest, |
106 ::testing::Values(vp8_subtract_b_c)); | 106 ::testing::Values(vp8_subtract_b_c)); |
107 | 107 |
108 #if HAVE_NEON | 108 #if HAVE_NEON_ASM |
109 INSTANTIATE_TEST_CASE_P(NEON, SubtractBlockTest, | 109 INSTANTIATE_TEST_CASE_P(NEON, SubtractBlockTest, |
110 ::testing::Values(vp8_subtract_b_neon)); | 110 ::testing::Values(vp8_subtract_b_neon)); |
111 #endif | 111 #endif |
112 | 112 |
113 #if HAVE_MMX | 113 #if HAVE_MMX |
114 INSTANTIATE_TEST_CASE_P(MMX, SubtractBlockTest, | 114 INSTANTIATE_TEST_CASE_P(MMX, SubtractBlockTest, |
115 ::testing::Values(vp8_subtract_b_mmx)); | 115 ::testing::Values(vp8_subtract_b_mmx)); |
116 #endif | 116 #endif |
117 | 117 |
118 #if HAVE_SSE2 | 118 #if HAVE_SSE2 |
119 INSTANTIATE_TEST_CASE_P(SSE2, SubtractBlockTest, | 119 INSTANTIATE_TEST_CASE_P(SSE2, SubtractBlockTest, |
120 ::testing::Values(vp8_subtract_b_sse2)); | 120 ::testing::Values(vp8_subtract_b_sse2)); |
121 #endif | 121 #endif |
122 | 122 |
123 } // namespace | 123 } // namespace |
OLD | NEW |