Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
68712ce8
Commit
68712ce8
authored
Jul 07, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr/x86: 16bit integer mix functions need SSE2 not SSE
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3245c8b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
rematrix.asm
libswresample/x86/rematrix.asm
+2
-0
swresample_x86.c
libswresample/x86/swresample_x86.c
+4
-4
No files found.
libswresample/x86/rematrix.asm
View file @
68712ce8
...
...
@@ -236,6 +236,8 @@ MIX2_FLT u
MIX2_FLT
a
MIX1_FLT
u
MIX1_FLT
a
INIT_XMM
sse2
MIX1_INT16
u
MIX1_INT16
a
MIX2_INT16
u
...
...
libswresample/x86/swresample_x86.c
View file @
68712ce8
...
...
@@ -146,7 +146,7 @@ mix_2_1_func_type ff_mix_2_1_a_## type ## _ ## simd;
D
(
float
,
sse
)
D
(
float
,
avx
)
D
(
int16
,
mmx
)
D
(
int16
,
sse
)
D
(
int16
,
sse
2
)
void
swri_rematrix_init_x86
(
struct
SwrContext
*
s
){
...
...
@@ -164,9 +164,9 @@ void swri_rematrix_init_x86(struct SwrContext *s){
s
->
mix_1_1_simd
=
ff_mix_1_1_a_int16_mmx
;
s
->
mix_2_1_simd
=
ff_mix_2_1_a_int16_mmx
;
}
if
(
mm_flags
&
AV_CPU_FLAG_SSE
)
{
s
->
mix_1_1_simd
=
ff_mix_1_1_a_int16_sse
;
s
->
mix_2_1_simd
=
ff_mix_2_1_a_int16_sse
;
if
(
mm_flags
&
AV_CPU_FLAG_SSE
2
)
{
s
->
mix_1_1_simd
=
ff_mix_1_1_a_int16_sse
2
;
s
->
mix_2_1_simd
=
ff_mix_2_1_a_int16_sse
2
;
}
s
->
native_simd_matrix
=
av_mallocz
(
2
*
num
*
sizeof
(
int16_t
));
for
(
i
=
0
;
i
<
nb_out
;
i
++
){
...
...
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