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
Yushin Cho
aom-rav1e
Commits
f8e9d010
Commit
f8e9d010
authored
Oct 23, 2012
by
Scott LaVarnway
Committed by
Yaowu Xu
Oct 23, 2012
Browse files
Fixed the MSVC compiling error with correct cast
Change-Id: Ia904f4ec72500d29f1361ce305d8f3231e592f47
parent
d3b7c850
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/common/x86/loopfilter_x86.c
View file @
f8e9d010
...
...
@@ -335,7 +335,6 @@ static __inline void transpose(unsigned char *src[], int in_p,
int
num_8x8_to_transpose
)
{
int
idx8x8
=
0
;
__m128i
x0
,
x1
,
x2
,
x3
,
x4
,
x5
,
x6
,
x7
;
do
{
unsigned
char
*
in
=
src
[
idx8x8
];
unsigned
char
*
out
=
dst
[
idx8x8
];
...
...
@@ -366,13 +365,13 @@ static __inline void transpose(unsigned char *src[], int in_p,
x7
=
_mm_unpackhi_epi32
(
x4
,
x5
);
_mm_storel_pd
((
double
*
)(
out
+
0
*
out_p
),
(
__m128d
)
x6
);
// 00 10 20 30 40 50 60 70
_mm_castsi128_pd
(
x6
)
)
;
// 00 10 20 30 40 50 60 70
_mm_storeh_pd
((
double
*
)(
out
+
1
*
out_p
),
(
__m128d
)
x6
);
// 01 11 21 31 41 51 61 71
_mm_castsi128_pd
(
x6
)
)
;
// 01 11 21 31 41 51 61 71
_mm_storel_pd
((
double
*
)(
out
+
2
*
out_p
),
(
__m128d
)
x7
);
// 02 12 22 32 42 52 62 72
_mm_castsi128_pd
(
x7
)
)
;
// 02 12 22 32 42 52 62 72
_mm_storeh_pd
((
double
*
)(
out
+
3
*
out_p
),
(
__m128d
)
x7
);
// 03 13 23 33 43 53 63 73
_mm_castsi128_pd
(
x7
)
)
;
// 03 13 23 33 43 53 63 73
// 04 14 24 34 05 15 25 35 06 16 26 36 07 17 27 37
x4
=
_mm_unpackhi_epi16
(
x0
,
x1
);
...
...
@@ -384,13 +383,13 @@ static __inline void transpose(unsigned char *src[], int in_p,
x7
=
_mm_unpackhi_epi32
(
x4
,
x5
);
_mm_storel_pd
((
double
*
)(
out
+
4
*
out_p
),
(
__m128d
)
x6
);
// 04 14 24 34 44 54 64 74
_mm_castsi128_pd
(
x6
)
)
;
// 04 14 24 34 44 54 64 74
_mm_storeh_pd
((
double
*
)(
out
+
5
*
out_p
),
(
__m128d
)
x6
);
// 05 15 25 35 45 55 65 75
_mm_castsi128_pd
(
x6
)
)
;
// 05 15 25 35 45 55 65 75
_mm_storel_pd
((
double
*
)(
out
+
6
*
out_p
),
(
__m128d
)
x7
);
// 06 16 26 36 46 56 66 76
_mm_castsi128_pd
(
x7
)
)
;
// 06 16 26 36 46 56 66 76
_mm_storeh_pd
((
double
*
)(
out
+
7
*
out_p
),
(
__m128d
)
x7
);
// 07 17 27 37 47 57 67 77
_mm_castsi128_pd
(
x7
)
)
;
// 07 17 27 37 47 57 67 77
}
while
(
++
idx8x8
<
num_8x8_to_transpose
);
}
void
vp8_mbloop_filter_vertical_edge_c_sse2
...
...
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