Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
4f54a3b8
Commit
4f54a3b8
authored
Mar 17, 2008
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation
Originally committed as revision 12478 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
844ea46a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
fft.c
libavcodec/fft.c
+25
-25
No files found.
libavcodec/fft.c
View file @
4f54a3b8
...
@@ -87,33 +87,33 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
...
@@ -87,33 +87,33 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
#endif
#endif
/* compute constant table for HAVE_SSE version */
/* compute constant table for HAVE_SSE version */
if
(
shuffle
)
{
if
(
shuffle
)
{
int
np
,
nblocks
,
np2
,
l
;
int
np
,
nblocks
,
np2
,
l
;
FFTComplex
*
q
;
FFTComplex
*
q
;
np
=
1
<<
nbits
;
np
=
1
<<
nbits
;
nblocks
=
np
>>
3
;
nblocks
=
np
>>
3
;
np2
=
np
>>
1
;
np2
=
np
>>
1
;
s
->
exptab1
=
av_malloc
(
np
*
2
*
sizeof
(
FFTComplex
));
s
->
exptab1
=
av_malloc
(
np
*
2
*
sizeof
(
FFTComplex
));
if
(
!
s
->
exptab1
)
if
(
!
s
->
exptab1
)
goto
fail
;
goto
fail
;
q
=
s
->
exptab1
;
q
=
s
->
exptab1
;
do
{
do
{
for
(
l
=
0
;
l
<
np2
;
l
+=
2
*
nblocks
)
{
for
(
l
=
0
;
l
<
np2
;
l
+=
2
*
nblocks
)
{
*
q
++
=
s
->
exptab
[
l
];
*
q
++
=
s
->
exptab
[
l
];
*
q
++
=
s
->
exptab
[
l
+
nblocks
];
*
q
++
=
s
->
exptab
[
l
+
nblocks
];
q
->
re
=
-
s
->
exptab
[
l
].
im
;
q
->
re
=
-
s
->
exptab
[
l
].
im
;
q
->
im
=
s
->
exptab
[
l
].
re
;
q
->
im
=
s
->
exptab
[
l
].
re
;
q
++
;
q
++
;
q
->
re
=
-
s
->
exptab
[
l
+
nblocks
].
im
;
q
->
re
=
-
s
->
exptab
[
l
+
nblocks
].
im
;
q
->
im
=
s
->
exptab
[
l
+
nblocks
].
re
;
q
->
im
=
s
->
exptab
[
l
+
nblocks
].
re
;
q
++
;
q
++
;
}
}
nblocks
=
nblocks
>>
1
;
nblocks
=
nblocks
>>
1
;
}
while
(
nblocks
!=
0
);
}
while
(
nblocks
!=
0
);
av_freep
(
&
s
->
exptab
);
av_freep
(
&
s
->
exptab
);
}
}
/* compute bit reverse table */
/* compute bit reverse table */
...
...
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