Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
f71d5617
Commit
f71d5617
authored
Feb 21, 2017
by
Angie Chiang
Browse files
Make convolve_round works without dual_filter
Change-Id: I5bc76c3edbe0792a85c995721ee93dcf517cc1ff
parent
a3a30c48
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/convolve.c
View file @
f71d5617
...
...
@@ -235,18 +235,23 @@ void av1_convolve_2d_facade(const uint8_t *src, int src_stride, uint8_t *dst,
(
void
)
y_step_q4
;
(
void
)
dst
;
(
void
)
dst_stride
;
#if CONFIG_DUAL_FILTER
InterpFilterParams
filter_params_x
=
av1_get_interp_filter_params
(
interp_filter
[
1
+
2
*
conv_params
->
ref
]);
InterpFilterParams
filter_params_y
=
av1_get_interp_filter_params
(
interp_filter
[
0
+
2
*
conv_params
->
ref
]);
#if CONFIG_DUAL_FILTER
if
(
filter_params_x
.
interp_filter
==
MULTITAP_SHARP
&&
filter_params_y
.
interp_filter
==
MULTITAP_SHARP
)
{
// Avoid two directions both using 12-tap filter.
// This will reduce hardware implementation cost.
filter_params_y
=
av1_get_interp_filter_params
(
EIGHTTAP_SHARP
);
}
#else
InterpFilterParams
filter_params_x
=
av1_get_interp_filter_params
(
*
interp_filter
);
InterpFilterParams
filter_params_y
=
av1_get_interp_filter_params
(
*
interp_filter
);
#endif
if
(
filter_params_y
.
taps
<
filter_params_x
.
taps
)
{
...
...
Write
Preview
Markdown
is supported
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