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
269e6212
Commit
269e6212
authored
Sep 05, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g723_1: add some const for more correctness
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
397ebc1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
g723_1.c
libavcodec/g723_1.c
+5
-5
No files found.
libavcodec/g723_1.c
View file @
269e6212
...
@@ -1848,7 +1848,7 @@ static void comp_harmonic_coeff(int16_t *buf, int16_t pitch_lag, HFParam *hf)
...
@@ -1848,7 +1848,7 @@ static void comp_harmonic_coeff(int16_t *buf, int16_t pitch_lag, HFParam *hf)
*
*
* @param hf filter parameters
* @param hf filter parameters
*/
*/
static
void
harmonic_filter
(
HFParam
*
hf
,
int16_t
*
src
,
int16_t
*
dest
)
static
void
harmonic_filter
(
HFParam
*
hf
,
const
int16_t
*
src
,
int16_t
*
dest
)
{
{
int
i
;
int
i
;
...
@@ -1858,7 +1858,7 @@ static void harmonic_filter(HFParam *hf, int16_t *src, int16_t *dest)
...
@@ -1858,7 +1858,7 @@ static void harmonic_filter(HFParam *hf, int16_t *src, int16_t *dest)
}
}
}
}
static
void
harmonic_noise_sub
(
HFParam
*
hf
,
int16_t
*
src
,
int16_t
*
dest
)
static
void
harmonic_noise_sub
(
HFParam
*
hf
,
const
int16_t
*
src
,
int16_t
*
dest
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
i
<
SUBFRAME_LEN
;
i
++
)
{
for
(
i
=
0
;
i
<
SUBFRAME_LEN
;
i
++
)
{
...
@@ -1880,7 +1880,7 @@ static void harmonic_noise_sub(HFParam *hf, int16_t *src, int16_t *dest)
...
@@ -1880,7 +1880,7 @@ static void harmonic_noise_sub(HFParam *hf, int16_t *src, int16_t *dest)
*/
*/
static
void
synth_percept_filter
(
int16_t
*
qnt_lpc
,
int16_t
*
perf_lpc
,
static
void
synth_percept_filter
(
int16_t
*
qnt_lpc
,
int16_t
*
perf_lpc
,
int16_t
*
perf_fir
,
int16_t
*
perf_iir
,
int16_t
*
perf_fir
,
int16_t
*
perf_iir
,
int16_t
*
src
,
int16_t
*
dest
,
int
scale
)
const
int16_t
*
src
,
int16_t
*
dest
,
int
scale
)
{
{
int
i
,
j
;
int
i
,
j
;
int16_t
buf_16
[
SUBFRAME_LEN
+
LPC_ORDER
];
int16_t
buf_16
[
SUBFRAME_LEN
+
LPC_ORDER
];
...
@@ -1921,7 +1921,7 @@ static void synth_percept_filter(int16_t *qnt_lpc, int16_t *perf_lpc,
...
@@ -1921,7 +1921,7 @@ static void synth_percept_filter(int16_t *qnt_lpc, int16_t *perf_lpc,
* @param index the current subframe index
* @param index the current subframe index
*/
*/
static
void
acb_search
(
G723_1_Context
*
p
,
int16_t
*
residual
,
static
void
acb_search
(
G723_1_Context
*
p
,
int16_t
*
residual
,
int16_t
*
impulse_resp
,
int16_t
*
buf
,
int16_t
*
impulse_resp
,
const
int16_t
*
buf
,
int
index
)
int
index
)
{
{
...
@@ -2040,7 +2040,7 @@ static void acb_search(G723_1_Context *p, int16_t *residual,
...
@@ -2040,7 +2040,7 @@ static void acb_search(G723_1_Context *p, int16_t *residual,
*
*
* @param buf target vector
* @param buf target vector
*/
*/
static
void
sub_acb_contrib
(
int16_t
*
residual
,
int16_t
*
impulse_resp
,
static
void
sub_acb_contrib
(
const
int16_t
*
residual
,
const
int16_t
*
impulse_resp
,
int16_t
*
buf
)
int16_t
*
buf
)
{
{
int
i
,
j
;
int
i
,
j
;
...
...
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