Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
25558461
Commit
25558461
authored
Apr 11, 2008
by
Loren Merritt
Browse files
r810 borked hpel_filter_sse2 on unaligned buffers
parent
0f453853
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/x86/mc-c.c
View file @
25558461
...
...
@@ -177,6 +177,7 @@ void x264_hpel_filter_##cpu( uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, uint8_
dstv -= realign;\
dstc -= realign;\
dsth -= realign;\
width += realign;\
buf = x264_malloc(((width+2*align-1)&-align)*sizeof(int16_t));\
while( height-- )\
{\
...
...
tools/checkasm.c
View file @
25558461
...
...
@@ -532,9 +532,9 @@ static int check_mc( int cpu_ref, int cpu_new )
if
(
mc_a
.
hpel_filter
!=
mc_ref
.
hpel_filter
)
{
uint8_t
*
src
=
buf1
+
16
+
2
*
64
;
uint8_t
*
dstc
[
3
]
=
{
buf3
+
16
,
buf3
+
16
+
16
*
64
,
buf3
+
16
+
32
*
64
};
uint8_t
*
dsta
[
3
]
=
{
buf4
+
16
,
buf4
+
16
+
16
*
64
,
buf4
+
16
+
32
*
64
};
uint8_t
*
src
=
buf1
+
8
+
2
*
64
;
uint8_t
*
dstc
[
3
]
=
{
buf3
+
8
,
buf3
+
8
+
16
*
64
,
buf3
+
8
+
32
*
64
};
uint8_t
*
dsta
[
3
]
=
{
buf4
+
8
,
buf4
+
8
+
16
*
64
,
buf4
+
8
+
32
*
64
};
ok
=
1
;
used_asm
=
1
;
memset
(
buf3
,
0
,
4096
);
memset
(
buf4
,
0
,
4096
);
...
...
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