Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
16ec1057
Commit
16ec1057
authored
Oct 24, 2018
by
Janne Grunau
Browse files
remove unused function av1_clamp_mv()
Refs
#97
.
parent
e6d7400b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ref_mvs.c
View file @
16ec1057
...
...
@@ -1967,20 +1967,6 @@ const uint8_t sbtype_to_bs[BLOCK_SIZES_ALL] = {
[
BLOCK_4X4
]
=
BS_4x4
,
};
static
inline
struct
MV
av1_clamp_mv
(
const
struct
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
)
{
.
col
=
iclip
(
mv
.
col
,
left
,
right
),
.
row
=
iclip
(
mv
.
row
,
top
,
bottom
)
};
}
#include
<stdio.h>
void
av1_find_ref_mvs
(
CANDIDATE_MV
*
mvstack
,
int
*
cnt
,
int_mv
(
*
mvlist
)[
2
],
...
...
Janne Grunau
@janne
mentioned in merge request
!235 (merged)
·
Oct 24, 2018
mentioned in merge request
!235 (merged)
mentioned in merge request !235
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment