michael@0: /* michael@0: * Copyright (c) 2012 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: #include "vp9/common/vp9_onyxc_int.h" michael@0: #include "vp9/common/vp9_blockd.h" michael@0: michael@0: #ifndef VP9_COMMON_VP9_MVREF_COMMON_H_ michael@0: #define VP9_COMMON_VP9_MVREF_COMMON_H_ michael@0: michael@0: void vp9_find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd, michael@0: const TileInfo *const tile, michael@0: MODE_INFO *mi, const MODE_INFO *prev_mi, michael@0: MV_REFERENCE_FRAME ref_frame, michael@0: int_mv *mv_ref_list, michael@0: int block_idx, michael@0: int mi_row, int mi_col); michael@0: michael@0: static INLINE void vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd, michael@0: const TileInfo *const tile, michael@0: MODE_INFO *mi, const MODE_INFO *prev_mi, michael@0: MV_REFERENCE_FRAME ref_frame, michael@0: int_mv *mv_ref_list, michael@0: int mi_row, int mi_col) { michael@0: vp9_find_mv_refs_idx(cm, xd, tile, mi, prev_mi, ref_frame, michael@0: mv_ref_list, -1, mi_row, mi_col); michael@0: } michael@0: michael@0: #endif // VP9_COMMON_VP9_MVREF_COMMON_H_