ref: 39cea29bb7fb4228d66e9e6e5713960bfc782b5d
parent: 9f193ac75fa9141938158c006802fcb1f9daa5af
parent: b3c0a5fddbfd099cad65d438d9dcbb34ec1c521f
author: Dmitry Kovalev <[email protected]>
date: Thu Jul 18 10:41:52 EDT 2013
Merge "Removing unused mv_bias and check_mv_bounds functions."
--- a/vp9/common/vp9_findnearmv.h
+++ b/vp9/common/vp9_findnearmv.h
@@ -28,18 +28,6 @@
int_mv *nearest,
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.
static void clamp_mv(int_mv *mv,
int mb_to_left_edge,
@@ -59,15 +47,6 @@
xd->mb_to_top_edge - LEFT_TOP_MARGIN,
xd->mb_to_bottom_edge + RIGHT_BOTTOM_MARGIN);
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,