Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
637586ec
Commit
637586ec
authored
Feb 20, 2018
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add initializations for stack arrays
BUG=aomedia:1363 Change-Id: I8ca90f1b0d7dfe92078c611f66dcb19e70a6c1e0
parent
592d73ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
av1/encoder/mcomp.c
av1/encoder/mcomp.c
+2
-2
av1/encoder/rdopt.c
av1/encoder/rdopt.c
+2
-2
No files found.
av1/encoder/mcomp.c
View file @
637586ec
...
...
@@ -668,7 +668,7 @@ static int upsampled_pref_error(const MACROBLOCKD *xd,
unsigned
int
*
sse
)
{
unsigned
int
besterr
;
if
(
xd
->
cur_buf
->
flags
&
YV12_FLAG_HIGHBITDEPTH
)
{
DECLARE_ALIGNED
(
16
,
uint16_t
,
pred16
[
MAX_SB_SQUARE
]);
DECLARE_ALIGNED
(
16
,
uint16_t
,
pred16
[
MAX_SB_SQUARE
])
=
{
0
}
;
if
(
second_pred
!=
NULL
)
{
if
(
mask
)
{
aom_highbd_comp_mask_upsampled_pred
(
...
...
@@ -693,7 +693,7 @@ static int upsampled_pref_error(const MACROBLOCKD *xd,
besterr
=
vfp
->
vf
(
CONVERT_TO_BYTEPTR
(
pred16
),
w
,
src
,
src_stride
,
sse
);
}
else
{
DECLARE_ALIGNED
(
16
,
uint8_t
,
pred
[
MAX_SB_SQUARE
]);
DECLARE_ALIGNED
(
16
,
uint8_t
,
pred
[
MAX_SB_SQUARE
])
=
{
0
}
;
if
(
second_pred
!=
NULL
)
{
if
(
mask
)
{
aom_comp_mask_upsampled_pred
(
pred
,
second_pred
,
w
,
h
,
subpel_x_q3
,
...
...
av1/encoder/rdopt.c
View file @
637586ec
...
...
@@ -8505,8 +8505,8 @@ static int64_t handle_inter_mode(
int best_tmp_rate_mv = rate_mv;
int tmp_skip_txfm_sb;
int64_t tmp_skip_sse_sb;
DECLARE_ALIGNED(16, uint8_t, pred0[2 * MAX_SB_SQUARE]);
DECLARE_ALIGNED(16, uint8_t, pred1[2 * MAX_SB_SQUARE]);
DECLARE_ALIGNED(16, uint8_t, pred0[2 * MAX_SB_SQUARE])
= { 0 }
;
DECLARE_ALIGNED(16, uint8_t, pred1[2 * MAX_SB_SQUARE])
= { 0 }
;
uint8_t *preds0[1] = { pred0 };
uint8_t *preds1[1] = { pred1 };
int strides[1] = { bw };
...
...
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