Skip to content
GitLab
Projects
Groups
Snippets
/
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
ca6151f1
Commit
ca6151f1
authored
Mar 24, 2014
by
Yunqing Wang
Committed by
Gerrit Code Review
Mar 24, 2014
Browse files
Merge "Fix uninitialized read in postprocessing"
parents
ebb4a262
c8773416
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp8/common/postproc.c
View file @
ca6151f1
...
...
@@ -303,8 +303,8 @@ void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols, i
{
d
[
r
&
15
]
=
(
rv2
[
r
&
127
]
+
sum
+
s
[
0
])
>>
4
;
}
s
[
-
8
*
pitch
]
=
d
[(
r
-
8
)
&
15
];
if
(
r
>=
8
)
s
[
-
8
*
pitch
]
=
d
[(
r
-
8
)
&
15
];
s
+=
pitch
;
}
}
...
...
vp8/common/x86/postproc_mmx.asm
View file @
ca6151f1
...
...
@@ -204,13 +204,16 @@ sym(vp8_mbpost_proc_down_mmx):
and
rcx
,
15
movd
DWORD
PTR
[
rsp
+
rcx
*
4
],
mm1
;d[rcx*4]
cmp
edx
,
8
jl
.skip_assignment
mov
rcx
,
rdx
sub
rcx
,
8
and
rcx
,
15
movd
mm1
,
DWORD
PTR
[
rsp
+
rcx
*
4
]
;d[rcx*4]
movd
[
rsi
],
mm1
.skip_assignment
lea
rsi
,
[
rsi
+
rax
]
lea
rdi
,
[
rdi
+
rax
]
...
...
vp8/common/x86/postproc_sse2.asm
View file @
ca6151f1
...
...
@@ -425,13 +425,16 @@ sym(vp8_mbpost_proc_down_xmm):
and
rcx
,
15
movq
QWORD
PTR
[
rsp
+
rcx
*
8
],
xmm1
;d[rcx*8]
cmp
edx
,
8
jl
.skip_assignment
mov
rcx
,
rdx
sub
rcx
,
8
and
rcx
,
15
movq
mm0
,
[
rsp
+
rcx
*
8
]
;d[rcx*8]
movq
[
rsi
],
mm0
.skip_assignment
lea
rsi
,
[
rsi
+
rax
]
lea
rdi
,
[
rdi
+
rax
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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