Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
7767d8d3
Commit
7767d8d3
authored
14 years ago
by
Diego Elio Pettenò
Committed by
Mans Rullgard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Mark C base versions of FFT functions static to fft.c
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
b09f5482
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavcodec/fft.c
+5
-2
5 additions, 2 deletions
libavcodec/fft.c
libavcodec/fft.h
+0
-2
0 additions, 2 deletions
libavcodec/fft.h
with
5 additions
and
4 deletions
libavcodec/fft.c
+
5
−
2
View file @
7767d8d3
...
...
@@ -53,6 +53,9 @@ COSTABLE_CONST FFTSample * const ff_cos_tabs[] = {
ff_cos_2048
,
ff_cos_4096
,
ff_cos_8192
,
ff_cos_16384
,
ff_cos_32768
,
ff_cos_65536
,
};
static
void
ff_fft_permute_c
(
FFTContext
*
s
,
FFTComplex
*
z
);
static
void
ff_fft_calc_c
(
FFTContext
*
s
,
FFTComplex
*
z
);
static
int
split_radix_permutation
(
int
i
,
int
n
,
int
inverse
)
{
int
m
;
...
...
@@ -120,7 +123,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
return
-
1
;
}
void
ff_fft_permute_c
(
FFTContext
*
s
,
FFTComplex
*
z
)
static
void
ff_fft_permute_c
(
FFTContext
*
s
,
FFTComplex
*
z
)
{
int
j
,
np
;
const
uint16_t
*
revtab
=
s
->
revtab
;
...
...
@@ -289,7 +292,7 @@ static void (* const fft_dispatch[])(FFTComplex*) = {
fft2048
,
fft4096
,
fft8192
,
fft16384
,
fft32768
,
fft65536
,
};
void
ff_fft_calc_c
(
FFTContext
*
s
,
FFTComplex
*
z
)
static
void
ff_fft_calc_c
(
FFTContext
*
s
,
FFTComplex
*
z
)
{
fft_dispatch
[
s
->
nbits
-
2
](
z
);
}
...
...
This diff is collapsed.
Click to expand it.
libavcodec/fft.h
+
0
−
2
View file @
7767d8d3
...
...
@@ -106,8 +106,6 @@ extern SINTABLE(65536);
* @param inverse if 0 perform the forward transform, if 1 perform the inverse
*/
int
ff_fft_init
(
FFTContext
*
s
,
int
nbits
,
int
inverse
);
void
ff_fft_permute_c
(
FFTContext
*
s
,
FFTComplex
*
z
);
void
ff_fft_calc_c
(
FFTContext
*
s
,
FFTComplex
*
z
);
void
ff_fft_init_altivec
(
FFTContext
*
s
);
void
ff_fft_init_mmx
(
FFTContext
*
s
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment