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 |
11 #ifndef VP9_COMMON_VP9_RECONINTER_H_ | 11 #ifndef VP9_COMMON_VP9_RECONINTER_H_ |
12 #define VP9_COMMON_VP9_RECONINTER_H_ | 12 #define VP9_COMMON_VP9_RECONINTER_H_ |
13 | 13 |
| 14 #include "vpx/vpx_integer.h" |
14 #include "vp9/common/vp9_onyxc_int.h" | 15 #include "vp9/common/vp9_onyxc_int.h" |
15 | 16 |
16 extern void vp9_build_1st_inter16x16_predictors_mby(MACROBLOCKD *xd, | 17 extern void vp9_build_1st_inter16x16_predictors_mby(MACROBLOCKD *xd, |
17 unsigned char *dst_y, | 18 uint8_t *dst_y, |
18 int dst_ystride, | 19 int dst_ystride, |
19 int clamp_mvs); | 20 int clamp_mvs); |
20 | 21 |
21 extern void vp9_build_1st_inter16x16_predictors_mbuv(MACROBLOCKD *xd, | 22 extern void vp9_build_1st_inter16x16_predictors_mbuv(MACROBLOCKD *xd, |
22 unsigned char *dst_u, | 23 uint8_t *dst_u, |
23 unsigned char *dst_v, | 24 uint8_t *dst_v, |
24 int dst_uvstride); | 25 int dst_uvstride); |
25 | 26 |
26 extern void vp9_build_1st_inter16x16_predictors_mb(MACROBLOCKD *xd, | 27 extern void vp9_build_1st_inter16x16_predictors_mb(MACROBLOCKD *xd, |
27 unsigned char *dst_y, | 28 uint8_t *dst_y, |
28 unsigned char *dst_u, | 29 uint8_t *dst_u, |
29 unsigned char *dst_v, | 30 uint8_t *dst_v, |
30 int dst_ystride, | 31 int dst_ystride, |
31 int dst_uvstride); | 32 int dst_uvstride); |
32 | 33 |
33 extern void vp9_build_2nd_inter16x16_predictors_mby(MACROBLOCKD *xd, | 34 extern void vp9_build_2nd_inter16x16_predictors_mby(MACROBLOCKD *xd, |
34 unsigned char *dst_y, | 35 uint8_t *dst_y, |
35 int dst_ystride); | 36 int dst_ystride); |
36 | 37 |
37 extern void vp9_build_2nd_inter16x16_predictors_mbuv(MACROBLOCKD *xd, | 38 extern void vp9_build_2nd_inter16x16_predictors_mbuv(MACROBLOCKD *xd, |
38 unsigned char *dst_u, | 39 uint8_t *dst_u, |
39 unsigned char *dst_v, | 40 uint8_t *dst_v, |
40 int dst_uvstride); | 41 int dst_uvstride); |
41 | 42 |
42 extern void vp9_build_2nd_inter16x16_predictors_mb(MACROBLOCKD *xd, | 43 extern void vp9_build_2nd_inter16x16_predictors_mb(MACROBLOCKD *xd, |
43 unsigned char *dst_y, | 44 uint8_t *dst_y, |
44 unsigned char *dst_u, | 45 uint8_t *dst_u, |
45 unsigned char *dst_v, | 46 uint8_t *dst_v, |
46 int dst_ystride, | 47 int dst_ystride, |
47 int dst_uvstride); | 48 int dst_uvstride); |
48 | 49 |
49 #if CONFIG_SUPERBLOCKS | |
50 extern void vp9_build_inter32x32_predictors_sb(MACROBLOCKD *x, | 50 extern void vp9_build_inter32x32_predictors_sb(MACROBLOCKD *x, |
51 unsigned char *dst_y, | 51 uint8_t *dst_y, |
52 unsigned char *dst_u, | 52 uint8_t *dst_u, |
53 unsigned char *dst_v, | 53 uint8_t *dst_v, |
54 int dst_ystride, | 54 int dst_ystride, |
55 int dst_uvstride); | 55 int dst_uvstride); |
56 #endif | 56 |
| 57 extern void vp9_build_inter64x64_predictors_sb(MACROBLOCKD *x, |
| 58 uint8_t *dst_y, |
| 59 uint8_t *dst_u, |
| 60 uint8_t *dst_v, |
| 61 int dst_ystride, |
| 62 int dst_uvstride); |
57 | 63 |
58 extern void vp9_build_inter_predictors_mb(MACROBLOCKD *xd); | 64 extern void vp9_build_inter_predictors_mb(MACROBLOCKD *xd); |
59 | 65 |
60 extern void vp9_build_inter_predictors_b(BLOCKD *d, int pitch, | 66 extern void vp9_build_inter_predictors_b(BLOCKD *d, int pitch, |
61 vp9_subpix_fn_t sppf); | 67 vp9_subpix_fn_t sppf); |
62 | 68 |
63 extern void vp9_build_2nd_inter_predictors_b(BLOCKD *d, int pitch, | 69 extern void vp9_build_2nd_inter_predictors_b(BLOCKD *d, int pitch, |
64 vp9_subpix_fn_t sppf); | 70 vp9_subpix_fn_t sppf); |
65 | 71 |
66 extern void vp9_build_inter_predictors4b(MACROBLOCKD *xd, BLOCKD *d, | 72 extern void vp9_build_inter_predictors4b(MACROBLOCKD *xd, BLOCKD *d, |
67 int pitch); | 73 int pitch); |
68 | 74 |
69 extern void vp9_build_2nd_inter_predictors4b(MACROBLOCKD *xd, | 75 extern void vp9_build_2nd_inter_predictors4b(MACROBLOCKD *xd, |
70 BLOCKD *d, int pitch); | 76 BLOCKD *d, int pitch); |
71 | 77 |
72 extern void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd); | 78 extern void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd); |
73 | 79 |
74 extern void vp9_setup_interp_filters(MACROBLOCKD *xd, | 80 extern void vp9_setup_interp_filters(MACROBLOCKD *xd, |
75 INTERPOLATIONFILTERTYPE filter, | 81 INTERPOLATIONFILTERTYPE filter, |
76 VP9_COMMON *cm); | 82 VP9_COMMON *cm); |
77 | 83 |
78 #endif // __INC_RECONINTER_H | 84 #endif // VP9_COMMON_VP9_RECONINTER_H_ |
OLD | NEW |