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
5be7d859
Commit
5be7d859
authored
Jul 18, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fft-test: Comment some #endifs
parent
57f1b1dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fft-test.c
libavcodec/fft-test.c
+6
-6
No files found.
libavcodec/fft-test.c
View file @
5be7d859
...
...
@@ -183,7 +183,7 @@ static void dct_ref(float *output, float *input, int nbits)
}
}
#endif
/* CONFIG_DCT */
#endif
#endif
/* FFT_FLOAT */
static
FFTSample
frandom
(
AVLFG
*
prng
)
...
...
@@ -254,7 +254,7 @@ int main(int argc, char **argv)
RDFTContext
r1
,
*
r
=
&
r1
;
DCTContext
d1
,
*
d
=
&
d1
;
int
fft_size_2
;
#endif
#endif
/* FFT_FLOAT */
int
fft_nbits
,
fft_size
;
double
scale
=
1
.
0
;
AVLFG
prng
;
...
...
@@ -344,7 +344,7 @@ int main(int argc, char **argv)
ff_dct_init
(
d
,
fft_nbits
,
do_inverse
?
DCT_III
:
DCT_II
);
break
;
#endif
/* CONFIG_DCT */
#endif
#endif
/* FFT_FLOAT */
default:
av_log
(
NULL
,
AV_LOG_ERROR
,
"Requested transform not supported
\n
"
);
return
1
;
...
...
@@ -431,7 +431,7 @@ int main(int argc, char **argv)
err
=
check_diff
((
float
*
)
tab_ref
,
(
float
*
)
tab
,
fft_size
,
1
.
0
);
break
;
#endif
/* CONFIG_DCT */
#endif
#endif
/* FFT_FLOAT */
}
/* do a speed test */
...
...
@@ -467,7 +467,7 @@ int main(int argc, char **argv)
memcpy
(
tab2
,
tab1
,
fft_size
*
sizeof
(
FFTSample
));
d
->
dct_calc
(
d
,
tab2
);
break
;
#endif
#endif
/* FFT_FLOAT */
}
}
duration
=
av_gettime
()
-
time_start
;
...
...
@@ -501,7 +501,7 @@ int main(int argc, char **argv)
ff_dct_end
(
d
);
break
;
#endif
/* CONFIG_DCT */
#endif
#endif
/* FFT_FLOAT */
}
av_free
(
tab
);
...
...
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