| /* | |
| * Copyright (c) 2016, Alliance for Open Media. All rights reserved | |
| * | |
| * This source code is subject to the terms of the BSD 2 Clause License and | |
| * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License | |
| * was not distributed with this source code in the LICENSE file, you can | |
| * obtain it at www.aomedia.org/license/software. If the Alliance for Open | |
| * Media Patent License 1.0 was not distributed with this source code in the | |
| * PATENTS file, you can obtain it at www.aomedia.org/license/patent. | |
| */ | |
| #ifndef AOM_AV1_ENCODER_RECONINTER_ENC_H_ | |
| #define AOM_AV1_ENCODER_RECONINTER_ENC_H_ | |
| #include "aom/aom_integer.h" | |
| #include "av1/common/av1_common_int.h" | |
| #include "av1/common/blockd.h" | |
| #include "av1/common/convolve.h" | |
| #include "av1/common/filter.h" | |
| #include "av1/common/reconinter.h" | |
| #include "av1/common/warped_motion.h" | |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| void av1_enc_build_inter_predictor(const AV1_COMMON *cm, MACROBLOCKD *xd, | |
| int mi_row, int mi_col, | |
| const BUFFER_SET *ctx, BLOCK_SIZE bsize, | |
| int plane_from, int plane_to); | |
| void av1_enc_build_inter_predictor_y(MACROBLOCKD *xd, int mi_row, int mi_col); | |
| void av1_build_inter_predictor(uint8_t *dst, int dst_stride, const MV *src_mv, | |
| InterPredParams *inter_pred_params); | |
| void av1_build_prediction_by_above_preds(const AV1_COMMON *cm, MACROBLOCKD *xd, | |
| uint8_t *tmp_buf[MAX_MB_PLANE], | |
| int tmp_width[MAX_MB_PLANE], | |
| int tmp_height[MAX_MB_PLANE], | |
| int tmp_stride[MAX_MB_PLANE]); | |
| void av1_build_prediction_by_left_preds(const AV1_COMMON *cm, MACROBLOCKD *xd, | |
| uint8_t *tmp_buf[MAX_MB_PLANE], | |
| int tmp_width[MAX_MB_PLANE], | |
| int tmp_height[MAX_MB_PLANE], | |
| int tmp_stride[MAX_MB_PLANE]); | |
| void av1_build_obmc_inter_predictors_sb(const AV1_COMMON *cm, MACROBLOCKD *xd); | |
| void av1_build_inter_predictors_for_planes_single_buf( | |
| MACROBLOCKD *xd, BLOCK_SIZE bsize, int plane_from, int plane_to, int ref, | |
| uint8_t *ext_dst[3], int ext_dst_stride[3]); | |
| void av1_build_wedge_inter_predictor_from_buf(MACROBLOCKD *xd, BLOCK_SIZE bsize, | |
| int plane_from, int plane_to, | |
| uint8_t *ext_dst0[3], | |
| int ext_dst_stride0[3], | |
| uint8_t *ext_dst1[3], | |
| int ext_dst_stride1[3]); | |
| #ifdef __cplusplus | |
| } // extern "C" | |
| #endif | |
| #endif // AOM_AV1_ENCODER_RECONINTER_ENC_H_ |