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
bbbb6d6f
Commit
bbbb6d6f
authored
Jan 07, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabled SSE fft on x86
Originally committed as revision 1413 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d9823692
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
fft.c
libavcodec/fft.c
+4
-3
No files found.
libavcodec/fft.c
View file @
bbbb6d6f
...
...
@@ -51,11 +51,11 @@ int fft_init(FFTContext *s, int nbits, int inverse)
s
->
exptab1
=
NULL
;
/* compute constant table for HAVE_SSE version */
#if defined(HAVE_MMX) &&
0
if
(
mm_
flags
&
MM_SSE
)
{
#if defined(HAVE_MMX) &&
defined(HAVE_BUILTIN_VECTOR)
if
(
mm_
support
()
&
MM_SSE
)
{
int
np
,
nblocks
,
np2
,
l
;
FFTComplex
*
q
;
np
=
1
<<
nbits
;
nblocks
=
np
>>
3
;
np2
=
np
>>
1
;
...
...
@@ -78,6 +78,7 @@ int fft_init(FFTContext *s, int nbits, int inverse)
nblocks
=
nblocks
>>
1
;
}
while
(
nblocks
!=
0
);
av_freep
(
&
s
->
exptab
);
s
->
fft_calc
=
fft_calc_sse
;
}
#endif
...
...
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