Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
7a8e102d
Commit
7a8e102d
authored
May 01, 2017
by
Debargha Mukherjee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a compile error for av1_setup_dst_planes()
Change-Id: Id0070822ea8ac85525e3ba5018c4039311255304
parent
59d61e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
av1/common/av1_loopfilter.c
av1/common/av1_loopfilter.c
+3
-3
No files found.
av1/common/av1_loopfilter.c
View file @
7a8e102d
...
...
@@ -2228,7 +2228,7 @@ void av1_loop_filter_rows(YV12_BUFFER_CONFIG *frame_buffer, AV1_COMMON *cm,
for
(
mi_row
=
start
;
mi_row
<
stop
;
mi_row
+=
MAX_MIB_SIZE
)
{
MODE_INFO
**
mi
=
cm
->
mi_grid_visible
+
mi_row
*
cm
->
mi_stride
;
for
(
mi_col
=
0
;
mi_col
<
cm
->
mi_cols
;
mi_col
+=
MAX_MIB_SIZE
)
{
av1_setup_dst_planes
(
planes
,
frame_buffer
,
mi_row
,
mi_col
);
av1_setup_dst_planes
(
planes
,
cm
->
sb_size
,
frame_buffer
,
mi_row
,
mi_col
);
for
(
int
planeIdx
=
0
;
planeIdx
<
num_planes
;
planeIdx
+=
1
)
{
const
int32_t
scaleHorz
=
planes
[
planeIdx
].
subsampling_x
;
const
int32_t
scaleVert
=
planes
[
planeIdx
].
subsampling_y
;
...
...
@@ -2242,7 +2242,7 @@ void av1_loop_filter_rows(YV12_BUFFER_CONFIG *frame_buffer, AV1_COMMON *cm,
for
(
mi_row
=
start
;
mi_row
<
stop
;
mi_row
+=
MAX_MIB_SIZE
)
{
MODE_INFO
**
mi
=
cm
->
mi_grid_visible
+
mi_row
*
cm
->
mi_stride
;
for
(
mi_col
=
0
;
mi_col
<
cm
->
mi_cols
;
mi_col
+=
MAX_MIB_SIZE
)
{
av1_setup_dst_planes
(
planes
,
frame_buffer
,
mi_row
,
mi_col
);
av1_setup_dst_planes
(
planes
,
cm
->
sb_size
,
frame_buffer
,
mi_row
,
mi_col
);
for
(
int
planeIdx
=
0
;
planeIdx
<
num_planes
;
planeIdx
+=
1
)
{
const
int32_t
scaleHorz
=
planes
[
planeIdx
].
subsampling_x
;
const
int32_t
scaleVert
=
planes
[
planeIdx
].
subsampling_y
;
...
...
@@ -2259,7 +2259,7 @@ void av1_loop_filter_rows(YV12_BUFFER_CONFIG *frame_buffer, AV1_COMMON *cm,
for
(
mi_col
=
0
;
mi_col
<
cm
->
mi_cols
;
mi_col
+=
MAX_MIB_SIZE
)
{
int
plane
;
av1_setup_dst_planes
(
planes
,
frame_buffer
,
mi_row
,
mi_col
);
av1_setup_dst_planes
(
planes
,
cm
->
sb_size
,
frame_buffer
,
mi_row
,
mi_col
);
// TODO(JBB): Make setup_mask work for non 420.
av1_setup_mask
(
cm
,
mi_row
,
mi_col
,
mi
+
mi_col
,
cm
->
mi_stride
,
&
lfm
);
...
...
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