vp9_reconinter.h 3.64 KB
Newer Older
John Koleszar's avatar
John Koleszar committed
1
/*
2
 *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar's avatar
John Koleszar committed
3
 *
4
 *  Use of this source code is governed by a BSD-style license
5 6
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
7
 *  in the file PATENTS.  All contributing project authors may
8
 *  be found in the AUTHORS file in the root of the source tree.
John Koleszar's avatar
John Koleszar committed
9 10 11 12 13
 */

#ifndef __INC_RECONINTER_H
#define __INC_RECONINTER_H

14
#include "vp9/common/vp9_onyxc_int.h"
15

16
extern void vp9_build_1st_inter16x16_predictors_mby(MACROBLOCKD *xd,
17
                                                    unsigned char *dst_y,
18 19
                                                    int dst_ystride,
                                                    int clamp_mvs);
20

21
extern void vp9_build_1st_inter16x16_predictors_mbuv(MACROBLOCKD *xd,
22 23 24
                                                     unsigned char *dst_u,
                                                     unsigned char *dst_v,
                                                     int dst_uvstride);
25

26
extern void vp9_build_1st_inter16x16_predictors_mb(MACROBLOCKD *xd,
27 28 29 30 31 32
                                                   unsigned char *dst_y,
                                                   unsigned char *dst_u,
                                                   unsigned char *dst_v,
                                                   int dst_ystride,
                                                   int dst_uvstride);

33
extern void vp9_build_2nd_inter16x16_predictors_mby(MACROBLOCKD *xd,
34 35
                                                    unsigned char *dst_y,
                                                    int dst_ystride);
36

37
extern void vp9_build_2nd_inter16x16_predictors_mbuv(MACROBLOCKD *xd,
38 39 40
                                                     unsigned char *dst_u,
                                                     unsigned char *dst_v,
                                                     int dst_uvstride);
41

42
extern void vp9_build_2nd_inter16x16_predictors_mb(MACROBLOCKD *xd,
43 44 45 46 47
                                                   unsigned char *dst_y,
                                                   unsigned char *dst_u,
                                                   unsigned char *dst_v,
                                                   int dst_ystride,
                                                   int dst_uvstride);
48

Ronald S. Bultje's avatar
Ronald S. Bultje committed
49
#if CONFIG_SUPERBLOCKS
50
extern void vp9_build_inter32x32_predictors_sb(MACROBLOCKD *x,
Ronald S. Bultje's avatar
Ronald S. Bultje committed
51 52 53 54 55 56 57
                                               unsigned char *dst_y,
                                               unsigned char *dst_u,
                                               unsigned char *dst_v,
                                               int dst_ystride,
                                               int dst_uvstride);
#endif

58
extern void vp9_build_inter_predictors_mb(MACROBLOCKD *xd);
John Koleszar's avatar
John Koleszar committed
59

60
extern void vp9_build_inter_predictors_b(BLOCKD *d, int pitch,
61
                                         vp9_subpix_fn_t sppf);
62

63
extern void vp9_build_2nd_inter_predictors_b(BLOCKD *d, int pitch,
64
                                             vp9_subpix_fn_t sppf);
65

66
extern void vp9_build_inter_predictors4b(MACROBLOCKD *xd, BLOCKD *d,
67
                                         int pitch);
68

69
extern void vp9_build_2nd_inter_predictors4b(MACROBLOCKD *xd,
70 71
                                             BLOCKD *d, int pitch);

72
extern void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd);
73

74
extern void vp9_setup_interp_filters(MACROBLOCKD *xd,
Paul Wilkins's avatar
Paul Wilkins committed
75
                                     INTERPOLATIONFILTERTYPE filter,
76
                                     VP9_COMMON *cm);
John Koleszar's avatar
John Koleszar committed
77

78
#endif  // __INC_RECONINTER_H