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
62717940
Commit
62717940
authored
Apr 26, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficient
table values from the spec.
parent
d70fa4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
aacdec.c
libavcodec/aacdec.c
+1
-1
aacdectab.h
libavcodec/aacdectab.h
+3
-3
No files found.
libavcodec/aacdec.c
View file @
62717940
...
...
@@ -593,7 +593,7 @@ static av_cold int aac_decode_init(AVCodecContext *avctx)
ff_mdct_init
(
&
ac
->
mdct
,
11
,
1
,
1
.
0
);
ff_mdct_init
(
&
ac
->
mdct_small
,
8
,
1
,
1
.
0
);
ff_mdct_init
(
&
ac
->
mdct_ltp
,
11
,
0
,
1
.
0
);
ff_mdct_init
(
&
ac
->
mdct_ltp
,
11
,
0
,
2
.
0
);
// window initialization
ff_kbd_window_init
(
ff_aac_kbd_long_1024
,
4
.
0
,
1024
);
ff_kbd_window_init
(
ff_aac_kbd_short_128
,
6
.
0
,
128
);
...
...
libavcodec/aacdectab.h
View file @
62717940
...
...
@@ -36,11 +36,11 @@
#include <stdint.h>
/* @name ltp_coef
* Table of the LTP coefficient
(multiplied by 2)
* Table of the LTP coefficient
s
*/
static
const
float
ltp_coef
[
8
]
=
{
1
.
141658
,
1
.
393232
,
1
.
626008
,
1
.
822608
,
1
.
969800
,
2
.
135788
,
2
.
2389202
,
2
.
739066
,
0
.
570829
,
0
.
696616
,
0
.
813004
,
0
.
911304
,
0
.
984900
,
1
.
067
894
,
1
.
194601
,
1
.
369533
,
};
/* @name tns_tmp2_map
...
...
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