diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2018-11-04 23:33:44 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2018-11-05 00:37:05 +0300 |
commit | aa5f55b2468f937cd36ceb1f0595f9c0915c5997 (patch) | |
tree | c55a2f15f0580d3444be32a8b25ba8e7ca370882 /src/ref_mvs.h | |
parent | d439328844afdb853d4ff23f74d310bfc1211109 (diff) |
remove unused function av1_clamp_mv()
Diffstat (limited to 'src/ref_mvs.h')
-rw-r--r-- | src/ref_mvs.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ref_mvs.h b/src/ref_mvs.h index 77df9c2..847e889 100644 --- a/src/ref_mvs.h +++ b/src/ref_mvs.h @@ -178,18 +178,4 @@ static inline void fix_mv_precision(const Av1FrameHeader *const hdr, } } -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__ */ |