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
012fd207
Commit
012fd207
authored
Aug 21, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some irrelevant comments.
Originally committed as revision 14884 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
da7e59b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
acelp_filters.c
libavcodec/acelp_filters.c
+1
-8
No files found.
libavcodec/acelp_filters.c
View file @
012fd207
...
...
@@ -93,10 +93,7 @@ void ff_acelp_convolve_circ(
/* Since there are few pulses over an entire subframe (i.e. almost
all fc_in[i] are zero) it is faster to swap two loops and process
non-zero samples only. In the case of G.729D the buffer contains
two non-zero samples before the call to ff_acelp_enhance_harmonics
and, due to pitch_delay being bounded by [20; 143], a maximum
of four non-zero samples for a total of 40 after the call. */
non-zero samples only. */
for
(
i
=
0
;
i
<
subframe_size
;
i
++
)
{
if
(
fc_in
[
i
])
...
...
@@ -133,7 +130,6 @@ int ff_acelp_lp_synthesis_filter(
sum
=
(
sum
>>
12
)
+
in
[
n
];
/* Check for overflow */
if
(
sum
+
0x8000
>
0xFFFFU
)
{
if
(
stop_on_overflow
)
...
...
@@ -172,9 +168,6 @@ void ff_acelp_high_pass_filter(
tmp
+=
MULL
(
hpf_f
[
1
],
-
7667
);
/* (13.13) = (13.13) * (0.13) */
tmp
+=
7699
*
(
in
[
i
]
-
2
*
in
[
i
-
1
]
+
in
[
i
-
2
]);
/* (14.13) = (0.13) * (14.0) */
/* Multiplication by 2 with rounding can cause short type
overflow, thus clipping is required. */
out
[
i
]
=
av_clip_int16
((
tmp
+
0x800
)
>>
12
);
/* (15.0) = 2 * (13.13) = (14.13) */
hpf_f
[
1
]
=
hpf_f
[
0
];
...
...
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