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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 uint8_t *src, int stride, | 50 uint8_t *src, int stride, |
51 int mi_row, int mi_col, | 51 int mi_row, int mi_col, |
52 const struct scale_factors *scale, | 52 const struct scale_factors *scale, |
53 int subsampling_x, int subsampling_y) { | 53 int subsampling_x, int subsampling_y) { |
54 const int x = (MI_SIZE * mi_col) >> subsampling_x; | 54 const int x = (MI_SIZE * mi_col) >> subsampling_x; |
55 const int y = (MI_SIZE * mi_row) >> subsampling_y; | 55 const int y = (MI_SIZE * mi_row) >> subsampling_y; |
56 dst->buf = src + scaled_buffer_offset(x, y, stride, scale); | 56 dst->buf = src + scaled_buffer_offset(x, y, stride, scale); |
57 dst->stride = stride; | 57 dst->stride = stride; |
58 } | 58 } |
59 | 59 |
60 void vp9_setup_dst_planes(MACROBLOCKD *xd, const YV12_BUFFER_CONFIG *src, | 60 void vp9_setup_dst_planes(struct macroblockd_plane planes[MAX_MB_PLANE], |
| 61 const YV12_BUFFER_CONFIG *src, |
61 int mi_row, int mi_col); | 62 int mi_row, int mi_col); |
62 | 63 |
63 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, | 64 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, |
64 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, | 65 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, |
65 const struct scale_factors *sf); | 66 const struct scale_factors *sf); |
66 | 67 |
67 #ifdef __cplusplus | 68 #ifdef __cplusplus |
68 } // extern "C" | 69 } // extern "C" |
69 #endif | 70 #endif |
70 | 71 |
71 #endif // VP9_COMMON_VP9_RECONINTER_H_ | 72 #endif // VP9_COMMON_VP9_RECONINTER_H_ |
OLD | NEW |