Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
6b86208d
Commit
6b86208d
authored
Feb 16, 2012
by
Deb Mukherjee
Browse files
Removing a stray CONFIG_DUALPRED, and a INTERP_EXTEND fix.
Change-Id: I7549e424ca6846b07a796f2b9cd4e9d4e550ca9b
parent
94935955
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/common/filter.c
View file @
6b86208d
...
...
@@ -585,7 +585,6 @@ void vp8_edge_pixel_interpolation
}
#endif // EDGE_PIXEL_FILTER
#if CONFIG_DUALPRED
/*
* The only functional difference between filter_block2d_second_pass()
* and this function is that filter_block2d_second_pass() does a sixtap
...
...
vp8/common/reconinter.c
View file @
6b86208d
...
...
@@ -380,28 +380,28 @@ static void clamp_mv_to_umv_border(MV *mv, const MACROBLOCKD *xd)
* filtering. The bottom and right edges use 16 pixels plus 2 pixels
* left of the central pixel when filtering.
*/
if
(
mv
->
col
<
(
xd
->
mb_to_left_edge
-
(
19
<<
3
)))
if
(
mv
->
col
<
(
xd
->
mb_to_left_edge
-
(
(
16
+
INTERP_EXTEND
)
<<
3
)))
mv
->
col
=
xd
->
mb_to_left_edge
-
(
16
<<
3
);
else
if
(
mv
->
col
>
xd
->
mb_to_right_edge
+
(
18
<<
3
))
else
if
(
mv
->
col
>
xd
->
mb_to_right_edge
+
(
(
15
+
INTERP_EXTEND
)
<<
3
))
mv
->
col
=
xd
->
mb_to_right_edge
+
(
16
<<
3
);
if
(
mv
->
row
<
(
xd
->
mb_to_top_edge
-
(
19
<<
3
)))
if
(
mv
->
row
<
(
xd
->
mb_to_top_edge
-
(
(
16
+
INTERP_EXTEND
)
<<
3
)))
mv
->
row
=
xd
->
mb_to_top_edge
-
(
16
<<
3
);
else
if
(
mv
->
row
>
xd
->
mb_to_bottom_edge
+
(
18
<<
3
))
else
if
(
mv
->
row
>
xd
->
mb_to_bottom_edge
+
(
(
15
+
INTERP_EXTEND
)
<<
3
))
mv
->
row
=
xd
->
mb_to_bottom_edge
+
(
16
<<
3
);
}
/* A version of the above function for chroma block MVs.*/
static
void
clamp_uvmv_to_umv_border
(
MV
*
mv
,
const
MACROBLOCKD
*
xd
)
{
mv
->
col
=
(
2
*
mv
->
col
<
(
xd
->
mb_to_left_edge
-
(
19
<<
3
)))
?
mv
->
col
=
(
2
*
mv
->
col
<
(
xd
->
mb_to_left_edge
-
(
(
16
+
INTERP_EXTEND
)
<<
3
)))
?
(
xd
->
mb_to_left_edge
-
(
16
<<
3
))
>>
1
:
mv
->
col
;
mv
->
col
=
(
2
*
mv
->
col
>
xd
->
mb_to_right_edge
+
(
18
<<
3
))
?
mv
->
col
=
(
2
*
mv
->
col
>
xd
->
mb_to_right_edge
+
(
(
15
+
INTERP_EXTEND
)
<<
3
))
?
(
xd
->
mb_to_right_edge
+
(
16
<<
3
))
>>
1
:
mv
->
col
;
mv
->
row
=
(
2
*
mv
->
row
<
(
xd
->
mb_to_top_edge
-
(
19
<<
3
)))
?
mv
->
row
=
(
2
*
mv
->
row
<
(
xd
->
mb_to_top_edge
-
(
(
16
+
INTERP_EXTEND
)
<<
3
)))
?
(
xd
->
mb_to_top_edge
-
(
16
<<
3
))
>>
1
:
mv
->
row
;
mv
->
row
=
(
2
*
mv
->
row
>
xd
->
mb_to_bottom_edge
+
(
18
<<
3
))
?
mv
->
row
=
(
2
*
mv
->
row
>
xd
->
mb_to_bottom_edge
+
(
(
15
+
INTERP_EXTEND
)
<<
3
))
?
(
xd
->
mb_to_bottom_edge
+
(
16
<<
3
))
>>
1
:
mv
->
row
;
}
...
...
@@ -682,4 +682,3 @@ void vp8_build_inter_predictors_mb(MACROBLOCKD *x)
build_inter4x4_predictors_mb
(
x
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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