ref: aa5f55b2468f937cd36ceb1f0595f9c0915c5997
parent: d439328844afdb853d4ff23f74d310bfc1211109
author: Janne Grunau <janne-vlc@jannau.net>
date: Sun Nov 4 16:33:44 EST 2018
remove unused function av1_clamp_mv()
--- a/src/ref_mvs.h
+++ b/src/ref_mvs.h
@@ -178,18 +178,4 @@
}
}
-static inline mv av1_clamp_mv(const mv mv,
- const int bx4, const int by4,
- const int bw4, const int bh4,
- const int iw4, const int ih4)
-{
- const int left = -(bx4 + bw4 + 4) * 4 * 8;
- const int right = (iw4 - bx4 + 0 * bw4 + 4) * 4 * 8;
- const int top = -(by4 + bh4 + 4) * 4 * 8;
- const int bottom = (ih4 - by4 + 0 * bh4 + 4) * 4 * 8;
-
- return (struct mv) { .x = iclip(mv.x, left, right),
- .y = iclip(mv.y, top, bottom) };
-}
-
#endif /* __DAV1D_SRC_REF_MVS_H__ */