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
7bc61a6a
Commit
7bc61a6a
authored
Dec 05, 2016
by
Peter de Rivaz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct loopfilter for non420 streams
BUG=aomedia:84 Change-Id: Ieb4bd4893970a910e7277d49956a389ed19be777
parent
1ecdf2bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
av1/common/loopfilter.c
av1/common/loopfilter.c
+4
-4
No files found.
av1/common/loopfilter.c
View file @
7bc61a6a
...
...
@@ -1308,8 +1308,8 @@ void av1_filter_block_plane_non420_ver(AV1_COMMON *cm,
const
int
skip_border_4x4_c
=
ss_x
&&
mi_col
+
c
==
cm
->
mi_cols
-
1
;
const
int
skip_border_4x4_r
=
ss_y
&&
mi_row
+
r
==
cm
->
mi_rows
-
1
;
TX_SIZE
tx_size_c
=
tx
_
size_
wide_unit
[
tx_size
];
TX_SIZE
tx_size_r
=
tx
_
size_
high_unit
[
tx_size
];
TX_SIZE
tx_size_c
=
txsize_
horz_map
[
tx_size
];
TX_SIZE
tx_size_r
=
txsize_
vert_map
[
tx_size
];
int
tx_size_mask
=
0
;
const
int
c_step
=
(
c
>>
ss_x
);
...
...
@@ -1480,8 +1480,8 @@ void av1_filter_block_plane_non420_hor(AV1_COMMON *cm,
const
int
skip_border_4x4_c
=
ss_x
&&
mi_col
+
c
==
cm
->
mi_cols
-
1
;
const
int
skip_border_4x4_r
=
ss_y
&&
mi_row
+
r
==
cm
->
mi_rows
-
1
;
TX_SIZE
tx_size_c
=
tx
_
size_
wide_unit
[
tx_size
];
TX_SIZE
tx_size_r
=
tx
_
size_
high_unit
[
tx_size
];
TX_SIZE
tx_size_c
=
txsize_
horz_map
[
tx_size
];
TX_SIZE
tx_size_r
=
txsize_
vert_map
[
tx_size
];
int
tx_size_mask
=
0
;
const
int
c_step
=
(
c
>>
ss_x
);
...
...
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