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
fcaf5fa2
Commit
fcaf5fa2
authored
Aug 26, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/fft-test: put ff_dct* code under CONFIG_DCT
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ffdbec6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fft-test.c
libavcodec/fft-test.c
+4
-0
No files found.
libavcodec/fft-test.c
View file @
fcaf5fa2
...
...
@@ -334,6 +334,7 @@ int main(int argc, char **argv)
ff_rdft_init
(
r
,
fft_nbits
,
do_inverse
?
IDFT_C2R
:
DFT_R2C
);
fft_ref_init
(
fft_nbits
,
do_inverse
);
break
;
# if CONFIG_DCT
case
TRANSFORM_DCT
:
if
(
do_inverse
)
av_log
(
NULL
,
AV_LOG_INFO
,
"DCT_III"
);
...
...
@@ -341,6 +342,7 @@ int main(int argc, char **argv)
av_log
(
NULL
,
AV_LOG_INFO
,
"DCT_II"
);
ff_dct_init
(
d
,
fft_nbits
,
do_inverse
?
DCT_III
:
DCT_II
);
break
;
# endif
#endif
default:
av_log
(
NULL
,
AV_LOG_ERROR
,
"Requested transform not supported
\n
"
);
...
...
@@ -483,9 +485,11 @@ int main(int argc, char **argv)
case
TRANSFORM_RDFT
:
ff_rdft_end
(
r
);
break
;
# if CONFIG_DCT
case
TRANSFORM_DCT
:
ff_dct_end
(
d
);
break
;
# endif
#endif
}
...
...
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