2 * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license and patent
5 * grant that can be found in the LICENSE file in the root of the source
6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree.
11 #ifndef __INC_FINDNEARMV_H
12 #define __INC_FINDNEARMV_H
17 #include "treecoder.h"
19 void vp8_find_near_mvs
22 const MODE_INFO
*here
,
23 MV
*nearest
, MV
*nearby
, MV
*best
,
24 int near_mv_ref_cts
[4],
26 int *ref_frame_sign_bias
29 vp8_prob
*vp8_mv_ref_probs(
30 vp8_prob p
[VP8_MVREFS
-1], const int near_mv_ref_ct
[4]
33 const B_MODE_INFO
*vp8_left_bmi(const MODE_INFO
*cur_mb
, int b
);
35 const B_MODE_INFO
*vp8_above_bmi(const MODE_INFO
*cur_mb
, int b
, int mi_stride
);
37 #define LEFT_TOP_MARGIN (16 << 3)
38 #define RIGHT_BOTTOM_MARGIN (16 << 3)