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
49c0dd75
Commit
49c0dd75
authored
Aug 12, 2008
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
Originally committed as revision 14699 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5d0ddd1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
Makefile
libavcodec/Makefile
+4
-4
fft.c
libavcodec/fft.c
+7
-8
No files found.
libavcodec/Makefile
View file @
49c0dd75
...
...
@@ -389,10 +389,10 @@ OBJS += i386/fdct_mmx.o \
i386/idct_mmx_xvid.o
\
i386/idct_sse2_xvid.o
\
OBJS-$(HAVE_YASM)
+=
i386/fft_mmx.o
\
i386/fft_sse.o
\
i386/fft_3dn.o
\
i386/fft_3dn2.o
\
OBJS-$(HAVE_YASM)
+=
i386/fft_mmx.o
\
i386/fft_sse.o
\
i386/fft_3dn.o
\
i386/fft_3dn2.o
\
OBJS-$(CONFIG_GPL)
+=
i386/idct_mmx.o
...
...
libavcodec/fft.c
View file @
49c0dd75
...
...
@@ -164,15 +164,14 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
}
while
(
nblocks
!=
0
);
av_freep
(
&
s
->
exptab
);
/* compute bit reverse table */
for
(
i
=
0
;
i
<
n
;
i
++
)
{
m
=
0
;
for
(
j
=
0
;
j
<
nbits
;
j
++
)
{
m
|=
((
i
>>
j
)
&
1
)
<<
(
nbits
-
j
-
1
);
/* compute bit reverse table */
for
(
i
=
0
;
i
<
n
;
i
++
)
{
m
=
0
;
for
(
j
=
0
;
j
<
nbits
;
j
++
)
{
m
|=
((
i
>>
j
)
&
1
)
<<
(
nbits
-
j
-
1
);
}
s
->
revtab
[
i
]
=
m
;
}
s
->
revtab
[
i
]
=
m
;
}
}
return
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