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
e84eaf03
Commit
e84eaf03
authored
Mar 27, 2017
by
Jean-Marc Valin
Committed by
Jean-Marc Valin
Mar 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CDEF: Fix allocation of row_dering
Change-Id: Ic4c4f0ff7cf4063e2a0366af05442858b4b7fcca
parent
6341f5c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
av1/common/cdef.c
av1/common/cdef.c
+1
-1
No files found.
av1/common/cdef.c
View file @
e84eaf03
...
...
@@ -169,7 +169,7 @@ void av1_cdef_frame(YV12_BUFFER_CONFIG *frame, AV1_COMMON *cm,
nvsb
=
(
cm
->
mi_rows
+
MAX_MIB_SIZE
-
1
)
/
MAX_MIB_SIZE
;
nhsb
=
(
cm
->
mi_cols
+
MAX_MIB_SIZE
-
1
)
/
MAX_MIB_SIZE
;
av1_setup_dst_planes
(
xd
->
plane
,
frame
,
0
,
0
);
row_dering
=
aom_malloc
(
sizeof
(
*
row_dering
)
*
nhsb
*
2
);
row_dering
=
aom_malloc
(
sizeof
(
*
row_dering
)
*
(
nhsb
+
2
)
*
2
);
memset
(
row_dering
,
1
,
sizeof
(
*
row_dering
)
*
(
nhsb
+
2
)
*
2
);
prev_row_dering
=
row_dering
+
1
;
curr_row_dering
=
prev_row_dering
+
nhsb
+
2
;
...
...
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