Skip to content
GitLab
Projects
Groups
Snippets
/
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
fce358f2
Commit
fce358f2
authored
Sep 20, 2017
by
Joe Young
Browse files
[intra-edge] Don't filter unused edge
(Fixes sanitizer warning) Change-Id: I7d6d8bbc38adc0a09f646e3e79569c3ca58643e2
parent
f06faea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/reconintra.c
View file @
fce358f2
...
...
@@ -2643,12 +2643,12 @@ static void build_intra_predictors_high(
}
#if CONFIG_INTRA_EDGE_UPSAMPLE
const
int
upsample_above
=
use_intra_edge_upsample
(
txwpx
,
p_angle
-
90
);
if
(
upsample_above
)
{
if
(
need_above
&&
upsample_above
)
{
const
int
n_px
=
txwpx
+
(
need_right
?
txhpx
:
0
);
av1_upsample_intra_edge_high
(
above_row
,
n_px
,
xd
->
bd
);
}
const
int
upsample_left
=
use_intra_edge_upsample
(
txhpx
,
p_angle
-
180
);
if
(
upsample_left
)
{
if
(
need_left
&&
upsample_left
)
{
const
int
n_px
=
txhpx
+
(
need_bottom
?
txwpx
:
0
);
av1_upsample_intra_edge_high
(
left_col
,
n_px
,
xd
->
bd
);
}
...
...
@@ -2885,12 +2885,12 @@ static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref,
}
#if CONFIG_INTRA_EDGE_UPSAMPLE
const
int
upsample_above
=
use_intra_edge_upsample
(
txwpx
,
p_angle
-
90
);
if
(
upsample_above
)
{
if
(
need_above
&&
upsample_above
)
{
const
int
n_px
=
txwpx
+
(
need_right
?
txhpx
:
0
);
av1_upsample_intra_edge
(
above_row
,
n_px
);
}
const
int
upsample_left
=
use_intra_edge_upsample
(
txhpx
,
p_angle
-
180
);
if
(
upsample_left
)
{
if
(
need_left
&&
upsample_left
)
{
const
int
n_px
=
txhpx
+
(
need_bottom
?
txwpx
:
0
);
av1_upsample_intra_edge
(
left_col
,
n_px
);
}
...
...
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