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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 int prev_mi_idx; | 143 int prev_mi_idx; |
144 int mi_alloc_size; | 144 int mi_alloc_size; |
145 MODE_INFO *mip_array[2]; | 145 MODE_INFO *mip_array[2]; |
146 MODE_INFO **mi_grid_base_array[2]; | 146 MODE_INFO **mi_grid_base_array[2]; |
147 | 147 |
148 MODE_INFO *mip; /* Base of allocated array */ | 148 MODE_INFO *mip; /* Base of allocated array */ |
149 MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ | 149 MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ |
150 MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */ | 150 MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */ |
151 MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */ | 151 MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */ |
152 | 152 |
153 MODE_INFO **mi_grid_base; | |
154 MODE_INFO **mi_grid_visible; | |
155 MODE_INFO **prev_mi_grid_base; | |
156 MODE_INFO **prev_mi_grid_visible; | |
157 | |
158 // Persistent mb segment id map used in prediction. | 153 // Persistent mb segment id map used in prediction. |
159 unsigned char *last_frame_seg_map; | 154 unsigned char *last_frame_seg_map; |
160 | 155 |
161 INTERP_FILTER interp_filter; | 156 INTERP_FILTER interp_filter; |
162 | 157 |
163 loop_filter_info_n lf_info; | 158 loop_filter_info_n lf_info; |
164 | 159 |
165 int refresh_frame_context; /* Two state 0 = NO, 1 = YES */ | 160 int refresh_frame_context; /* Two state 0 = NO, 1 = YES */ |
166 | 161 |
167 int ref_frame_sign_bias[MAX_REF_FRAMES]; /* Two state 0, 1 */ | 162 int ref_frame_sign_bias[MAX_REF_FRAMES]; /* Two state 0, 1 */ |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 left = (left & bs) > 0; | 343 left = (left & bs) > 0; |
349 | 344 |
350 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 345 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; |
351 } | 346 } |
352 | 347 |
353 #ifdef __cplusplus | 348 #ifdef __cplusplus |
354 } // extern "C" | 349 } // extern "C" |
355 #endif | 350 #endif |
356 | 351 |
357 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ | 352 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ |
OLD | NEW |