Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: source/libvpx/vp9/common/vp9_enums.h

Issue 668403002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp9/common/vp9_entropymv.h ('k') | source/libvpx/vp9/common/vp9_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_entropymv.h ('k') | source/libvpx/vp9/common/vp9_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698