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 |
11 #ifndef TEST_TEST_VECTORS_H_ | 11 #ifndef TEST_TEST_VECTORS_H_ |
12 #define TEST_TEST_VECTORS_H_ | 12 #define TEST_TEST_VECTORS_H_ |
13 | 13 |
14 #include "./vpx_config.h" | 14 #include "./vpx_config.h" |
15 | 15 |
16 namespace libvpx_test { | 16 namespace libvpx_test { |
17 | 17 |
18 #if CONFIG_VP8_DECODER | 18 #if CONFIG_VP8_DECODER |
19 const int kNumVp8TestVectors = 62; | 19 extern const int kNumVP8TestVectors; |
20 extern const char *kVP8TestVectors[kNumVp8TestVectors]; | 20 extern const char *const kVP8TestVectors[]; |
21 #endif | 21 #endif |
22 | 22 |
23 #if CONFIG_VP9_DECODER | 23 #if CONFIG_VP9_DECODER |
24 const int kNumVp9TestVectors = 223; | 24 extern const int kNumVP9TestVectors; |
25 | 25 extern const char *const kVP9TestVectors[]; |
26 extern const char *kVP9TestVectors[kNumVp9TestVectors]; | |
27 #endif // CONFIG_VP9_DECODER | 26 #endif // CONFIG_VP9_DECODER |
28 | 27 |
29 } // namespace libvpx_test | 28 } // namespace libvpx_test |
30 | 29 |
31 #endif // TEST_TEST_VECTORS_H_ | 30 #endif // TEST_TEST_VECTORS_H_ |
OLD | NEW |