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
82696bee
Commit
82696bee
authored
Oct 29, 2002
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid name clash
Originally committed as revision 1104 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
df8d4d0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
dsputil.h
libavcodec/dsputil.h
+4
-4
mdct.c
libavcodec/mdct.c
+6
-6
No files found.
libavcodec/dsputil.h
View file @
82696bee
...
...
@@ -262,11 +262,11 @@ typedef struct MDCTContext {
FFTContext
fft
;
}
MDCTContext
;
int
mdct_init
(
MDCTContext
*
s
,
int
nbits
,
int
inverse
);
void
imdct_calc
(
MDCTContext
*
s
,
FFTSample
*
output
,
int
ff_
mdct_init
(
MDCTContext
*
s
,
int
nbits
,
int
inverse
);
void
ff_
imdct_calc
(
MDCTContext
*
s
,
FFTSample
*
output
,
const
FFTSample
*
input
,
FFTSample
*
tmp
);
void
mdct_calc
(
MDCTContext
*
s
,
FFTSample
*
out
,
void
ff_
mdct_calc
(
MDCTContext
*
s
,
FFTSample
*
out
,
const
FFTSample
*
input
,
FFTSample
*
tmp
);
void
mdct_end
(
MDCTContext
*
s
);
void
ff_
mdct_end
(
MDCTContext
*
s
);
#endif
libavcodec/mdct.c
View file @
82696bee
...
...
@@ -21,7 +21,7 @@
/*
* init MDCT or IMDCT computation
*/
int
mdct_init
(
MDCTContext
*
s
,
int
nbits
,
int
inverse
)
int
ff_
mdct_init
(
MDCTContext
*
s
,
int
nbits
,
int
inverse
)
{
int
n
,
n4
,
i
;
float
alpha
;
...
...
@@ -69,8 +69,8 @@ int mdct_init(MDCTContext *s, int nbits, int inverse)
* @param input N/2 samples
* @param tmp N/2 samples
*/
void
imdct_calc
(
MDCTContext
*
s
,
FFTSample
*
output
,
const
FFTSample
*
input
,
FFTSample
*
tmp
)
void
ff_
imdct_calc
(
MDCTContext
*
s
,
FFTSample
*
output
,
const
FFTSample
*
input
,
FFTSample
*
tmp
)
{
int
k
,
n8
,
n4
,
n2
,
n
,
j
;
const
uint16_t
*
revtab
=
s
->
fft
.
revtab
;
...
...
@@ -121,8 +121,8 @@ void imdct_calc(MDCTContext *s, FFTSample *output,
* @param out N/2 samples
* @param tmp temporary storage of N/2 samples
*/
void
mdct_calc
(
MDCTContext
*
s
,
FFTSample
*
out
,
const
FFTSample
*
input
,
FFTSample
*
tmp
)
void
ff_
mdct_calc
(
MDCTContext
*
s
,
FFTSample
*
out
,
const
FFTSample
*
input
,
FFTSample
*
tmp
)
{
int
i
,
j
,
n
,
n8
,
n4
,
n2
,
n3
;
FFTSample
re
,
im
,
re1
,
im1
;
...
...
@@ -162,7 +162,7 @@ void mdct_calc(MDCTContext *s, FFTSample *out,
}
}
void
mdct_end
(
MDCTContext
*
s
)
void
ff_
mdct_end
(
MDCTContext
*
s
)
{
av_freep
(
&
s
->
tcos
);
av_freep
(
&
s
->
tsin
);
...
...
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