media/libvpx/vp9/common/vp9_mvref_common.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp9/common/vp9_mvref_common.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2012 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +#include "vp9/common/vp9_onyxc_int.h"
    1.15 +#include "vp9/common/vp9_blockd.h"
    1.16 +
    1.17 +#ifndef VP9_COMMON_VP9_MVREF_COMMON_H_
    1.18 +#define VP9_COMMON_VP9_MVREF_COMMON_H_
    1.19 +
    1.20 +void vp9_find_mv_refs_idx(const VP9_COMMON *cm, const MACROBLOCKD *xd,
    1.21 +                          const TileInfo *const tile,
    1.22 +                          MODE_INFO *mi, const MODE_INFO *prev_mi,
    1.23 +                          MV_REFERENCE_FRAME ref_frame,
    1.24 +                          int_mv *mv_ref_list,
    1.25 +                          int block_idx,
    1.26 +                          int mi_row, int mi_col);
    1.27 +
    1.28 +static INLINE void vp9_find_mv_refs(const VP9_COMMON *cm, const MACROBLOCKD *xd,
    1.29 +                                    const TileInfo *const tile,
    1.30 +                                    MODE_INFO *mi, const MODE_INFO *prev_mi,
    1.31 +                                    MV_REFERENCE_FRAME ref_frame,
    1.32 +                                    int_mv *mv_ref_list,
    1.33 +                                    int mi_row, int mi_col) {
    1.34 +  vp9_find_mv_refs_idx(cm, xd, tile, mi, prev_mi, ref_frame,
    1.35 +                       mv_ref_list, -1, mi_row, mi_col);
    1.36 +}
    1.37 +
    1.38 +#endif  // VP9_COMMON_VP9_MVREF_COMMON_H_

mercurial