Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
cfd937b0
Commit
cfd937b0
authored
16 years ago
by
Alex Converse
Browse files
Options
Downloads
Patches
Plain Diff
AAC: hoist dependent gain lookup out of the loop
Originally committed as revision 17835 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6a7d2c3d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/aac.c
+2
-1
2 additions, 1 deletion
libavcodec/aac.c
with
2 additions
and
1 deletion
libavcodec/aac.c
+
2
−
1
View file @
cfd937b0
...
@@ -1434,10 +1434,11 @@ static void apply_dependent_coupling(AACContext * ac, SingleChannelElement * tar
...
@@ -1434,10 +1434,11 @@ static void apply_dependent_coupling(AACContext * ac, SingleChannelElement * tar
for
(
g
=
0
;
g
<
ics
->
num_window_groups
;
g
++
)
{
for
(
g
=
0
;
g
<
ics
->
num_window_groups
;
g
++
)
{
for
(
i
=
0
;
i
<
ics
->
max_sfb
;
i
++
,
idx
++
)
{
for
(
i
=
0
;
i
<
ics
->
max_sfb
;
i
++
,
idx
++
)
{
if
(
cce
->
ch
[
0
].
band_type
[
idx
]
!=
ZERO_BT
)
{
if
(
cce
->
ch
[
0
].
band_type
[
idx
]
!=
ZERO_BT
)
{
const
float
gain
=
cce
->
coup
.
gain
[
index
][
idx
];
for
(
group
=
0
;
group
<
ics
->
group_len
[
g
];
group
++
)
{
for
(
group
=
0
;
group
<
ics
->
group_len
[
g
];
group
++
)
{
for
(
k
=
offsets
[
i
];
k
<
offsets
[
i
+
1
];
k
++
)
{
for
(
k
=
offsets
[
i
];
k
<
offsets
[
i
+
1
];
k
++
)
{
// XXX dsputil-ize
// XXX dsputil-ize
dest
[
group
*
128
+
k
]
+=
cce
->
coup
.
gain
[
index
][
idx
]
*
src
[
group
*
128
+
k
];
dest
[
group
*
128
+
k
]
+=
gain
*
src
[
group
*
128
+
k
];
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment