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
f50d9377
Commit
f50d9377
authored
Apr 05, 2011
by
Nathan Caldwell
Committed by
Martin Storsjö
Apr 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacenc: Fix whitespace after last commit.
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
62582a69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
aacpsy.c
libavcodec/aacpsy.c
+13
-10
No files found.
libavcodec/aacpsy.c
View file @
f50d9377
...
@@ -575,6 +575,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
...
@@ -575,6 +575,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
for
(
w
=
0
;
w
<
wi
->
num_windows
*
16
;
w
+=
16
)
{
for
(
w
=
0
;
w
<
wi
->
num_windows
*
16
;
w
+=
16
)
{
for
(
g
=
0
;
g
<
num_bands
;
g
++
)
{
for
(
g
=
0
;
g
<
num_bands
;
g
++
)
{
AacPsyBand
*
band
=
&
pch
->
band
[
w
+
g
];
AacPsyBand
*
band
=
&
pch
->
band
[
w
+
g
];
float
form_factor
=
0
.
0
f
;
float
form_factor
=
0
.
0
f
;
band
->
energy
=
0
.
0
f
;
band
->
energy
=
0
.
0
f
;
for
(
i
=
0
;
i
<
band_sizes
[
g
];
i
++
)
{
for
(
i
=
0
;
i
<
band_sizes
[
g
];
i
++
)
{
...
@@ -590,6 +591,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
...
@@ -590,6 +591,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
//modify thresholds and energies - spread, threshold in quiet, pre-echo control
//modify thresholds and energies - spread, threshold in quiet, pre-echo control
for
(
w
=
0
;
w
<
wi
->
num_windows
*
16
;
w
+=
16
)
{
for
(
w
=
0
;
w
<
wi
->
num_windows
*
16
;
w
+=
16
)
{
AacPsyBand
*
bands
=
&
pch
->
band
[
w
];
AacPsyBand
*
bands
=
&
pch
->
band
[
w
];
//5.4.2.3 "Spreading" & 5.4.3 "Spreaded Energy Calculation"
//5.4.2.3 "Spreading" & 5.4.3 "Spreaded Energy Calculation"
spread_en
[
0
]
=
bands
[
0
].
energy
;
spread_en
[
0
]
=
bands
[
0
].
energy
;
for
(
g
=
1
;
g
<
num_bands
;
g
++
)
{
for
(
g
=
1
;
g
<
num_bands
;
g
++
)
{
...
@@ -603,6 +605,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
...
@@ -603,6 +605,7 @@ static void psy_3gpp_analyze(FFPsyContext *ctx, int channel,
//5.4.2.4 "Threshold in quiet"
//5.4.2.4 "Threshold in quiet"
for
(
g
=
0
;
g
<
num_bands
;
g
++
)
{
for
(
g
=
0
;
g
<
num_bands
;
g
++
)
{
AacPsyBand
*
band
=
&
bands
[
g
];
AacPsyBand
*
band
=
&
bands
[
g
];
band
->
thr_quiet
=
band
->
thr
=
FFMAX
(
band
->
thr
,
coeffs
[
g
].
ath
);
band
->
thr_quiet
=
band
->
thr
=
FFMAX
(
band
->
thr
,
coeffs
[
g
].
ath
);
//5.4.2.5 "Pre-echo control"
//5.4.2.5 "Pre-echo control"
if
(
!
(
wi
->
window_type
[
0
]
==
LONG_STOP_SEQUENCE
||
(
wi
->
window_type
[
1
]
==
LONG_START_SEQUENCE
&&
!
w
)))
if
(
!
(
wi
->
window_type
[
0
]
==
LONG_STOP_SEQUENCE
||
(
wi
->
window_type
[
1
]
==
LONG_START_SEQUENCE
&&
!
w
)))
...
...
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