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
d504266c
Commit
d504266c
authored
Jun 12, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr: mix_1_1_int16_sse
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cbeeaf25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
rematrix.asm
libswresample/x86/rematrix.asm
+2
-0
swresample_x86.c
libswresample/x86/swresample_x86.c
+4
-0
No files found.
libswresample/x86/rematrix.asm
View file @
d504266c
...
...
@@ -167,6 +167,8 @@ MIX2_FLT u
MIX2_FLT
a
MIX1_FLT
u
MIX1_FLT
a
MIX1_INT16
u
MIX1_INT16
a
%if
HAVE_AVX
INIT_YMM
avx
...
...
libswresample/x86/swresample_x86.c
View file @
d504266c
...
...
@@ -150,6 +150,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
)
void
swri_rematrix_init_x86
(
struct
SwrContext
*
s
){
...
...
@@ -166,6 +167,9 @@ void swri_rematrix_init_x86(struct SwrContext *s){
if
(
mm_flags
&
AV_CPU_FLAG_MMX
)
{
s
->
mix_1_1_simd
=
ff_mix_1_1_a_int16_mmx
;
}
if
(
mm_flags
&
AV_CPU_FLAG_SSE
)
{
s
->
mix_1_1_simd
=
ff_mix_1_1_a_int16_sse
;
}
s
->
native_simd_matrix
=
av_mallocz
(
2
*
num
*
sizeof
(
int16_t
));
for
(
i
=
0
;
i
<
nb_out
;
i
++
){
int
sh
=
0
;
...
...
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