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
66f9864a
Commit
66f9864a
authored
May 29, 2010
by
Yaowu Xu
Browse files
Remove un-necessary memory initialization
The intra prediction needs one line above at the top edge.
parent
a7bb3360
Changes
1
Show whitespace changes
Inline
Side-by-side
vp8/common/setupintrarecon.c
View file @
66f9864a
...
...
@@ -16,21 +16,15 @@ void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf)
int
i
;
// set up frame new frame for intra coded blocks
vpx_memset
(
ybf
->
y_buffer
-
1
-
2
*
ybf
->
y_stride
,
127
,
ybf
->
y_width
+
5
);
vpx_memset
(
ybf
->
y_buffer
-
1
-
ybf
->
y_stride
,
127
,
ybf
->
y_width
+
5
);
for
(
i
=
0
;
i
<
ybf
->
y_height
;
i
++
)
ybf
->
y_buffer
[
ybf
->
y_stride
*
i
-
1
]
=
(
unsigned
char
)
129
;
vpx_memset
(
ybf
->
u_buffer
-
1
-
2
*
ybf
->
uv_stride
,
127
,
ybf
->
uv_width
+
5
);
vpx_memset
(
ybf
->
u_buffer
-
1
-
ybf
->
uv_stride
,
127
,
ybf
->
uv_width
+
5
);
for
(
i
=
0
;
i
<
ybf
->
uv_height
;
i
++
)
ybf
->
u_buffer
[
ybf
->
uv_stride
*
i
-
1
]
=
(
unsigned
char
)
129
;
vpx_memset
(
ybf
->
v_buffer
-
1
-
2
*
ybf
->
uv_stride
,
127
,
ybf
->
uv_width
+
5
);
vpx_memset
(
ybf
->
v_buffer
-
1
-
ybf
->
uv_stride
,
127
,
ybf
->
uv_width
+
5
);
for
(
i
=
0
;
i
<
ybf
->
uv_height
;
i
++
)
ybf
->
v_buffer
[
ybf
->
uv_stride
*
i
-
1
]
=
(
unsigned
char
)
129
;
...
...
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