Commit b3c0a5fd authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

Removing unused mv_bias and check_mv_bounds functions.

Change-Id: I1558fd969d9ad112bf6480bdd16ef87edd396ab5
Showing with 0 additions and 21 deletions
...@@ -28,18 +28,6 @@ void vp9_find_best_ref_mvs(MACROBLOCKD *xd, ...@@ -28,18 +28,6 @@ void vp9_find_best_ref_mvs(MACROBLOCKD *xd,
int_mv *nearest, int_mv *nearest,
int_mv *near); int_mv *near);
static void mv_bias(int refmb_ref_frame_sign_bias, int refframe,
int_mv *mvp, const int *ref_frame_sign_bias) {
MV xmv = mvp->as_mv;
if (refmb_ref_frame_sign_bias != ref_frame_sign_bias[refframe]) {
xmv.row *= -1;
xmv.col *= -1;
}
mvp->as_mv = xmv;
}
// TODO(jingning): this mv clamping function should be block size dependent. // TODO(jingning): this mv clamping function should be block size dependent.
static void clamp_mv(int_mv *mv, static void clamp_mv(int_mv *mv,
int mb_to_left_edge, int mb_to_left_edge,
...@@ -61,15 +49,6 @@ static int clamp_mv2(int_mv *mv, const MACROBLOCKD *xd) { ...@@ -61,15 +49,6 @@ static int clamp_mv2(int_mv *mv, const MACROBLOCKD *xd) {
return tmp_mv.as_int != mv->as_int; return tmp_mv.as_int != mv->as_int;
} }
static int check_mv_bounds(int_mv *mv,
int mb_to_left_edge, int mb_to_right_edge,
int mb_to_top_edge, int mb_to_bottom_edge) {
return mv->as_mv.col < mb_to_left_edge ||
mv->as_mv.col > mb_to_right_edge ||
mv->as_mv.row < mb_to_top_edge ||
mv->as_mv.row > mb_to_bottom_edge;
}
void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *pc, void vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *pc,
MACROBLOCKD *xd, MACROBLOCKD *xd,
int_mv *dst_nearest, int_mv *dst_nearest,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment