OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 typedef enum { | 93 typedef enum { |
94 DCT_DCT = 0, // DCT in both horizontal and vertical | 94 DCT_DCT = 0, // DCT in both horizontal and vertical |
95 ADST_DCT = 1, // ADST in vertical, DCT in horizontal | 95 ADST_DCT = 1, // ADST in vertical, DCT in horizontal |
96 DCT_ADST = 2, // DCT in vertical, ADST in horizontal | 96 DCT_ADST = 2, // DCT in vertical, ADST in horizontal |
97 ADST_ADST = 3, // ADST in both directions | 97 ADST_ADST = 3, // ADST in both directions |
98 TX_TYPES = 4 | 98 TX_TYPES = 4 |
99 } TX_TYPE; | 99 } TX_TYPE; |
100 | 100 |
101 typedef enum { | 101 typedef enum { |
102 UNKNOWN = 0, | |
103 BT_601 = 1, // YUV | |
104 BT_709 = 2, // YUV | |
105 SMPTE_170 = 3, // YUV | |
106 SMPTE_240 = 4, // YUV | |
107 BT_2020 = 5, // YUV | |
108 RESERVED_2 = 6, | |
109 SRGB = 7 // RGB | |
110 } COLOR_SPACE; | |
111 | |
112 typedef enum { | |
113 VP9_LAST_FLAG = 1 << 0, | 102 VP9_LAST_FLAG = 1 << 0, |
114 VP9_GOLD_FLAG = 1 << 1, | 103 VP9_GOLD_FLAG = 1 << 1, |
115 VP9_ALT_FLAG = 1 << 2, | 104 VP9_ALT_FLAG = 1 << 2, |
116 } VP9_REFFRAME; | 105 } VP9_REFFRAME; |
117 | 106 |
118 #ifdef __cplusplus | 107 #ifdef __cplusplus |
119 } // extern "C" | 108 } // extern "C" |
120 #endif | 109 #endif |
121 | 110 |
122 #endif // VP9_COMMON_VP9_ENUMS_H_ | 111 #endif // VP9_COMMON_VP9_ENUMS_H_ |
OLD | NEW |