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
7e637b70
Commit
7e637b70
authored
May 26, 2011
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with YASM/NASM versions not supporting AVX.
parent
39e4206d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
fft_mmx.asm
libavcodec/x86/fft_mmx.asm
+10
-0
fft_sse.c
libavcodec/x86/fft_sse.c
+2
-0
No files found.
libavcodec/x86/fft_mmx.asm
View file @
7e637b70
...
...
@@ -299,6 +299,8 @@ IF%1 mova Z(1), m5
INIT_YMM
%ifdef
HAVE_AVX
align
16
fft8_avx
:
mova
m0
,
Z
(
0
)
...
...
@@ -388,6 +390,8 @@ fft32_interleave_avx:
jg
.
deint_loop
ret
%endif
INIT_XMM
%define
movdqa
movaps
...
...
@@ -543,8 +547,10 @@ INIT_YMM
%define
INTERL
INTERL_AVX
%ifdef
HAVE_AVX
DECL_PASS
pass_avx
,
PASS_BIG
1
DECL_PASS
pass_interleave_avx
,
PASS_BIG
0
%endif
INIT_XMM
...
...
@@ -634,8 +640,10 @@ cglobal fft_dispatch%3%2, 2,5,8, z, nbits
RET
%endmacro
; DECL_FFT
%ifdef
HAVE_AVX
DECL_FFT
6
,
_avx
DECL_FFT
6
,
_avx
,
_interleave
%endif
DECL_FFT
5
,
_sse
DECL_FFT
5
,
_sse
,
_interleave
DECL_FFT
4
,
_3dn
...
...
@@ -847,4 +855,6 @@ DECL_IMDCT _sse, POSROTATESHUF
INIT_YMM
%ifdef
HAVE_AVX
DECL_IMDCT
_avx
,
POSROTATESHUF_AVX
%endif
libavcodec/x86/fft_sse.c
View file @
7e637b70
...
...
@@ -30,10 +30,12 @@ void ff_fft_dispatch_sse(FFTComplex *z, int nbits);
void
ff_fft_dispatch_interleave_sse
(
FFTComplex
*
z
,
int
nbits
);
void
ff_fft_dispatch_interleave_avx
(
FFTComplex
*
z
,
int
nbits
);
#if HAVE_AVX
void
ff_fft_calc_avx
(
FFTContext
*
s
,
FFTComplex
*
z
)
{
ff_fft_dispatch_interleave_avx
(
z
,
s
->
nbits
);
}
#endif
void
ff_fft_calc_sse
(
FFTContext
*
s
,
FFTComplex
*
z
)
{
...
...
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