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 "vpx/vpx_integer.h" |
15 #include "vp9/common/vp9_onyxc_int.h" | 15 #include "vp9/common/vp9_onyxc_int.h" |
16 | 16 |
17 #ifdef __cplusplus | 17 #ifdef __cplusplus |
18 extern "C" { | 18 extern "C" { |
19 #endif | 19 #endif |
20 | 20 |
| 21 void inter_predictor(const uint8_t *src, int src_stride, |
| 22 uint8_t *dst, int dst_stride, |
| 23 const int subpel_x, |
| 24 const int subpel_y, |
| 25 const struct scale_factors *sf, |
| 26 int w, int h, int ref, |
| 27 const InterpKernel *kernel, |
| 28 int xs, int ys); |
| 29 |
| 30 #if CONFIG_VP9_HIGHBITDEPTH |
| 31 void high_inter_predictor(const uint8_t *src, int src_stride, |
| 32 uint8_t *dst, int dst_stride, |
| 33 const int subpel_x, |
| 34 const int subpel_y, |
| 35 const struct scale_factors *sf, |
| 36 int w, int h, int ref, |
| 37 const InterpKernel *kernel, |
| 38 int xs, int ys, int bd); |
| 39 #endif // CONFIG_VP9_HIGHBITDEPTH |
| 40 |
| 41 MV average_split_mvs(const struct macroblockd_plane *pd, const MODE_INFO *mi, |
| 42 int ref, int block); |
| 43 |
| 44 MV clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv, |
| 45 int bw, int bh, int ss_x, int ss_y); |
| 46 |
| 47 void build_inter_predictors(MACROBLOCKD *xd, int plane, int block, |
| 48 int bw, int bh, |
| 49 int x, int y, int w, int h, |
| 50 int mi_x, int mi_y); |
| 51 |
21 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, | 52 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, |
22 BLOCK_SIZE bsize); | 53 BLOCK_SIZE bsize); |
23 | 54 |
24 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, | 55 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, |
25 BLOCK_SIZE bsize); | 56 BLOCK_SIZE bsize); |
26 | 57 |
27 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, | 58 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, |
28 BLOCK_SIZE bsize); | 59 BLOCK_SIZE bsize); |
29 | 60 |
30 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, | |
31 BLOCK_SIZE bsize); | |
32 | |
33 void vp9_build_inter_predictor(const uint8_t *src, int src_stride, | 61 void vp9_build_inter_predictor(const uint8_t *src, int src_stride, |
34 uint8_t *dst, int dst_stride, | 62 uint8_t *dst, int dst_stride, |
35 const MV *mv_q3, | 63 const MV *mv_q3, |
36 const struct scale_factors *sf, | 64 const struct scale_factors *sf, |
37 int w, int h, int do_avg, | 65 int w, int h, int do_avg, |
38 const InterpKernel *kernel, | 66 const InterpKernel *kernel, |
39 enum mv_precision precision, | 67 enum mv_precision precision, |
40 int x, int y); | 68 int x, int y); |
41 | 69 |
42 #if CONFIG_VP9_HIGHBITDEPTH | 70 #if CONFIG_VP9_HIGHBITDEPTH |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 102 |
75 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, | 103 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, |
76 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, | 104 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, |
77 const struct scale_factors *sf); | 105 const struct scale_factors *sf); |
78 | 106 |
79 #ifdef __cplusplus | 107 #ifdef __cplusplus |
80 } // extern "C" | 108 } // extern "C" |
81 #endif | 109 #endif |
82 | 110 |
83 #endif // VP9_COMMON_VP9_RECONINTER_H_ | 111 #endif // VP9_COMMON_VP9_RECONINTER_H_ |
OLD | NEW |