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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 int uv_dc_delta_q; | 135 int uv_dc_delta_q; |
136 int uv_ac_delta_q; | 136 int uv_ac_delta_q; |
137 #if CONFIG_ALPHA | 137 #if CONFIG_ALPHA |
138 int a_dc_delta_q; | 138 int a_dc_delta_q; |
139 int a_ac_delta_q; | 139 int a_ac_delta_q; |
140 #endif | 140 #endif |
141 | 141 |
142 /* We allocate a MODE_INFO struct for each macroblock, together with | 142 /* We allocate a MODE_INFO struct for each macroblock, together with |
143 an extra row on top and column on the left to simplify prediction. */ | 143 an extra row on top and column on the left to simplify prediction. */ |
144 | 144 |
| 145 int mi_idx; |
| 146 int prev_mi_idx; |
| 147 MODE_INFO *mip_array[2]; |
| 148 MODE_INFO **mi_grid_base_array[2]; |
| 149 |
145 MODE_INFO *mip; /* Base of allocated array */ | 150 MODE_INFO *mip; /* Base of allocated array */ |
146 MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ | 151 MODE_INFO *mi; /* Corresponds to upper left visible macroblock */ |
147 MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */ | 152 MODE_INFO *prev_mip; /* MODE_INFO array 'mip' from last decoded frame */ |
148 MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */ | 153 MODE_INFO *prev_mi; /* 'mi' from last frame (points into prev_mip) */ |
149 | 154 |
150 MODE_INFO **mi_grid_base; | 155 MODE_INFO **mi_grid_base; |
151 MODE_INFO **mi_grid_visible; | 156 MODE_INFO **mi_grid_visible; |
152 MODE_INFO **prev_mi_grid_base; | 157 MODE_INFO **prev_mi_grid_base; |
153 MODE_INFO **prev_mi_grid_visible; | 158 MODE_INFO **prev_mi_grid_visible; |
154 | 159 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 left = (left & bs) > 0; | 341 left = (left & bs) > 0; |
337 | 342 |
338 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 343 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; |
339 } | 344 } |
340 | 345 |
341 #ifdef __cplusplus | 346 #ifdef __cplusplus |
342 } // extern "C" | 347 } // extern "C" |
343 #endif | 348 #endif |
344 | 349 |
345 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ | 350 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ |
OLD | NEW |