| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 typedef enum PARTITION_TYPE { | 61 typedef enum PARTITION_TYPE { |
| 62 PARTITION_NONE, | 62 PARTITION_NONE, |
| 63 PARTITION_HORZ, | 63 PARTITION_HORZ, |
| 64 PARTITION_VERT, | 64 PARTITION_VERT, |
| 65 PARTITION_SPLIT, | 65 PARTITION_SPLIT, |
| 66 PARTITION_TYPES, | 66 PARTITION_TYPES, |
| 67 PARTITION_INVALID = PARTITION_TYPES | 67 PARTITION_INVALID = PARTITION_TYPES |
| 68 } PARTITION_TYPE; | 68 } PARTITION_TYPE; |
| 69 | 69 |
| 70 typedef char PARTITION_CONTEXT; |
| 70 #define PARTITION_PLOFFSET 4 // number of probability models per block size | 71 #define PARTITION_PLOFFSET 4 // number of probability models per block size |
| 71 #define PARTITION_CONTEXTS (4 * PARTITION_PLOFFSET) | 72 #define PARTITION_CONTEXTS (4 * PARTITION_PLOFFSET) |
| 72 | 73 |
| 73 // block transform size | 74 // block transform size |
| 74 typedef enum { | 75 typedef enum { |
| 75 TX_4X4 = 0, // 4x4 transform | 76 TX_4X4 = 0, // 4x4 transform |
| 76 TX_8X8 = 1, // 8x8 transform | 77 TX_8X8 = 1, // 8x8 transform |
| 77 TX_16X16 = 2, // 16x16 transform | 78 TX_16X16 = 2, // 16x16 transform |
| 78 TX_32X32 = 3, // 32x32 transform | 79 TX_32X32 = 3, // 32x32 transform |
| 79 TX_SIZES | 80 TX_SIZES |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 VP9_LAST_FLAG = 1 << 0, | 113 VP9_LAST_FLAG = 1 << 0, |
| 113 VP9_GOLD_FLAG = 1 << 1, | 114 VP9_GOLD_FLAG = 1 << 1, |
| 114 VP9_ALT_FLAG = 1 << 2, | 115 VP9_ALT_FLAG = 1 << 2, |
| 115 } VP9_REFFRAME; | 116 } VP9_REFFRAME; |
| 116 | 117 |
| 117 #ifdef __cplusplus | 118 #ifdef __cplusplus |
| 118 } // extern "C" | 119 } // extern "C" |
| 119 #endif | 120 #endif |
| 120 | 121 |
| 121 #endif // VP9_COMMON_VP9_ENUMS_H_ | 122 #endif // VP9_COMMON_VP9_ENUMS_H_ |
| OLD | NEW |