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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 /* pointers to reference frames */ | 221 /* pointers to reference frames */ |
222 RefBuffer *block_refs[2]; | 222 RefBuffer *block_refs[2]; |
223 | 223 |
224 /* pointer to current frame */ | 224 /* pointer to current frame */ |
225 const YV12_BUFFER_CONFIG *cur_buf; | 225 const YV12_BUFFER_CONFIG *cur_buf; |
226 | 226 |
227 /* mc buffer */ | 227 /* mc buffer */ |
228 DECLARE_ALIGNED(16, uint8_t, mc_buf[80 * 2 * 80 * 2]); | 228 DECLARE_ALIGNED(16, uint8_t, mc_buf[80 * 2 * 80 * 2]); |
229 | 229 |
230 int lossless; | 230 int lossless; |
231 /* Inverse transform function pointers. */ | |
232 void (*itxm_add)(const int16_t *input, uint8_t *dest, int stride, int eob); | |
233 | 231 |
234 int corrupted; | 232 int corrupted; |
235 | 233 |
236 DECLARE_ALIGNED(16, int16_t, dqcoeff[MAX_MB_PLANE][64 * 64]); | 234 DECLARE_ALIGNED(16, int16_t, dqcoeff[MAX_MB_PLANE][64 * 64]); |
237 | 235 |
238 ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; | 236 ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; |
239 ENTROPY_CONTEXT left_context[MAX_MB_PLANE][16]; | 237 ENTROPY_CONTEXT left_context[MAX_MB_PLANE][16]; |
240 | 238 |
241 PARTITION_CONTEXT *above_seg_context; | 239 PARTITION_CONTEXT *above_seg_context; |
242 PARTITION_CONTEXT left_seg_context[8]; | 240 PARTITION_CONTEXT left_seg_context[8]; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 | 318 |
321 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, | 319 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, |
322 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, | 320 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, |
323 int aoff, int loff); | 321 int aoff, int loff); |
324 | 322 |
325 #ifdef __cplusplus | 323 #ifdef __cplusplus |
326 } // extern "C" | 324 } // extern "C" |
327 #endif | 325 #endif |
328 | 326 |
329 #endif // VP9_COMMON_VP9_BLOCKD_H_ | 327 #endif // VP9_COMMON_VP9_BLOCKD_H_ |
OLD | NEW |