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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 CONTEXT pre_context_; | 75 CONTEXT pre_context_; |
76 }; | 76 }; |
77 | 77 |
78 #define REGISTER_STATE_CHECK(statement) do { \ | 78 #define REGISTER_STATE_CHECK(statement) do { \ |
79 libvpx_test::RegisterStateCheck reg_check; \ | 79 libvpx_test::RegisterStateCheck reg_check; \ |
80 statement; \ | 80 statement; \ |
81 } while (false) | 81 } while (false) |
82 | 82 |
83 } // namespace libvpx_test | 83 } // namespace libvpx_test |
84 | 84 |
85 #elif defined(CONFIG_SHARED) && defined(HAVE_NEON) && defined(CONFIG_VP9) \ | 85 #elif defined(CONFIG_SHARED) && defined(HAVE_NEON_ASM) && defined(CONFIG_VP9) \ |
86 && !CONFIG_SHARED && HAVE_NEON && CONFIG_VP9 | 86 && !CONFIG_SHARED && HAVE_NEON_ASM && CONFIG_VP9 |
87 | 87 |
88 #include "vpx/vpx_integer.h" | 88 #include "vpx/vpx_integer.h" |
89 | 89 |
90 extern "C" { | 90 extern "C" { |
91 // Save the d8-d15 registers into store. | 91 // Save the d8-d15 registers into store. |
92 void vp9_push_neon(int64_t *store); | 92 void vp9_push_neon(int64_t *store); |
93 } | 93 } |
94 | 94 |
95 namespace libvpx_test { | 95 namespace libvpx_test { |
96 | 96 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 namespace libvpx_test { | 141 namespace libvpx_test { |
142 | 142 |
143 class RegisterStateCheck {}; | 143 class RegisterStateCheck {}; |
144 #define REGISTER_STATE_CHECK(statement) statement | 144 #define REGISTER_STATE_CHECK(statement) statement |
145 | 145 |
146 } // namespace libvpx_test | 146 } // namespace libvpx_test |
147 | 147 |
148 #endif // _WIN64 | 148 #endif // _WIN64 |
149 | 149 |
150 #endif // TEST_REGISTER_STATE_CHECK_H_ | 150 #endif // TEST_REGISTER_STATE_CHECK_H_ |
OLD | NEW |